Skip to content

Commit

Permalink
feat: Remove prow jobs for Template Operator main build and release (#…
Browse files Browse the repository at this point in the history
…11768)

* remove main-template-op-build prow job

* remove release-template-operator-build prow job
  • Loading branch information
amritanshusikdar authored Sep 3, 2024
1 parent 8719eed commit 239ac3c
Showing 1 changed file with 0 additions and 97 deletions.
97 changes: 0 additions & 97 deletions prow/jobs/kyma-project/template-operator/template-operator.yaml
Original file line number Diff line number Diff line change
@@ -1,102 +1,5 @@
postsubmits:
kyma-project/template-operator:
- name: main-template-op-build
annotations:
description: "template operator build"
owner: "jellyfish"
labels:
prow.k8s.io/pubsub.project: "sap-kyma-prow"
prow.k8s.io/pubsub.runID: "main-template-op-build"
prow.k8s.io/pubsub.topic: "prowjobs"
preset-sa-kyma-push-images: "true"
preset-image-builder-ado-token: "true"
always_run: true
skip_report: false
decorate: true
cluster: trusted-workload
max_concurrency: 10
branches:
- ^main$
spec:
containers:
- image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240829-9a504e1b"
securityContext:
privileged: false
seccompProfile:
type: RuntimeDefault
allowPrivilegeEscalation: false
command:
- "/image-builder"
args:
- "--build-in-ado=true"
- "--name=template-operator"
- "--config=/config/kaniko-build-config.yaml"
- "--dockerfile=Dockerfile"
- "--tag=latest"
resources:
requests:
memory: 1.5Gi
cpu: 1
volumeMounts:
- name: config
mountPath: /config
readOnly: true
volumes:
- name: config
configMap:
name: kaniko-build-config
- name: release-template-operator-build
annotations:
description: "Job to build template-operator for a release."
owner: "jellyfish"
labels:
prow.k8s.io/pubsub.project: "sap-kyma-prow"
prow.k8s.io/pubsub.runID: "release-template-operator-build"
prow.k8s.io/pubsub.topic: "prowjobs"
preset-sa-kyma-push-images: "true"
preset-image-builder-ado-token: "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/buildkit-image-builder:v20240523-63efdb74"
securityContext:
privileged: true
seccompProfile:
type: Unconfined
allowPrivilegeEscalation: true
command:
- "/image-builder"
args:
- "--build-in-ado=true"
- "--name=template-operator"
- "--config=/config/kaniko-build-config.yaml"
- "--context=."
- "--dockerfile=Dockerfile"
- "--tag=$(PULL_BASE_REF)"
env:
- name: BUILDKITD_FLAGS
value: "--oci-worker-no-process-sandbox"
resources:
requests:
memory: 1.5Gi
cpu: 1
volumeMounts:
- name: share
mountPath: /home/user/.local/share/buildkit
- name: config
mountPath: /config
readOnly: true
volumes:
- name: share
- name: config
configMap:
name: kaniko-build-config
- name: release-template-operator-assets
annotations:
description: "Job to upload remaining template-operator assets to a release."
Expand Down

0 comments on commit 239ac3c

Please sign in to comment.