diff --git a/CODEOWNERS b/CODEOWNERS index 36ffb9015635..35582d49a3d0 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -35,9 +35,6 @@ /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-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 /prow/jobs/kyma-project/infrastructure-manager/ @kyma-project/framefrog @neighbors-dev-bot @kyma-project/prow /prow/jobs/kyma-project/istio/ @kyma-project/goat @neighbors-dev-bot @kyma-project/prow /prow/jobs/kyma-project/kyma/common @kyma-project/framefrog @neighbors-dev-bot @kyma-project/prow @@ -67,7 +64,6 @@ /prow/jobs/kyma-project/nats-manager @kyma-project/eventing @neighbors-dev-bot @kyma-project/prow /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/template-operator @kyma-project/jellyfish @neighbors-dev-bot @kyma-project/prow /prow/jobs/kyma-project/test-infra @kyma-project/prow @neighbors-dev-bot diff --git a/configs/autobump-config/control-plane-autobump-reconciler-config.yaml b/configs/autobump-config/control-plane-autobump-reconciler-config.yaml deleted file mode 100644 index ca709fe62a6d..000000000000 --- a/configs/autobump-config/control-plane-autobump-reconciler-config.yaml +++ /dev/null @@ -1,17 +0,0 @@ -gitHubLogin: "kyma-bot" -gitHubToken: "/etc/github/token" -gitName: "Kyma Bot" -gitEmail: "kyma.bot@sap.com" -skipPullRequest: false -gitHubOrg: "kyma-project" -gitHubRepo: "control-plane" -remoteName: "control-plane" -upstreamURLBase: "https://raw.githubusercontent.com/kyma-project/control-plane/main" -includedConfigPaths: - - "resources/kcp/charts" -targetVersion: "latest" #TODO THIS NEEDS TO BE REVERTED -prefixes: - - name: "Reconciler" - prefix: "europe-docker.pkg.dev/kyma-project/prod/incubator/reconciler/" - repo: "https://github.com/kyma-incubator/reconciler" - summarise: true diff --git a/prow/config.yaml b/prow/config.yaml index 3eb8a09fa98c..440f0657b7e3 100644 --- a/prow/config.yaml +++ b/prow/config.yaml @@ -400,23 +400,6 @@ branch-protection: opentelemetry-collector-components: unmanaged: true - kyma-incubator: - protect: true # protect all repos & branches in kyma-incubator org - exclude: - - "^dependabot/" - repos: - reconciler: - protect: false - branches: - main: - protect: true - develop: - protect: true - load-test-mock: - protect: true - istio-op: - protect: true - tide: sync_period: 2m batch_size_limit: @@ -455,11 +438,6 @@ tide: kyma-project/modulectl: squash kyma-project/cloud-manager: squash kyma-project/cloud-manager-tests: squash - kyma-incubator/reconciler: squash - kyma-incubator/kymart: squash - kyma-incubator/github-dashboard: squash - kyma-incubator/opensap: squash - kyma-incubator/migrate: squash target_url: https://status.build.kyma-project.io/tide pr_status_base_urls: "*": https://status.build.kyma-project.io/pr @@ -476,7 +454,6 @@ tide: - do-not-merge/invalid-commit-message orgs: - kyma-project - - kyma-incubator reviewApprovedRequired: true - labels: - lgtm @@ -1036,23 +1013,6 @@ presets: - name: whitesource-userkey mountPath: /etc/credentials/whitesource-userkey readOnly: true - - labels: - preset-sa-gke-kyma-integration-kyma-incubator-whitesource: "true" - env: - - name: GOOGLE_APPLICATION_CREDENTIALS - value: /etc/credentials/sa-gke-kyma-integration/service-account.json - - name: CLOUDSDK_DNS_ZONE_NAME - value: "build-kyma-workloads" #GCloud DNS Zone Name (NOT it's DNS name!) - - name: GITHUB_ORG_DIR - value: "/home/prow/go/src/github.com/kyma-incubator" - volumes: - - name: sa-gke-kyma-integration - secret: - secretName: sa-gke-kyma-integration - volumeMounts: - - name: sa-gke-kyma-integration - mountPath: /etc/credentials/sa-gke-kyma-integration - readOnly: true - labels: preset-sa-gke-kyma-integration-kyma-project-whitesource: "true" env: diff --git a/prow/jobs/kyma-project/test-infra/pjconfigtests.yaml b/prow/jobs/kyma-project/test-infra/pjconfigtests.yaml index 0623ecaa110a..6f9c8f9c7b91 100644 --- a/prow/jobs/kyma-project/test-infra/pjconfigtests.yaml +++ b/prow/jobs/kyma-project/test-infra/pjconfigtests.yaml @@ -738,316 +738,4 @@ presubmits: # runs on PRs requests: memory: 100M cpu: 200m - - kyma-incubator/sap-btp-service-operator: - - name: pull-sap-btp-service-operator-pjconfigtest - annotations: - description: "Run ginkgo suite tests for prowjobs definitions for sap-btp-service-operator" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-sap-btp-service-operator-pjconfigtest" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^.prow/|^.prow.yaml' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^.*$ - extra_refs: - - org: kyma-project - repo: test-infra - base_ref: main - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/ginkgo:v20240429-870ea518" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/ginkgo" - args: - - "-r" - - "/home/prow/go/src/github.com/kyma-project/test-infra/pkg/prow/pjconfigtests" - resources: - requests: - memory: 100M - cpu: 200m - - kyma-incubator/slack-bot: - - name: pull-slack-bot-pjconfigtest - annotations: - description: "Run ginkgo suite tests for prowjobs definitions for slack-bot" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-slack-bot-pjconfigtest" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^.prow/|^.prow.yaml' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^.*$ - extra_refs: - - org: kyma-project - repo: test-infra - base_ref: main - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/ginkgo:v20240429-870ea518" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/ginkgo" - args: - - "-r" - - "/home/prow/go/src/github.com/kyma-project/test-infra/pkg/prow/pjconfigtests" - resources: - requests: - memory: 100M - cpu: 200m - - kyma-incubator/migrate: - - name: pull-migrate-pjconfigtest - annotations: - description: "Run ginkgo suite tests for prowjobs definitions for migrate" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-migrate-pjconfigtest" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^.prow/|^.prow.yaml' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^.*$ - extra_refs: - - org: kyma-project - repo: test-infra - base_ref: main - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/ginkgo:v20240429-870ea518" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/ginkgo" - args: - - "-r" - - "/home/prow/go/src/github.com/kyma-project/test-infra/pkg/prow/pjconfigtests" - resources: - requests: - memory: 100M - cpu: 200m - - kyma-incubator/github-dashboard: - - name: pull-github-dashboard-pjconfigtest - annotations: - description: "Run ginkgo suite tests for prowjobs definitions for github-dashboard" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-github-dashboard-pjconfigtest" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^.prow/|^.prow.yaml' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^.*$ - extra_refs: - - org: kyma-project - repo: test-infra - base_ref: main - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/ginkgo:v20240429-870ea518" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/ginkgo" - args: - - "-r" - - "/home/prow/go/src/github.com/kyma-project/test-infra/pkg/prow/pjconfigtests" - resources: - requests: - memory: 100M - cpu: 200m - - kyma-incubator/kymart: - - name: pull-kymart-pjconfigtest - annotations: - description: "Run ginkgo suite tests for prowjobs definitions for kymart" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-kymart-pjconfigtest" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^.prow/|^.prow.yaml' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^.*$ - extra_refs: - - org: kyma-project - repo: test-infra - base_ref: main - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/ginkgo:v20240429-870ea518" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/ginkgo" - args: - - "-r" - - "/home/prow/go/src/github.com/kyma-project/test-infra/pkg/prow/pjconfigtests" - resources: - requests: - memory: 100M - cpu: 200m - - kyma-incubator/opensap: - - name: pull-opensap-pjconfigtest - annotations: - description: "Run ginkgo suite tests for prowjobs definitions for opensap" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-opensap-pjconfigtest" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^.prow/|^.prow.yaml' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^.*$ - extra_refs: - - org: kyma-project - repo: test-infra - base_ref: main - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/ginkgo:v20240429-870ea518" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/ginkgo" - args: - - "-r" - - "/home/prow/go/src/github.com/kyma-project/test-infra/pkg/prow/pjconfigtests" - resources: - requests: - memory: 100M - cpu: 200m - - kyma-incubator/service-catalog-tester: - - name: pull-service-catalog-tester-pjconfigtest - annotations: - description: "Run ginkgo suite tests for prowjobs definitions for service-catalog-tester" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-service-catalog-tester-pjconfigtest" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^.prow/|^.prow.yaml' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^.*$ - extra_refs: - - org: kyma-project - repo: test-infra - base_ref: main - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/ginkgo:v20240429-870ea518" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/ginkgo" - args: - - "-r" - - "/home/prow/go/src/github.com/kyma-project/test-infra/pkg/prow/pjconfigtests" - resources: - requests: - memory: 100M - cpu: 200m - - kyma-incubator/service-catalog: - - name: pull-service-catalog-pjconfigtest - annotations: - description: "Run ginkgo suite tests for prowjobs definitions for service-catalog" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-service-catalog-pjconfigtest" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^.prow/|^.prow.yaml' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^.*$ - extra_refs: - - org: kyma-project - repo: test-infra - base_ref: main - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/ginkgo:v20240429-870ea518" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/ginkgo" - args: - - "-r" - - "/home/prow/go/src/github.com/kyma-project/test-infra/pkg/prow/pjconfigtests" - resources: - requests: - memory: 100M - cpu: 200m \ No newline at end of file diff --git a/prow/jobs/kyma-project/test-infra/pjtester.yaml b/prow/jobs/kyma-project/test-infra/pjtester.yaml index f72c553e55aa..5aee52bdbf96 100644 --- a/prow/jobs/kyma-project/test-infra/pjtester.yaml +++ b/prow/jobs/kyma-project/test-infra/pjtester.yaml @@ -1669,708 +1669,4 @@ presubmits: # runs on PRs requests: memory: 100M cpu: 200m - - kyma-incubator/sap-btp-service-operator: - - name: pull-sap-btp-service-operator-pjtester - annotations: - description: "Schedule prowjobs tests using pjtester for sap-btp-service-operator" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-sap-btp-service-operator-pjtester" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^(vpath/pjtester.yaml)' - skip_report: false - decorate: true - cluster: trusted-workload - max_concurrency: 10 - branches: - - ^.*$ - extra_refs: - - org: kyma-project - repo: test-infra - base_ref: main - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/ko/pjtester:v20240906-871bfbc0" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/ko-app/pjtester" - args: - - "--github-token-path=/etc/github/oauth" - env: - - name: KUBECONFIG_PATH - value: "/etc/kubeconfig/pjtester/config" - resources: - requests: - memory: 100M - cpu: 200m - volumeMounts: - - name: oauth - mountPath: /etc/github - readOnly: true - - name: pjtester-kubeconfig - mountPath: /etc/kubeconfig/pjtester - readOnly: true - volumes: - - name: oauth - secret: - secretName: pjtester-github-oauth-token - - name: pjtester-kubeconfig - secret: - secretName: pjtester-kubeconfig - - name: pull-sap-btp-service-operator-vpathguard - annotations: - description: "Run pjtester vpathguard for sap-btp-service-operator" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-sap-btp-service-operator-vpathguard" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^(vpath/pjtester.yaml)' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^.*$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/alpine:v20240905-c1b27580" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/bin/ash" - args: - - "-c" - - "if [ -d /home/prow/go/src/github.com/kyma-project/test-infra/vpath ]; then (echo \"Directory vpath is present. Remove it to merge PR\"; exit 1); else (echo \"Directory vpath is not present\"; exit 0); fi" - resources: - requests: - memory: 100M - cpu: 200m - - kyma-incubator/slack-bot: - - name: pull-slack-bot-pjtester - annotations: - description: "Schedule prowjobs tests using pjtester for slack-bot" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-slack-bot-pjtester" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^(vpath/pjtester.yaml)' - skip_report: false - decorate: true - cluster: trusted-workload - max_concurrency: 10 - branches: - - ^.*$ - extra_refs: - - org: kyma-project - repo: test-infra - base_ref: main - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/ko/pjtester:v20240906-871bfbc0" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/ko-app/pjtester" - args: - - "--github-token-path=/etc/github/oauth" - env: - - name: KUBECONFIG_PATH - value: "/etc/kubeconfig/pjtester/config" - resources: - requests: - memory: 100M - cpu: 200m - volumeMounts: - - name: oauth - mountPath: /etc/github - readOnly: true - - name: pjtester-kubeconfig - mountPath: /etc/kubeconfig/pjtester - readOnly: true - volumes: - - name: oauth - secret: - secretName: pjtester-github-oauth-token - - name: pjtester-kubeconfig - secret: - secretName: pjtester-kubeconfig - - name: pull-slack-bot-vpathguard - annotations: - description: "Run pjtester vpathguard for slack-bot" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-slack-bot-vpathguard" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^(vpath/pjtester.yaml)' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^.*$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/alpine:v20240905-c1b27580" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/bin/ash" - args: - - "-c" - - "if [ -d /home/prow/go/src/github.com/kyma-project/test-infra/vpath ]; then (echo \"Directory vpath is present. Remove it to merge PR\"; exit 1); else (echo \"Directory vpath is not present\"; exit 0); fi" - resources: - requests: - memory: 100M - cpu: 200m - - kyma-incubator/migrate: - - name: pull-migrate-pjtester - annotations: - description: "Schedule prowjobs tests using pjtester for migrate" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-migrate-pjtester" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^(vpath/pjtester.yaml)' - skip_report: false - decorate: true - cluster: trusted-workload - max_concurrency: 10 - branches: - - ^.*$ - extra_refs: - - org: kyma-project - repo: test-infra - base_ref: main - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/ko/pjtester:v20240906-871bfbc0" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/ko-app/pjtester" - args: - - "--github-token-path=/etc/github/oauth" - env: - - name: KUBECONFIG_PATH - value: "/etc/kubeconfig/pjtester/config" - resources: - requests: - memory: 100M - cpu: 200m - volumeMounts: - - name: oauth - mountPath: /etc/github - readOnly: true - - name: pjtester-kubeconfig - mountPath: /etc/kubeconfig/pjtester - readOnly: true - volumes: - - name: oauth - secret: - secretName: pjtester-github-oauth-token - - name: pjtester-kubeconfig - secret: - secretName: pjtester-kubeconfig - - name: pull-migrate-vpathguard - annotations: - description: "Run pjtester vpathguard for migrate" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-migrate-vpathguard" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^(vpath/pjtester.yaml)' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^.*$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/alpine:v20240905-c1b27580" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/bin/ash" - args: - - "-c" - - "if [ -d /home/prow/go/src/github.com/kyma-project/test-infra/vpath ]; then (echo \"Directory vpath is present. Remove it to merge PR\"; exit 1); else (echo \"Directory vpath is not present\"; exit 0); fi" - resources: - requests: - memory: 100M - cpu: 200m - - kyma-incubator/github-dashboard: - - name: pull-github-dashboard-pjtester - annotations: - description: "Schedule prowjobs tests using pjtester for github-dashboard" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-github-dashboard-pjtester" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^(vpath/pjtester.yaml)' - skip_report: false - decorate: true - cluster: trusted-workload - max_concurrency: 10 - branches: - - ^.*$ - extra_refs: - - org: kyma-project - repo: test-infra - base_ref: main - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/ko/pjtester:v20240906-871bfbc0" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/ko-app/pjtester" - args: - - "--github-token-path=/etc/github/oauth" - env: - - name: KUBECONFIG_PATH - value: "/etc/kubeconfig/pjtester/config" - resources: - requests: - memory: 100M - cpu: 200m - volumeMounts: - - name: oauth - mountPath: /etc/github - readOnly: true - - name: pjtester-kubeconfig - mountPath: /etc/kubeconfig/pjtester - readOnly: true - volumes: - - name: oauth - secret: - secretName: pjtester-github-oauth-token - - name: pjtester-kubeconfig - secret: - secretName: pjtester-kubeconfig - - name: pull-github-dashboard-vpathguard - annotations: - description: "Run pjtester vpathguard for github-dashboard" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-github-dashboard-vpathguard" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^(vpath/pjtester.yaml)' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^.*$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/alpine:v20240905-c1b27580" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/bin/ash" - args: - - "-c" - - "if [ -d /home/prow/go/src/github.com/kyma-project/test-infra/vpath ]; then (echo \"Directory vpath is present. Remove it to merge PR\"; exit 1); else (echo \"Directory vpath is not present\"; exit 0); fi" - resources: - requests: - memory: 100M - cpu: 200m - - kyma-incubator/kymart: - - name: pull-kymart-pjtester - annotations: - description: "Schedule prowjobs tests using pjtester for kymart" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-kymart-pjtester" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^(vpath/pjtester.yaml)' - skip_report: false - decorate: true - cluster: trusted-workload - max_concurrency: 10 - branches: - - ^.*$ - extra_refs: - - org: kyma-project - repo: test-infra - base_ref: main - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/ko/pjtester:v20240906-871bfbc0" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/ko-app/pjtester" - args: - - "--github-token-path=/etc/github/oauth" - env: - - name: KUBECONFIG_PATH - value: "/etc/kubeconfig/pjtester/config" - resources: - requests: - memory: 100M - cpu: 200m - volumeMounts: - - name: oauth - mountPath: /etc/github - readOnly: true - - name: pjtester-kubeconfig - mountPath: /etc/kubeconfig/pjtester - readOnly: true - volumes: - - name: oauth - secret: - secretName: pjtester-github-oauth-token - - name: pjtester-kubeconfig - secret: - secretName: pjtester-kubeconfig - - name: pull-kymart-vpathguard - annotations: - description: "Run pjtester vpathguard for kymart" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-kymart-vpathguard" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^(vpath/pjtester.yaml)' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^.*$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/alpine:v20240905-c1b27580" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/bin/ash" - args: - - "-c" - - "if [ -d /home/prow/go/src/github.com/kyma-project/test-infra/vpath ]; then (echo \"Directory vpath is present. Remove it to merge PR\"; exit 1); else (echo \"Directory vpath is not present\"; exit 0); fi" - resources: - requests: - memory: 100M - cpu: 200m - - kyma-incubator/opensap: - - name: pull-opensap-pjtester - annotations: - description: "Schedule prowjobs tests using pjtester for opensap" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-opensap-pjtester" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^(vpath/pjtester.yaml)' - skip_report: false - decorate: true - cluster: trusted-workload - max_concurrency: 10 - branches: - - ^.*$ - extra_refs: - - org: kyma-project - repo: test-infra - base_ref: main - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/ko/pjtester:v20240906-871bfbc0" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/ko-app/pjtester" - args: - - "--github-token-path=/etc/github/oauth" - env: - - name: KUBECONFIG_PATH - value: "/etc/kubeconfig/pjtester/config" - resources: - requests: - memory: 100M - cpu: 200m - volumeMounts: - - name: oauth - mountPath: /etc/github - readOnly: true - - name: pjtester-kubeconfig - mountPath: /etc/kubeconfig/pjtester - readOnly: true - volumes: - - name: oauth - secret: - secretName: pjtester-github-oauth-token - - name: pjtester-kubeconfig - secret: - secretName: pjtester-kubeconfig - - name: pull-opensap-vpathguard - annotations: - description: "Run pjtester vpathguard for opensap" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-opensap-vpathguard" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^(vpath/pjtester.yaml)' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^.*$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/alpine:v20240905-c1b27580" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/bin/ash" - args: - - "-c" - - "if [ -d /home/prow/go/src/github.com/kyma-project/test-infra/vpath ]; then (echo \"Directory vpath is present. Remove it to merge PR\"; exit 1); else (echo \"Directory vpath is not present\"; exit 0); fi" - resources: - requests: - memory: 100M - cpu: 200m - - kyma-incubator/service-catalog-tester: - - name: pull-service-catalog-tester-pjtester - annotations: - description: "Schedule prowjobs tests using pjtester for service-catalog-tester" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-service-catalog-tester-pjtester" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^(vpath/pjtester.yaml)' - skip_report: false - decorate: true - cluster: trusted-workload - max_concurrency: 10 - branches: - - ^.*$ - extra_refs: - - org: kyma-project - repo: test-infra - base_ref: main - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/ko/pjtester:v20240906-871bfbc0" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/ko-app/pjtester" - args: - - "--github-token-path=/etc/github/oauth" - env: - - name: KUBECONFIG_PATH - value: "/etc/kubeconfig/pjtester/config" - resources: - requests: - memory: 100M - cpu: 200m - volumeMounts: - - name: oauth - mountPath: /etc/github - readOnly: true - - name: pjtester-kubeconfig - mountPath: /etc/kubeconfig/pjtester - readOnly: true - volumes: - - name: oauth - secret: - secretName: pjtester-github-oauth-token - - name: pjtester-kubeconfig - secret: - secretName: pjtester-kubeconfig - - name: pull-service-catalog-tester-vpathguard - annotations: - description: "Run pjtester vpathguard for service-catalog-tester" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-service-catalog-tester-vpathguard" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^(vpath/pjtester.yaml)' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^.*$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/alpine:v20240905-c1b27580" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/bin/ash" - args: - - "-c" - - "if [ -d /home/prow/go/src/github.com/kyma-project/test-infra/vpath ]; then (echo \"Directory vpath is present. Remove it to merge PR\"; exit 1); else (echo \"Directory vpath is not present\"; exit 0); fi" - resources: - requests: - memory: 100M - cpu: 200m - - kyma-incubator/service-catalog: - - name: pull-service-catalog-pjtester - annotations: - description: "Schedule prowjobs tests using pjtester for service-catalog" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-service-catalog-pjtester" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^(vpath/pjtester.yaml)' - skip_report: false - decorate: true - cluster: trusted-workload - max_concurrency: 10 - branches: - - ^.*$ - extra_refs: - - org: kyma-project - repo: test-infra - base_ref: main - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/ko/pjtester:v20240906-871bfbc0" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/ko-app/pjtester" - args: - - "--github-token-path=/etc/github/oauth" - env: - - name: KUBECONFIG_PATH - value: "/etc/kubeconfig/pjtester/config" - resources: - requests: - memory: 100M - cpu: 200m - volumeMounts: - - name: oauth - mountPath: /etc/github - readOnly: true - - name: pjtester-kubeconfig - mountPath: /etc/kubeconfig/pjtester - readOnly: true - volumes: - - name: oauth - secret: - secretName: pjtester-github-oauth-token - - name: pjtester-kubeconfig - secret: - secretName: pjtester-kubeconfig - - name: pull-service-catalog-vpathguard - annotations: - description: "Run pjtester vpathguard for service-catalog" - owner: "neighbors" - labels: - prow.k8s.io/pubsub.project: "sap-kyma-prow" - prow.k8s.io/pubsub.runID: "pull-service-catalog-vpathguard" - prow.k8s.io/pubsub.topic: "prowjobs" - run_if_changed: '^(vpath/pjtester.yaml)' - skip_report: false - decorate: true - cluster: untrusted-workload - max_concurrency: 10 - branches: - - ^.*$ - spec: - containers: - - image: "europe-docker.pkg.dev/kyma-project/prod/testimages/alpine:v20240905-c1b27580" - imagePullPolicy: Always - securityContext: - privileged: false - seccompProfile: - type: RuntimeDefault - allowPrivilegeEscalation: false - command: - - "/bin/ash" - args: - - "-c" - - "if [ -d /home/prow/go/src/github.com/kyma-project/test-infra/vpath ]; then (echo \"Directory vpath is present. Remove it to merge PR\"; exit 1); else (echo \"Directory vpath is not present\"; exit 0); fi" - resources: - requests: - memory: 100M - cpu: 200m \ No newline at end of file diff --git a/prow/plugins.yaml b/prow/plugins.yaml index a8ba05fb7f15..845ebc9f967e 100644 --- a/prow/plugins.yaml +++ b/prow/plugins.yaml @@ -29,28 +29,6 @@ plugins: plugins: - approve - blunderbuss - kyma-incubator: - plugins: - - trigger - - assign - - wip - - lgtm - - hold - - label - - help - - size - - verify-owners - - owners-label - - override - - retitle - - lifecycle - - transfer-issue - - yuks - - dog - - cat - - shrug - - pony - - skip external_plugins: kyma-project: @@ -65,13 +43,6 @@ external_plugins: events: - pull_request - pull_request_review - kyma-incubator: - - name: cla-assistant - events: - - issue_comment - - pull_request_review - - pull_request_review_comment - - status config_updater: maps: @@ -95,7 +66,6 @@ config_updater: triggers: - repos: - kyma-project - - kyma-incubator trusted_apps: - dependabot only_org_members: true @@ -104,7 +74,6 @@ triggers: lgtm: - repos: - kyma-project - - kyma-incubator review_acts_as_lgtm: true label: diff --git a/prow/scripts/build-kcp-cli.sh b/prow/scripts/build-kcp-cli.sh deleted file mode 100755 index 5dc649db4a17..000000000000 --- a/prow/scripts/build-kcp-cli.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/usr/bin/env bash - -# This script builds and publishes KCP CLI development artifacts - -set -e - -readonly SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -# shellcheck source=prow/scripts/lib/log.sh -source "${SCRIPT_DIR}/lib/log.sh" -# shellcheck source=prow/scripts/lib/utils.sh -source "${SCRIPT_DIR}/lib/utils.sh" -# shellcheck source=prow/scripts/lib/gcp.sh -source "$SCRIPT_DIR/lib/gcp.sh" - -requiredVars=( - KYMA_DEVELOPMENT_ARTIFACTS_BUCKET -) - -utils::check_required_vars "${requiredVars[@]}" - -readonly CURRENT_TIMESTAMP=$(date +%s) - -function export_variables() { - COMMIT_ID=$(echo "${PULL_BASE_SHA}" | cut -c1-8) - if [[ -n "${PULL_NUMBER}" ]]; then - BUCKET_DIR="PR-${PULL_NUMBER}" - CLI_VERSION="PR-${PULL_NUMBER}-${COMMIT_ID}" - else - BUCKET_DIR="master-${COMMIT_ID}" - CLI_VERSION="master-${COMMIT_ID}" - fi - - readonly BUCKET_DIR - readonly CLI_VERSION - - export BUCKET_DIR - export CLI_VERSION -} - -gcp::authenticate \ - -c "${GOOGLE_APPLICATION_CREDENTIALS}" -export_variables - -export KCP_PATH="/home/prow/go/src/github.com/kyma-project/control-plane" -buildTarget="release" - -log::info "Build KCP CLI with target ${buildTarget}" -make -C "${KCP_PATH}/tools/cli" ${buildTarget} - -log::info "Content of the local artifacts directory" -ls -la "${ARTIFACTS}" - -mkdir -p "${ARTIFACTS}"/sync/{ers,kcp}/"${BUCKET_DIR}"/ -mv "${ARTIFACTS}"/ers* "${ARTIFACTS}/sync/ers/${BUCKET_DIR}/" -mv "${ARTIFACTS}"/kcp* "${ARTIFACTS}/sync/kcp/${BUCKET_DIR}/" - -if [[ "${BUILD_TYPE}" == "master" ]]; then - mkdir -p "${ARTIFACTS}"/sync/{ers,kcp}/master/ - cp "${ARTIFACTS}/sync/ers/${BUCKET_DIR}"/ers* "${ARTIFACTS}/sync/ers/master/" - cp "${ARTIFACTS}/sync/kcp/${BUCKET_DIR}"/kcp* "${ARTIFACTS}/sync/kcp/master/" -fi - -log::info "Copy artifacts to ${KYMA_DEVELOPMENT_ARTIFACTS_BUCKET}/{ers,kcp}/${BUCKET_DIR}" -gsutil -m rsync -r "${ARTIFACTS}/sync/" "${KYMA_DEVELOPMENT_ARTIFACTS_BUCKET}" diff --git a/prow/scripts/reconciler-publish-pr-cli.sh b/prow/scripts/reconciler-publish-pr-cli.sh deleted file mode 100755 index 298eba6b29c8..000000000000 --- a/prow/scripts/reconciler-publish-pr-cli.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/bash - -set -o errexit - -readonly SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -KYMA_PROJECT_DIR=${KYMA_PROJECT_DIR:-"/home/prow/go/src/github.com/kyma-project"} -KYMA_CLI_PROJECT_DIR="${KYMA_PROJECT_DIR}/cli" -RECONCILER_PROJECT_DIR="/home/prow/go/src/github.com/kyma-incubator/reconciler" - -# shellcheck source=prow/scripts/lib/log.sh -source "${SCRIPT_DIR}/lib/log.sh" -# shellcheck source=prow/scripts/lib/utils.sh -source "${SCRIPT_DIR}/lib/utils.sh" -# shellcheck source=prow/scripts/lib/gcp.sh -source "$SCRIPT_DIR/lib/gcp.sh" - -log::banner "Reconciler Publish PR-CLI" - -cd "${KYMA_CLI_PROJECT_DIR}" - -log::banner "Replacing reconciler dependency used by the Kyma CLI to local PR source" -go mod edit -replace "github.com/kyma-incubator/reconciler=${RECONCILER_PROJECT_DIR}" - -log::info "Contents of kyma-project/cli/go.mod" -cat go.mod - -log::banner "Building Kyma CLI with reconciler bump from PR source" -log::info "Resolve dependencies for kyma cli" -make resolve - -log::info "Run unit-tests for kyma cli" -make test - -log::info "Building Kyma CLI" -make build-linux - -log::info "Renaming Kyma CLI to include PR number" -mv "./bin/kyma-linux" "./bin/kyma-linux-pr-${PULL_NUMBER}" -ls "./bin/" - -log::banner "Publishing builds to GCP" -log::info "GCP Authentication" -gcp::authenticate \ - -c "${GOOGLE_APPLICATION_CREDENTIALS}" - -log::info "Setting bucket info" -export KYMA_CLI_UNSTABLE_BUCKET="${KYMA_CLI_PR_UNSTABLE_BUCKET}" - -log::info "Publishing new builds to $KYMA_CLI_UNSTABLE_BUCKET" -make upload-binaries - -log::success "Reconciler Publish PR CLI's all done" diff --git a/templates/config.yaml b/templates/config.yaml index b6e36d7553de..25222d269513 100644 --- a/templates/config.yaml +++ b/templates/config.yaml @@ -27,16 +27,6 @@ global: - name: "kyma-environment-broker" - name: "telemetry-manager" - name: "compass-manager" - - name: "kyma-incubator" - repos: - - name: "sap-btp-service-operator" - - name: "slack-bot" - - name: "migrate" - - name: "github-dashboard" - - name: "kymart" - - name: "opensap" - - name: "service-catalog-tester" - - name: "service-catalog" # global configSet variables pubsub_config: &pubsub_config