|
|
f6b82d |
stages:
|
|
|
aa384d |
- test
|
|
|
f6b82d |
- deploy
|
|
|
f6b82d |
|
|
Theo Chatzimichos |
1f0a34 |
test_roles:
|
|
|
aa384d |
stage: test
|
|
|
aa384d |
before_script:
|
|
|
aa384d |
- zypper -qn in --no-recommends python3 python3-PyYAML
|
|
|
aa384d |
script: bin/test_roles.py
|
|
|
aa384d |
tags:
|
|
|
aa384d |
- docker
|
|
|
aa384d |
|
|
Theo Chatzimichos |
02fadf |
test_custom_grains:
|
|
Theo Chatzimichos |
02fadf |
stage: test
|
|
Theo Chatzimichos |
02fadf |
before_script:
|
|
Theo Chatzimichos |
02fadf |
- zypper -qn in --no-recommends python3 python3-PyYAML
|
|
Theo Chatzimichos |
02fadf |
script: bin/test_custom_grains.py
|
|
Theo Chatzimichos |
02fadf |
tags:
|
|
Theo Chatzimichos |
02fadf |
- docker
|
|
Theo Chatzimichos |
02fadf |
|
|
Theo Chatzimichos |
5d3700 |
test_show_highstate_against_upstream_formulas:
|
|
Theo Chatzimichos |
1f0a34 |
stage: test
|
|
Theo Chatzimichos |
1f0a34 |
before_script:
|
|
|
fa45db |
- bin/prepare_test_show_highstate_env.sh -s
|
|
Theo Chatzimichos |
4af2b2 |
- bin/get_formulas.py -c -d /srv/formula -s
|
|
Theo Chatzimichos |
82e979 |
script: bin/test_show_highstate.sh
|
|
Theo Chatzimichos |
5d3700 |
allow_failure: true
|
|
Theo Chatzimichos |
5d3700 |
tags:
|
|
Theo Chatzimichos |
5d3700 |
- docker
|
|
Theo Chatzimichos |
5d3700 |
|
|
Theo Chatzimichos |
5d3700 |
test_show_highstate_against_forked_formulas:
|
|
Theo Chatzimichos |
5d3700 |
stage: test
|
|
Theo Chatzimichos |
62825a |
variables:
|
|
Theo Chatzimichos |
62825a |
# TODO: get rid of GIT_SSL_NO_VERIFY as soon as we switch to letsencrypt wildcard certs
|
|
Theo Chatzimichos |
62825a |
GIT_SSL_NO_VERIFY: 'true'
|
|
Theo Chatzimichos |
5d3700 |
before_script:
|
|
|
fa45db |
- bin/prepare_test_show_highstate_env.sh -s
|
|
Theo Chatzimichos |
e2b39c |
- bin/get_formulas.py -c -d /srv/formula -s --clone-from 'https://gitlab.infra.opensuse.org/saltstack-formulas' --clone-branch production
|
|
Theo Chatzimichos |
5d3700 |
script: bin/test_show_highstate.sh
|
|
Theo Chatzimichos |
1f0a34 |
tags:
|
|
Theo Chatzimichos |
1f0a34 |
- docker
|
|
Theo Chatzimichos |
1f0a34 |
|
|
|
f6b82d |
deploy_job:
|
|
|
f6b82d |
stage: deploy
|
|
|
fb6a2a |
script: sudo salt-call event.fire_master update salt/fileserver/gitfs/update
|
|
|
f6b82d |
only:
|
|
|
f6b82d |
- production
|
|
|
f6b82d |
tags:
|
|
|
f6b82d |
- shell
|