Skip to content

Commit

Permalink
Semantic versionining in ACM release images
Browse files Browse the repository at this point in the history
  • Loading branch information
mvshao committed May 22, 2024
1 parent 5dd38b4 commit 298e664
Showing 1 changed file with 53 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ presubmits: # runs on PRs

postsubmits: # runs on main
kyma-project/application-connector-manager:
- name: post-application-connector-manager-build
- name: main-application-connector-manager-build
annotations:
description: "Job to build application-connector operator for a release"
owner: "framefrog"
labels:
prow.k8s.io/pubsub.project: "sap-kyma-prow"
prow.k8s.io/pubsub.runID: "post-application-connector-manager-build"
prow.k8s.io/pubsub.runID: "main-application-connector-manager-build"
prow.k8s.io/pubsub.topic: "prowjobs"
preset-sa-kyma-push-images: "true"
preset-signify-prod-secret: "true"
Expand All @@ -72,7 +72,6 @@ postsubmits: # runs on main
cluster: trusted-workload
max_concurrency: 10
branches:
- ^master$
- ^main$
spec:
containers:
Expand Down Expand Up @@ -108,6 +107,57 @@ postsubmits: # runs on main
- name: signify-secret
secret:
secretName: signify-dev-secret
- name: release-application-connector-manager-build
annotations:
description: "Job to build application-connector operator for a release"
owner: "framefrog"
labels:
prow.k8s.io/pubsub.project: "sap-kyma-prow"
prow.k8s.io/pubsub.runID: "release-application-connector-manager-build"
prow.k8s.io/pubsub.topic: "prowjobs"
preset-sa-kyma-push-images: "true"
preset-signify-prod-secret: "true"
always_run: true
skip_report: false
decorate: true
cluster: trusted-workload
max_concurrency: 10
branches:
- ^\d+\.\d+\.\d+(?:-.*)?$
spec:
containers:
- image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240521-098832b4"
securityContext:
privileged: false
seccompProfile:
type: RuntimeDefault
allowPrivilegeEscalation: false
command:
- "/image-builder"
args:
- "--name=application-connector-manager"
- "--config=/config/kaniko-build-config.yaml"
- "--context=."
- "--dockerfile=Dockerfile"
- "--tag=$(PULL_BASE_REF)"
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
- name: post-main-application-connector-manager-upgrade-latest-to-main
annotations:
description: "upgrade application-connector manager test"
Expand All @@ -126,7 +176,6 @@ postsubmits: # runs on main
cluster: trusted-workload
max_concurrency: 10
branches:
- ^master$
- ^main$
extra_refs:
- org: kyma-project
Expand Down

0 comments on commit 298e664

Please sign in to comment.