mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-03-03 15:02:35 +02:00
Run MBT Image as root user in IT (#2676)
* Run CI Jobs on Ubuntu 18.04 * Run test container as root * Revert "Run CI Jobs on Ubuntu 18.04" This reverts commit 3af11a8834f54e8bb6b3ea24e10df2cc5e078abf. * Update integration_maven_test.go Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
This commit is contained in:
parent
e1ea56076f
commit
58421c5815
@ -11,7 +11,7 @@ func TestMavenProject(t *testing.T) {
|
||||
t.Parallel()
|
||||
container := givenThisContainer(t, IntegrationTestDockerExecRunnerBundle{
|
||||
Image: "devxci/mbtci:latest",
|
||||
User: "mta",
|
||||
User: "root",
|
||||
TestDir: []string{"testdata", "TestMtaIntegration", "maven"},
|
||||
})
|
||||
|
||||
@ -30,7 +30,7 @@ func TestMavenSpringProject(t *testing.T) {
|
||||
t.Parallel()
|
||||
container := givenThisContainer(t, IntegrationTestDockerExecRunnerBundle{
|
||||
Image: "devxci/mbtci:latest",
|
||||
User: "mta",
|
||||
User: "root",
|
||||
TestDir: []string{"testdata", "TestMtaIntegration", "maven-spring"},
|
||||
})
|
||||
|
||||
@ -50,7 +50,7 @@ func TestNPMProject(t *testing.T) {
|
||||
t.Parallel()
|
||||
container := givenThisContainer(t, IntegrationTestDockerExecRunnerBundle{
|
||||
Image: "devxci/mbtci:latest",
|
||||
User: "mta",
|
||||
User: "root",
|
||||
TestDir: []string{"testdata", "TestMtaIntegration", "npm"},
|
||||
})
|
||||
|
||||
@ -66,7 +66,7 @@ func TestNPMProjectInstallsDevDependencies(t *testing.T) {
|
||||
t.Parallel()
|
||||
container := givenThisContainer(t, IntegrationTestDockerExecRunnerBundle{
|
||||
Image: "devxci/mbtci:latest",
|
||||
User: "mta",
|
||||
User: "root",
|
||||
TestDir: []string{"testdata", "TestMtaIntegration", "npm-install-dev-dependencies"},
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user