Skip to content

Commit e042ef8

Browse files
committed
chore: Remove dry-run option from cleanup-test-env workflow and add cleanup-prod-data-federation job
1 parent 9702c78 commit e042ef8

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

.github/workflows/cleanup-test-env.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ jobs:
1616
ref: 133ee57735e0c8f2b22e74bbd9f8c3fdd8da2f9c
1717
- name: Cleanup cloud-dev CFN Test GitHub
1818
uses: ./.github/templates/clean-atlas-org
19-
with:
20-
dry-run: 'true'
2119
env:
2220
MONGODB_ATLAS_PUBLIC_KEY: ${{ secrets.CLOUD_DEV_PUBLIC_KEY }}
2321
MONGODB_ATLAS_PRIVATE_KEY: ${{ secrets.CLOUD_DEV_PRIVATE_KEY }}
@@ -34,8 +32,6 @@ jobs:
3432
ref: 133ee57735e0c8f2b22e74bbd9f8c3fdd8da2f9c
3533
- name: Cleanup cloud-dev CFN Test GitHub
3634
uses: ./.github/templates/clean-atlas-org
37-
with:
38-
dry-run: 'true'
3935
env:
4036
MONGODB_ATLAS_PUBLIC_KEY: ${{ secrets.MONGODB_ATLAS_RP_PUBLIC_KEY_QA }}
4137
MONGODB_ATLAS_PRIVATE_KEY: ${{ secrets.MONGODB_ATLAS_RP_PRIVATE_KEY_QA }}
@@ -52,10 +48,23 @@ jobs:
5248
ref: 133ee57735e0c8f2b22e74bbd9f8c3fdd8da2f9c
5349
- name: Cleanup cloud-dev CFN Test GitHub
5450
uses: ./.github/templates/clean-atlas-org
55-
with:
56-
dry-run: 'true'
5751
env:
5852
MONGODB_ATLAS_PUBLIC_KEY: ${{ secrets.ATLAS_PUBLIC_KEY_PUBLISHING }}
5953
MONGODB_ATLAS_PRIVATE_KEY: ${{ secrets.ATLAS_PRIVATE_KEY_PUBLISHING }}
6054
MONGODB_ATLAS_ORG_ID: ${{ secrets.ATLAS_ORG_ID_PUBLISHING }}
6155
MONGODB_ATLAS_CLEAN_RETRY_ATTEMPTS: "1"
56+
cleanup-prod-data-federation:
57+
runs-on: ubuntu-latest
58+
steps:
59+
- name: terraform-provider-mongodbatlas-checkout
60+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
61+
with:
62+
repository: mongodb/terraform-provider-mongodbatlas
63+
ref: 133ee57735e0c8f2b22e74bbd9f8c3fdd8da2f9c
64+
- name: Cleanup cloud-dev CFN Test GitHub
65+
uses: ./.github/templates/clean-atlas-org
66+
env:
67+
MONGODB_ATLAS_PUBLIC_KEY: ${{ secrets.ATLAS_PUBLIC_KEY_FOR_FEDERATION }}
68+
MONGODB_ATLAS_PRIVATE_KEY: ${{ secrets.ATLAS_PRIVATE_KEY_FOR_FEDERATION }}
69+
MONGODB_ATLAS_ORG_ID: ${{ secrets.ATLAS_ORG_ID_FOR_FEDERATION }}
70+
MONGODB_ATLAS_CLEAN_RETRY_ATTEMPTS: "1"

0 commit comments

Comments
 (0)