diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7d3669b49163626b9a05fb2cf845f07c871439e9..8ad5c98d9458e66f66a0e905dc045713d3d7521d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,7 @@ -image: irmb/virtualfluids-python-deps:latest +############################################################################### +## VirtualFluids CI Pipeline ## +############################################################################### +image: irmb/virtualfluids-python-deps-ubuntu20.04:latest stages: - build @@ -118,6 +121,8 @@ msvc_16: gcc_9_python: stage: build_python + image: irmb/virtualfluids-python-deps-ubuntu20.04:latest + needs: ["gcc_9"] cache: @@ -144,6 +149,8 @@ gcc_9_python: build_singularity_image: stage: container_upload + image: irmb/virtualfluids-python-deps-ubuntu20.04:latest + needs: - gcc_9_python @@ -164,6 +171,8 @@ build_singularity_image: gcc_9_unit_tests: stage: test + image: irmb/virtualfluids-deps-ubuntu20.04:latest + needs: ["gcc_9"] before_script: @@ -194,6 +203,8 @@ msvc_16_unit_tests: gcc_9_python_bindings_test: stage: test + image: irmb/virtualfluids-python-deps-ubuntu20.04:latest + needs: ["gcc_9_python"] before_script: @@ -209,6 +220,8 @@ gcc_9_python_bindings_test: gcc_9_python_slurm_test: stage: test + image: irmb/virtualfluids-python-deps-ubuntu20.04:latest + needs: ["gcc_9_python"] rules: @@ -252,14 +265,14 @@ gcc_9_python_slurm_test: nvidia_test: stage: benchmark + image: nvidia/cuda:11.1.1-devel-ubuntu20.04 + needs: [] tags: - gpu - linux - image: nvidia/cuda:11.1.1-devel-ubuntu20.04 - script: - echo NVIDIA_VISIBLE_DEVICES=${NVIDIA_VISIBLE_DEVICES} - nvidia-smi @@ -381,11 +394,11 @@ include_what_you_use_clang_10: cppcheck: stage: analyze + image: irmb/virtualfluids-deps-ubuntu20.04 + only: - develop@irmb/VirtualFluids_dev - image: irmb/virtualfluids-deps-ubuntu20.04 - needs: [] before_script: @@ -409,11 +422,11 @@ cppcheck: lizard: stage: analyze + image: irmb/virtualfluids-python-deps-ubuntu20.04:latest + only: - develop@irmb/VirtualFluids_dev - image: irmb/virtualfluids-python-deps-ubuntu20.04 - needs: [] before_script: @@ -437,11 +450,11 @@ lizard: gcov_gcc_9: stage: analyze + image: irmb/virtualfluids-python-deps-ubuntu20.04:latest + only: - develop@irmb/VirtualFluids_dev - image: irmb/virtualfluids-python-deps-ubuntu20.04 - needs: [] before_script: @@ -481,11 +494,11 @@ gcov_gcc_9: clang-tidy: stage: analyze + image: irmb/virtualfluids-python-deps-ubuntu20.04:latest + only: - develop@irmb/VirtualFluids_dev - image: irmb/virtualfluids-python-deps-ubuntu20.04 - needs: [] allow_failure: true @@ -513,25 +526,24 @@ clang-tidy: ############################################################################### # doxgen -doxygen: +pages: stage: analyze + image: alpine + only: - develop@irmb/VirtualFluids_dev needs: [] - image: alpine - script: - apk update && apk add doxygen - doxygen docs/Doxyfile - mv docs/build/html/ public/ artifacts: - expire_in: 1 week + expire_in: 1 hrs paths: - - docs/build/html/ - public @@ -541,6 +553,8 @@ doxygen: .deploy_template: stage: deploy + image: irmb/virtualfluids-python-deps-ubuntu20.04:latest + before_script: - 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )' - apt-get install -y rsync @@ -601,6 +615,9 @@ vf_wheel_to_jupyterhub: # This job only run on the development branch of the parent repository, not on forks! sonar-scanner: stage: deploy + + image: irmb/virtualfluids-python-deps-ubuntu20.04:latest + tags: - linux @@ -633,9 +650,12 @@ sonar-scanner: ## Release ## ############################################################################### create_release: - image: registry.gitlab.com/gitlab-org/release-cli:latest stage: release + + image: registry.gitlab.com/gitlab-org/release-cli:latest + needs: ["build_singularity_image"] + rules: - if: $CI_COMMIT_TAG diff --git a/README.md b/README.md index dcd9c19d6ed9a2254cb021904c3cfd982ad237e8..bc975a304dbd604ddefc42887da190f93a4673d7 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ A GPU computation generates a the time series of output files directly in the ou ## Documentation -The doxygen generated documentation can be found [here](https://git.irmb.bau.tu-bs.de/doku/CPU). +The doxygen generated documentation can be found [here](https://irmb.gitlab-pages.rz.tu-bs.de/VirtualFluids_dev). ## Known Issues