diff --git a/ci-operator/config/openshift-knative/serverless-operator/.config.prowgen b/ci-operator/config/openshift-knative/serverless-operator/.config.prowgen index 930bbfcea2f95..16dd6997064cd 100644 --- a/ci-operator/config/openshift-knative/serverless-operator/.config.prowgen +++ b/ci-operator/config/openshift-knative/serverless-operator/.config.prowgen @@ -21,6 +21,7 @@ slack_reporter: - kitchensink-upgrade-c - mesh-e2e-c - olmv1-operator-e2e + - olmv1-operator-upgrade - operator-e2e-c - test-soak-c - test-upgrade-c diff --git a/ci-operator/config/openshift-knative/serverless-operator/openshift-knative-serverless-operator-main__4.21-techpreview.yaml b/ci-operator/config/openshift-knative/serverless-operator/openshift-knative-serverless-operator-main__4.21-techpreview.yaml index 9c1a10b978d5a..93098f77bb0bb 100755 --- a/ci-operator/config/openshift-knative/serverless-operator/openshift-knative-serverless-operator-main__4.21-techpreview.yaml +++ b/ci-operator/config/openshift-knative/serverless-operator/openshift-knative-serverless-operator-main__4.21-techpreview.yaml @@ -171,6 +171,43 @@ tests: cpu: 100m memory: 200Mi workflow: openshift-e2e-aws +- as: olmv1-operator-upgrade + cron: 45 7 * * 0 + steps: + cluster_profile: aws-serverless + env: + BASE_DOMAIN: serverless.devcluster.openshift.com + FEATURE_SET: TechPreviewNoUpgrade + SPOT_INSTANCES: "true" + ZONES_COUNT: "1" + test: + - as: operator-upgrade + commands: GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin OLM_VERSION=v1 make test-upgrade + dependencies: + - env: SERVERLESS_KNATIVE_OPERATOR + name: serverless-knative-operator + - env: SERVERLESS_MUST_GATHER + name: serverless-must-gather + - env: SERVERLESS_INDEX + name: serverless-index + - env: SERVERLESS_BUNDLE + name: serverless-bundle + - env: SERVERLESS_OPENSHIFT_KNATIVE_OPERATOR + name: serverless-openshift-knative-operator + - env: SERVERLESS_SOURCE_IMAGE + name: serverless-source-image + - env: SERVERLESS_INGRESS + name: serverless-ingress + - env: SERVERLESS_METADATA_WEBHOOK + name: serverless-metadata-webhook + from: serverless-source-image + resources: + limits: + memory: 6Gi + requests: + cpu: 100m + memory: 200Mi + workflow: openshift-e2e-aws zz_generated_metadata: branch: main org: openshift-knative diff --git a/ci-operator/jobs/openshift-knative/serverless-operator/openshift-knative-serverless-operator-main-periodics.yaml b/ci-operator/jobs/openshift-knative/serverless-operator/openshift-knative-serverless-operator-main-periodics.yaml index 932ea12654959..8e1d7fd00ac1a 100644 --- a/ci-operator/jobs/openshift-knative/serverless-operator/openshift-knative-serverless-operator-main-periodics.yaml +++ b/ci-operator/jobs/openshift-knative/serverless-operator/openshift-knative-serverless-operator-main-periodics.yaml @@ -93,6 +93,100 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator +- agent: kubernetes + cluster: build03 + cron: 45 7 * * 0 + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: main + org: openshift-knative + repo: serverless-operator + labels: + ci-operator.openshift.io/cloud: aws + ci-operator.openshift.io/cloud-cluster-profile: aws-serverless + ci-operator.openshift.io/variant: 4.21-techpreview + ci.openshift.io/generator: prowgen + job-release: "4.21" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: periodic-ci-openshift-knative-serverless-operator-main-4.21-techpreview-olmv1-operator-upgrade + reporter_config: + slack: + channel: '#serverless-ci' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :rainbow: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :rainbow: {{else}} + :volcano: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :volcano: {{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=olmv1-operator-upgrade + - --variant=4.21-techpreview + command: + - ci-operator + env: + - name: HTTP_SERVER_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest + imagePullPolicy: Always + name: "" + ports: + - containerPort: 8080 + name: http + 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: build03 cron: 23 1 * * 1,5