Skip to content
Snippets Groups Projects
This GitLab CI configuration is valid. Learn more
Forked from Turris / schnapps
13 commits behind the upstream repository.
.gitlab-ci.yml 437 B
image: "$CI_REGISTRY_IMAGE"

basic:
  script: BATS_LIB_PATH="/root/bats" tests/help-and-version.bats -F junit | tee report.xml
  artifacts:
    reports:
      junit: report.xml

local:
  tags:
    - dind
  script:
    - sh -c 'for i in `seq 0 9`; do [ -e /dev/loop$i ] || mknod /dev/loop$i b 7 $i; done'
    - BATS_LIB_PATH="/root/bats" tests/local-tests.bats -F junit | tee report.xml
  artifacts:
    reports:
      junit: report.xml