Skip to content

Commit 614b69e

Browse files
authored
Add build number to e2e tests (#179)
1 parent 74e4b77 commit 614b69e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,19 +136,19 @@ workflows:
136136
only: /v.*/
137137
- test:
138138
requires:
139-
- check-dependencies
139+
- checkout_code
140140
filters:
141141
tags:
142142
only: /v.*/
143143
- build:
144144
requires:
145-
- check-dependencies
145+
- checkout_code
146146
filters:
147147
tags:
148148
only: /v.*/
149149
- verify-tool:
150150
requires:
151-
- check-dependencies
151+
- checkout_code
152152
filters:
153153
tags:
154154
only: /v.*/

test/e2e/provisioning/helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func runScenarios(t *testing.T, excludeSelector *scenarioSelector, testParams st
113113
machineName := fmt.Sprintf("machine-%s", nameSufix)
114114
nodeName := fmt.Sprintf("node-%s", nameSufix)
115115
params := testParams
116-
params = fmt.Sprintf("%s,<< MACHINE_NAME >>=%s,<< NODE_NAME >>=%s", params, machineName, nodeName)
116+
params = fmt.Sprintf("%s,<< MACHINE_NAME >>=%s,<< NODE_NAME >>=%s-%s", params, machineName, nodeName, os.Getenv("CIRCLE_BUILD_NUM"))
117117
params = fmt.Sprintf("%s,<< OS_NAME >>=%s,<< CONTAINER_RUNTIME >>=%s,<< CONTAINER_RUNTIME_VERSION >>=%s", params, testCase.osName, testCase.containerRuntime, testCase.containerRuntimeVersion)
118118

119119
err := runVerifyTool(manifestPath, params)

0 commit comments

Comments
 (0)