Skip to content

Commit

Permalink
Cleanup referenced to serverless, keda and warden (#11840)
Browse files Browse the repository at this point in the history
  • Loading branch information
halamix2 authored Sep 10, 2024
1 parent b5467e9 commit ff72eaf
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 468 deletions.
5 changes: 0 additions & 5 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
/prow/jobs/api-gateway/ @kyma-project/goat @neighbors-dev-bot @kyma-project/prow
/prow/jobs/btp-manager @kyma-project/gopher @neighbors-dev-bot @kyma-project/prow
/prow/jobs/busola @kyma-project/hasselhoff @neighbors-dev-bot @kyma-project/prow
/prow/jobs/cli @kyma-project/jellyfish @neighbors-dev-bot @kyma-project/prow
/prow/jobs/kyma-project/control-plane/components/kubeconfig-service @kyma-project/operations @neighbors-dev-bot @kyma-project/prow
/prow/jobs/kyma-project/control-plane/components/kyma-environment-broker @kyma-project/gopher @neighbors-dev-bot @kyma-project/prow
/prow/jobs/kyma-project/kyma-metrics-collector @kyma-project/eventing @neighbors-dev-bot @kyma-project/prow
Expand Down Expand Up @@ -55,12 +54,8 @@
/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/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
/prow/jobs/kyma-project/application-connector-manager.yaml @kyma-project/framefrog @neighbors-dev-bot @kyma-project/prow
/prow/jobs/kyma-project/serverless @kyma-project/otters @neighbors-dev-bot @kyma-project/prow
/prow/jobs/kyma-project/docker-registry @kyma-project/otters @neighbors-dev-bot @kyma-project/prow
/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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -705,36 +705,6 @@ spec:
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: serverless-git-auth # name of the k8s external secret and the k8s secret
namespace: default
spec:
secretStoreRef:
name: gcp-secretstore
kind: ClusterSecretStore
refreshInterval: "10m"
target:
deletionPolicy: "Delete" # delete secret when External Secret is deleted
data:
- secretKey: GH_AUTH_PRIVATE_KEY # k8s key name
remoteRef:
key: workloads_default_serverless-git-auth-credentials # GCP secret name
property: GH_AUTH_PRIVATE_KEY # name of the field in the GCP secret
version: latest
- secretKey: AZURE_DEVOPS_AUTH_USERNAME # k8s key name
remoteRef:
key: workloads_default_serverless-git-auth-credentials # GCP secret name
property: AZURE_DEVOPS_AUTH_USERNAME # name of the field in the GCP secret
version: latest
- secretKey: AZURE_DEVOPS_AUTH_PASSWORD # k8s key name
remoteRef:
key: workloads_default_serverless-git-auth-credentials # GCP secret name
property: AZURE_DEVOPS_AUTH_PASSWORD # name of the field in the GCP secret
version: latest

---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: signify-dev-secret # name of the k8s external secret and the k8s secret
namespace: default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ spec:
- /tools/entrypoint
args: []
entrypoint_options: '^.*"args":\["\/home\/prow\/go\/src\/github\.com\/kyma-project\/test-infra\/prow\/scripts\/cluster-integration\/skr-aws-upgrade-integration-dev\.sh"\],"container_name":"test",.*$'
# post-keda-manager-module-build
- image: "eu.gcr.io/kyma-project/test-infra/buildpack-golang:*"
command:
- /tools/entrypoint
args: []
entrypoint_options: '^.*"args":\["\.\/scripts\/release.sh","ci"\],"container_name":"test",.*$'
# post-telemetry-manager-release-module
- image: "europe-docker.pkg.dev/kyma-project/prod/testimages/e2e-gcloud:*"
command:
Expand All @@ -63,12 +57,6 @@ spec:
- /tools/entrypoint
args: []
entrypoint_options: '^{.*"args":\["/ko-app/usersmapchecker"\],"container_name":"test",.*}$'
# release-serverless-module-build
- image: "europe-docker.pkg.dev/kyma-project/prod/testimages/buildpack-go:*"
command:
- /tools/entrypoint
args: []
entrypoint_options: '^{.*"args":\["\.\/scripts\/release\.sh","ci"\],"container_name":"test",.*}$'
# sidecar
- image: "gcr.io/k8s-prow/sidecar:*"
command: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ spec:
- /tools/entrypoint
args: [ ]
entrypoint_options: '^{.*"args":.*,"container_name":"test",.*}$'
#serverless-module-build and post-test-infra-ko-build
- image: "europe-docker.pkg.dev/kyma-project/prod/testimages/buildpack-go:*"
command:
- /tools/entrypoint
args: [ ]
entrypoint_options: '^{.*"args":.*,"container_name":"test",.*}$'
# sidecar
- image: "gcr.io/k8s-prow/sidecar:*"
command: [ ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ spec:
- /tools/entrypoint
args: []
entrypoint_options: '^{.*"args":\["\/image-builder","--name=.+","--context=.+","--dockerfile=.+","--config=\/config\/kaniko-build-config\.yaml","--export-tags","--tag=latest"\],"container_name":"test",.*}$'
# presubmit: pre-serverless-operator-build
- image: '^(eu\.gcr\.io\/sap-kyma-neighbors-dev\/image-builder)|(europe-docker\.pkg\.dev\/kyma-project\/prod\/image-builder)|(europe-docker\.pkg\.dev\/kyma-project\/prod\/buildkit-image-builder):*'
command:
- /tools/entrypoint
args: []
entrypoint_options: '^{.*"args":\["sh","-c","\/image-builder --name=serverless-operator --config=\/config\/kaniko-build-config\.yaml --context=\. --dockerfile=.+"\],"container_name":"test",.*}$'
# sidecar
- image: "gcr.io/k8s-prow/sidecar:*"
command: []
Expand All @@ -60,13 +54,6 @@ spec:
- /tools/entrypoint
args: []
entrypoint_options: '^{.*"args":\["\/image-builder","--name=.+","--context=.+","--dockerfile=.+","--config=\/config\/kaniko-build-config\.yaml","--tag={{\.Env \\"PULL_BASE_REF\\" }}"\],"container_name":"test".*}$'
# release-serverless-operator-build
# post-serverless-operator-build
- image: '^(eu\.gcr\.io\/sap-kyma-neighbors-dev\/image-builder)|(europe-docker\.pkg\.dev\/kyma-project\/prod\/image-builder)|(europe-docker\.pkg\.dev\/kyma-project\/prod\/buildkit-image-builder):*'
command:
- /tools/entrypoint
args: []
entrypoint_options: '^{.*"args":\["sh","-c","\/image-builder --name=serverless-operator --config=\/config\/kaniko-build-config\.yaml --context=.+ --dockerfile=.+ --tag=.+"\],"container_name":"test".*}$'
# post-keb-build
# post-keb-cleanup-job-build
# post-keb-deprovision-retrigger-job-build
Expand Down
20 changes: 2 additions & 18 deletions prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,8 @@ branch-protection:
unmanaged: true
keda-manager:
unmanaged: true
terraform-module:
unmanaged: true
warden:
unmanaged: true
docker-registry:
Expand Down Expand Up @@ -1178,24 +1180,6 @@ presets:
secretKeyRef:
name: kcp-client-credentials
key: KCP_OIDC_CLIENT_SECRET
- labels:
preset-serverless-git-auth: "true"
env:
- name: GH_AUTH_PRIVATE_KEY
valueFrom:
secretKeyRef:
name: serverless-git-auth
key: GH_AUTH_PRIVATE_KEY
- name: AZURE_DEVOPS_AUTH_USERNAME
valueFrom:
secretKeyRef:
name: serverless-git-auth
key: AZURE_DEVOPS_AUTH_USERNAME
- name: AZURE_DEVOPS_AUTH_PASSWORD
valueFrom:
secretKeyRef:
name: serverless-git-auth
key: AZURE_DEVOPS_AUTH_PASSWORD
- labels:
preset-kcp-client-dev-envs: "true"
env:
Expand Down
117 changes: 0 additions & 117 deletions prow/jobs/kyma-project/test-infra/pjconfigtests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,45 +154,6 @@ presubmits: # runs on PRs
memory: 100M
cpu: 200m

kyma-project/cli:
- name: pull-cli-pjconfigtest
annotations:
description: "Run ginkgo suite tests for prowjobs definitions for cli"
owner: "neighbors"
labels:
prow.k8s.io/pubsub.project: "sap-kyma-prow"
prow.k8s.io/pubsub.runID: "pull-cli-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:v20240909-95731ea6"
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-project/lifecycle-manager:
- name: pull-lifecycle-manager-pjconfigtest
annotations:
Expand Down Expand Up @@ -310,45 +271,6 @@ presubmits: # runs on PRs
memory: 100M
cpu: 200m

kyma-project/private-fn-for-e2e-serverless-tests:
- name: pull-private-fn-for-e2e-serverless-tests-pjconfigtest
annotations:
description: "Run ginkgo suite tests for prowjobs definitions for private-fn-for-e2e-serverless-tests"
owner: "neighbors"
labels:
prow.k8s.io/pubsub.project: "sap-kyma-prow"
prow.k8s.io/pubsub.runID: "pull-private-fn-for-e2e-serverless-tests-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:v20240909-95731ea6"
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-project/examples:
- name: pull-examples-pjconfigtest
annotations:
Expand Down Expand Up @@ -505,45 +427,6 @@ presubmits: # runs on PRs
memory: 100M
cpu: 200m

kyma-project/keda-manager:
- name: pull-keda-manager-pjconfigtest
annotations:
description: "Run ginkgo suite tests for prowjobs definitions for keda-manager"
owner: "neighbors"
labels:
prow.k8s.io/pubsub.project: "sap-kyma-prow"
prow.k8s.io/pubsub.runID: "pull-keda-manager-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:v20240909-95731ea6"
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-project/kyma-dashboard:
- name: pull-kyma-dashboard-pjconfigtest
annotations:
Expand Down
Loading

0 comments on commit ff72eaf

Please sign in to comment.