You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/acceptance-tests-runner.yml
+23-22Lines changed: 23 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -12,32 +12,33 @@ on:
12
12
provider_version:
13
13
description: 'Previous MongoDB Atlas Provider version to use in Migration tests, e.g. 1.14.0, empty for latest'
14
14
type: string
15
-
required: false
15
+
required: true
16
16
test_group:
17
17
description: 'Test group to run, e.g. advanced_cluster, empty for all'
18
18
type: string
19
-
required: false
19
+
required: true
20
20
test_name:
21
21
description: 'Name of the test to run, e.g. TestAccNetworkRSNetworkPeering_basicAzure, empty for all (this is regex & requires Test group to be specified as well)'
22
22
type: string
23
-
required: false
23
+
required: true
24
24
ref:
25
25
description: 'The branch, tag or SHA where tests will run, e.g. v1.14.0, empty for default branch'
26
26
type: string
27
-
required: false
27
+
required: true
28
+
# Boolean inputs are passed as null between workflows when false. For comparisons use my_input == true or my_input != true.
29
+
# Don't use my_input or my_input == false.
28
30
reduced_tests:
29
31
description: 'If run only minimum tests for advanced_cluster, e.g. in PRs'
30
32
type: boolean
31
-
required: false
32
-
default: false
33
+
required: true
33
34
use_sa:
34
35
description: "Run tests using Service Account instead of API Keys"
35
36
type: boolean
36
-
required: false
37
+
required: true
37
38
send_notification:
38
39
description: 'Send a Slack notification if stream tests fail.'
39
40
type: boolean
40
-
required: false
41
+
required: true
41
42
mongodb_atlas_org_id:
42
43
type: string
43
44
required: true
@@ -213,14 +214,14 @@ env:
213
214
# If the name (regex) of the test is set, only that test is run.
214
215
# Don't run migration tests if using Service Accounts because previous provider versions don't support SA yet.
215
216
# Only Migration tests are run when a specific previous provider version is set.
Copy file name to clipboardExpand all lines: .github/workflows/test-suite.yml
+13-8Lines changed: 13 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ name: 'Test Suite'
7
7
# - Tuesday, Thursday, Saturday: SA against Dev environment
8
8
# Note: PAK refers to Programmatic API Key authentication (use_sa: false), SA refers to Service Account authentication (use_sa: true)
9
9
# It can also be run manually.
10
-
# The 1st day of the month we run terraform-compatibility-matrix.yml and therefore, we skip the test-suite (see schedule->cron below).
10
+
#Pending change in CLOUDP-353513: The 1st day of the month we run terraform-compatibility-matrix.yml and therefore, we skip the test-suite (see schedule->cron below).
11
11
on:
12
12
workflow_dispatch:
13
13
inputs:
@@ -24,7 +24,7 @@ on:
24
24
use_sa:
25
25
description: "Run tests using Service Account instead of API Keys"
26
26
type: boolean
27
-
required: false
27
+
default: false
28
28
workflow_call:
29
29
inputs:
30
30
terraform_matrix:
@@ -41,7 +41,11 @@ on:
41
41
send_notification:
42
42
description: 'Send the Slack notification if any of the tests fail.'
43
43
type: boolean
44
-
default: true
44
+
default: false
45
+
use_sa:
46
+
description: "Run tests using Service Account instead of API Keys"
47
+
type: boolean
48
+
default: false
45
49
schedule:
46
50
- cron: "0 0 2-31 * *"# workflow runs every day at midnight UTC except on the first day of the month
0 commit comments