Skip to content
Snippets Groups Projects
Commit d970c097 authored by Martyn Welch's avatar Martyn Welch
Browse files

Use configuration on pages branch


The GitLab CI logic has been moved to the pages branch, remove the
logic from this branch and use the version on the pages branch.

Signed-off-by: default avatarMartyn Welch <martyn.welch@collabora.com>
parent 528968fb
No related branches found
No related tags found
1 merge request!177Support for displaying multiple revisions of test cases
Pipeline #142009 passed
image: registry.gitlab.apertis.org/infrastructure/apertis-docker-images/v2021dev3-testcases-builder
include:
- project: tests/apertis-test-cases
ref: pages
file: .gitlab-ci/templates-render-pages.yml
- /.gitlab-ci/templates-submit-tests.yml
test-renderer:
......@@ -9,24 +12,7 @@ test-renderer:
- python3 -m unittest discover -v
pages:
stage: deploy
script:
- mkdir public
- cp static/* public/
- "BRANCHES=$(git for-each-ref --format='%(refname)' refs/remotes/origin/apertis/ | sort)"
- for BRANCH in $BRANCHES; do
- echo "Checking out $BRANCH"
- git checkout $BRANCH
- BRANCH=${BRANCH##refs/remotes/origin/apertis/}
- ./atc -d public/$BRANCH/ --index-page test-cases/
- done
- ./atc_menu -o ./public/ public/
- ln -s $BRANCH public/latest
artifacts:
paths:
- public
only:
- /^apertis/.*$/
extends: .render-pages
.minimal:
variables:
......@@ -153,4 +139,3 @@ submit-tests-ostree-amd64-target-uefi:
- .submit-tests-ostree
- .amd64-uefi
- .target
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