diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 513111bc0dddadc76ed39a82f752e7a05727d0a8..3ef584b9beaf5c23729d7f44b9dabf8299a3351b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,6 +14,8 @@ stages: test-html: image: registry.gitlab.com/pages/hugo:0.62.2 stage: generate-html + tags: + - lightweight script: - DEFAULT_BASEURL=${CI_PAGES_URL##http:} # don't force stuff on plain HTTP when publishing on HTTPS - BASEURL=${BASEURL:-$DEFAULT_BASEURL} # set BASEURL in the CI variables to override it @@ -26,6 +28,8 @@ test-html: .gen-pdf: image: docker-registry.apertis.org/apertis/apertis-v2020-documentation-builder stage: generate-pdf + tags: + - lightweight script: - echo "Building PDFs on $(nproc) cores" - find public -name "*.pdf-in" -print0 | xargs -0 -r -n1 -P "$(nproc)" scripts/create-pdf