2017-05-17 13:45:30 +05:30
|
|
|
---
|
2017-04-12 16:46:27 +05:30
|
|
|
stages:
|
2021-03-26 21:45:56 +05:30
|
|
|
- prepare
|
2019-12-03 21:19:27 +05:30
|
|
|
- python
|
2020-11-24 16:29:40 +05:30
|
|
|
- compile
|
2021-03-26 17:54:11 +05:30
|
|
|
- fortran
|
2022-03-12 00:20:14 +05:30
|
|
|
- statistics
|
2021-11-15 11:45:33 +05:30
|
|
|
- finalize
|
2021-11-13 15:27:58 +05:30
|
|
|
|
2017-04-12 16:46:27 +05:30
|
|
|
|
|
|
|
###################################################################################################
|
2021-11-13 18:39:12 +05:30
|
|
|
default:
|
|
|
|
before_script:
|
2021-11-14 03:28:56 +05:30
|
|
|
- ${LOCAL_HOME}/bin/queue ${CI_JOB_ID}
|
2021-11-15 11:45:33 +05:30
|
|
|
- source env/DAMASK.sh
|
|
|
|
- export PATH=${TESTROOT}/bin:${PATH}
|
2021-11-13 18:39:12 +05:30
|
|
|
- echo Job start:" $(date)"
|
|
|
|
after_script:
|
|
|
|
- echo Job end:" $(date)"
|
2018-09-06 21:28:12 +05:30
|
|
|
|
2021-11-13 15:27:58 +05:30
|
|
|
|
2017-04-12 16:46:27 +05:30
|
|
|
###################################################################################################
|
|
|
|
variables:
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
2017-04-12 16:46:27 +05:30
|
|
|
# GitLab Settings
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
2021-11-13 18:33:06 +05:30
|
|
|
GIT_SUBMODULE_STRATEGY: normal
|
2017-04-12 16:46:27 +05:30
|
|
|
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
2017-04-12 16:46:27 +05:30
|
|
|
# Shortcut names
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
2021-11-13 23:51:23 +05:30
|
|
|
TESTROOT: "$LOCAL_HOME/GitLabCI_Pipeline_$CI_PIPELINE_ID"
|
2017-04-12 16:46:27 +05:30
|
|
|
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
2017-04-12 16:46:27 +05:30
|
|
|
# Names of module files to load
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
2019-03-09 22:00:29 +05:30
|
|
|
# ++++++++++++ Compiler +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
2022-02-05 23:10:10 +05:30
|
|
|
COMPILER_GNU: "Compiler/GNU/10"
|
2021-12-26 17:37:58 +05:30
|
|
|
COMPILER_INTELLLVM: "Compiler/oneAPI/2022.0.1 Libraries/IMKL/2022.0.1"
|
2021-12-25 17:41:45 +05:30
|
|
|
COMPILER_INTEL: "Compiler/Intel/2022.0.1 Libraries/IMKL/2022.0.1"
|
2019-03-09 22:00:29 +05:30
|
|
|
# ++++++++++++ MPI ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
2022-02-05 23:10:10 +05:30
|
|
|
MPI_GNU: "MPI/GNU/10/OpenMPI/4.1.2"
|
|
|
|
MPI_INTELLLVM: "MPI/oneAPI/2022.0.1/IntelMPI/2021.5.0"
|
|
|
|
MPI_INTEL: "MPI/Intel/2022.0.1/IntelMPI/2021.5.0"
|
2019-03-09 22:00:29 +05:30
|
|
|
# ++++++++++++ PETSc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
2022-02-05 23:10:10 +05:30
|
|
|
PETSC_GNU: "Libraries/PETSc/3.16.4/GNU-10-OpenMPI-4.1.2"
|
2022-01-11 00:28:19 +05:30
|
|
|
PETSC_INTELLLVM: "Libraries/PETSc/3.16.3/oneAPI-2022.0.1-IntelMPI-2021.5.0"
|
2022-03-12 13:35:20 +05:30
|
|
|
PETSC_INTEL: "Libraries/PETSc/3.16.5/Intel-2022.0.1-IntelMPI-2021.5.0"
|
2021-10-29 01:06:04 +05:30
|
|
|
# ++++++++++++ MSC Marc +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
2024-01-04 19:53:50 +05:30
|
|
|
MSC: "FEM/MSC/2023.4"
|
2022-02-05 23:10:10 +05:30
|
|
|
IntelMarc: "Compiler/Intel/19.1.2 Libraries/IMKL/2020"
|
2022-11-17 12:42:27 +05:30
|
|
|
HDF5Marc: "HDF5/1.12.2/Intel-19.1.2"
|
2017-04-12 16:46:27 +05:30
|
|
|
|
2021-11-13 15:27:58 +05:30
|
|
|
|
2017-04-12 16:46:27 +05:30
|
|
|
###################################################################################################
|
2021-11-15 11:45:33 +05:30
|
|
|
create_testroot:
|
2021-03-26 21:45:56 +05:30
|
|
|
stage: prepare
|
2017-05-17 13:45:30 +05:30
|
|
|
before_script:
|
2021-11-14 03:28:56 +05:30
|
|
|
- ${LOCAL_HOME}/bin/queue ${CI_JOB_ID}
|
2021-11-13 15:27:58 +05:30
|
|
|
- echo Job start:" $(date)"
|
2017-04-12 16:46:27 +05:30
|
|
|
script:
|
2021-11-15 11:45:33 +05:30
|
|
|
- mkdir -p ${TESTROOT}
|
2017-04-12 16:46:27 +05:30
|
|
|
|
2021-11-13 15:27:58 +05:30
|
|
|
|
2019-12-03 21:19:27 +05:30
|
|
|
###################################################################################################
|
2022-10-13 16:25:40 +05:30
|
|
|
setuptools:
|
|
|
|
stage: python
|
|
|
|
script:
|
2022-10-13 16:30:05 +05:30
|
|
|
- sed -i 's/-[[:digit:]]*-.*//' VERSION
|
2022-10-13 16:25:40 +05:30
|
|
|
- cd python
|
|
|
|
- python3 -m build --wheel --no-isolation
|
|
|
|
|
2021-11-01 03:13:06 +05:30
|
|
|
pytest:
|
2019-12-03 21:19:27 +05:30
|
|
|
stage: python
|
|
|
|
script:
|
2021-11-15 11:45:33 +05:30
|
|
|
- cd python
|
2022-11-10 14:22:58 +05:30
|
|
|
- pytest --basetemp ${TESTROOT}/python -v --cov
|
|
|
|
- coverage report --fail-under=90 --show-missing
|
2019-12-03 21:19:27 +05:30
|
|
|
|
2021-11-01 03:13:06 +05:30
|
|
|
mypy:
|
|
|
|
stage: python
|
|
|
|
script:
|
2021-11-15 11:45:33 +05:30
|
|
|
- cd python
|
2021-11-14 00:07:40 +05:30
|
|
|
- mypy damask
|
2021-11-01 03:13:06 +05:30
|
|
|
|
|
|
|
|
2017-04-13 19:36:35 +05:30
|
|
|
###################################################################################################
|
2023-07-21 00:43:57 +05:30
|
|
|
unittest_GNU_DEBUG:
|
|
|
|
stage: compile
|
|
|
|
script:
|
|
|
|
- module load ${COMPILER_GNU} ${MPI_GNU} ${PETSC_GNU}
|
2023-09-28 15:22:34 +05:30
|
|
|
- TEMPDIR=$(mktemp -d)
|
|
|
|
- cmake -B ${TEMPDIR} -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${TEMPDIR} -DCMAKE_BUILD_TYPE=RELEASE -DBUILDCMD_POST=-coverage
|
|
|
|
- cmake --build ${TEMPDIR} --target install
|
|
|
|
- cd ${TEMPDIR}
|
2023-07-21 00:43:57 +05:30
|
|
|
- ./bin/DAMASK_test
|
2023-09-28 10:50:09 +05:30
|
|
|
- find -name \*.gcda -not -path "**/test/*" | xargs gcov
|
2023-07-21 00:43:57 +05:30
|
|
|
|
|
|
|
unittest_GNU_RELEASE:
|
|
|
|
stage: compile
|
|
|
|
script:
|
|
|
|
- module load ${COMPILER_GNU} ${MPI_GNU} ${PETSC_GNU}
|
2023-09-28 15:22:34 +05:30
|
|
|
- TEMPDIR=$(mktemp -d)
|
|
|
|
- cmake -B ${TEMPDIR} -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${TEMPDIR} -DCMAKE_BUILD_TYPE=RELEASE -DBUILDCMD_POST=-coverage
|
|
|
|
- cmake --build ${TEMPDIR} --target install
|
|
|
|
- cd ${TEMPDIR}
|
2023-07-21 00:43:57 +05:30
|
|
|
- ./bin/DAMASK_test
|
2023-09-28 10:50:09 +05:30
|
|
|
- find -name \*.gcda -not -path "**/test/*" | xargs gcov
|
2023-07-21 00:43:57 +05:30
|
|
|
|
|
|
|
unittest_GNU_PERFORMANCE:
|
|
|
|
stage: compile
|
|
|
|
script:
|
|
|
|
- module load ${COMPILER_GNU} ${MPI_GNU} ${PETSC_GNU}
|
2023-09-28 15:22:34 +05:30
|
|
|
- TEMPDIR=$(mktemp -d)
|
|
|
|
- cmake -B ${TEMPDIR} -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${TEMPDIR} -DCMAKE_BUILD_TYPE=PERFORMANCE -DBUILDCMD_POST=-coverage
|
|
|
|
- cmake --build ${TEMPDIR} --target install
|
|
|
|
- cd ${TEMPDIR}
|
2023-07-21 00:43:57 +05:30
|
|
|
- ./bin/DAMASK_test
|
2023-09-28 10:50:09 +05:30
|
|
|
- find -name \*.gcda -not -path "**/test/*" | xargs gcov
|
2023-07-21 00:43:57 +05:30
|
|
|
|
|
|
|
|
2022-01-19 01:36:39 +05:30
|
|
|
grid_GNU:
|
2020-11-24 16:29:40 +05:30
|
|
|
stage: compile
|
2017-04-13 19:36:35 +05:30
|
|
|
script:
|
2021-12-26 17:37:58 +05:30
|
|
|
- module load ${COMPILER_GNU} ${MPI_GNU} ${PETSC_GNU}
|
2021-11-15 11:45:33 +05:30
|
|
|
- cd PRIVATE/testing/pytest
|
2021-12-26 17:37:58 +05:30
|
|
|
- pytest -k 'compile and grid' --basetemp ${TESTROOT}/compile_grid_GNU
|
2017-04-13 19:36:35 +05:30
|
|
|
|
2022-01-19 01:36:39 +05:30
|
|
|
mesh_GNU:
|
2020-11-24 16:29:40 +05:30
|
|
|
stage: compile
|
2018-08-20 12:43:20 +05:30
|
|
|
script:
|
2021-12-26 17:37:58 +05:30
|
|
|
- module load ${COMPILER_GNU} ${MPI_GNU} ${PETSC_GNU}
|
2021-11-15 11:45:33 +05:30
|
|
|
- cd PRIVATE/testing/pytest
|
2021-12-26 17:37:58 +05:30
|
|
|
- pytest -k 'compile and mesh' --basetemp ${TESTROOT}/compile_mesh_GNU
|
2018-08-20 12:43:20 +05:30
|
|
|
|
2022-01-19 01:36:39 +05:30
|
|
|
grid_GNU-64bit:
|
2021-12-27 17:11:55 +05:30
|
|
|
stage: compile
|
|
|
|
script:
|
2022-02-18 12:28:27 +05:30
|
|
|
- module load Compiler/GNU/10 Libraries/PETSc/3.16.4/64bit
|
2021-12-27 17:11:55 +05:30
|
|
|
- cd PRIVATE/testing/pytest
|
|
|
|
- pytest -k 'compile and grid' --basetemp ${TESTROOT}/compile_grid_GNU-64bit
|
|
|
|
|
2022-01-19 01:36:39 +05:30
|
|
|
mesh_GNU-64bit:
|
2022-01-13 20:31:06 +05:30
|
|
|
stage: compile
|
|
|
|
script:
|
2022-02-18 12:28:27 +05:30
|
|
|
- module load Compiler/GNU/10 Libraries/PETSc/3.16.4/64bit
|
2022-01-13 20:31:06 +05:30
|
|
|
- cd PRIVATE/testing/pytest
|
|
|
|
- pytest -k 'compile and mesh' --basetemp ${TESTROOT}/compile_mesh_GNU-64bit
|
|
|
|
|
2022-01-19 01:36:39 +05:30
|
|
|
grid_IntelLLVM:
|
2021-12-27 23:29:33 +05:30
|
|
|
stage: compile
|
|
|
|
script:
|
|
|
|
- module load ${COMPILER_INTELLLVM} ${MPI_INTELLLVM} ${PETSC_INTELLLVM}
|
|
|
|
- cd PRIVATE/testing/pytest
|
|
|
|
- pytest -k 'compile and grid' --basetemp ${TESTROOT}/compile_grid_IntelLLVM
|
|
|
|
|
2022-01-19 01:36:39 +05:30
|
|
|
mesh_IntelLLVM:
|
2020-11-24 16:29:40 +05:30
|
|
|
stage: compile
|
2017-04-13 19:36:35 +05:30
|
|
|
script:
|
2021-12-26 17:37:58 +05:30
|
|
|
- module load ${COMPILER_INTELLLVM} ${MPI_INTELLLVM} ${PETSC_INTELLLVM}
|
2021-11-15 11:45:33 +05:30
|
|
|
- cd PRIVATE/testing/pytest
|
2021-12-26 17:37:58 +05:30
|
|
|
- pytest -k 'compile and mesh' --basetemp ${TESTROOT}/compile_mesh_IntelLLVM
|
2017-04-13 19:36:35 +05:30
|
|
|
|
2022-01-19 01:36:39 +05:30
|
|
|
grid_Intel:
|
2020-11-24 16:29:40 +05:30
|
|
|
stage: compile
|
2018-08-20 12:43:20 +05:30
|
|
|
script:
|
2021-12-26 17:37:58 +05:30
|
|
|
- module load ${COMPILER_INTEL} ${MPI_INTEL} ${PETSC_INTEL}
|
2021-11-15 11:45:33 +05:30
|
|
|
- cd PRIVATE/testing/pytest
|
2021-12-26 17:37:58 +05:30
|
|
|
- pytest -k 'compile and grid' --basetemp ${TESTROOT}/compile_grid_Intel
|
|
|
|
|
2022-01-19 01:36:39 +05:30
|
|
|
mesh_Intel:
|
2021-12-26 17:37:58 +05:30
|
|
|
stage: compile
|
|
|
|
script:
|
|
|
|
- module load ${COMPILER_INTEL} ${MPI_INTEL} ${PETSC_INTEL}
|
|
|
|
- cd PRIVATE/testing/pytest
|
|
|
|
- pytest -k 'compile and mesh' --basetemp ${TESTROOT}/compile_mesh_Intel
|
2018-08-20 12:43:20 +05:30
|
|
|
|
2022-01-19 01:36:39 +05:30
|
|
|
Marc_Intel:
|
2020-11-24 16:29:40 +05:30
|
|
|
stage: compile
|
|
|
|
script:
|
|
|
|
- module load $IntelMarc $HDF5Marc $MSC
|
2021-11-15 11:45:33 +05:30
|
|
|
- cd PRIVATE/testing/pytest
|
2021-11-13 15:27:58 +05:30
|
|
|
- pytest -k 'compile and Marc' --basetemp ${TESTROOT}/compile_Marc
|
2020-11-24 16:29:40 +05:30
|
|
|
|
|
|
|
setup_grid:
|
2021-11-15 11:45:33 +05:30
|
|
|
stage: compile
|
2017-04-19 14:20:07 +05:30
|
|
|
script:
|
2021-11-15 11:45:33 +05:30
|
|
|
- module load ${COMPILER_INTEL} ${MPI_INTEL} ${PETSC_INTEL}
|
2021-11-13 00:18:53 +05:30
|
|
|
- cd $(mktemp -d)
|
2021-11-13 23:51:23 +05:30
|
|
|
- cmake -DDAMASK_SOLVER=GRID -DCMAKE_INSTALL_PREFIX=${TESTROOT} ${CI_PROJECT_DIR}
|
2020-11-24 16:29:40 +05:30
|
|
|
- make -j2 all install
|
|
|
|
|
|
|
|
setup_mesh:
|
2021-11-15 11:45:33 +05:30
|
|
|
stage: compile
|
2020-11-24 16:29:40 +05:30
|
|
|
script:
|
2021-11-15 11:45:33 +05:30
|
|
|
- module load ${COMPILER_INTEL} ${MPI_INTEL} ${PETSC_INTEL}
|
2021-11-13 00:18:53 +05:30
|
|
|
- cd $(mktemp -d)
|
2021-11-13 23:51:23 +05:30
|
|
|
- cmake -DDAMASK_SOLVER=MESH -DCMAKE_INSTALL_PREFIX=${TESTROOT} ${CI_PROJECT_DIR}
|
2020-11-24 16:29:40 +05:30
|
|
|
- make -j2 all install
|
2017-05-17 13:45:30 +05:30
|
|
|
|
2022-01-19 01:36:39 +05:30
|
|
|
setup_Marc:
|
2021-11-15 11:45:33 +05:30
|
|
|
stage: compile
|
|
|
|
script:
|
|
|
|
- module load $IntelMarc $HDF5Marc $MSC
|
|
|
|
- cd $(mktemp -d)
|
|
|
|
- cp ${CI_PROJECT_DIR}/examples/Marc/* .
|
2021-11-15 23:40:37 +05:30
|
|
|
- python3 -c "import damask;damask.solver.Marc().submit_job('r-value','texture',True,'h')"
|
2022-04-25 00:05:37 +05:30
|
|
|
- mkdir -p ${TESTROOT}/src/Marc
|
|
|
|
- mv ${CI_PROJECT_DIR}/src/Marc/DAMASK_Marc.marc ${TESTROOT}/src/Marc
|
2021-11-15 11:45:33 +05:30
|
|
|
|
2021-11-13 15:27:58 +05:30
|
|
|
|
2017-04-13 19:36:35 +05:30
|
|
|
###################################################################################################
|
2021-11-16 02:23:30 +05:30
|
|
|
open-source:
|
2021-03-26 17:54:11 +05:30
|
|
|
stage: fortran
|
2020-09-25 11:45:22 +05:30
|
|
|
script:
|
2021-11-15 11:45:33 +05:30
|
|
|
- module load ${COMPILER_INTEL} ${MPI_INTEL} ${PETSC_INTEL}
|
|
|
|
- cd PRIVATE/testing/pytest
|
2023-02-05 04:46:09 +05:30
|
|
|
- pytest -k 'not compile and not Marc' -m 'not cifail' --basetemp ${TESTROOT}/open-source -v
|
2021-11-16 02:23:30 +05:30
|
|
|
|
|
|
|
Marc:
|
|
|
|
stage: fortran
|
|
|
|
script:
|
|
|
|
- cd PRIVATE/testing/pytest
|
2023-02-05 04:46:09 +05:30
|
|
|
- pytest -k 'not compile and Marc' -m 'not cifail' --damask-root=${TESTROOT} --basetemp ${TESTROOT}/Marc -v
|
2020-09-25 11:45:22 +05:30
|
|
|
|
2021-06-22 03:55:27 +05:30
|
|
|
# Needs closer look
|
2021-07-01 17:45:29 +05:30
|
|
|
# Phenopowerlaw_singleSlip:
|
|
|
|
# stage: fortran
|
|
|
|
# script: Phenopowerlaw_singleSlip/test.py
|
2021-06-22 03:55:27 +05:30
|
|
|
|
2021-11-13 15:27:58 +05:30
|
|
|
|
2017-05-09 03:22:07 +05:30
|
|
|
###################################################################################################
|
2023-07-16 00:23:12 +05:30
|
|
|
grid_performance:
|
2022-03-12 00:20:14 +05:30
|
|
|
stage: statistics
|
2022-01-14 20:21:02 +05:30
|
|
|
before_script:
|
|
|
|
- ${LOCAL_HOME}/bin/queue ${CI_JOB_ID} --blocking
|
|
|
|
- source env/DAMASK.sh
|
|
|
|
- echo Job start:" $(date)"
|
2017-04-12 16:46:27 +05:30
|
|
|
script:
|
2021-11-15 11:45:33 +05:30
|
|
|
- module load ${COMPILER_INTEL} ${MPI_INTEL} ${PETSC_INTEL}
|
2021-11-13 23:43:10 +05:30
|
|
|
- cd $(mktemp -d)
|
2021-11-16 19:11:46 +05:30
|
|
|
- cmake -DOPTIMIZATION=AGGRESSIVE -DDAMASK_SOLVER=GRID -DCMAKE_INSTALL_PREFIX=./ ${CI_PROJECT_DIR}
|
2021-11-13 23:43:10 +05:30
|
|
|
- make -j2 all install
|
2021-11-16 19:11:46 +05:30
|
|
|
- export PATH=${PWD}/bin:${PATH}
|
2021-11-17 13:44:51 +05:30
|
|
|
- cd $(mktemp -d)
|
2023-07-17 19:09:22 +05:30
|
|
|
- git clone -q git@git.damask.mpie.de:damask/statistics.git .
|
2023-07-16 00:23:12 +05:30
|
|
|
- ./measure_performance.py --input_dir ${CI_PROJECT_DIR}/examples/grid --tag ${CI_COMMIT_SHA}
|
2021-11-16 03:35:44 +05:30
|
|
|
- >
|
2023-07-16 00:23:12 +05:30
|
|
|
if [ ${CI_COMMIT_BRANCH} == development ]; then
|
|
|
|
git add performance.txt
|
|
|
|
git commit -m ${CI_PIPELINE_ID}_${CI_COMMIT_SHA}
|
|
|
|
git push
|
|
|
|
fi
|
2017-05-17 13:45:30 +05:30
|
|
|
|
2023-07-20 12:44:11 +05:30
|
|
|
|
|
|
|
###################################################################################################
|
2023-07-16 00:23:12 +05:30
|
|
|
update_plots:
|
2023-07-20 12:44:11 +05:30
|
|
|
stage: finalize
|
2022-03-12 00:20:14 +05:30
|
|
|
script:
|
|
|
|
- cd $(mktemp -d)
|
2023-07-17 19:09:22 +05:30
|
|
|
- git clone -q git@git.damask.mpie.de:damask/statistics.git .
|
2023-07-16 00:23:12 +05:30
|
|
|
- ./plot_commithistory.py --color green -n 5 -N 100
|
|
|
|
- ./plot_commithistory.py --color green -n 5 -N 1000
|
|
|
|
- ./plot_commithistory.py --color green -n 5 -N 10000
|
2023-09-12 12:58:16 +05:30
|
|
|
- scp -r ./commits_*.html damask.mpie.de:~/
|
|
|
|
- ssh damask.mpie.de "./update_statistics_commits.sh"
|
2023-07-16 00:23:12 +05:30
|
|
|
- ./plot_performance.py --template=xgridoff
|
2023-09-12 12:58:16 +05:30
|
|
|
- scp -r ./runtime.html ./memory.html damask.mpie.de:~/
|
|
|
|
- ssh damask.mpie.de "./update_statistics_performance.sh"
|
2022-03-12 00:20:14 +05:30
|
|
|
only:
|
|
|
|
- development
|
|
|
|
|
2021-11-15 11:45:33 +05:30
|
|
|
update_revision:
|
|
|
|
stage: finalize
|
|
|
|
before_script:
|
|
|
|
- ${LOCAL_HOME}/bin/queue ${CI_JOB_ID}
|
|
|
|
- echo Job start:" $(date)"
|
2017-05-09 03:22:07 +05:30
|
|
|
script:
|
2021-11-15 11:45:33 +05:30
|
|
|
- cd $(mktemp -d)
|
|
|
|
- git clone -q git@git.damask.mpie.de:damask/DAMASK.git .
|
2021-11-13 15:27:58 +05:30
|
|
|
- git pull
|
2022-04-28 02:19:33 +05:30
|
|
|
- export VERSION=$(git describe ${CI_COMMIT_SHA})
|
2022-04-27 09:35:06 +05:30
|
|
|
- echo ${VERSION:1} > VERSION
|
2022-02-19 17:00:44 +05:30
|
|
|
- >
|
|
|
|
git diff-index --quiet HEAD ||
|
2022-04-27 09:35:06 +05:30
|
|
|
git commit VERSION -m "[skip ci] updated version information after successful test of $VERSION"
|
2023-08-04 13:24:59 +05:30
|
|
|
- if [ ${CI_COMMIT_SHA} == $(git rev-parse HEAD^) ]; then git push --atomic --no-verify origin HEAD:development HEAD:master; fi
|
2017-05-09 03:22:07 +05:30
|
|
|
only:
|
|
|
|
- development
|