Skip to content

Commit

Permalink
Cleanup definitions for terraform (#9345)
Browse files Browse the repository at this point in the history
  • Loading branch information
KacperMalachowski authored Nov 21, 2023
1 parent 536e456 commit c318e30
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 108 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,54 +106,12 @@ spec:
- /tools/entrypoint
args: []
entrypoint_options: '^.*"args":\["branchprotector","--config-path=prow\/config\.yaml","--job-config-path=prow\/jobs","--github-token-path=\/etc\/github\/token","--confirm","--github-endpoint=http:\/\/ghproxy","--github-endpoint=https:\/\/api\.github\.com"\],"container_name":"test",.*$'
# pull-hide-tf-github-comments
- image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/terraform:*"
command:
- /tools/entrypoint
args: []
entrypoint_options: '^.*"args":\["\/ghcomment\/github-comment","hide","--org","\$\(REPO_OWNER\)","--repo","\$\(REPO_NAME\)","-pr","\$\(PULL_NUMBER\)","-sha1","\$\(PULL_PULL_SHA\)"\],"container_name":"test",.*$'
# pre-main-check-users-map
- image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/ko/usersmapchecker:*"
command:
- /tools/entrypoint
args: []
entrypoint_options: '^{.*"args":\["/ko-app/usersmapchecker"\],"container_name":"test",.*}$'
# pull-secret-leaks-log-scanner-tf-plan
- image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/terraform:*"
command:
- /tools/entrypoint
args: []
entrypoint_options: '^.*"args":\["\/bin\/sh","-c","\/bin\/terraform -chdir=\.\/configs\/terraform\/secrets-leaks-log-scanner init -input=false \\u0026\\u0026 \/tfcmt\/tfcmt -owner \$REPO_OWNER -repo \$REPO_NAME -pr \$PULL_NUMBER -sha \$PULL_PULL_SHA plan -- terraform -chdir=\.\/configs\/terraform\/secrets-leaks-log-scanner plan -input=false; \/ghcomment\/github-comment hide --org \$\(REPO_OWNER\) --repo \$\(REPO_NAME\) -pr \$\(PULL_NUMBER\) -sha1 \$\(PULL_PULL_SHA\)"\],"container_name":"test",.*$'
# post-secret-leaks-log-scanner-tf-apply
- image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/terraform:*"
command:
- /tools/entrypoint
args: []
entrypoint_options: '^.*"args":\["\/bin\/sh","-c","\/bin\/terraform -chdir=\.\/configs\/terraform\/secrets-leaks-log-scanner init -input=false \\u0026\\u0026 \/tfcmt\/tfcmt -owner \$REPO_OWNER -repo \$REPO_NAME -sha \$PULL_BASE_SHA apply -- terraform -chdir=\.\/configs\/terraform\/secrets-leaks-log-scanner apply -input=false -auto-approve; \/ghcomment\/github-comment hide --org \$\(REPO_OWNER\) --repo \$\(REPO_NAME\) -sha1 \$\(PULL_BASE_SHA\)"\],"container_name":"test",.*$'
# pull-secrets-rotator-tf-plan
- image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/terraform:*"
command:
- /tools/entrypoint
args: []
entrypoint_options: '^{.*"args":\["\/bin\/sh","-c","\/bin\/terraform -chdir=\.\/development\/secrets-rotator\/terraform\/environments\/prod init -input=false \\u0026\\u0026 \/tfcmt\/tfcmt -owner \$REPO_OWNER -repo \$REPO_NAME -pr \$PULL_NUMBER -sha \$PULL_PULL_SHA plan -- terraform -chdir=\.\/development\/secrets-rotator\/terraform\/environments\/prod plan -input=false -var-file=\./terraform\.tfvars; \/ghcomment\/github-comment hide --org \$\(REPO_OWNER\) --repo \$\(REPO_NAME\) -pr \$\(PULL_NUMBER\) -sha1 \$\(PULL_PULL_SHA\)"\],"container_name":"test",.*}$'
# jobname
- image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/terraform:*"
command:
- /tools/entrypoint
args: []
entrypoint_options: '^{.*"args":\["\/bin\/sh","-c","\/bin\/terraform -chdir=\.\/development\/secrets-rotator\/terraform\/environments\/prod init -input=false \\u0026\\u0026 \/tfcmt\/tfcmt -owner \$REPO_OWNER -repo \$REPO_NAME -sha \$PULL_BASE_SHA apply -- terraform -chdir=\.\/development\/secrets-rotator\/terraform\/environments\/prod apply -input=false -auto-approve -var-file=\./terraform\.tfvars; \/ghcomment\/github-comment hide --org \$\(REPO_OWNER\) --repo \$\(REPO_NAME\) -sha1 \$\(PULL_BASE_SHA\)"\],"container_name":"test",.*}$'
# pull-plan-prod-terraform
- image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/terraform:*"
command:
- /tools/entrypoint
args: []
entrypoint_options: '^.*"args":\["\/bin\/sh","-c","\/bin\/terraform -chdir=\.\/configs\/terraform\/environments\/prod init -input=false \\u0026\\u0026 \/tfcmt\/tfcmt -owner \$REPO_OWNER -repo \$REPO_NAME -pr \$PULL_NUMBER -sha \$PULL_PULL_SHA plan -- terraform -chdir=\.\/configs\/terraform\/environments\/prod plan -input=false\ -no-color; \/ghcomment\/github-comment hide --org \$\(REPO_OWNER\) --repo \$\(REPO_NAME\) -pr \$\(PULL_NUMBER\) -sha1 \$\(PULL_PULL_SHA\)\"\],"container_name":"test",.*$'
# post-apply-prod-terraform
- image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/terraform:*"
command:
- /tools/entrypoint
args: []
entrypoint_options: '^.*"args":\["\/bin\/sh","-c","\/bin\/terraform -chdir=\.\/configs\/terraform\/environments\/prod init -input=false \\u0026\\u0026 \/tfcmt\/tfcmt -owner \$REPO_OWNER -repo \$REPO_NAME -sha \$PULL_BASE_SHA apply -- terraform -chdir=\.\/configs\/terraform\/environments\/prod apply -input=false -no-color -auto-approve"\],"container_name":"test",.*$'
# release-serverless-module-build
- image: "europe-docker.pkg.dev/kyma-project/prod/testimages/buildpack-go:*"
command:
Expand Down
19 changes: 0 additions & 19 deletions prow/images/terraform/Dockerfile

This file was deleted.

47 changes: 0 additions & 47 deletions prow/jobs/kyma-project/test-infra/hide-terraform-comments.yaml

This file was deleted.

0 comments on commit c318e30

Please sign in to comment.