Skip to content

Commit

Permalink
feat: revert busola from ADO
Browse files Browse the repository at this point in the history
  • Loading branch information
mrCherry97 committed Jun 13, 2024
1 parent 1b12edb commit bf1ee3c
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions prow/jobs/kyma-project/busola/busola.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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

0 comments on commit bf1ee3c

Please sign in to comment.