Skip to content

Commit

Permalink
Merge pull request #10664 from flacatus/ci_job
Browse files Browse the repository at this point in the history
Add job to tests olm nightly files in OCP 4.5
  • Loading branch information
openshift-merge-robot authored Aug 6, 2020
2 parents e1b56eb + eeef292 commit 9073451
Show file tree
Hide file tree
Showing 5 changed files with 141 additions and 4 deletions.
4 changes: 3 additions & 1 deletion ci-operator/config/eclipse/che-operator/OWNERS
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
approvers:
- rhopp
- flacatus
- tolusha
options: {}
reviewers:
- rhopp
- flacatus
- flacatus
- tolusha
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ base_images:
build_root:
project_image:
dockerfile_path: .ci/openshift-ci/Dockerfile
images:
- dockerfile_path: olm/eclipse-che-preview-openshift/Dockerfile
to: che-operator-catalog
resources:
'*':
limits:
Expand All @@ -25,6 +28,10 @@ tests:
commands: .ci/cico_updates_openshift.sh
openshift_installer_src:
cluster_profile: aws
- as: che-operator-olm-nightly
commands: "/bin/bash olm/testCatalogSource.sh openshift nightly che marketplace marketplace_image \n"
openshift_installer_src:
cluster_profile: aws
zz_generated_metadata:
branch: master
org: eclipse
Expand Down
4 changes: 2 additions & 2 deletions ci-operator/jobs/che-incubator/chectl/OWNERS
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
approvers:
- rhopp
- flacatus
- abazko
- tolusha
options: {}
reviewers:
- rhopp
- flacatus
- abazko
- tolusha
4 changes: 3 additions & 1 deletion ci-operator/jobs/eclipse/che-operator/OWNERS
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
approvers:
- tolusha
- rhopp
- flacatus
options: {}
reviewers:
- tolusha
- rhopp
- flacatus
- flacatus
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,85 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v4-che-operator-update,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- master
cluster: api.ci
context: ci/prow/v5-che-operator-olm-nightly
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
ci-operator.openshift.io/variant: v5
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-eclipse-che-operator-master-v5-che-operator-olm-nightly
rerun_command: /test v5-che-operator-olm-nightly
spec:
containers:
- args:
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-password-file=/etc/boskos/password
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --secret-dir=/usr/local/che-operator-olm-nightly-cluster-profile
- --target=che-operator-olm-nightly
- --template=/usr/local/che-operator-olm-nightly
- --variant=v5
command:
- ci-operator
env:
- name: CLUSTER_TYPE
value: aws
- name: JOB_NAME_SAFE
value: che-operator-olm-nightly
- name: TEST_COMMAND
value: "/bin/bash olm/testCatalogSource.sh openshift nightly che marketplace marketplace_image \n"
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /usr/local/che-operator-olm-nightly-cluster-profile
name: cluster-profile
- mountPath: /usr/local/che-operator-olm-nightly
name: job-definition
subPath: cluster-launch-installer-src.yaml
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: password
path: password
secretName: boskos-credentials
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-aws
- configMap:
name: prow-job-cluster-launch-installer-src
name: job-definition
- name: pull-secret
secret:
secretName: regcred
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v5-che-operator-olm-nightly,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down Expand Up @@ -158,3 +237,50 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v5-che-operator-update,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- master
cluster: api.ci
context: ci/prow/v5-images
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
ci-operator.openshift.io/variant: v5
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-eclipse-che-operator-master-v5-images
rerun_command: /test v5-images
spec:
containers:
- args:
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --target=[images]
- --variant=v5
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: pull-secret
secret:
secretName: regcred
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v5-images,?($|\s.*)

0 comments on commit 9073451

Please sign in to comment.