From f1c1acc03360762d0fcbbfe033740cd96ec2c613 Mon Sep 17 00:00:00 2001 From: Muhammad Faizan Date: Mon, 16 Sep 2024 09:44:22 +0200 Subject: [PATCH 1/2] removed eventing-webhook-certificates jobs --- .../eventing-webhook-certificates-build.yaml | 108 ------------------ ...eventing-webhook-certificates-release.yaml | 57 --------- .../eventing-webhook-certificates-build.yaml | 45 -------- ...eventing-webhook-certificates-release.yaml | 39 ------- 4 files changed, 249 deletions(-) delete mode 100644 prow/jobs/kyma-project/api-gateway/eventing-webhook/eventing-webhook-certificates-build.yaml delete mode 100644 prow/jobs/kyma-project/api-gateway/eventing-webhook/eventing-webhook-certificates-release.yaml delete mode 100644 templates/data/eventing-webhook-certificates-build.yaml delete mode 100644 templates/data/eventing-webhook-certificates-release.yaml diff --git a/prow/jobs/kyma-project/api-gateway/eventing-webhook/eventing-webhook-certificates-build.yaml b/prow/jobs/kyma-project/api-gateway/eventing-webhook/eventing-webhook-certificates-build.yaml deleted file mode 100644 index eb7215ee471a..000000000000 --- a/prow/jobs/kyma-project/api-gateway/eventing-webhook/eventing-webhook-certificates-build.yaml +++ /dev/null @@ -1,108 +0,0 @@ -# Code generated by rendertemplates. DO NOT EDIT. - - -presubmits: # runs on PRs - kyma-project/api-gateway: - - name: pull-eventing-webhook-certificates-build - annotations: - description: "Image to generate certificates for eventing webhooks." - owner: "skydivingtunas" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-eventing-webhook-certificates-build" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-sa-kyma-push-images: "true" - always_run: true - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^release-1.8$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=eventing-webhook-certificates" - - "--config=/config/kaniko-build-config.yaml" - - "--context=." - - "--dockerfile=Dockerfile-certificates" - 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: - - name: post-eventing-webhook-certificates-build - annotations: - description: "Image to generate certificates for eventing webhooks." - owner: "skydivingtunas" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "post-eventing-webhook-certificates-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: - - ^release-1.8$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=eventing-webhook-certificates" - - "--config=/config/kaniko-build-config.yaml" - - "--context=." - - "--dockerfile=Dockerfile-certificates" - 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 - \ No newline at end of file diff --git a/prow/jobs/kyma-project/api-gateway/eventing-webhook/eventing-webhook-certificates-release.yaml b/prow/jobs/kyma-project/api-gateway/eventing-webhook/eventing-webhook-certificates-release.yaml deleted file mode 100644 index 90177afb2fdf..000000000000 --- a/prow/jobs/kyma-project/api-gateway/eventing-webhook/eventing-webhook-certificates-release.yaml +++ /dev/null @@ -1,57 +0,0 @@ -# Code generated by rendertemplates. DO NOT EDIT. - - -postsubmits: # runs on main - kyma-project/api-gateway: - - name: rel-eventing-webhook-certificates-build - annotations: - description: "Image to generate certificates for eventing webhooks." - owner: "skydivingtunas" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "rel-eventing-webhook-certificates-build" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-sa-kyma-push-images: "true" - preset-signify-prod-secret: "true" - optional: false - skip_report: false - decorate: true - cluster: trusted-workload - max_concurrency: 10 - branches: - - ^release-1.8$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=eventing-webhook-certificates" - - "--config=/config/kaniko-build-config.yaml" - - "--context=." - - "--dockerfile=Dockerfile-certificates" - - "--tag={{.Env \"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 - \ No newline at end of file diff --git a/templates/data/eventing-webhook-certificates-build.yaml b/templates/data/eventing-webhook-certificates-build.yaml deleted file mode 100644 index 45e0e8d2ebc6..000000000000 --- a/templates/data/eventing-webhook-certificates-build.yaml +++ /dev/null @@ -1,45 +0,0 @@ -templates: - - from: generic.tmpl - render: - - to: ../../prow/jobs/kyma-project/api-gateway/eventing-webhook/eventing-webhook-certificates-build.yaml - jobConfigs: - - repoName: kyma-project/api-gateway - jobs: - - jobConfig: - name: pull-eventing-webhook-certificates-build - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - annotations: - owner: skydivingtunas - description: Image to generate certificates for eventing webhooks. - always_run: true - branches: - - "^release-1.8$" - args: - - "--name=eventing-webhook-certificates" - - "--config=/config/kaniko-build-config.yaml" - - "--context=." - - "--dockerfile=Dockerfile-certificates" - inheritedConfigs: - global: - - kaniko_buildpack - - jobConfig_presubmit - - jobConfig: - name: post-eventing-webhook-certificates-build - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - annotations: - owner: skydivingtunas - description: Image to generate certificates for eventing webhooks. - labels: - preset-signify-prod-secret: "true" - always_run: true - branches: - - "^release-1.8$" - args: - - "--name=eventing-webhook-certificates" - - "--config=/config/kaniko-build-config.yaml" - - "--context=." - - "--dockerfile=Dockerfile-certificates" - inheritedConfigs: - global: - - kaniko_buildpack - - jobConfig_postsubmit diff --git a/templates/data/eventing-webhook-certificates-release.yaml b/templates/data/eventing-webhook-certificates-release.yaml deleted file mode 100644 index f4148232b5a6..000000000000 --- a/templates/data/eventing-webhook-certificates-release.yaml +++ /dev/null @@ -1,39 +0,0 @@ -templates: - - from: generic.tmpl - render: - - to: ../../prow/jobs/kyma-project/api-gateway/eventing-webhook/eventing-webhook-certificates-release.yaml - localSets: - goreleaser: - skip_report: "false" - max_concurrency: "10" - optional: "false" - decorate: "true" - image: "eu.gcr.io/kyma-project/external/goreleaser/goreleaser:v1.11.5" - pubsub_project: "sap-kyma-prow" - pubsub_topic: "prowjobs" - request_memory: 1Gi - request_cpu: 500m - jobConfigs: - - repoName: kyma-project/api-gateway - jobs: - - jobConfig: - name: rel-eventing-webhook-certificates-build - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - annotations: - owner: skydivingtunas - description: Image to generate certificates for eventing webhooks. - optional: "false" - branches: - - "^release-1.8$" - labels: - preset-signify-prod-secret: "true" - args: - - "--name=eventing-webhook-certificates" - - "--config=/config/kaniko-build-config.yaml" - - "--context=." - - "--dockerfile=Dockerfile-certificates" - - '--tag={{`{{.Env \"PULL_BASE_REF\" }}`}}' - inheritedConfigs: - global: - - kaniko_buildpack - - jobConfig_postsubmit From 445aae65ecdc7058fe0fb379c2b4ddc23ca84a4a Mon Sep 17 00:00:00 2001 From: Muhammad Faizan Date: Mon, 16 Sep 2024 11:31:49 +0200 Subject: [PATCH 2/2] removed eventing jobs --- .../eventing-auth-manager-generic.yaml | 165 ------------------ .../eventing-manager-generic.yaml | 161 ----------------- .../eventing-publisher-proxy-generic.yaml | 160 ----------------- .../nats-manager/nats-manager-generic.yaml | 161 ----------------- 4 files changed, 647 deletions(-) delete mode 100644 prow/jobs/kyma-project/eventing-auth-manager/eventing-auth-manager-generic.yaml delete mode 100644 prow/jobs/kyma-project/eventing-manager/eventing-manager-generic.yaml delete mode 100644 prow/jobs/kyma-project/eventing-publisher-proxy/eventing-publisher-proxy-generic.yaml delete mode 100644 prow/jobs/kyma-project/nats-manager/nats-manager-generic.yaml diff --git a/prow/jobs/kyma-project/eventing-auth-manager/eventing-auth-manager-generic.yaml b/prow/jobs/kyma-project/eventing-auth-manager/eventing-auth-manager-generic.yaml deleted file mode 100644 index 6796105dffd0..000000000000 --- a/prow/jobs/kyma-project/eventing-auth-manager/eventing-auth-manager-generic.yaml +++ /dev/null @@ -1,165 +0,0 @@ -# Code generated by rendertemplates. DO NOT EDIT. - - -presubmits: # runs on PRs - kyma-project/eventing-auth-manager: - - name: pull-eventing-auth-manager-build - annotations: - description: "build the eventing-auth-manager image" - owner: "skydivingtunas" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-eventing-auth-manager-build" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-sa-kyma-push-images: "true" - run_if_changed: '^Dockerfile|\.go$|^go.(sum|mod)' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=eventing-auth-manager" - - "--config=/config/kaniko-build-config.yaml" - - "--context=." - - "--dockerfile=Dockerfile" - resources: - requests: - memory: 6Gi - cpu: 3 - limits: - memory: 6Gi - cpu: 3 - 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/eventing-auth-manager: - - name: post-eventing-auth-manager-build - annotations: - description: "build the eventing-auth-manager image" - owner: "skydivingtunas" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "post-eventing-auth-manager-build" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-sa-kyma-push-images: "true" - preset-signify-prod-secret: "true" - run_if_changed: '^Dockerfile|\.go$|^go.(sum|mod)' - skip_report: false - decorate: true - cluster: trusted-workload - max_concurrency: 10 - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=eventing-auth-manager" - - "--config=/config/kaniko-build-config.yaml" - - "--context=." - - "--dockerfile=Dockerfile" - - "--tag=latest" - resources: - requests: - memory: 6Gi - cpu: 3 - limits: - memory: 6Gi - cpu: 3 - 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: release-eventing-auth-manager-build - annotations: - description: "Job to build eventing-auth-manager for a release." - owner: "skydivingtunas" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "release-eventing-auth-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+(?:-.*)?$ # Watches for new Tag - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=eventing-auth-manager" - - "--config=/config/kaniko-build-config.yaml" - - "--context=." - - "--dockerfile=Dockerfile" - - '--tag={{ .Env "PULL_BASE_REF" }}' - resources: - requests: - memory: 6Gi - cpu: 3 - limits: - memory: 6Gi - cpu: 3 - 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 diff --git a/prow/jobs/kyma-project/eventing-manager/eventing-manager-generic.yaml b/prow/jobs/kyma-project/eventing-manager/eventing-manager-generic.yaml deleted file mode 100644 index 33045b2bb560..000000000000 --- a/prow/jobs/kyma-project/eventing-manager/eventing-manager-generic.yaml +++ /dev/null @@ -1,161 +0,0 @@ -# Code generated by rendertemplates. DO NOT EDIT. - -presubmits: # runs on PRs - kyma-project/eventing-manager: - - name: pull-eventing-manager-build - annotations: - description: "build eventing manager image" - owner: "skydivingtunas" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-eventing-manager-build" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-sa-kyma-push-images: "true" - skip_if_only_changed: '^docs/|\.(md|adoc)$|^(README|LICENSE)$' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=eventing-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/eventing-manager: - - name: post-eventing-manager-build - annotations: - description: "build eventing manager image" - owner: "skydivingtunas" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "post-eventing-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: - - ^main$ - - ^release-\d+\.\d+$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=eventing-manager" - - "--config=/config/kaniko-build-config.yaml" - - "--context=." - - "--dockerfile=Dockerfile" - - '--tag={{ .Env "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: release-eventing-manager-build - annotations: - description: "Job to build eventing module for a release." - owner: "skydivingtunas" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "release-eventing-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+(?:-.*)?$ # Watches for new Tag - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=eventing-manager" - - "--config=/config/kaniko-build-config.yaml" - - "--context=." - - "--dockerfile=Dockerfile" - - '--tag={{ .Env "PULL_BASE_REF" }}' - resources: - requests: - memory: 1.5Gi - cpu: 1 - limits: - memory: 3Gi - cpu: 2 - 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 diff --git a/prow/jobs/kyma-project/eventing-publisher-proxy/eventing-publisher-proxy-generic.yaml b/prow/jobs/kyma-project/eventing-publisher-proxy/eventing-publisher-proxy-generic.yaml deleted file mode 100644 index 07b8f4d322ae..000000000000 --- a/prow/jobs/kyma-project/eventing-publisher-proxy/eventing-publisher-proxy-generic.yaml +++ /dev/null @@ -1,160 +0,0 @@ -# Code generated by rendertemplates. DO NOT EDIT. - -presubmits: # runs on PRs - kyma-project/eventing-publisher-proxy: - - name: pull-eventing-publisher-proxy-build - annotations: - description: "build the eventing-publisher-proxy image" - owner: "skydivingtunas" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-eventing-publisher-proxy-build" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-sa-kyma-push-images: "true" - skip_if_only_changed: '^docs/|\.(md|adoc)$|^(README|LICENSE)$' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=eventing-publisher-proxy" - - "--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/eventing-publisher-proxy: - - name: post-eventing-publisher-proxy-build - annotations: - description: "build the eventing-publisher-proxy image" - owner: "skydivingtunas" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "post-eventing-publisher-proxy-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: - - ^main$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=eventing-publisher-proxy" - - "--config=/config/kaniko-build-config.yaml" - - "--context=." - - "--dockerfile=Dockerfile" - - "--tag=latest" - 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: release-eventing-publisher-proxy-build - annotations: - description: "Job to build eventing-publisher-proxy for a release." - owner: "skydivingtunas" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "release-eventing-publisher-proxy-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+(?:-.*)?$ # Watches for new Tag - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=eventing-publisher-proxy" - - "--config=/config/kaniko-build-config.yaml" - - "--context=." - - "--dockerfile=Dockerfile" - - '--tag={{ .Env "PULL_BASE_REF" }}' - resources: - requests: - memory: 1.5Gi - cpu: 1 - limits: - memory: 3Gi - cpu: 2 - 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 diff --git a/prow/jobs/kyma-project/nats-manager/nats-manager-generic.yaml b/prow/jobs/kyma-project/nats-manager/nats-manager-generic.yaml deleted file mode 100644 index bd035229415d..000000000000 --- a/prow/jobs/kyma-project/nats-manager/nats-manager-generic.yaml +++ /dev/null @@ -1,161 +0,0 @@ -# Code generated by rendertemplates. DO NOT EDIT. - -presubmits: # runs on PRs - kyma-project/nats-manager: - - name: pull-nats-manager-build - annotations: - description: "build nats manager image" - owner: "skydivingtunas" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-nats-manager-build" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-sa-kyma-push-images: "true" - skip_if_only_changed: '^docs/|\.(md|adoc)$|^(README|LICENSE)$' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=nats-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/nats-manager: - - name: release-nats-manager-build - annotations: - description: "Job to build nats module for a release." - owner: "skydivingtunas" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "release-nats-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+(?:-.*)?$ # Watches for new Tag with the format x.y.z where x, y and z are multi-digit integers. - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=nats-manager" - - "--config=/config/kaniko-build-config.yaml" - - "--context=." - - "--dockerfile=Dockerfile" - - '--tag={{ .Env "PULL_BASE_REF" }}' - resources: - requests: - memory: 1.5Gi - cpu: 1 - limits: - memory: 3Gi - cpu: 2 - 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-nats-manager-build - annotations: - description: "build nats manager image" - owner: "skydivingtunas" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "post-nats-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: - - ^main$ - - ^release-\d+\.\d+$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240912-fcc91334" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=nats-manager" - - "--config=/config/kaniko-build-config.yaml" - - "--context=." - - "--dockerfile=Dockerfile" - - '--tag={{ .Env "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