diff --git a/prow/jobs/kyma-project/busola/busola.yaml b/prow/jobs/kyma-project/busola/busola.yaml index 687eacc7cc04..04be858334a0 100644 --- a/prow/jobs/kyma-project/busola/busola.yaml +++ b/prow/jobs/kyma-project/busola/busola.yaml @@ -8,6 +8,7 @@ presubmits: # runs on PRs prow.k8s.io/pubsub.project: "sap-kyma-prow" prow.k8s.io/pubsub.runID: "pull-busola-local-build" prow.k8s.io/pubsub.topic: "prowjobs" + preset-sa-kyma-push-images: "true" run_if_changed: '^backend/|^public/|^src/|^tests/|^package.json|^Makefile|^Dockerfile.local' skip_report: false decorate: true @@ -26,12 +27,6 @@ presubmits: # runs on PRs seccompProfile: type: RuntimeDefault allowPrivilegeEscalation: false - env: - - name: "ADO_PAT" - valueFrom: - secretKeyRef: - name: "image-builder-ado-token" - key: "token" command: - "/image-builder" args: @@ -40,8 +35,6 @@ presubmits: # runs on PRs - "--dockerfile=Dockerfile.local" - "--config=/config/kaniko-build-config.yaml" - "--export-tags" - - "--build-in-ado=true" - - "--build-arg=IMG_VERSION=PR-$(PULL_NUMBER)" resources: requests: memory: 1.5Gi @@ -53,10 +46,16 @@ presubmits: # runs on PRs - name: config mountPath: /config readOnly: true + - name: signify-secret + mountPath: /secret + readOnly: true volumes: - name: config configMap: name: kaniko-build-config + - name: signify-secret + secret: + secretName: signify-dev-secret postsubmits: # runs on main kyma-project/busola: @@ -68,6 +67,8 @@ postsubmits: # runs on main prow.k8s.io/pubsub.project: "sap-kyma-prow" prow.k8s.io/pubsub.runID: "post-busola-local-build" prow.k8s.io/pubsub.topic: "prowjobs" + preset-sa-kyma-push-images: "true" + preset-signify-prod-secret: "true" run_if_changed: '^backend/|^public/|^src/|^tests/|^package.json|^Makefile|^Dockerfile.local' skip_report: false decorate: true @@ -84,12 +85,6 @@ postsubmits: # runs on main seccompProfile: type: RuntimeDefault allowPrivilegeEscalation: false - env: - - name: "ADO_PAT" - valueFrom: - secretKeyRef: - name: "image-builder-ado-token" - key: "token" command: - "/image-builder" args: @@ -99,8 +94,6 @@ postsubmits: # runs on main - "--config=/config/kaniko-build-config.yaml" - "--export-tags" - "--tag=latest" - - "--build-in-ado=true" - - "--build-arg=IMG_VERSION=$(DOCKER_TAG)" resources: requests: memory: 1.5Gi @@ -112,7 +105,13 @@ postsubmits: # runs on main - name: config mountPath: /config readOnly: true + - name: signify-secret + mountPath: /secret + readOnly: true volumes: - name: config configMap: name: kaniko-build-config + - name: signify-secret + secret: + secretName: signify-dev-secret