Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matheus #18

Open
wants to merge 7 commits into
base: release-2020
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 29 additions & 8 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ include:
- .variables-template
- .tags-template

.regressiontests-extends-template:
.regressiontests-prepare-extends-template:
extends:
- .no-cache-template
- .variables-template
Expand All @@ -45,7 +45,7 @@ stages:
- configure-build
# Build GROMACS in multiple configurations
- build
# Test each configuration, perhaps in multiple ways
# Unit test each configuration, perhaps in multiple ways
- test
# Generate documentation files
- documentation
Expand Down Expand Up @@ -179,12 +179,12 @@ stages:
# Runs during pre-build
prepare-regressiontests:
extends:
- .regressiontests-extends-template
- .regressiontests-prepare-extends-template
- .regressiontests-template

prepare-release-version:
extends:
- .regressiontests-extends-template
- .regressiontests-prepare-extends-template
- .release-version-template

# Initial build that always needs to pass before follow-up stages run
Expand Down Expand Up @@ -388,6 +388,7 @@ configure-docs-gmxapi:
configure-archive-nightly:
stage: nightly-configure
only:
- web
- triggers
- schedules
needs:
Expand Down Expand Up @@ -564,6 +565,7 @@ test-gcc-7:
- job: simple-build
artifacts: false
- job: build-gcc-7
- job: prepare-regressiontests
except:
variables:
- $GROMACS_RELEASE
Expand All @@ -577,6 +579,7 @@ test-gcc-7-gmxapi:
- job: simple-build
artifacts: false
- job: build-gcc-7-gmxapi
- job: prepare-regressiontests
except:
variables:
- $GROMACS_RELEASE
Expand All @@ -585,10 +588,13 @@ test-gcc-7-double:
extends:
- .test-gcc
- .gcc7-template
variables:
REGRESSIONTEST_DOUBLE: "-double"
needs:
- job: simple-build
artifacts: false
- job: build-gcc-7-double
- job: prepare-regressiontests
except:
variables:
- $GROMACS_RELEASE
Expand All @@ -601,6 +607,7 @@ test-gcc-8:
- job: simple-build
artifacts: false
- job: build-gcc-8
- job: prepare-regressiontests
except:
variables:
- $GROMACS_RELEASE
Expand All @@ -612,10 +619,15 @@ test-gcc-8-cuda-10.2:
extends:
- .test-gcc-cuda
- .gcc-8-cuda-10.2-template
variables:
REGRESSIONTEST_PME_RANK_NUMBER: 0
REGRESSIONTEST_TOTAL_RANK_NUMBER: 2
REGRESSIONTEST_OMP_RANK_NUMBER: 1
needs:
- job: simple-build
artifacts: false
- job: build-gcc-8-cuda-10.2
- job: prepare-regressiontests
except:
variables:
- $GROMACS_RELEASE
Expand All @@ -628,6 +640,7 @@ test-gcc-7-simd-sse41:
- job: simple-build
artifacts: false
- job: build-gcc-7-simd-sse41
- job: prepare-regressiontests
except:
variables:
- $GROMACS_RELEASE
Expand All @@ -640,6 +653,7 @@ test-clang-7:
- job: simple-build
artifacts: false
- job: build-clang-7
- job: prepare-regressiontests
except:
variables:
- $GROMACS_RELEASE
Expand All @@ -653,6 +667,7 @@ test-clang-7-gmxapi:
- job: simple-build
artifacts: false
- job: build-clang-7-gmxapi
- job: prepare-regressiontests
except:
variables:
- $GROMACS_RELEASE
Expand All @@ -665,18 +680,22 @@ test-clang-8:
- job: simple-build
artifacts: false
- job: build-clang-8
- job: prepare-regressiontests
except:
variables:
- $GROMACS_RELEASE

test-clang-6:
extends:
- .test-clang
- .clang6-template
- .clang6-template
variables:
REGRESSIONTEST_OMP_RANK_NUMBER: 0
needs:
- job: simple-build
artifacts: false
- job: build-clang-6
- job: prepare-regressiontests
except:
variables:
- $GROMACS_RELEASE
Expand Down Expand Up @@ -890,10 +909,10 @@ linkchecker:
dependencies:
- webpage-gmxapi
only:
- web
- schedules
- triggers
- merge_requests
- external_pull_requests
except:
variables:
- $GROMACS_RELEASE
Expand Down Expand Up @@ -921,6 +940,7 @@ build-archive-nightly:
- job: configure-archive-nightly
artifacts: true
only:
- web
- triggers
- schedules
except:
Expand All @@ -935,6 +955,7 @@ webpage-nightly:
- .configure-gmxapi-template
stage: nightly-deploy
only:
- web
- triggers
- schedules
except:
Expand All @@ -958,7 +979,7 @@ webpage-nightly:

package-regressiontests-release:
extends:
- .regressiontests-extends-template
- .regressiontests-prepare-extends-template
- .regressiontests-release-template
needs:
- job: prepare-release-version
Expand Down Expand Up @@ -992,7 +1013,7 @@ package-archive-release:

release-verify:
extends:
- .regressiontests-extends-template
- .regressiontests-prepare-extends-template
- .release-verify-template

only:
Expand Down
34 changes: 26 additions & 8 deletions admin/ci-templates/.build-docs-template.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
.configure-docs-template:
# Built by admin/dockerfiles/ci-docs
# Built by admin/dockerfiles/ci-docs-clang
# TODO this should be organized more like the current documentation.py script
image: gromacs/continuous-integration:ci-docs
image: gromacs/ci-docs-clang:2020
stage: configure-build
only:
refs:
- web
- pushes
- schedules
- merge_requests
variables:
KUBERNETES_CPU_LIMIT: 1
KUBERNETES_CPU_REQUEST: 1
Expand Down Expand Up @@ -62,9 +68,15 @@
- $BUILD_DIR

.build-docs-binary-template:
# Built by admin/dockerfiles/ci-docs
# Built by admin/dockerfiles/ci-docs-clang
# TODO this should be organized more like the current documentation.py script
image: gromacs/continuous-integration:ci-docs
image: gromacs/ci-docs-clang:2020
only:
refs:
- web
- pushes
- schedules
- merge_requests
script:
- cd $BUILD_DIR
- cmake --build . --target gmx -- -j8
Expand All @@ -77,9 +89,15 @@
- $BUILD_DIR

.build-docs-webpage-template:
# Built by admin/dockerfiles/ci-docs
# Built by admin/dockerfiles/ci-docs-clang
# TODO this should be organized more like the current documentation.py script
image: gromacs/continuous-integration:ci-docs
image: gromacs/ci-docs-clang:2020
only:
refs:
- web
- pushes
- schedules
- merge_requests
variables:
KUBERNETES_CPU_LIMIT: 4
KUBERNETES_CPU_REQUEST: 2
Expand Down Expand Up @@ -111,9 +129,9 @@
- $BUILD_DIR/docs/sphinx-html.log

.configure-docs-release-template:
# Built by admin/dockerfiles/ci-docs
# Built by admin/dockerfiles/ci-docs-clang
# TODO this should be organized more like the current documentation.py script
image: gromacs/continuous-integration:ci-docs
image: gromacs/ci-docs-clang:2020
stage: release-configure
variables:
KUBERNETES_CPU_LIMIT: 1
Expand Down
33 changes: 25 additions & 8 deletions admin/ci-templates/.build-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
# Dockerfiles are from dockerhub, user eriklindahl
# image in admin/dockerimages/ci-docs-py27
stage: configure-build
image: biophysics/gcc-gromacs
only:
refs:
- web
- pushes
- schedules
- merge_requests
variables:
KUBERNETES_CPU_LIMIT: 1
KUBERNETES_CPU_REQUEST: 1
Expand Down Expand Up @@ -56,7 +61,6 @@
# Dockerfiles are from dockerhub, user eriklindahl
# image in admin/dockerimages/ci-docs-py27
stage: release-configure
image: biophysics/gcc-gromacs
variables:
KUBERNETES_CPU_LIMIT: 1
KUBERNETES_CPU_REQUEST: 1
Expand Down Expand Up @@ -148,9 +152,12 @@
# Dockerfiles are from dockerhub, user eriklindahl
# image in admin/dockerimages/ci-docs-py27
stage: build
image: biophysics/gcc-gromacs
variables:

only:
refs:
- web
- pushes
- schedules
- merge_requests
script:
- cd $BUILD_DIR
- cmake --build . -- -j8 2>&1 | tee buildLogFile.log
Expand All @@ -175,8 +182,13 @@
# Redmine #3361
.archive-build-template:
# Dockerfiles are from dockerhub, user eriklindahl
image: gromacs/continuous-integration:ci-docs
variables:
image: gromacs/ci-docs-clang:2020
only:
refs:
- web
- pushes
- schedules
- merge_requests
variables:
KUBERNETES_CPU_LIMIT: 4
KUBERNETES_CPU_REQUEST: 2
Expand Down Expand Up @@ -222,7 +234,6 @@
.simple-build-template:
# Docker images are from dockerhub, user eriklindahl
stage: pre-build
image: biophysics/gcc-gromacs
variables:
KUBERNETES_CPU_LIMIT: 8
KUBERNETES_CPU_REQUEST: 4
Expand All @@ -235,6 +246,12 @@
CMAKE_BUILD_TYPE_OPTIONS: "-DCMAKE_BUILD_TYPE=Debug"
CMAKE_GPU_OPTIONS: "-DGMX_GPU=OFF"
CMAKE_GMXAPI_OPTIONS: "-DGMX_PYTHON_PACKAGE=OFF"
only:
refs:
- web
- pushes
- schedules
- merge_requests

script:
- echo $CMAKE_COMPILER_SCRIPT
Expand Down
30 changes: 15 additions & 15 deletions admin/ci-templates/.image-templates.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
.gcc5-template:
image: gromacs/continuous-integration:ci-gcc-5
image: gromacs/ci-gcc-5:2020

.gcc6-template:
image: gromacs/continuous-integration:ci-gcc-6
image: gromacs/ci-gcc-6:2020

.gcc7-template:
image: gromacs/continuous-integration:ci-gcc-7
image: gromacs/ci-gcc-7:2020

.gcc8-template:
image: gromacs/continuous-integration:ci-gcc-8
image: gromacs/ci-gcc-8:2020

.clang6-template:
image: gromacs/continuous-integration:ci-clang-6
image: gromacs/ci-clang-6:2020

.clang7-template:
image: gromacs/continuous-integration:ci-clang-7
image: gromacs/ci-clang-7:2020

.clang8-template:
image: gromacs/continuous-integration:ci-clang-8
image: gromacs/ci-clang-8:2020

.gcc5-gmxapi-template:
image: gromacs/continuous-integration:ci-gcc-5-gmxapi
image: gromacs/ci-gcc-5-gmxapi:2020

.gcc6-gmxapi-template:
image: gromacs/continuous-integration:ci-gcc-6-gmxapi
image: gromacs/ci-gcc-6-gmxapi:2020

.gcc7-gmxapi-template:
image: gromacs/continuous-integration:ci-gcc-7-gmxapi
image: gromacs/ci-gcc-7-gmxapi:2020

.gcc8-gmxapi-template:
image: gromacs/continuous-integration:ci-gcc-8-gmxapi
image: gromacs/ci-gcc-8-gmxapi:2020

.clang6-gmxapi-template:
image: gromacs/continuous-integration:ci-clang-6-gmxapi
image: gromacs/ci-clang-6-gmxapi:2020

.clang7-gmxapi-template:
image: gromacs/continuous-integration:ci-clang-7-gmxapi
image: gromacs/ci-clang-7-gmxapi:2020

.clang8-gmxapi-template:
image: gromacs/continuous-integration:ci-clang-8-gmxapi
image: gromacs/ci-clang-8-gmxapi:2020

.gcc-8-cuda-10.2-template:
image: gromacs/continuous-integration:ci-gcc-8-cuda-10.2
image: gromacs/ci-gcc-8-cuda-10.2:2020
variables:
CUDA_BASE_VERSION: "10.2"
COMPILER_MAJOR_VERSION: 8
Expand Down
Loading