From a8b8dd21b753fcf0af7a6d6ddb021693694bdae5 Mon Sep 17 00:00:00 2001 From: Xin Ruan Date: Wed, 4 Sep 2024 09:22:44 +0200 Subject: [PATCH] remove template operator assets related code (#11771) --- .../kymaBotGithubSecretTrustedUsage.yaml | 6 --- .../template-operator/template-operator.yaml | 42 ------------------- 2 files changed, 48 deletions(-) delete mode 100644 prow/jobs/kyma-project/template-operator/template-operator.yaml diff --git a/prow/cluster/resources/gatekeeper-constraints/workloads/kymaBotGithubSecretTrustedUsage.yaml b/prow/cluster/resources/gatekeeper-constraints/workloads/kymaBotGithubSecretTrustedUsage.yaml index 620676578a3f..ccf8209f403c 100644 --- a/prow/cluster/resources/gatekeeper-constraints/workloads/kymaBotGithubSecretTrustedUsage.yaml +++ b/prow/cluster/resources/gatekeeper-constraints/workloads/kymaBotGithubSecretTrustedUsage.yaml @@ -73,9 +73,3 @@ spec: - image: "gcr.io/k8s-prow/sidecar:*" command: [] args: [] - # Upload template-operator release assets to the GitHub release. https://github.com/kyma-project/test-infra/issues/9338 - - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/buildpack-go:*" - command: - - /tools/entrypoint - args: [] - entrypoint_options: '^{.*"args":\["\.\/scripts\/release\/upload_assets\.sh","ci"\],"container_name":"test",.*}$' diff --git a/prow/jobs/kyma-project/template-operator/template-operator.yaml b/prow/jobs/kyma-project/template-operator/template-operator.yaml deleted file mode 100644 index 983d72c721f7..000000000000 --- a/prow/jobs/kyma-project/template-operator/template-operator.yaml +++ /dev/null @@ -1,42 +0,0 @@ -postsubmits: - kyma-project/template-operator: - - name: release-template-operator-assets - annotations: - description: "Job to upload remaining template-operator assets to a release." - owner: "jellyfish" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "release-template-operator-assets" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-bot-github-token: "true" - preset-sa-kyma-push-images: "true" - always_run: true - skip_report: false - decorate: true - cluster: trusted-workload - max_concurrency: 10 - branches: - - ^v?\d+\.\d+\.\d+(?:-.*)?$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/buildpack-go:v20240902-18a70bed" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "./scripts/release/upload_assets.sh" - args: - - "ci" - env: - - name: IMG - value: "europe-docker.pkg.dev/kyma-project/prod/template-operator:${PULL_BASE_REF}" - - name: KUSTOMIZE_VERSION - value: "v4.5.6" - - name: MODULE_REGISTRY - value: "europe-docker.pkg.dev/kyma-project/prod/unsigned" - resources: - requests: - memory: 3Gi - cpu: 2