From 3132da631ea702511f28042ffdcb48d31c8a4587 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Tue, 7 Jun 2022 12:06:39 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 81ca25d..d036593 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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