Update .gitlab-ci.yml
This commit is contained in:
parent
373ff9d09e
commit
d048c7410a
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue