diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cbc996f..4b9568e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,6 +23,8 @@ build: - cp -pr make_post_sell/static env/static - cp -pr env/static static - tar -zcf static.tar.gz static + # Clean up the directory outside of the gitlab-runner filesystem. + - rm -rf /opt/make_post_sell/env # Clone the virtualenv with virtualenv-clone into the desired location. - virtualenv-clone -vvv $PWD/env /opt/make_post_sell/env # Create a tarball of the virtualenv. @@ -31,8 +33,7 @@ build: - sha512sum env.tar.gz >> env.tar.gz.hash # Create commit-hash.txt to track this build's git commit hash. - echo $CI_COMMIT_SHA >> commit-hash.txt - # Clean up the directory outside of the gitlab-runner filesystem. - - rm -rf /opt/make_post_sell/env + artifacts: paths: - env.tar.gz