Skip to content

Commit 1d47883

Browse files
committed
chore: temporary reprioritisation of smoke tests to focus on current changes
1 parent 8537bcd commit 1d47883

File tree

1 file changed

+45
-15
lines changed

1 file changed

+45
-15
lines changed

.github/workflows/terraform_provider_pr.yml

Lines changed: 45 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ jobs:
125125
go-version-file: go.mod
126126
- run: EXECUTE_TESTS=true make testacc TESTARGS='-run="TestAccResourceRedisCloudActiveActiveTransitGatewayAttachment_CRUDI"'
127127

128+
# ===== WAVE 1: Critical smoke tests for PR changes =====
129+
# These test our direct code changes and must pass first
130+
128131
go_test_smoke_aa_db:
129132
name: go test smoke aa db
130133
needs: [go_unit_test, tfproviderlint, terraform_providers_schema]
@@ -151,8 +154,8 @@ jobs:
151154
with:
152155
test_pattern: TestAccResourceRedisCloudActiveActiveDatabase_enableDefaultUser
153156

154-
go_test_smoke_essentials_sub:
155-
name: go test smoke essentials sub
157+
go_test_smoke_aa_sub:
158+
name: go test smoke aa sub
156159
needs: [go_unit_test, tfproviderlint, terraform_providers_schema]
157160
runs-on: ubuntu-latest
158161
steps:
@@ -162,12 +165,11 @@ jobs:
162165
go-version-file: go.mod
163166
- uses: ./.github/actions/run-testacc
164167
with:
165-
test_pattern: TestAccResourceRedisCloudEssentialsSubscription
166-
168+
test_pattern: TestAccResourceRedisCloudActiveActiveSubscription_CRUDI
167169

168-
go_test_smoke_essentials_db:
169-
name: go test smoke essentials db
170-
needs: go_test_smoke_essentials_sub
170+
go_test_smoke_pro_db:
171+
name: go test smoke pro db
172+
needs: [go_unit_test, tfproviderlint, terraform_providers_schema]
171173
runs-on: ubuntu-latest
172174
steps:
173175
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -176,10 +178,10 @@ jobs:
176178
go-version-file: go.mod
177179
- uses: ./.github/actions/run-testacc
178180
with:
179-
test_pattern: TestAccResourceRedisCloudEssentialsDatabase_CRUDI
181+
test_pattern: TestAccResourceRedisCloudProDatabase_CRUDI
180182

181-
go_test_smoke_pro_db:
182-
name: go test smoke pro db
183+
go_test_smoke_pro_sub:
184+
name: go test smoke pro sub
183185
needs: [go_unit_test, tfproviderlint, terraform_providers_schema]
184186
runs-on: ubuntu-latest
185187
steps:
@@ -189,12 +191,40 @@ jobs:
189191
go-version-file: go.mod
190192
- uses: ./.github/actions/run-testacc
191193
with:
192-
test_pattern: TestAccResourceRedisCloudProDatabase_CRUDI
194+
test_pattern: TestAccResourceRedisCloudProSubscription_CRUDI
195+
196+
# ===== WAVE 2: Additional smoke tests (run after Wave 1 passes) =====
197+
198+
go_test_smoke_essentials_sub:
199+
name: go test smoke essentials sub
200+
needs: [go_test_smoke_aa_db, go_test_smoke_aa_db_enable_default_user, go_test_smoke_aa_sub, go_test_smoke_pro_db, go_test_smoke_pro_sub]
201+
runs-on: ubuntu-latest
202+
steps:
203+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
204+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
205+
with:
206+
go-version-file: go.mod
207+
- uses: ./.github/actions/run-testacc
208+
with:
209+
test_pattern: TestAccResourceRedisCloudEssentialsSubscription
193210

194211

212+
go_test_smoke_essentials_db:
213+
name: go test smoke essentials db
214+
needs: go_test_smoke_essentials_sub
215+
runs-on: ubuntu-latest
216+
steps:
217+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
218+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
219+
with:
220+
go-version-file: go.mod
221+
- uses: ./.github/actions/run-testacc
222+
with:
223+
test_pattern: TestAccResourceRedisCloudEssentialsDatabase_CRUDI
224+
195225
go_test_smoke_misc:
196226
name: go test smoke misc
197-
needs: [go_unit_test, tfproviderlint, terraform_providers_schema]
227+
needs: [go_test_smoke_aa_db, go_test_smoke_aa_db_enable_default_user, go_test_smoke_aa_sub, go_test_smoke_pro_db, go_test_smoke_pro_sub]
198228
runs-on: ubuntu-latest
199229
steps:
200230
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -207,7 +237,7 @@ jobs:
207237

208238
go_test_pro_db_upgrade:
209239
name: go test smoke pro db upgrade
210-
needs: [go_unit_test, tfproviderlint, terraform_providers_schema]
240+
needs: [go_test_smoke_aa_db, go_test_smoke_aa_db_enable_default_user, go_test_smoke_aa_sub, go_test_smoke_pro_db, go_test_smoke_pro_sub]
211241
runs-on: ubuntu-latest
212242
steps:
213243
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -220,7 +250,7 @@ jobs:
220250

221251
go_test_privatelink:
222252
name: go test smoke privatelink
223-
needs: [go_unit_test, tfproviderlint, terraform_providers_schema]
253+
needs: [go_test_smoke_aa_db, go_test_smoke_aa_db_enable_default_user, go_test_smoke_aa_sub, go_test_smoke_pro_db, go_test_smoke_pro_sub]
224254
runs-on: ubuntu-latest
225255
steps:
226256
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -234,7 +264,7 @@ jobs:
234264

235265
go_test_block_public_endpoints:
236266
name: go test smoke public endpoints
237-
needs: [go_unit_test, tfproviderlint, terraform_providers_schema]
267+
needs: [go_test_smoke_aa_db, go_test_smoke_aa_db_enable_default_user, go_test_smoke_aa_sub, go_test_smoke_pro_db, go_test_smoke_pro_sub]
238268
runs-on: ubuntu-latest
239269
steps:
240270
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

0 commit comments

Comments
 (0)