Init pipeline config
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
e5e9685113
commit
0d9230d6bb
18
.pipeline.yml
Normal file
18
.pipeline.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
skip_clone: true
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
check:
|
||||||
|
image: registry.opensuse.org/home/crameleon/libertacasa/containers/containerfile/libertacasa/pipeline:latest
|
||||||
|
secrets: [ ci_netrc_username, ci_netrc_password, ci_netrc_machine ]
|
||||||
|
when:
|
||||||
|
event: [push]
|
||||||
|
commands:
|
||||||
|
- git clone --single-branch -b $CI_COMMIT_BRANCH $CI_REPO_LINK .
|
||||||
|
- bin/clone_formulas.sh 2>/dev/null
|
||||||
|
- bin/nbroles_to_grains.sh
|
||||||
|
- bin/prepare_minion.py
|
||||||
|
- cat /etc/salt/grains
|
||||||
|
- salt-call --local --retcode-passthrough state.show_top
|
||||||
|
- salt-call --local --retcode-passthrough state.show_highstate
|
||||||
|
- bin/prepare_mock.py
|
||||||
|
- salt-call --local --retcode-passthrough state.apply mock=True
|
Loading…
Reference in New Issue
Block a user