From 833b0c343c17eadebb4d97b7a4c4f262eb85603f Mon Sep 17 00:00:00 2001 From: Brian Mangoenpawiro Date: Thu, 24 Oct 2024 11:52:19 +0200 Subject: [PATCH] Remove openshift-service-mesh sail-operator nightly-images job (#58104) Signed-off-by: bmangoen <9867932+bmangoen@users.noreply.github.com> Co-authored-by: bmangoen <9867932+bmangoen@users.noreply.github.com> --- ...shift-service-mesh-sail-operator-main.yaml | 68 ---------------- ...ice-mesh-sail-operator-main-periodics.yaml | 78 ------------------- 2 files changed, 146 deletions(-) diff --git a/ci-operator/config/openshift-service-mesh/sail-operator/openshift-service-mesh-sail-operator-main.yaml b/ci-operator/config/openshift-service-mesh/sail-operator/openshift-service-mesh-sail-operator-main.yaml index 20f954db7eb51..5498f8ed4c84c 100644 --- a/ci-operator/config/openshift-service-mesh/sail-operator/openshift-service-mesh-sail-operator-main.yaml +++ b/ci-operator/config/openshift-service-mesh/sail-operator/openshift-service-mesh-sail-operator-main.yaml @@ -378,74 +378,6 @@ tests: memory: 100Mi timeout: 2h0m0s workflow: servicemesh-istio-e2e-hypershift -- as: nightly-images - cron: 00 03 * * * - steps: - cluster_profile: ossm-aws - dependencies: - RELEASE_IMAGE_LATEST: release:latest - env: - BASE_DOMAIN: servicemesh.devcluster.openshift.com - HYPERSHIFT_HC_RELEASE_IMAGE: quay.io/openshift-release-dev/ocp-release:4.16.5-multi - MAISTRA_BUILDER_IMAGE: registry.ci.openshift.org/ci/maistra-builder:upstream-master - MAISTRA_NAMESPACE: maistra-nightly-images - MAISTRA_SC_POD: maistra-nightly-images-pod - test: - - as: copy-src - cli: latest - commands: | - # copy the script to privileged pod - # SRC_PATH does end with /. : the content of the source directory is copied into dest directory - oc cp ./. "${MAISTRA_NAMESPACE}"/"${MAISTRA_SC_POD}":/work/ - env: - - name: MAISTRA_NAMESPACE - - name: MAISTRA_SC_POD - from: src - resources: - requests: - cpu: 100m - memory: 100Mi - timeout: 10m0s - - as: build - cli: latest - commands: | - export QUAY_PASS=$(cat /quay-secret/password) - export GITHUB_TOKEN=$(cat /creds-github/token) - # login to quay.io in the privileged pod - oc rsh -n "${MAISTRA_NAMESPACE}" "${MAISTRA_SC_POD}" \ - docker login -u='maistra-dev+prow' \ - -p=${QUAY_PASS} quay.io - # build and push images and publish the bundle into OperatorHub - oc rsh -n "${MAISTRA_NAMESPACE}" "${MAISTRA_SC_POD}" \ - entrypoint \ - sh -c \ - "git config --global user.email 'jwendell@redhat.com'; \ - git config --global user.name 'Jonh Wendell'; \ - cd /work && \ - export BUILD_WITH_CONTAINER="0" && \ - export VERSIONS_YAML_FILE=versions.yaml && \ - rm Makefile.vendor.mk bundle/**/*.yaml && \ - # generate everything using versions.yaml not ossm/versions.yaml - make gen && \ - make -e GITHUB_TOKEN=${GITHUB_TOKEN} -e NIGHTLY=true docker-buildx bundle-publish-nightly" - oc cp "${MAISTRA_NAMESPACE}"/"${MAISTRA_SC_POD}":"${ARTIFACT_DIR}"/. "${ARTIFACT_DIR}" - credentials: - - mount_path: /quay-secret - name: quay-pass - namespace: test-credentials - - mount_path: /creds-github - name: ossm-github - namespace: test-credentials - env: - - name: MAISTRA_NAMESPACE - - name: MAISTRA_SC_POD - from: src - resources: - requests: - cpu: 100m - memory: 100Mi - timeout: 2h0m0s - workflow: servicemesh-istio-e2e-hypershift zz_generated_metadata: branch: main org: openshift-service-mesh diff --git a/ci-operator/jobs/openshift-service-mesh/sail-operator/openshift-service-mesh-sail-operator-main-periodics.yaml b/ci-operator/jobs/openshift-service-mesh/sail-operator/openshift-service-mesh-sail-operator-main-periodics.yaml index e090a5bf46b49..891ad57b525af 100644 --- a/ci-operator/jobs/openshift-service-mesh/sail-operator/openshift-service-mesh-sail-operator-main-periodics.yaml +++ b/ci-operator/jobs/openshift-service-mesh/sail-operator/openshift-service-mesh-sail-operator-main-periodics.yaml @@ -1,82 +1,4 @@ periodics: -- agent: kubernetes - cluster: build03 - cron: 00 03 * * * - decorate: true - decoration_config: - skip_cloning: true - extra_refs: - - base_ref: main - org: openshift-service-mesh - repo: sail-operator - labels: - ci-operator.openshift.io/cloud: aws - ci-operator.openshift.io/cloud-cluster-profile: ossm-aws - ci.openshift.io/generator: prowgen - pj-rehearse.openshift.io/can-be-rehearsed: "true" - name: periodic-ci-openshift-service-mesh-sail-operator-main-nightly-images - 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 - - --secret-dir=/usr/local/nightly-images-cluster-profile - - --target=nightly-images - 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: /usr/local/nightly-images-cluster-profile - name: cluster-profile - - 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: cluster-profile - secret: - secretName: cluster-secrets-ossm-aws - - 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: build01 cron: 00 0,3,6,9,12,15,18,21 * * 1-5