Update .gitlab-ci.yml file
This commit is contained in:
parent
15a33b79f0
commit
3132da631e
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue