From 73454443a5a207a70a9fdee7d2b6c9724276007f Mon Sep 17 00:00:00 2001 From: Matt-Spence Date: Fri, 8 Nov 2024 09:43:19 -0600 Subject: [PATCH 1/2] Update clone-staging.yaml --- .github/workflows/clone-staging.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/clone-staging.yaml b/.github/workflows/clone-staging.yaml index 9fea3d4a9..790246328 100644 --- a/.github/workflows/clone-staging.yaml +++ b/.github/workflows/clone-staging.yaml @@ -41,7 +41,7 @@ jobs: # clone from source to destination cf target -s $SOURCE_ENVIRONMENT - cg-manage-rds clone getgov-$DESTINATION_ENVIRONMENT-database getgov-$SOURCE_ENVIRONMENT-database + cg-manage-rds clone getgov-$SOURCE_ENVIRONMENT-database getgov-$DESTINATION_ENVIRONMENT-database - name: Cleanup if: always() run: cf unshare-service getgov-$DESTINATION_ENVIRONMENT-database -s $SOURCE_ENVIRONMENT -f From bfb545a8955e29e25eb4863c1c417d4ebfe27e5c Mon Sep 17 00:00:00 2001 From: Matt-Spence Date: Fri, 8 Nov 2024 09:45:32 -0600 Subject: [PATCH 2/2] Update clone-staging.yaml --- .github/workflows/clone-staging.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/clone-staging.yaml b/.github/workflows/clone-staging.yaml index 790246328..3c1971e93 100644 --- a/.github/workflows/clone-staging.yaml +++ b/.github/workflows/clone-staging.yaml @@ -41,7 +41,7 @@ jobs: # clone from source to destination cf target -s $SOURCE_ENVIRONMENT - cg-manage-rds clone getgov-$SOURCE_ENVIRONMENT-database getgov-$DESTINATION_ENVIRONMENT-database + cg-manage-rds clone --roptions "--clean" getgov-$SOURCE_ENVIRONMENT-database getgov-$DESTINATION_ENVIRONMENT-database - name: Cleanup if: always() run: cf unshare-service getgov-$DESTINATION_ENVIRONMENT-database -s $SOURCE_ENVIRONMENT -f