Skip to content

Commit b0b64e8

Browse files
authored
fix: add RAG projects to scheduled cleanup and unify project vars (#800)
Add asp-rag-dev/stg/prd to the cleanup project list so test resources in RAG projects are cleaned up daily. Also remove the redundant _E2E_PROJECT_IDS substitution since it always matches _PROJECT_IDS.
1 parent f8273eb commit b0b64e8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.cloudbuild/scheduled-cleanup.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ steps:
1919
entrypoint: /bin/bash
2020
env:
2121
- 'PROJECT_IDS=${_PROJECT_IDS}'
22-
- 'E2E_PROJECT_IDS=${_E2E_PROJECT_IDS}'
22+
- 'E2E_PROJECT_IDS=${_PROJECT_IDS}'
2323
- 'CICD_PROJECT_ID=${_CICD_PROJECT_ID}'
2424
args:
2525
- "-c"
@@ -34,6 +34,5 @@ options:
3434
defaultLogsBucketBehavior: REGIONAL_USER_OWNED_BUCKET
3535

3636
substitutions:
37-
_PROJECT_IDS: 'asp-e2e-dev,asp-e2e-stg,asp-e2e-prd,asp-test-dev,asp-test-prd,asp-test-stg'
38-
_E2E_PROJECT_IDS: 'asp-e2e-dev,asp-e2e-stg,asp-e2e-prd,asp-test-dev,asp-test-prd,asp-test-stg'
37+
_PROJECT_IDS: 'asp-e2e-dev,asp-e2e-stg,asp-e2e-prd,asp-test-dev,asp-test-prd,asp-test-stg,asp-rag-dev,asp-rag-stg,asp-rag-prd'
3938
_CICD_PROJECT_ID: 'asp-e2e-cicd'

0 commit comments

Comments
 (0)