diff options
Diffstat (limited to 'jjb/functest/xtesting.yaml')
-rw-r--r-- | jjb/functest/xtesting.yaml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/jjb/functest/xtesting.yaml b/jjb/functest/xtesting.yaml index 0c75a839d..193ec2dab 100644 --- a/jjb/functest/xtesting.yaml +++ b/jjb/functest/xtesting.yaml @@ -73,6 +73,8 @@ volumes: '{volumes}' env: '{env}' network: '{network}' + uid: '{uid}' + gid: '{gid}' - builder: name: xtesting-pull-containers @@ -111,8 +113,8 @@ else image={repo}:{port}/{container}:{tag} fi - mkdir -p $WORKSPACE/results - chown 1000:1000 $WORKSPACE/results + sudo mkdir -p $WORKSPACE/results + sudo chown {uid}:{gid} $WORKSPACE/results sudo docker run --rm \ --privileged={privileged} \ --network={network} \ @@ -216,6 +218,8 @@ - eighth privileged: 'false' network: bridge + uid: 1000 + gid: 1000 exclude: - tag: leguer test: eighth @@ -247,6 +251,8 @@ - seventh privileged: 'false' network: bridge + uid: 1000 + gid: 1000 jobs: - 'xtesting-opnfv-xtesting-mts-{tag}-{test}-run' |