Skip to content
Snippets Groups Projects

gitlab-ci: Test the recipes syntax

Merged Emanuele Aina requested to merge wip/em/ci-debos-syntax into apertis/v2019pre
1 file
+ 12
8
Compare changes
  • Side-by-side
  • Inline
+ 12
8
image: debian:stretch
before_script:
- export DEBIAN_FRONTEND=noninteractive
- apt-get update
- apt-get install --no-install-recommends -y gradle
unit-tests:
jenkinsfile-unit-tests:
image: debian:stretch
stage: test
before_script:
- export DEBIAN_FRONTEND=noninteractive
- apt-get update
- apt-get install --no-install-recommends -y gradle
script:
- gradle --no-daemon test
artifacts:
@@ -15,3 +13,9 @@ unit-tests:
reports:
junit:
- build/test-results/test/TEST-*.xml
debos-dry-run:
image: docker-registry.apertis.org/apertis/apertis-v2019pre-image-builder
stage: test
script:
- 'for i in *.yaml ; do debos --print-recipe --dry-run "$i" ; done'
Loading