Skip to content

Commit

Permalink
Semantic versioning in ACM release images (kyma-project#10767)
Browse files Browse the repository at this point in the history
* Semantic versionining in ACM release images

* Remove ACM Prow template
  • Loading branch information
mvshao authored and dekiel committed May 27, 2024
1 parent 42bc85c commit 655af9e
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 116 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
112 changes: 0 additions & 112 deletions templates/data/generic_module_data.yaml

This file was deleted.

0 comments on commit 655af9e

Please sign in to comment.