diff options
author | Georg Pfuetzenreuter | 2023-01-21 20:05:09 +0100 |
---|---|---|
committer | Georg Pfuetzenreuter | 2023-01-21 20:05:09 +0100 |
commit | 0d9230d6bb979a76ff1f5be750bb8d01bea863b1 (patch) | |
tree | 2d3172ddd6e4c7258574bd4a7b19c6c96d124804 /.pipeline.yml | |
parent | e5e9685113f2fe56555e72ca97a80cf04e2a4275 (diff) | |
download | salt-0d9230d6bb979a76ff1f5be750bb8d01bea863b1.tar.gz salt-0d9230d6bb979a76ff1f5be750bb8d01bea863b1.tar.bz2 salt-0d9230d6bb979a76ff1f5be750bb8d01bea863b1.zip |
Init pipeline config
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to '.pipeline.yml')
-rw-r--r-- | .pipeline.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.pipeline.yml b/.pipeline.yml new file mode 100644 index 0000000..6bb0be7 --- /dev/null +++ b/.pipeline.yml @@ -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 |