Skip to content

Commit

Permalink
Merge pull request #4026 from navidshaikh/knative-client-onboarding
Browse files Browse the repository at this point in the history
On board openshift/knative-client to use OpenShift CI
  • Loading branch information
openshift-merge-robot authored Jun 18, 2019
2 parents 22c0496 + 98e51f7 commit 9ffa851
Show file tree
Hide file tree
Showing 9 changed files with 226 additions and 0 deletions.
16 changes: 16 additions & 0 deletions OWNERS_ALIASES
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,22 @@ aliases:
- vdemeester
- evanchooly
- arilivigni
knative-client-approvers:
- alanfx
- bbrowning
- markusthoemmes
- vdemeester
- matzew
- rhuss
- navidshaikh
knative-client-reviewers:
- alanfx
- bbrowning
- markusthoemmes
- vdemeester
- matzew
- rhuss
- navidshaikh
sig-aws-leads:
- justinsb
- kris-nova
Expand Down
8 changes: 8 additions & 0 deletions ci-operator/config/openshift/knative-client/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# DO NOT EDIT; this file is auto-generated using tools/populate-owners.
# from https://github.com/openshift/knative-serving/blob/924b6bf5bc7fffdc5e7514df8c5e1e55504b0708/OWNERS
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- knative-client-approvers
reviewers:
- knative-client-reviewers
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
tag_specification:
name: '4.1'
namespace: ocp
promotion:
cluster: https://api.ci.openshift.org
namespace: openshift
name: release-next
base_images:
base:
name: '4.1'
namespace: ocp
tag: base
build_root:
project_image:
dockerfile_path: openshift/ci-operator/build-image/Dockerfile
canonical_go_repository: github.com/knative/client
binary_build_commands: make build
tests:
- as: e2e
commands: "make test-e2e"
openshift_installer_src:
cluster_profile: aws
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
tag_specification:
name: '4.1'
namespace: ocp
promotion:
cluster: https://api.ci.openshift.org
namespace: openshift
name: release-v0.1.0
base_images:
base:
name: '4.1'
namespace: ocp
tag: base
build_root:
project_image:
dockerfile_path: openshift/ci-operator/build-image/Dockerfile
canonical_go_repository: github.com/knative/client
binary_build_commands: make build
tests:
- as: e2e
commands: "make test-e2e"
openshift_installer_src:
cluster_profile: aws
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
8 changes: 8 additions & 0 deletions ci-operator/jobs/openshift/knative-client/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# DO NOT EDIT; this file is auto-generated using tools/populate-owners.
# from https://github.com/openshift/knative-serving/blob/924b6bf5bc7fffdc5e7514df8c5e1e55504b0708/OWNERS
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- knative-client-approvers
reviewers:
- knative-client-reviewers
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
presubmits:
openshift/knative-client:
- agent: kubernetes
always_run: true
branches:
- release-next
context: ci/prow/e2e
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
name: pull-ci-openshift-knative-client-release-next-e2e
rerun_command: /test e2e
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --secret-dir=/usr/local/e2e-cluster-profile
- --sentry-dsn-path=/etc/sentry-dsn/ci-operator
- --target=e2e
- --template=/usr/local/e2e
command:
- ci-operator
env:
- name: CLUSTER_TYPE
value: aws
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: openshift-knative-client-release-next.yaml
name: ci-operator-misc-configs
- name: JOB_NAME_SAFE
value: e2e
- name: TEST_COMMAND
value: make test-e2e
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /usr/local/e2e-cluster-profile
name: cluster-profile
- mountPath: /usr/local/e2e
name: job-definition
subPath: cluster-launch-installer-src.yaml
- mountPath: /etc/sentry-dsn
name: sentry-dsn
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-aws
- configMap:
name: prow-job-cluster-launch-installer-src
name: job-definition
- name: sentry-dsn
secret:
secretName: sentry-dsn
trigger: (?m)^/test( | .* )e2e,?($|\s.*)
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
presubmits:
openshift/knative-client:
- agent: kubernetes
always_run: true
branches:
- release-v0.1.0
context: ci/prow/e2e
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
name: pull-ci-openshift-knative-client-release-v0.1.0-e2e
rerun_command: /test e2e
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --secret-dir=/usr/local/e2e-cluster-profile
- --sentry-dsn-path=/etc/sentry-dsn/ci-operator
- --target=e2e
- --template=/usr/local/e2e
command:
- ci-operator
env:
- name: CLUSTER_TYPE
value: aws
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: openshift-knative-client-release-v0.1.0.yaml
name: ci-operator-misc-configs
- name: JOB_NAME_SAFE
value: e2e
- name: TEST_COMMAND
value: make test-e2e
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /usr/local/e2e-cluster-profile
name: cluster-profile
- mountPath: /usr/local/e2e
name: job-definition
subPath: cluster-launch-installer-src.yaml
- mountPath: /etc/sentry-dsn
name: sentry-dsn
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-aws
- configMap:
name: prow-job-cluster-launch-installer-src
name: job-definition
- name: sentry-dsn
secret:
secretName: sentry-dsn
trigger: (?m)^/test( | .* )e2e,?($|\s.*)
1 change: 1 addition & 0 deletions cluster/ci/config/prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ tide:
- openshift/knative-eventing-sources
- openshift/knative-pkg
- openshift/knative-serving
- openshift/knative-client
- openshift/kubecsr
- openshift/kube-rbac-proxy
- openshift/kubernetes-metrics-server
Expand Down
3 changes: 3 additions & 0 deletions cluster/ci/config/prow/plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ plugins:
openshift/knative-pkg:
- approve

openshift/knative-client:
- approve

openshift/leader-elector:
- approve

Expand Down

0 comments on commit 9ffa851

Please sign in to comment.