From bc8248230fdf74f42940493b4dcb6efab8184a9a Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Thu, 30 Jun 2022 20:21:45 -0400 Subject: [PATCH] update artifacts modified: .gitlab-ci.yml --- .gitlab-ci.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 833bc38..324caf3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,29 +1,20 @@ stages: - build - - publish build: stage: build - tags: ["shell"] + tags: ["build"] script: - #tar -zcvf www.remarkbox.com.tar.gz output - rm -rf .git - cd ..; tar -zcvf www.remarkbox.com.tar.gz www.remarkbox.com; mv www.remarkbox.com.tar.gz www.remarkbox.com; cd www.remarkbox.com - + # create sha512 of www.makepostsell.com.tar.gz + - sha512sum www.remarkbox.com.tar.gz >> www.remarkbox.com.tar.gz.hash # create commit-hash.txt to track this build's git commit hash. - echo $CI_COMMIT_SHA >> commit-hash.txt - artifacts: paths: - www.remarkbox.com.tar.gz + - www.remarkbox.com.tar.gz.hash - commit-hash.txt expire_in: 1 month - - -publish: - stage: publish - tags: ["shell"] - script: - # publish build to Salt Master - - sudo /opt/salt-call-put-artifacts-onto-salt-master.sh \ No newline at end of file