1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-11-06 09:09:19 +02:00

chore(test): update docker image used for Gauge integration tests (#4458)

* Change gauge tests docker image to node buster
This commit is contained in:
Ashly Mathew
2023-07-11 15:47:57 +02:00
committed by GitHub
parent bca2a17cae
commit d631b98a41

View File

@@ -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{
@@ -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,