diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0720f61..3a9574d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/assets/commands/test b/assets/commands/test index c6351ca..144105b 100755 --- a/assets/commands/test +++ b/assets/commands/test @@ -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 diff --git a/scripts/test-image.sh b/scripts/test-image.sh index d168c7d..9d8ea10 100755 --- a/scripts/test-image.sh +++ b/scripts/test-image.sh @@ -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"