4552b4
.test_highstate:
4552b4
  image: registry.opensuse.org/opensuse/infrastructure/containers/heroes-salt-testing-systemd:latest
4552b4
  stage: test
4552b4
  before_script:
4552b4
    - bin/prepare_test_env.sh -g -o Leap,15,5 -s -n
4552b4
  tags:
4552b4
    - docker
4552b4
  artifacts:
4552b4
    when: always
4552b4
    paths:
4552b4
      - '*.txt'
04ecb6
      - 'render/*.txt'
4552b4
  rules:
4552b4
    - if: $CI_COMMIT_BRANCH
4552b4
4552b4
{% for role in roles %}
4552b4
test_highstate_{{ role }}:
4552b4
  extends:
4552b4
    - .test_highstate
4552b4
  script: bin/test_highstate.sh {{ role }}
4552b4
{% endfor %}