ci_template: merge docker builds into the normal pipeline
[platform/upstream/gstreamer.git] / .gitlab-ci.yml
1 include: "gitlab/ci_template.yml"
2
3 test manifest:
4   variables:
5     GIT_STRATEGY: fetch
6   rules:
7     - when: 'always'
8   image: "$TEST_MANIFEST_IMAGE"
9   stage: "preparation"
10   script:
11     - pytest-3 --junitxml=junit.xml --cov=build_manifest gitlab/build_manifest.py
12   coverage: '/TOTAL.*\s+(\d+%)$/'
13   artifacts:
14     reports:
15       junit:
16         - "junit.xml"
17
18 test manifest amd64 docker:
19   stage: "build docker"
20   variables:
21     REPO_SUFFIX: "$TEST_MANIFEST_AMD64_SUFFIX"
22     TAG: "$TEST_MANIFEST_TAG"
23
24     CONTEXT_DIR: "docker/test_manifest/"
25     DOCKERFILE: "docker/test_manifest/Dockerfile"
26   extends: .base