From bffdf30950c0753689b06c83642694b84b26a8ed Mon Sep 17 00:00:00 2001 From: mrCherry97 Date: Fri, 30 Aug 2024 10:30:50 +0200 Subject: [PATCH] feat: remove busola and kyma-dashboard prow builds --- .../busola/busola-backend/busola-backend.yaml | 129 ------------------ .../busola/busola-web/busola-web.yaml | 117 ---------------- .../kyma-dashboard/kyma-dashboard-dev.yaml | 103 -------------- .../kyma-dashboard/kyma-dashboard-prod.yaml | 99 -------------- .../kyma-dashboard/kyma-dashboard-stage.yaml | 99 -------------- 5 files changed, 547 deletions(-) delete mode 100644 prow/jobs/kyma-project/busola/busola-backend/busola-backend.yaml delete mode 100644 prow/jobs/kyma-project/busola/busola-web/busola-web.yaml delete mode 100644 prow/jobs/kyma-project/kyma-dashboard/kyma-dashboard-dev.yaml delete mode 100644 prow/jobs/kyma-project/kyma-dashboard/kyma-dashboard-prod.yaml delete mode 100644 prow/jobs/kyma-project/kyma-dashboard/kyma-dashboard-stage.yaml diff --git a/prow/jobs/kyma-project/busola/busola-backend/busola-backend.yaml b/prow/jobs/kyma-project/busola/busola-backend/busola-backend.yaml deleted file mode 100644 index d3b8b22cdb67..000000000000 --- a/prow/jobs/kyma-project/busola/busola-backend/busola-backend.yaml +++ /dev/null @@ -1,129 +0,0 @@ -presubmits: # runs on PRs - kyma-project/busola: - - name: pull-busola-backend-build - annotations: - description: "Building Busola backend image and push to GCR" - owner: "hasselhoff" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-busola-backend-build" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-sa-kyma-push-images: "true" - run_if_changed: '^backend/|^package.json' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^master$ - - ^main$ - - ^ui5$ - - ^in-page-edit$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/buildkit-image-builder:v20240523-63efdb74" - securityContext: - privileged: true - seccompProfile: - type: Unconfined - allowPrivilegeEscalation: true - command: - - "/image-builder" - args: - - "--name=busola-backend" - - "--context=backend" - - "--dockerfile=Dockerfile" - - "--config=/config/kaniko-build-config.yaml" - - "--export-tags" - env: - - name: BUILDKITD_FLAGS - value: "--oci-worker-no-process-sandbox" - resources: - requests: - memory: 1.5Gi - cpu: 1 - limits: - memory: 8Gi - cpu: 4 - volumeMounts: - - name: share - mountPath: /home/user/.local/share/buildkit - - name: config - mountPath: /config - readOnly: true - - name: signify-secret - mountPath: /secret - readOnly: true - volumes: - - name: share - - name: config - configMap: - name: kaniko-build-config - - name: signify-secret - secret: - secretName: signify-dev-secret - -postsubmits: # runs on main - kyma-project/busola: - - name: post-busola-backend-build - annotations: - description: "Building Busola backend image and push to GCR" - owner: "hasselhoff" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "post-busola-backend-build" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-sa-kyma-push-images: "true" - preset-signify-prod-secret: "true" - run_if_changed: '^backend/|^package.json' - skip_report: false - decorate: true - cluster: trusted-workload - max_concurrency: 10 - branches: - - ^master$ - - ^main$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/buildkit-image-builder:v20240523-63efdb74" - securityContext: - privileged: true - seccompProfile: - type: Unconfined - allowPrivilegeEscalation: true - command: - - "/image-builder" - args: - - "--name=busola-backend" - - "--context=backend" - - "--dockerfile=Dockerfile" - - "--config=/config/kaniko-build-config.yaml" - - "--export-tags" - - "--tag=latest" - env: - - name: BUILDKITD_FLAGS - value: "--oci-worker-no-process-sandbox" - resources: - requests: - memory: 1.5Gi - cpu: 1 - limits: - memory: 8Gi - cpu: 4 - volumeMounts: - - name: share - mountPath: /home/user/.local/share/buildkit - - name: config - mountPath: /config - readOnly: true - - name: signify-secret - mountPath: /secret - readOnly: true - volumes: - - name: share - - name: config - configMap: - name: kaniko-build-config - - name: signify-secret - secret: - secretName: signify-dev-secret diff --git a/prow/jobs/kyma-project/busola/busola-web/busola-web.yaml b/prow/jobs/kyma-project/busola/busola-web/busola-web.yaml deleted file mode 100644 index f435c9e28192..000000000000 --- a/prow/jobs/kyma-project/busola/busola-web/busola-web.yaml +++ /dev/null @@ -1,117 +0,0 @@ -presubmits: # runs on PRs - kyma-project/busola: - - name: pull-busola-web-build - annotations: - description: "Building Busola frontend image and push to GCR" - owner: "hasselhoff" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-busola-web-build" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-sa-kyma-push-images: "true" - run_if_changed: '^public/|^src/|^package.json|^Makefile|^Dockerfile$' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^master$ - - ^main$ - - ^ui5$ - - ^in-page-edit$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240829-9a504e1b" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=busola-web" - - "--context=." - - "--dockerfile=Dockerfile" - - "--config=/config/kaniko-build-config.yaml" - - "--export-tags" - resources: - requests: - memory: 1.5Gi - cpu: 1 - limits: - memory: 8Gi - cpu: 4 - 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/busola: - - name: post-busola-web-build - annotations: - description: "Building Busola frontend image and push to GCR" - owner: "hasselhoff" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "post-busola-web-build" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-sa-kyma-push-images: "true" - preset-signify-prod-secret: "true" - run_if_changed: '^public/|^src/|^package.json|^Makefile|^Dockerfile$' - skip_report: false - decorate: true - cluster: trusted-workload - max_concurrency: 10 - branches: - - ^master$ - - ^main$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240829-9a504e1b" - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/image-builder" - args: - - "--name=busola-web" - - "--context=." - - "--dockerfile=Dockerfile" - - "--config=/config/kaniko-build-config.yaml" - - "--export-tags" - - "--tag=latest" - resources: - requests: - memory: 1.5Gi - cpu: 1 - limits: - memory: 8Gi - cpu: 4 - 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/kyma-dashboard/kyma-dashboard-dev.yaml b/prow/jobs/kyma-project/kyma-dashboard/kyma-dashboard-dev.yaml deleted file mode 100644 index f6256853f284..000000000000 --- a/prow/jobs/kyma-project/kyma-dashboard/kyma-dashboard-dev.yaml +++ /dev/null @@ -1,103 +0,0 @@ -presubmits: # runs on PRs - kyma-project/kyma-dashboard: - - name: pre-kyma-dashboard-dev - annotations: - description: "Kyma Dashboard Dev Job" - owner: "hasselhoff" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pre-kyma-dashboard-dev" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-dind-enabled: "true" - preset-kind-volume-mounts: "true" - preset-sa-kyma-push-images: "true" - run_if_changed: '^Dockerfile.*|^package.json|^environments/dev/|^extensions|^gulpfile.js|^Makefile|^tests/' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^master$ - - ^main$ - extra_refs: - - org: kyma-project - repo: test-infra - base_ref: main - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/e2e-dind-k3d:v20240829-a38a9d2f" - securityContext: - privileged: true - seccompProfile: - type: Unconfined - allowPrivilegeEscalation: true - command: ["/init.sh", "bash", "-c"] - args: - - |- - if ! command -v docker-credential-gcr; then - curl -fsSLo docker-credential-gcr.tar.gz "https://github.com/GoogleCloudPlatform/docker-credential-gcr/releases/download/v2.1.10/docker-credential-gcr_linux_amd64-2.1.10.tar.gz" && \ - tar xzf docker-credential-gcr.tar.gz \ - && chmod +x docker-credential-gcr && mv docker-credential-gcr /usr/bin/ - fi - docker-credential-gcr configure-docker --registries=europe-docker.pkg.dev - DOCKER_TAG="PR-$PULL_NUMBER" make release-dev - env: - - name: DOCKER_PUSH_REPOSITORY - value: "europe-docker.pkg.dev/kyma-project" - resources: - requests: - memory: 3Gi - cpu: 2 - limits: - memory: 8Gi - cpu: 4 - -postsubmits: # runs on main - kyma-project/kyma-dashboard: - - name: post-kyma-dashboard-dev - annotations: - description: "Kyma Dashboard Dev Job" - owner: "hasselhoff" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "post-kyma-dashboard-dev" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-dind-enabled: "true" - preset-kind-volume-mounts: "true" - preset-sa-kyma-push-images: "true" - run_if_changed: '^Dockerfile.*|^package.json|^environments/dev/|^extensions|^gulpfile.js|^Makefile|^tests/' - skip_report: false - decorate: true - cluster: trusted-workload - max_concurrency: 10 - branches: - - ^master$ - - ^main$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/e2e-dind-k3d:v20240829-a38a9d2f" - securityContext: - privileged: true - seccompProfile: - type: Unconfined - allowPrivilegeEscalation: true - command: [ "/init.sh", "bash", "-c" ] - args: - - |- - if ! command -v docker-credential-gcr; then - curl -fsSLo docker-credential-gcr.tar.gz "https://github.com/GoogleCloudPlatform/docker-credential-gcr/releases/download/v2.1.10/docker-credential-gcr_linux_amd64-2.1.10.tar.gz" && \ - tar xzf docker-credential-gcr.tar.gz \ - && chmod +x docker-credential-gcr && mv docker-credential-gcr /usr/bin/ - fi - docker-credential-gcr configure-docker --registries=europe-docker.pkg.dev - DOCKER_TAG="${PULL_BASE_SHA::8}" make release-dev - env: - - name: DOCKER_PUSH_REPOSITORY - value: "europe-docker.pkg.dev/kyma-project" - resources: - requests: - memory: 3Gi - cpu: 2 - limits: - memory: 8Gi - cpu: 4 diff --git a/prow/jobs/kyma-project/kyma-dashboard/kyma-dashboard-prod.yaml b/prow/jobs/kyma-project/kyma-dashboard/kyma-dashboard-prod.yaml deleted file mode 100644 index 03e5410c4114..000000000000 --- a/prow/jobs/kyma-project/kyma-dashboard/kyma-dashboard-prod.yaml +++ /dev/null @@ -1,99 +0,0 @@ -presubmits: # runs on PRs - kyma-project/kyma-dashboard: - - name: pre-kyma-dashboard-prod - annotations: - description: "Kyma Dashboard Prod Job" - owner: "hasselhoff" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pre-kyma-dashboard-prod" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-dind-enabled: "true" - preset-kind-volume-mounts: "true" - preset-sa-kyma-push-images: "true" - run_if_changed: '^Dockerfile.*|^package.json|^environments/prod/|^extensions|^gulpfile.js|^Makefile|^tests/cypress-smoke.json|^tests/tests/.*/test-check-extensions.spec.js' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^master$ - - ^main$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/e2e-dind-k3d:v20240829-a38a9d2f" - securityContext: - privileged: true - seccompProfile: - type: Unconfined - allowPrivilegeEscalation: true - command: [ "/init.sh", "bash", "-c" ] - args: - - |- - if ! command -v docker-credential-gcr; then - curl -fsSLo docker-credential-gcr.tar.gz "https://github.com/GoogleCloudPlatform/docker-credential-gcr/releases/download/v2.1.10/docker-credential-gcr_linux_amd64-2.1.10.tar.gz" && \ - tar xzf docker-credential-gcr.tar.gz \ - && chmod +x docker-credential-gcr && mv docker-credential-gcr /usr/bin/ - fi - docker-credential-gcr configure-docker --registries=europe-docker.pkg.dev - DOCKER_TAG="PR-$PULL_NUMBER" make release-prod - env: - - name: DOCKER_PUSH_REPOSITORY - value: "europe-docker.pkg.dev/kyma-project" - resources: - requests: - memory: 3Gi - cpu: 2 - limits: - memory: 8Gi - cpu: 4 - -postsubmits: # runs on main - kyma-project/kyma-dashboard: - - name: post-kyma-dashboard-prod - annotations: - description: "Kyma Dashboard Prod Job" - owner: "hasselhoff" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "post-kyma-dashboard-prod" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-dind-enabled: "true" - preset-kind-volume-mounts: "true" - preset-sa-kyma-push-images: "true" - run_if_changed: '^Dockerfile.*|^package.json|^environments/prod/|^extensions|^gulpfile.js|^Makefile|^tests/cypress-smoke.json|^tests/tests/.*/test-check-extensions.spec.js' - skip_report: false - decorate: true - cluster: trusted-workload - max_concurrency: 10 - branches: - - ^master$ - - ^main$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/e2e-dind-k3d:v20240829-a38a9d2f" - securityContext: - privileged: true - seccompProfile: - type: Unconfined - allowPrivilegeEscalation: true - command: [ "/init.sh", "bash", "-c" ] - args: - - |- - if ! command -v docker-credential-gcr; then - curl -fsSLo docker-credential-gcr.tar.gz "https://github.com/GoogleCloudPlatform/docker-credential-gcr/releases/download/v2.1.10/docker-credential-gcr_linux_amd64-2.1.10.tar.gz" && \ - tar xzf docker-credential-gcr.tar.gz \ - && chmod +x docker-credential-gcr && mv docker-credential-gcr /usr/bin/ - fi - docker-credential-gcr configure-docker --registries=europe-docker.pkg.dev - DOCKER_TAG="${PULL_BASE_SHA::8}" make release-prod - env: - - name: DOCKER_PUSH_REPOSITORY - value: "europe-docker.pkg.dev/kyma-project" - resources: - requests: - memory: 3Gi - cpu: 2 - limits: - memory: 8Gi - cpu: 4 diff --git a/prow/jobs/kyma-project/kyma-dashboard/kyma-dashboard-stage.yaml b/prow/jobs/kyma-project/kyma-dashboard/kyma-dashboard-stage.yaml deleted file mode 100644 index eab1d21224cd..000000000000 --- a/prow/jobs/kyma-project/kyma-dashboard/kyma-dashboard-stage.yaml +++ /dev/null @@ -1,99 +0,0 @@ -presubmits: # runs on PRs - kyma-project/kyma-dashboard: - - name: pre-kyma-dashboard-stage - annotations: - description: "Kyma Dashboard Stage Job" - owner: "hasselhoff" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pre-kyma-dashboard-stage" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-dind-enabled: "true" - preset-kind-volume-mounts: "true" - preset-sa-kyma-push-images: "true" - run_if_changed: '^Dockerfile.*|^package.json|^environments/stage/|^extensions|^gulpfile.js|^Makefile|^tests/cypress-smoke.json|^tests/tests/.*/test-check-extensions.spec.js' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^master$ - - ^main$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/e2e-dind-k3d:v20240829-a38a9d2f" - securityContext: - privileged: true - seccompProfile: - type: Unconfined - allowPrivilegeEscalation: true - command: [ "/init.sh", "bash", "-c" ] - args: - - |- - if ! command -v docker-credential-gcr; then - curl -fsSLo docker-credential-gcr.tar.gz "https://github.com/GoogleCloudPlatform/docker-credential-gcr/releases/download/v2.1.10/docker-credential-gcr_linux_amd64-2.1.10.tar.gz" && \ - tar xzf docker-credential-gcr.tar.gz \ - && chmod +x docker-credential-gcr && mv docker-credential-gcr /usr/bin/ - fi - docker-credential-gcr configure-docker --registries=europe-docker.pkg.dev - DOCKER_TAG="PR-$PULL_NUMBER" make release-stage - env: - - name: DOCKER_PUSH_REPOSITORY - value: "europe-docker.pkg.dev/kyma-project" - resources: - requests: - memory: 3Gi - cpu: 2 - limits: - memory: 8Gi - cpu: 4 - -postsubmits: # runs on main - kyma-project/kyma-dashboard: - - name: post-kyma-dashboard-stage - annotations: - description: "Kyma Dashboard Stage Job" - owner: "hasselhoff" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "post-kyma-dashboard-stage" - prow.k8s.io/pubsub.topic: "prowjobs" - preset-dind-enabled: "true" - preset-kind-volume-mounts: "true" - preset-sa-kyma-push-images: "true" - run_if_changed: '^Dockerfile.*|^package.json|^environments/stage/|^extensions|^gulpfile.js|^Makefile|^tests/cypress-smoke.json|^tests/tests/.*/test-check-extensions.spec.js' - skip_report: false - decorate: true - cluster: trusted-workload - max_concurrency: 10 - branches: - - ^master$ - - ^main$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/e2e-dind-k3d:v20240829-a38a9d2f" - securityContext: - privileged: true - seccompProfile: - type: Unconfined - allowPrivilegeEscalation: true - command: [ "/init.sh", "bash", "-c" ] - args: - - |- - if ! command -v docker-credential-gcr; then - curl -fsSLo docker-credential-gcr.tar.gz "https://github.com/GoogleCloudPlatform/docker-credential-gcr/releases/download/v2.1.10/docker-credential-gcr_linux_amd64-2.1.10.tar.gz" && \ - tar xzf docker-credential-gcr.tar.gz \ - && chmod +x docker-credential-gcr && mv docker-credential-gcr /usr/bin/ - fi - docker-credential-gcr configure-docker --registries=europe-docker.pkg.dev - DOCKER_TAG="${PULL_BASE_SHA::8}" make release-stage - env: - - name: DOCKER_PUSH_REPOSITORY - value: "europe-docker.pkg.dev/kyma-project" - resources: - requests: - memory: 3Gi - cpu: 2 - limits: - memory: 8Gi - cpu: 4