f6b82d
stages:
Theo Chatzimichos b4fa0d
  - validate
aa384d
  - test
f6b82d
  - deploy
f6b82d
Theo Chatzimichos b4fa0d
validate:
Theo Chatzimichos b4fa0d
  stage: validate
Theo Chatzimichos 02fadf
  before_script:
Theo Chatzimichos 15a116
    - bin/prepare_test_env.sh -i opensuse
Theo Chatzimichos 15a116
  script: bin/test_validate.sh
Theo Chatzimichos 15a116
  tags:
Theo Chatzimichos 15a116
    - docker
Theo Chatzimichos 15a116
Theo Chatzimichos 15a116
validate_show_highstate_leap_15.0:
Theo Chatzimichos 15a116
  stage: validate
Theo Chatzimichos 15a116
  before_script:
Theo Chatzimichos 759754
    - bin/prepare_test_env.sh -i opensuse -g
Theo Chatzimichos b4fa0d
    - bin/get_formulas.py -c -d /srv/formula -s --clone-from 'https://gitlab.infra.opensuse.org/saltstack-formulas' --clone-branch production
Theo Chatzimichos 15a116
  script: bin/test_show_highstate.sh
Theo Chatzimichos 15a116
  tags:
Theo Chatzimichos 15a116
    - docker
Theo Chatzimichos 15a116
Theo Chatzimichos 15a116
validate_show_highstate_leap_42.3:
Theo Chatzimichos 15a116
  stage: validate
Theo Chatzimichos 15a116
  before_script:
Theo Chatzimichos 15a116
    - bin/prepare_test_env.sh -i opensuse -g -o Leap,42,3
Theo Chatzimichos 15a116
    - bin/get_formulas.py -c -d /srv/formula -s --clone-from 'https://gitlab.infra.opensuse.org/saltstack-formulas' --clone-branch production
Theo Chatzimichos 15a116
  script: bin/test_show_highstate.sh
Theo Chatzimichos 15a116
  tags:
Theo Chatzimichos 15a116
    - docker
Theo Chatzimichos 15a116
Theo Chatzimichos 15a116
validate_show_highstate_sle12sp3:
Theo Chatzimichos 15a116
  stage: validate
Theo Chatzimichos 15a116
  before_script:
Theo Chatzimichos 15a116
    - bin/prepare_test_env.sh -i opensuse -g -o SLES,12,3
Theo Chatzimichos 15a116
    - bin/get_formulas.py -c -d /srv/formula -s --clone-from 'https://gitlab.infra.opensuse.org/saltstack-formulas' --clone-branch production
Theo Chatzimichos 15a116
  script: bin/test_show_highstate.sh
Theo Chatzimichos 15a116
  tags:
Theo Chatzimichos 15a116
    - docker
Theo Chatzimichos 15a116
Theo Chatzimichos 15a116
validate_show_highstate_sle11sp4:
Theo Chatzimichos 15a116
  stage: validate
Theo Chatzimichos 15a116
  before_script:
Theo Chatzimichos 15a116
    - bin/prepare_test_env.sh -i opensuse -g -o SLES,11,4
Theo Chatzimichos 15a116
    - bin/get_formulas.py -c -d /srv/formula -s --clone-from 'https://gitlab.infra.opensuse.org/saltstack-formulas' --clone-branch production
Theo Chatzimichos 15a116
  script: bin/test_show_highstate.sh
Theo Chatzimichos 02fadf
  tags:
Theo Chatzimichos 02fadf
    - docker
Theo Chatzimichos 02fadf
Theo Chatzimichos 15a116
validate_show_highstate_latest_leap_upstream_formulas:
Theo Chatzimichos b4fa0d
  stage: validate
Theo Chatzimichos 1f0a34
  before_script:
Theo Chatzimichos 759754
    - bin/prepare_test_env.sh -i opensuse -g
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 dc66cf
  except:
Theo Chatzimichos dc66cf
    - production@infra/salt
Theo Chatzimichos 5d3700
  tags:
Theo Chatzimichos 5d3700
    - docker
Theo Chatzimichos 5d3700
Theo Chatzimichos 79c2f8
test_nginx:
Theo Chatzimichos 79c2f8
  stage: test
Theo Chatzimichos 79c2f8
  before_script:
Theo Chatzimichos 759754
    - bin/prepare_test_env.sh -i opensuse -g -p nginx
Theo Chatzimichos cefed1
    - bin/get_formulas.py -c -d /srv/formula -s --clone-from 'https://gitlab.infra.opensuse.org/saltstack-formulas' --clone-branch production -f nginx
Theo Chatzimichos 79c2f8
  script: bin/test_nginx.sh
Theo Chatzimichos 79c2f8
  tags:
Theo Chatzimichos 79c2f8
    - docker
Theo Chatzimichos 79c2f8
f6b82d
deploy_job:
f6b82d
  stage: deploy
Theo Chatzimichos d12b82
  script: sudo salt-call event.fire_master $CI_DEPLOY_PASSWORD salt/fileserver/gitfs/update
f6b82d
  only:
Theo Chatzimichos 96a9f0
    - production@infra/salt
f6b82d
  tags:
f6b82d
    - shell