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

[ci] Build ogs docker images in GitLab CI.

parent f14c7979
No related branches found
No related tags found
No related merge requests found
.git # .git
Tests/Data Tests/Data
*.bak* *.bak*
build*/ /build*/
*.sw[op] *.sw[op]
tags tags
.ExternalData_* .ExternalData_*
......
image: alpine:3.4 variables:
GIT_STRATEGY: fetch
OPENMPI_VERSIONS: 'off 2.1.6 3.1.4 4.0.1'
before_script: build-container:
- apk update && apk add openssl tags:
- wget https://github.com/spf13/hugo/releases/download/v0.18.1/hugo_0.18.1_Linux-64bit.tar.gz - docker-shell
- tar xf hugo_0.18.1_Linux-64bit.tar.gz && cp ./hugo_0.18.1_linux_amd64/hugo_0.18.1_linux_amd64 /usr/bin/hugo stage: build
- hugo version
pages:
script: script:
- cd web - git submodule update --init ThirdParty/container-maker
- (cd import; python import.py) - virtualenv .venv
- gulp build - source .venv/bin/activate
- hugo - pip install -r ThirdParty/container-maker/requirements.txt
- export PYTHONPATH="${PYTHONPATH}:${PWD}/ThirdParty/container-maker"
- python ThirdParty/container-maker/ogscm/cli.py -B -C -R --ogs . --pm system --cvode --ompi $OPENMPI_VERSIONS
artifacts: artifacts:
paths: paths:
- web/public - _out/images/*.sif
only:
- web-hugo
Subproject commit b673ba0a252264ea37e7ca60784bdfe558e57e3b Subproject commit 8701618b2dc6745a603c2bf147c61d75e1268e42
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