builders:
- shell: |
set +x
- [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true
+ [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
if [ "{repo}" = "_" ]; then
image={container}:{functest_tag}
elif [ "{port}" = "None" ]; then
else
image={repo}:{port}/{container}:{functest_tag}
fi
- docker run --rm \
+ sudo docker run --rm \
-e S3_ENDPOINT_URL=https://storage.googleapis.com \
-e S3_DST_URL=s3://artifacts.opnfv.org/airship \
-e HTTP_DST_URL=http://artifacts.opnfv.org/airship/ \
-e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
-e BUILD_TAG=$BUILD_TAG \
-v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
+ -v /home/opnfv/functest/.boto:/root/.boto \
$image zip_campaign
- job-template:
projects:
- name: 'airship-opnfv-functest-smoke-{tag}-tempest_scenario-run'
<<: *airship-jobs
- - name: 'airship-opnfv-functest-smoke-{tag}-neutron_trunk-run'
- <<: *airship-jobs
- name: 'airship-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
<<: *airship-jobs
- name: 'airship-opnfv-functest-smoke-{tag}-networking-sfc-run'