deploy via proxy.uncloseai.com runner (replace Salt)
This commit is contained in:
parent
d1233af576
commit
c9efc17746
2 changed files with 6 additions and 30 deletions
|
|
@ -1,11 +0,0 @@
|
||||||
stages:
|
|
||||||
- deploy
|
|
||||||
|
|
||||||
deploy_to_www_unturf_com:
|
|
||||||
stage: deploy
|
|
||||||
tags: ["mps-router1"]
|
|
||||||
script:
|
|
||||||
# Publish build to Salt Master
|
|
||||||
- sudo /opt/salt-call-state-highstate.sh
|
|
||||||
rules:
|
|
||||||
- if: '$CI_COMMIT_BRANCH == "master"'
|
|
||||||
|
|
@ -1,23 +1,10 @@
|
||||||
stages:
|
stages:
|
||||||
- build
|
- deploy
|
||||||
- trigger-deploy
|
|
||||||
|
|
||||||
build:
|
deploy:
|
||||||
stage: build
|
stage: deploy
|
||||||
tags: ["build"]
|
tags: ["proxy.uncloseai.com"]
|
||||||
script:
|
script:
|
||||||
- ./make_tarball.sh
|
- sudo /usr/local/bin/deploy-www.sh unturf .
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- www.unturf.com.tar.gz
|
|
||||||
- www.unturf.com.tar.gz.hash
|
|
||||||
- commit-hash.txt
|
|
||||||
expire_in: 1 month
|
|
||||||
|
|
||||||
trigger_deploy:
|
|
||||||
stage: trigger-deploy
|
|
||||||
trigger:
|
|
||||||
include:
|
|
||||||
- local: .gitlab-ci-deploy.yml
|
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_BRANCH == "master"'
|
- if: '$CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "main"'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue