2020-02-10 13:09:49 +00:00
|
|
|
include: "gitlab/ci_template.yml"
|
|
|
|
|
2018-10-25 10:33:14 +00:00
|
|
|
test manifest:
|
2018-11-09 18:57:45 +00:00
|
|
|
variables:
|
|
|
|
GIT_STRATEGY: fetch
|
2020-03-04 22:30:06 +00:00
|
|
|
rules:
|
|
|
|
- when: 'always'
|
2020-06-19 12:27:36 +00:00
|
|
|
image: "$TEST_MANIFEST_IMAGE"
|
2018-11-23 16:45:31 +00:00
|
|
|
stage: "preparation"
|
2018-10-25 10:33:14 +00:00
|
|
|
script:
|
|
|
|
- pytest-3 --junitxml=junit.xml --cov=build_manifest gitlab/build_manifest.py
|
|
|
|
coverage: '/TOTAL.*\s+(\d+%)$/'
|
|
|
|
artifacts:
|
|
|
|
reports:
|
|
|
|
junit:
|
2018-11-05 18:52:37 +00:00
|
|
|
- "junit.xml"
|
|
|
|
|
2018-11-30 18:43:39 +00:00
|
|
|
test manifest amd64 docker:
|
|
|
|
stage: "build docker"
|
|
|
|
variables:
|
2020-06-19 12:27:36 +00:00
|
|
|
REPO_SUFFIX: "$TEST_MANIFEST_AMD64_SUFFIX"
|
2020-06-25 09:49:05 +00:00
|
|
|
TAG: "$TEST_MANIFEST_TAG-$GST_UPSTREAM_BRANCH"
|
2020-06-19 12:27:36 +00:00
|
|
|
|
2018-11-30 18:43:39 +00:00
|
|
|
CONTEXT_DIR: "docker/test_manifest/"
|
|
|
|
DOCKERFILE: "docker/test_manifest/Dockerfile"
|
|
|
|
extends: .base
|