Skip to content

Commit

Permalink
bug: restore pull-api-gateway-manager-build only for release branches (
Browse files Browse the repository at this point in the history
…#11900)

/kind bug
/area api-gateway

job still needs to work on release branches until release jobs are switched
  • Loading branch information
Ressetkk committed Sep 13, 2024
1 parent d04c684 commit 6640e37
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 40 deletions.
51 changes: 51 additions & 0 deletions prow/jobs/kyma-project/api-gateway/api-gateway-manager-build.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,56 @@
# Code generated by rendertemplates. DO NOT EDIT.

presubmits: # runs on PRs
kyma-project/api-gateway:
- name: pull-api-gateway-manager-build
annotations:
description: "API Gateway Manager image build on PR for "
owner: "goat"
labels:
prow.k8s.io/pubsub.project: "sap-kyma-prow"
prow.k8s.io/pubsub.runID: "pull-api-gateway-manager-build"
prow.k8s.io/pubsub.topic: "prowjobs"
preset-sa-kyma-push-images: "true"
skip_if_only_changed: 'sec-scanners-config\.yaml$|^docs/|^performance_tests/|\.md$|^(OWNERS|CODEOWNERS)$|^\.|^LICENSES/'
skip_report: false
decorate: true
cluster: untrusted-workload
max_concurrency: 10
branches:
- ^release-\d+\.\d+(-.*)?$
spec:
containers:
- image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240909-fe70e5ff"
securityContext:
privileged: false
seccompProfile:
type: RuntimeDefault
allowPrivilegeEscalation: false
command:
- "/image-builder"
args:
- "--name=api-gateway-manager"
- "--config=/config/kaniko-build-config.yaml"
- "--context=."
- "--dockerfile=Dockerfile"
resources:
requests:
memory: 1.5Gi
cpu: 1
volumeMounts:
- 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/api-gateway:
Expand Down
40 changes: 0 additions & 40 deletions templates/data/api-gateway-manager-build.yaml

This file was deleted.

0 comments on commit 6640e37

Please sign in to comment.