diff --git a/ThirdParty/container-maker b/ThirdParty/container-maker index dd01b38f400a7e3dbfa85a3d7eeeddaa9bdd8c8f..ada9862a5db500ed31b2c80c3d660ccdb6c016c3 160000 --- a/ThirdParty/container-maker +++ b/ThirdParty/container-maker @@ -1 +1 @@ -Subproject commit dd01b38f400a7e3dbfa85a3d7eeeddaa9bdd8c8f +Subproject commit ada9862a5db500ed31b2c80c3d660ccdb6c016c3 diff --git a/scripts/ci/extends/container-maker-setup.yml b/scripts/ci/extends/container-maker-setup.yml index fc19d828d939bf295988f826c17970d6533559bf..463ad8bbc4f56bed9efcc4d0fe9b3537a868dff8 100644 --- a/scripts/ci/extends/container-maker-setup.yml +++ b/scripts/ci/extends/container-maker-setup.yml @@ -1,7 +1,5 @@ .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" + - cd ThirdParty/container-maker + - poetry install diff --git a/scripts/ci/jobs/build_image.yml b/scripts/ci/jobs/build_image.yml index 2e6255df5aa44ce3537ce2ac49c1d4e148cf70fd..e3b9feca1ec1e3424aab91ed1e3879df924412ff 100644 --- a/scripts/ci/jobs/build_image.yml +++ b/scripts/ci/jobs/build_image.yml @@ -9,13 +9,13 @@ build container images: extends: .container-maker-setup script: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - - python ThirdParty/container-maker/ogscm/cli.py --build --ogs off + - poetry run ogscm --build --ogs off --pm system --cvode --cppcheck --docs --gcovr --tfel --ccache --tag $CONTAINER_GCC_IMAGE --upload - - python ThirdParty/container-maker/ogscm/cli.py --build --ogs off + - poetry run ogscm --build --ogs off --pm system --cvode --cppcheck --docs --gcovr --gui --ccache --tag $CONTAINER_GCC_GUI_IMAGE --upload - - python ThirdParty/container-maker/ogscm/cli.py --build --ogs off + - poetry run ogscm --build --ogs off --compiler clang --compiler_version 9 --ccache --tag $CONTAINER_CLANG_IMAGE --upload diff --git a/scripts/ci/jobs/check-header.yml b/scripts/ci/jobs/check-header.yml index fb3fa9dcb7222bb6e656838d4c26958d803097bd..6bf461d5c830c9452b352bf61e0e60d056e25a41 100644 --- a/scripts/ci/jobs/check-header.yml +++ b/scripts/ci/jobs/check-header.yml @@ -3,7 +3,7 @@ check header: allow_failure: true extends: - .rules-master-manual - dependencies: [meta_container] + dependencies: [meta, meta_container] variables: BUILD_DIR: "build-check-header" CMAKE_ARGS: "-DOGS_CHECK_HEADER_COMPILATION=ON -DOGS_BUILD_UTILS=ON -DOGS_BUILD_GUI=ON -DOGS_USE_PYTHON=ON -DBUILD_SHARED_LIBS=ON" diff --git a/scripts/ci/jobs/container.yml b/scripts/ci/jobs/container.yml index 404946d1bac4afe84cecd71578a1f2994c538153..402e436e8c72f71442ba4d4edba03aff466df21e 100644 --- a/scripts/ci/jobs/container.yml +++ b/scripts/ci/jobs/container.yml @@ -9,18 +9,18 @@ container: - .container-maker-setup script: - > - python ThirdParty/container-maker/ogscm/cli.py -B -C -R --ogs . + poetry run ogscm -B -C -R --ogs ../.. --build_args ' --progress=plain' --pm system --cvode --ccache --cmake_args ' -DBUILD_TESTING=OFF' - > - python ThirdParty/container-maker/ogscm/cli.py -B -C -R --ogs . + poetry run ogscm -B -C -R --ogs ../.. --build_args ' --progress=plain' --pm system --cvode --ccache --cmake_args ' -DBUILD_TESTING=OFF' --ompi 4.0.4 --insitu --mpi_benchmarks - > - python ThirdParty/container-maker/ogscm/cli.py -B -C -R --ogs . + poetry run ogscm -B -C -R --ogs ../.. --build_args ' --progress=plain' --pm system --cvode --ccache --cmake_args ' -DBUILD_TESTING=OFF' @@ -28,4 +28,4 @@ container: artifacts: name: container paths: - - _out/images/*.sif + - ThirdParty/container-maker/_out/images/*.sif diff --git a/web/data/versions.json b/web/data/versions.json index 66796e47d7e95c9ca946840d3747d8a1f150a250..30c72701bc86045870bd436b57d9fcbe37a13004 100644 --- a/web/data/versions.json +++ b/web/data/versions.json @@ -17,7 +17,7 @@ "vtk": "8.1.2", "petsc": "3.11.2", "qt": "5.12.4", - "python": "3.7" + "python": "3.6" }, "tested_version": { "vtk": "8.2.0",