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

[ci] Avoid unnecessary cache downloads.

parent ccc02713
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,8 @@ build docs: ...@@ -2,6 +2,8 @@ build docs:
stage: build stage: build
image: image:
name: $CONTAINER_GCC_IMAGE name: $CONTAINER_GCC_IMAGE
extends:
- .defaults
before_script: before_script:
# HACK to easier linking to the generated pages # HACK to easier linking to the generated pages
......
code_quality: code_quality:
stage: checks stage: checks
extends:
- .defaults
rules: rules:
variables: variables:
DOCKER_TLS_CERTDIR: "/certs" DOCKER_TLS_CERTDIR: "/certs"
...@@ -9,7 +9,9 @@ container: ...@@ -9,7 +9,9 @@ container:
GIT_STRATEGY: fetch GIT_STRATEGY: fetch
OPENMPI_VERSIONS: 'off 2.1.6 3.1.4 4.0.1' OPENMPI_VERSIONS: 'off 2.1.6 3.1.4 4.0.1'
GIT_LFS_SKIP_SMUDGE: "1" GIT_LFS_SKIP_SMUDGE: "1"
extends: .container-maker-setup extends:
- .defaults
- .container-maker-setup
script: script:
- python ThirdParty/container-maker/ogscm/cli.py -B -C -R --ogs . --pm system --cvode --ompi $OPENMPI_VERSIONS - python ThirdParty/container-maker/ogscm/cli.py -B -C -R --ogs . --pm system --cvode --ompi $OPENMPI_VERSIONS
artifacts: artifacts:
......
...@@ -2,6 +2,8 @@ pre commit: ...@@ -2,6 +2,8 @@ pre commit:
stage: pre-checks stage: pre-checks
image: image:
name: $PRECOMMIT_IMAGE name: $PRECOMMIT_IMAGE
extends:
- .defaults
script: script:
- pre-commit install - pre-commit install
- pre-commit run --all-files - pre-commit run --all-files
......
...@@ -18,6 +18,8 @@ web url checker: ...@@ -18,6 +18,8 @@ web url checker:
preview web site: preview web site:
stage: build stage: build
image: $WEB_IMAGE image: $WEB_IMAGE
extends:
- .defaults
script: script:
# HACK to easier linking to the generated pages # HACK to easier linking to the generated pages
- echo '<meta http-equiv="REFRESH" content="0;URL=web/public/index.html">' >> WebPreview.html - echo '<meta http-equiv="REFRESH" content="0;URL=web/public/index.html">' >> WebPreview.html
...@@ -41,6 +43,8 @@ preview web site: ...@@ -41,6 +43,8 @@ preview web site:
deploy web site: deploy web site:
stage: package stage: package
image: $WEB_IMAGE image: $WEB_IMAGE
extends:
- .defaults
script: script:
- cd web - cd web
- yarn - yarn
......
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