Verified Commit b98dc786 authored by Lars Bilke's avatar Lars Bilke

[ci] Avoid unnecessary cache downloads.

parent ccc02713
......@@ -2,6 +2,8 @@ build docs:
stage: build
image:
name: $CONTAINER_GCC_IMAGE
extends:
- .defaults
before_script:
# HACK to easier linking to the generated pages
......
code_quality:
stage: checks
extends:
- .defaults
rules:
variables:
DOCKER_TLS_CERTDIR: "/certs"
......@@ -9,7 +9,9 @@ container:
GIT_STRATEGY: fetch
OPENMPI_VERSIONS: 'off 2.1.6 3.1.4 4.0.1'
GIT_LFS_SKIP_SMUDGE: "1"
extends: .container-maker-setup
extends:
- .defaults
- .container-maker-setup
script:
- python ThirdParty/container-maker/ogscm/cli.py -B -C -R --ogs . --pm system --cvode --ompi $OPENMPI_VERSIONS
artifacts:
......
......@@ -2,6 +2,8 @@ pre commit:
stage: pre-checks
image:
name: $PRECOMMIT_IMAGE
extends:
- .defaults
script:
- pre-commit install
- pre-commit run --all-files
......
......@@ -18,6 +18,8 @@ web url checker:
preview web site:
stage: build
image: $WEB_IMAGE
extends:
- .defaults
script:
# HACK to easier linking to the generated pages
- echo '<meta http-equiv="REFRESH" content="0;URL=web/public/index.html">' >> WebPreview.html
......@@ -41,6 +43,8 @@ preview web site:
deploy web site:
stage: package
image: $WEB_IMAGE
extends:
- .defaults
script:
- cd web
- yarn
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment