Skip to content

Commit d60639e

Browse files
ci: add regions prefs.yaml file (#606)
1 parent b3c3612 commit d60639e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
- name: eu-de-1
3+
useForTest: true
4+
testPriority: 1
5+
- name: sao04
6+
useForTest: true
7+
testPriority: 2

tests/pr_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func setupOptions(t *testing.T, prefix string) *testhelper.TestOptions {
4343
ResourceGroup: resourceGroup,
4444
Region: "us-south", // specify default region to skip best choice query
4545
DefaultRegion: "us-south",
46-
BestRegionYAMLPath: "../common-dev-assets/common-go-assets/cloudinfo-region-power-prefs.yaml", // specific to powervs zones
46+
BestRegionYAMLPath: "./common-go-assets/cloudinfo-region-power-prefs.yaml", // specific to powervs zones
4747
// temporary workaround for BSS backend issue
4848
ImplicitDestroy: []string{
4949
"module.fullstack.module.landing_zone.module.landing_zone.ibm_resource_group.resource_groups",
@@ -61,7 +61,7 @@ func setupOptions(t *testing.T, prefix string) *testhelper.TestOptions {
6161

6262
options.TerraformVars = map[string]interface{}{
6363
// locking into syd04 due to other data center issues
64-
//"powervs_zone": "eu-de-1",
64+
//"powervs_zone": "syd04",
6565
"powervs_zone": options.Region,
6666
"prefix": options.Prefix,
6767
"powervs_resource_group_name": options.ResourceGroup,

0 commit comments

Comments
 (0)