diff --git a/prow/jobs/kyma-project/eventing-manager/eventing-manager-generic.yaml b/prow/jobs/kyma-project/eventing-manager/eventing-manager-generic.yaml index 315df6814183..3c493da9eb44 100644 --- a/prow/jobs/kyma-project/eventing-manager/eventing-manager-generic.yaml +++ b/prow/jobs/kyma-project/eventing-manager/eventing-manager-generic.yaml @@ -1,6 +1,5 @@ # Code generated by rendertemplates. DO NOT EDIT. - presubmits: # runs on PRs kyma-project/eventing-manager: - name: pull-eventing-manager-build @@ -93,7 +92,7 @@ presubmits: # runs on PRs requests: memory: 3Gi cpu: 2 - + postsubmits: # runs on main kyma-project/eventing-manager: - name: release-eventing-manager-build @@ -112,7 +111,7 @@ postsubmits: # runs on main cluster: trusted-workload max_concurrency: 10 branches: - - ^\d+\.\d+\.\d+(?:-.*)?$ + - ^\d+\.\d+\.\d+(?:-.*)?$ # Watches for new Tag spec: containers: - image: "eu.gcr.io/sap-kyma-neighbors-dev/image-builder:v20230313-8dfce5f0b" @@ -128,7 +127,7 @@ postsubmits: # runs on main - "--config=/config/kaniko-build-config.yaml" - "--context=." - "--dockerfile=Dockerfile" - - "--tag={{ .Env \"PULL_BASE_SHA\" }}" + - "--tag={{ .Env \"PULL_BASE_REF\" }}" resources: requests: memory: 1.5Gi @@ -166,7 +165,9 @@ postsubmits: # runs on main cluster: trusted-workload max_concurrency: 10 branches: - - ^\d+\.\d+\.\d+(?:-.*)?$ + - ^\d+\.\d+\.\d+(?:-.*)?$ # Watches for new Tag + skip_branches: + - 0.0.0 # Skip for 0.0.0 Tag spec: containers: - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/buildpack-go:v20231130-5e582eeb" @@ -181,7 +182,7 @@ postsubmits: # runs on main - "ci" env: - name: IMG - value: "europe-docker.pkg.dev/kyma-project/prod/eventing-manager:${PULL_BASE_SHA}" + value: "europe-docker.pkg.dev/kyma-project/prod/eventing-manager:${PULL_BASE_REF}" - name: KUSTOMIZE_VERSION value: "v4.5.6" - name: MODULE_REGISTRY @@ -208,6 +209,8 @@ postsubmits: # runs on main decorate: true cluster: trusted-workload max_concurrency: 10 + skip_branches: + - 0.0.0 # Skip for 0.0.0 Tag spec: containers: - image: "eu.gcr.io/sap-kyma-neighbors-dev/image-builder:v20230313-8dfce5f0b" @@ -285,4 +288,3 @@ postsubmits: # runs on main requests: memory: 3Gi cpu: 2 - \ No newline at end of file