Skip to content

Commit

Permalink
oadp-operator: modify periodic run yo use ocp-4.19
Browse files Browse the repository at this point in the history
  • Loading branch information
tareqalayan committed Feb 10, 2025
1 parent f4a195c commit cb0d663
Show file tree
Hide file tree
Showing 3 changed files with 371 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
build_root:
image_stream_tag:
name: builder
namespace: konveyor
tag: ubi9-v1.22.2
images:
- dockerfile_path: Dockerfile
to: oadp-operator
- dockerfile_path: build/ci-Dockerfile
to: test-oadp-operator
operator:
bundles:
- dockerfile_path: build/Dockerfile.bundle
substitutions:
- pullspec: quay.io/konveyor/oadp-operator:latest
with: oadp-operator
releases:
latest:
candidate:
product: ocp
stream: nightly
version: "4.19"
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 1000m
memory: 512Mi
tests:
- always_run: false
as: e2e-test-aws
optional: true
run_if_changed: .+\.go|go\.(\bmod\b|\bsum\b)|Makefile|Dockerfile|.dockerignore|.*\.ya{0,1}ml|build/.+
steps:
cluster_profile: aws
dependencies:
OO_INDEX: ci-index
env:
FEATURE_GATES: '[''OpenShiftPodSecurityAdmission=false'']'
FEATURE_SET: CustomNoUpgrade
OO_CHANNEL: stable
OO_INSTALL_NAMESPACE: openshift-adp
OO_PACKAGE: oadp-operator
OO_TARGET_NAMESPACES: '!install'
test:
- as: e2e
cli: latest
commands: make test-e2e
credentials:
- mount_path: /var/run/oadp-credentials
name: oadp-credentials
namespace: test-credentials
from: test-oadp-operator
resources:
requests:
cpu: 1000m
memory: 512Mi
workflow: optional-operators-ci-aws
- as: e2e-test-aws-periodic
cron: 0 4 * * *
steps:
cluster_profile: aws
dependencies:
OO_INDEX: ci-index
env:
FEATURE_GATES: '[''OpenShiftPodSecurityAdmission=false'']'
FEATURE_SET: CustomNoUpgrade
OO_CHANNEL: stable
OO_INSTALL_NAMESPACE: openshift-adp
OO_PACKAGE: oadp-operator
OO_TARGET_NAMESPACES: '!install'
test:
- as: e2e
cli: latest
commands: make test-e2e
credentials:
- mount_path: /var/run/oadp-credentials
name: oadp-credentials
namespace: test-credentials
from: test-oadp-operator
resources:
requests:
cpu: 1000m
memory: 512Mi
workflow: optional-operators-ci-aws
zz_generated_metadata:
branch: master
org: openshift
repo: oadp-operator
variant: "4.19"
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,91 @@ periodics:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build09
cron: 0 4 * * *
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: master
org: openshift
repo: oadp-operator
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws
ci-operator.openshift.io/variant: "4.19"
ci.openshift.io/generator: prowgen
job-release: "4.19"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-oadp-operator-master-4.19-e2e-test-aws-periodic
reporter_config:
slack:
channel: '#oadp-cicd'
job_states_to_report:
- failure
- error
report_template: '{{if eq .Status.State "success"}} :rainbow: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :rainbow: {{else}}
:alert-siren: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> :alert-siren: {{end}}'
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=e2e-test-aws-periodic
- --variant=4.19
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- 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: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build10
cron: 0 4 * * *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1275,6 +1275,201 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )4.18-images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^master$
- ^master-
cluster: build11
context: ci/prow/4.19-ci-index
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/variant: "4.19"
ci.openshift.io/generator: prowgen
job-release: "4.19"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-oadp-operator-master-4.19-ci-index
rerun_command: /test 4.19-ci-index
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=ci-index
- --variant=4.19
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )4.19-ci-index,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- ^master$
- ^master-
cluster: build10
context: ci/prow/4.19-e2e-test-aws
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws
ci-operator.openshift.io/variant: "4.19"
ci.openshift.io/generator: prowgen
job-release: "4.19"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-oadp-operator-master-4.19-e2e-test-aws
optional: true
rerun_command: /test 4.19-e2e-test-aws
run_if_changed: .+\.go|go\.(\bmod\b|\bsum\b)|Makefile|Dockerfile|.dockerignore|.*\.ya{0,1}ml|build/.+
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=e2e-test-aws
- --variant=4.19
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- 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: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )4.19-e2e-test-aws,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^master$
- ^master-
cluster: build11
context: ci/prow/4.19-images
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/variant: "4.19"
ci.openshift.io/generator: prowgen
job-release: "4.19"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-oadp-operator-master-4.19-images
rerun_command: /test 4.19-images
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=[images]
- --variant=4.19
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )4.19-images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down

0 comments on commit cb0d663

Please sign in to comment.