1
0

Fixed .gitlab-ci.yml and scripts/test-image.sh to correctly mount data volume

Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
This commit is contained in:
James Ketrenos 2020-01-29 13:54:01 -08:00
parent 2861b457ac
commit 7a1c3fb247
3 changed files with 1 additions and 10 deletions

View File

@ -17,8 +17,6 @@ variables:
TAG: "${CI_PIPELINE_IID}-${CI_COMMIT_REF_NAME}-${OS_DISTRO}-${PACKAGE_STREAM}"
build_image:
before_script:
- git clean -fdx
stage: "build"
script:
- ./scripts/build-dockerfile.sh
@ -31,8 +29,6 @@ build_image:
- triggers
test_image:
before_script:
- git clean -fdx
stage: "test"
script:
- ./scripts/test-image.sh
@ -42,8 +38,6 @@ test_image:
- triggers
publish_image:
before_script:
- git clean -fdx
stage: "publish"
script:
- ./scripts/promote-image.sh

View File

@ -98,9 +98,6 @@ EOF
exit 2
}
echo "Checking contents of /data. It should be empty:"
ls -altr /data
[ ! -e "/data/AUD_MW_E.264" ] && {
cat << EOF

View File

@ -41,7 +41,7 @@ CMD="docker run \
${ADD_GROUPS} \
--rm \
--device=/dev/dri \
-v data:/data \
-v '$(pwd)/data:/data' \
${REGISTRY_URL}/${CONTAINER}:${TAG} \
test"