Skip to content
Snippets Groups Projects
Commit 9801313d authored by Emanuele Aina's avatar Emanuele Aina
Browse files

gitlab-ci: Test the recipes syntax


Trigger a debos dry run to prevent syntax errors in the YAML recipes.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent b8465cda
No related branches found
No related tags found
1 merge request!150gitlab-ci: Test the recipes syntax
Pipeline #2984 failed
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'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment