Update .gitlab-ci.yml

This commit is contained in:
Russell Ballestrini 2025-04-05 14:13:42 +00:00
parent 373ff9d09e
commit d048c7410a

View file

@ -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