-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4026 from navidshaikh/knative-client-onboarding
On board openshift/knative-client to use OpenShift CI
- Loading branch information
Showing
9 changed files
with
226 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
29 changes: 29 additions & 0 deletions
29
ci-operator/config/openshift/knative-client/openshift-knative-client-release-next.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
29 changes: 29 additions & 0 deletions
29
ci-operator/config/openshift/knative-client/openshift-knative-client-release-v0.1.0.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
66 changes: 66 additions & 0 deletions
66
...rator/jobs/openshift/knative-client/openshift-knative-client-release-next-presubmits.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.*) |
66 changes: 66 additions & 0 deletions
66
...tor/jobs/openshift/knative-client/openshift-knative-client-release-v0.1.0-presubmits.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.*) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters