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

[ci] Added build_image job.

parent ac31f70a
No related branches found
No related tags found
No related merge requests found
......@@ -3,5 +3,7 @@ stages:
- package
include:
- local: '/scripts/ci/jobs/container.yml'
- local: '/scripts/ci/extends/container-maker-setup.yml'
- local: '/scripts/ci/jobs/build_image.yml'
- local: '/scripts/ci/jobs/build.yml'
- local: '/scripts/ci/jobs/container.yml'
.container-maker-setup:
before_script:
- git submodule update --init ThirdParty/container-maker
- virtualenv .venv
- source .venv/bin/activate
- pip install -r ThirdParty/container-maker/requirements.txt
- export PYTHONPATH="${PYTHONPATH}:${PWD}/ThirdParty/container-maker"
build_image:
stage: .pre
# only:
# changes:
# - ThirdParty/container-maker
tags:
- docker-shell
variables:
GIT_STRATEGY: fetch
extends: .container-maker-setup
script:
# --jenkins? --gui?
- python ThirdParty/container-maker/ogscm/cli.py -B --ogs off --pm system --cvode --cppcheck --docs --gcovr
container:
stage: package
only:
refs:
- master
tags:
- docker-shell
stage: package
variables:
GIT_STRATEGY: fetch
OPENMPI_VERSIONS: 'off 2.1.6 3.1.4 4.0.1'
extends: .container-maker-setup
script:
- git submodule update --init ThirdParty/container-maker
- virtualenv .venv
- source .venv/bin/activate
- 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:
paths:
......
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