Skip to content

Commit

Permalink
chore(test): update docker image used for Gauge integration tests (#4458
Browse files Browse the repository at this point in the history
)

* Change gauge tests docker image to node buster
  • Loading branch information
ashlymat authored Jul 11, 2023
1 parent bca2a17 commit d631b98
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions integration/integration_gauge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ func runTest(t *testing.T, languageRunner string) {
cd /test
/piperbin/piper gaugeExecuteTests --installCommand="%v" --languageRunner=%v --runCommand="run" >test-log.txt 2>&1
`, installCommand, languageRunner)

ioutil.WriteFile(filepath.Join(tempDir, "runPiper.sh"), []byte(testScript), 0700)

reqNode := testcontainers.ContainerRequest{
Expand All @@ -54,6 +55,10 @@ cd /test
},
}

if languageRunner == "js" {
reqNode.Image = "node:lts-buster"
}

nodeContainer, err := testcontainers.GenericContainer(ctx, testcontainers.GenericContainerRequest{
ContainerRequest: reqNode,
Started: true,
Expand Down

0 comments on commit d631b98

Please sign in to comment.