Update .gitlab-ci.yml file

This commit is contained in:
Russell Ballestrini 2022-06-07 12:06:39 +00:00
parent 15a33b79f0
commit 3132da631e

View file

@ -27,6 +27,8 @@ build:
- virtualenv-clone env /opt/make_post_sell/env
# make tarball of virtualenv.
- tar -zcf env.tar.gz -C /opt/make_post_sell .
# create sha512 of env.tar.gz
- 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 directory outside of gitlab-runner filesystem.
@ -34,6 +36,7 @@ build:
artifacts:
paths:
- env.tar.gz
- env.tar.gz.hash
- static.tar.gz
- commit-hash.txt
#expire_in: 1 month