From 9f1e9533e57ef6c860556d75fd4ee4614c3a41b6 Mon Sep 17 00:00:00 2001 From: Andreas Thaler Date: Fri, 6 Sep 2024 12:12:36 +0200 Subject: [PATCH] cleanup examples repo job --- CODEOWNERS | 6 - .../kyma-project/examples/examples-build.yaml | 112 ------------------ templates/data/examples-build.yaml | 54 --------- 3 files changed, 172 deletions(-) delete mode 100644 prow/jobs/kyma-project/examples/examples-build.yaml delete mode 100644 templates/data/examples-build.yaml diff --git a/CODEOWNERS b/CODEOWNERS index 633f7dc16930..36ffb9015635 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -18,7 +18,6 @@ /prow @kyma-project/prow @neighbors-dev-bot /prow/cluster @kyma-project/prow @neighbors-dev-bot /prow/images @kyma-project/prow @neighbors-dev-bot -/prow/images/buildpack-node @kyma-project/prow @kyma-project/hasselhoff @a-thaler @lilitgh @neighbors-dev-bot /prow/jobs @kyma-project/prow @neighbors-dev-bot /prow/jobs/api-gateway/ @kyma-project/goat @neighbors-dev-bot @kyma-project/prow @@ -33,11 +32,9 @@ /prow/jobs/kyma-project/control-plane/tests/e2e/provisioning @kyma-project/gopher @neighbors-dev-bot @kyma-project/prow /prow/jobs/kyma-project/control-plane/control-plane-validation.yaml @kyma-project/prow @neighbors-dev-bot /prow/jobs/kyma-project/control-plane/kcp-cli.yaml @kyma-project/operations @neighbors-dev-bot @kyma-project/prow -/prow/jobs/kyma-project/directory-size-exporter/ @kyma-project/observability @neighbors-dev-bot @kyma-project/prow /prow/jobs/kyma-project/eventing-auth-manager @kyma-project/eventing @neighbors-dev-bot @kyma-project/prow /prow/jobs/kyma-project/eventing-publisher-proxy @kyma-project/eventing @neighbors-dev-bot @kyma-project/prow /prow/jobs/kyma-project/eventing-manager/ @kyma-project/eventing @neighbors-dev-bot @kyma-project/prow -/prow/jobs/kyma-project/examples @kyma-project/observability @neighbors-dev-bot @kyma-project/prow /prow/jobs/kyma-incubator/compass @kirilkabakchiev @petartodorovv @gvachkov @dimitarpetrov @nickymateev @dzahariev @dragobt @kaloyanspiridonov @nyordanoff @stanislavstefanov @ivantenevvasilev @ognyvrac @la4ezar @emmakarova @alextargov @neighbors-dev-bot @kyma-project/prow /prow/jobs/kyma-incubator/compass-console @kirilkabakchiev @petartodorovv @gvachkov @dimitarpetrov @nickymateev @dzahariev @dragobt @kaloyanspiridonov @nyordanoff @stanislavstefanov @ivantenevvasilev @ognyvrac @la4ezar @emmakarova @alextargov @neighbors-dev-bot @kyma-project/prow /prow/jobs/kyma-incubator/ord-service @kirilkabakchiev @petartodorovv @gvachkov @dimitarpetrov @nickymateev @dzahariev @dragobt @kaloyanspiridonov @nyordanoff @stanislavstefanov @ivantenevvasilev @ognyvrac @la4ezar @emmakarova @alextargov @neighbors-dev-bot @kyma-project/prow @@ -61,7 +58,6 @@ /prow/jobs/kyma-project/compass-manager @kyma-project/framefrog @neighbors-dev-bot @kyma-project/prow /prow/jobs/kyma-project/control-plane @kyma-project/framefrog @neighbors-dev-bot @kyma-project/prow /prow/jobs/kyma-project/kyma @kyma-project/framefrog @neighbors-dev-bot @kyma-project/prow -/prow/jobs/kyma-project/telemetry-manager @kyma-project/observability @neighbors-dev-bot @kyma-project/prow /prow/jobs/kyma-project/warden @kyma-project/otters @neighbors-dev-bot @kyma-project/prow /prow/jobs/kyma-project/lifecycle-manager @kyma-project/jellyfish @neighbors-dev-bot @kyma-project/prow /prow/jobs/kyma-project/keda-manager @kyma-project/otters @neighbors-dev-bot @kyma-project/prow @@ -72,10 +68,8 @@ /prow/jobs/kyma-project/runtime-watcher @kyma-project/jellyfish @neighbors-dev-bot @kyma-project/prow /prow/jobs/scans @kyma-project/prow @neighbors-dev-bot /prow/jobs/kyma-incubator/slack-bot @kyma-project/gopher @neighbors-dev-bot @kyma-project/prow -/prow/jobs/kyma-project/telemetry-manager @kyma-project/observability @neighbors-dev-bot @kyma-project/prow /prow/jobs/kyma-project/template-operator @kyma-project/jellyfish @neighbors-dev-bot @kyma-project/prow /prow/jobs/kyma-project/test-infra @kyma-project/prow @neighbors-dev-bot -/prow/jobs/kyma-project/third-party-images @kyma-project/observability @kyma-project/operations @kyma-project/otters @kyma-project/prow @neighbors-dev-bot /prow/scripts @kyma-project/prow @neighbors-dev-bot diff --git a/prow/jobs/kyma-project/examples/examples-build.yaml b/prow/jobs/kyma-project/examples/examples-build.yaml deleted file mode 100644 index e6db0acfad07..000000000000 --- a/prow/jobs/kyma-project/examples/examples-build.yaml +++ /dev/null @@ -1,112 +0,0 @@ -# Code generated by rendertemplates. DO NOT EDIT. - - -presubmits: # runs on PRs - kyma-project/examples: - - name: pull-monitoring-custom-metrics-example-build - annotations: - description: "builds monitoring-custom-metrics-example image" - owner: "huskies" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-monitoring-custom-metrics-example-build" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-sa-kyma-push-images: "true" - run_if_changed: '^prometheus/monitoring-custom-metrics/' - optional: false - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240905-3640aeb1" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=examples/monitoring-custom-metrics" - - "--config=/config/kaniko-build-config.yaml" - - "--context=prometheus/monitoring-custom-metrics" - - "--dockerfile=custom.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/examples: - - name: post-monitoring-custom-metrics-example-build - annotations: - description: "builds monitoring-custom-metrics-example image" - owner: "huskies" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "post-monitoring-custom-metrics-example-build" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-sa-kyma-push-images: "true" - preset-signify-prod-secret: "true" - run_if_changed: '^prometheus/monitoring-custom-metrics/' - optional: false - skip_report: false - decorate: true - cluster: trusted-workload - max_concurrency: 10 - branches: - - ^main$ - - ^release-\d+\.\d+$ - reporter_config: - slack: - channel: huskies-notifications - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240905-3640aeb1" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=examples/monitoring-custom-metrics" - - "--config=/config/kaniko-build-config.yaml" - - "--context=prometheus/monitoring-custom-metrics" - - "--dockerfile=custom.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 - \ No newline at end of file diff --git a/templates/data/examples-build.yaml b/templates/data/examples-build.yaml deleted file mode 100644 index 122b3d3b36b6..000000000000 --- a/templates/data/examples-build.yaml +++ /dev/null @@ -1,54 +0,0 @@ -templates: - - from: generic.tmpl - render: - - to: ../../prow/jobs/kyma-project/examples/examples-build.yaml - localSets: - job_default: - optional: "false" - job_post: - slack_channel: huskies-notifications - jobConfigs: - - repoName: kyma-project/examples - jobs: - - jobConfig: - name: pull-monitoring-custom-metrics-example-build - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240905-3640aeb1" - annotations: - owner: huskies - description: builds monitoring-custom-metrics-example image - run_if_changed: "^prometheus/monitoring-custom-metrics/" - args: - - "--name=examples/monitoring-custom-metrics" - - "--config=/config/kaniko-build-config.yaml" - - "--context=prometheus/monitoring-custom-metrics" - - "--dockerfile=custom.Dockerfile" - inheritedConfigs: - global: - - "kaniko_buildpack" - - "jobConfig_presubmit" - local: - - "job_default" - - jobConfig: - name: post-monitoring-custom-metrics-example-build - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240905-3640aeb1" - annotations: - owner: huskies - description: builds monitoring-custom-metrics-example image - run_if_changed: "^prometheus/monitoring-custom-metrics/" - labels: - preset-signify-prod-secret: "true" - branches: - - "^main$" - - "^release-\\d+\\.\\d+$" - args: - - "--name=examples/monitoring-custom-metrics" - - "--config=/config/kaniko-build-config.yaml" - - "--context=prometheus/monitoring-custom-metrics" - - "--dockerfile=custom.Dockerfile" - inheritedConfigs: - global: - - "kaniko_buildpack" - - "jobConfig_postsubmit" - local: - - "job_default" - - "job_post"