Child pipeline fixes race condition.
new file: .gitlab-ci.deploy.yml modified: .gitlab-ci.yml
This commit is contained in:
parent
2925230de2
commit
feb32bb2e2
2 changed files with 17 additions and 10 deletions
11
.gitlab-ci.deploy.yml
Normal file
11
.gitlab-ci.deploy.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
stages:
|
||||
- my.remarkbox.com
|
||||
|
||||
my.remarkbox.com:
|
||||
stage: my.remarkbox.com
|
||||
tags: ["my.remarkbox.com"]
|
||||
script:
|
||||
# publish build to Salt Master
|
||||
- sudo /opt/salt-call-state-highstate.sh
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == "main"'
|
||||
Loading…
Add table
Add a link
Reference in a new issue