Skip to content

Commit

Permalink
Add build number to e2e tests (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvaroaleman authored Apr 19, 2018
1 parent 74e4b77 commit 614b69e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,19 +136,19 @@ workflows:
only: /v.*/
- test:
requires:
- check-dependencies
- checkout_code
filters:
tags:
only: /v.*/
- build:
requires:
- check-dependencies
- checkout_code
filters:
tags:
only: /v.*/
- verify-tool:
requires:
- check-dependencies
- checkout_code
filters:
tags:
only: /v.*/
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/provisioning/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func runScenarios(t *testing.T, excludeSelector *scenarioSelector, testParams st
machineName := fmt.Sprintf("machine-%s", nameSufix)
nodeName := fmt.Sprintf("node-%s", nameSufix)
params := testParams
params = fmt.Sprintf("%s,<< MACHINE_NAME >>=%s,<< NODE_NAME >>=%s", params, machineName, nodeName)
params = fmt.Sprintf("%s,<< MACHINE_NAME >>=%s,<< NODE_NAME >>=%s-%s", params, machineName, nodeName, os.Getenv("CIRCLE_BUILD_NUM"))
params = fmt.Sprintf("%s,<< OS_NAME >>=%s,<< CONTAINER_RUNTIME >>=%s,<< CONTAINER_RUNTIME_VERSION >>=%s", params, testCase.osName, testCase.containerRuntime, testCase.containerRuntimeVersion)

err := runVerifyTool(manifestPath, params)
Expand Down

0 comments on commit 614b69e

Please sign in to comment.