Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Remove prow jobs for Template Operator main build and release #11768

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading