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:
parent
2861b457ac
commit
7a1c3fb247
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user