make a tarbal via gitlab ci runners

new file:   .gitlab-ci.yml
	modified:   Makefile
	new file:   make_tarball.sh
This commit is contained in:
Russell Ballestrini 2021-10-31 21:10:51 -04:00
parent 10855c35cc
commit 03ead82b0b
3 changed files with 26 additions and 1 deletions

19
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,19 @@
stages:
- build
- publish
build:
stage: build
script:
- ./make_tarball.sh
artifacts:
paths:
- www.unturf.com.tar.gz
- commit-hash.txt
expire_in: 1 month
publish:
stage: publish
script:
# publish build to Salt Master
- sudo /opt/salt-call-put-artifacts-onto-salt-master.sh