You've already forked sap-jenkins-library
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user