Skip to content
Snippets Groups Projects
Verified Commit e7ad1697 authored by Lars Bilke's avatar Lars Bilke
Browse files

[ci] Added label ci::web only (fast) which skips notebook execution.

parent bc69d05a
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,10 @@ include:
- if: $CI_PIPELINE_SOURCE != "schedule" && $CI_MERGE_REQUEST_LABELS !~ /.*ci::\w* only.*/
- local: "/scripts/ci/pipelines/web.yml"
rules:
- if: $CI_MERGE_REQUEST_LABELS =~ /.*ci::web only.*/
- if: $CI_MERGE_REQUEST_LABELS =~ /.*ci::web only?($|,)/
- local: "/scripts/ci/pipelines/web-fast.yml"
rules:
- if: $CI_MERGE_REQUEST_LABELS =~ /.*ci::web only \(fast.*/
- local: "/scripts/ci/pipelines/scheduled.yml"
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
......
preview web site:
stage: build
image: $WEB_IMAGE
needs: [ci_images, "build linux arch", "build mac petsc arm64"]
needs:
- job: ci_images
- job: "build linux arch"
optional: true
- job: "build mac petsc arm64"
optional: true
variables:
HUGO_ENVIRONMENT: "staging"
script:
# Copy notebook pages
- cp -rl build/*/web/content web/
- cp -rl build/*/web/content web/ || true
- cd web
# Symlink for prj link checks (data-link shortcode)
- ln -s ../Tests .
......
include:
- local: "/scripts/ci/jobs/ci_images.yml"
- local: "/scripts/ci/jobs/pre-commit.yml"
- local: "/scripts/ci/jobs/web-preview.yml"
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