From e3bf2d44aabfe2226013e0608743a2d70da884aa Mon Sep 17 00:00:00 2001 From: Stephan Schulz <stephan.schulz-x2q@rub.de> Date: Mon, 1 Feb 2021 13:28:14 +0100 Subject: [PATCH] remove badges generation from CI --- .gitlab-ci.yml | 168 ---------------------------------- ci/build_mpi.sh | 12 --- ci/build_mpi_complete.sh | 12 --- ci/build_mpi_complete_gcc8.sh | 12 --- ci/build_mpi_fortran.sh | 12 --- ci/build_mpi_fortran_f08.sh | 12 --- ci/build_mpi_voronoi.sh | 12 --- 7 files changed, 240 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1c99ee0..0bf894f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,4 @@ stages: - - init - test_projects - build_mpich_gcc8 - build_openmpi_gcc8 @@ -17,23 +16,6 @@ before_script: # - ls -l ci - mkdir -p badges/ -badges: - stage: init - tags: - - linux - when: always - only: - - master - script: - ./ci/build_mpi.sh --badge-filename badge_build-openmpi_${CI_COMMIT_REF_NAME}.svg --badge-only - artifacts: - name: pages - when: always - paths: - - badges/ - allow_failure: true - - build-mpich-nofortran-gcc8: stage: build_mpich_gcc8 image: gitlab.version.fz-juelich.de:5555/slms/loadbalancing/mpich-gcc8-full @@ -42,11 +24,6 @@ build-mpich-nofortran-gcc8: when: always script: - ./ci/build_mpi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-nofortran-gcc9: @@ -57,11 +34,6 @@ build-mpich-nofortran-gcc9: when: always script: - ./ci/build_mpi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-nofortran-gcc10: @@ -72,11 +44,6 @@ build-mpich-nofortran-gcc10: when: always script: - ./ci/build_mpi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-fortran-gcc8: @@ -87,11 +54,6 @@ build-mpich-fortran-gcc8: when: always script: - ./ci/build_mpi_fortran.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-fortran-gcc9: @@ -102,11 +64,6 @@ build-mpich-fortran-gcc9: when: always script: - ./ci/build_mpi_fortran.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-fortran-gcc10: @@ -117,11 +74,6 @@ build-mpich-fortran-gcc10: when: always script: - ./ci/build_mpi_fortran.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false #build-mpich-fortran-f08-gcc8: @@ -132,11 +84,6 @@ build-mpich-fortran-gcc10: # when: always # script: # - ./ci/build_mpi_fortran_f08.sh -# artifacts: -# name: pages -# when: always -# paths: -# - badges/ # allow_failure: true build-mpich-fortran-f08-gcc9: @@ -147,11 +94,6 @@ build-mpich-fortran-f08-gcc9: when: always script: - ./ci/build_mpi_fortran_f08.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-fortran-f08-gcc10: @@ -162,11 +104,6 @@ build-mpich-fortran-f08-gcc10: when: always script: - ./ci/build_mpi_fortran_f08.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-voronoi-gcc8: @@ -177,11 +114,6 @@ build-mpich-voronoi-gcc8: when: always script: - ./ci/build_mpi_voronoi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-voronoi-gcc9: @@ -192,11 +124,6 @@ build-mpich-voronoi-gcc9: when: always script: - ./ci/build_mpi_voronoi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-voronoi-gcc10: @@ -207,11 +134,6 @@ build-mpich-voronoi-gcc10: when: always script: - ./ci/build_mpi_voronoi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-nofortran-gcc8: @@ -222,11 +144,6 @@ build-openmpi-nofortran-gcc8: when: always script: - ./ci/build_mpi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-nofortran-gcc9: @@ -237,11 +154,6 @@ build-openmpi-nofortran-gcc9: when: always script: - ./ci/build_mpi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-nofortran-gcc10: @@ -252,11 +164,6 @@ build-openmpi-nofortran-gcc10: when: always script: - ./ci/build_mpi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-fortran-gcc8: @@ -267,11 +174,6 @@ build-openmpi-fortran-gcc8: when: always script: - ./ci/build_mpi_fortran.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-fortran-gcc9: @@ -282,11 +184,6 @@ build-openmpi-fortran-gcc9: when: always script: - ./ci/build_mpi_fortran.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-fortran-gcc10: @@ -297,11 +194,6 @@ build-openmpi-fortran-gcc10: when: always script: - ./ci/build_mpi_fortran.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-fortran-f08-gcc8: @@ -312,11 +204,6 @@ build-openmpi-fortran-f08-gcc8: when: always script: - ./ci/build_mpi_fortran_f08.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: true build-openmpi-fortran-f08-gcc9: @@ -327,11 +214,6 @@ build-openmpi-fortran-f08-gcc9: when: always script: - ./ci/build_mpi_fortran_f08.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: true build-openmpi-fortran-f08-gcc10: @@ -342,11 +224,6 @@ build-openmpi-fortran-f08-gcc10: when: always script: - ./ci/build_mpi_fortran_f08.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: true build-openmpi-voronoi-gcc8: @@ -357,11 +234,6 @@ build-openmpi-voronoi-gcc8: when: always script: - ./ci/build_mpi_voronoi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: true build-openmpi-voronoi-gcc9: @@ -372,11 +244,6 @@ build-openmpi-voronoi-gcc9: when: always script: - ./ci/build_mpi_voronoi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: true build-openmpi-voronoi-gcc10: @@ -387,11 +254,6 @@ build-openmpi-voronoi-gcc10: when: always script: - ./ci/build_mpi_voronoi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: true build-mpich-complete-gcc8: @@ -402,11 +264,6 @@ build-mpich-complete-gcc8: when: always script: - ./ci/build_mpi_complete_gcc8.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: true build-mpich-complete-gcc9: @@ -417,11 +274,6 @@ build-mpich-complete-gcc9: when: always script: - ./ci/build_mpi_complete.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-complete-gcc10: @@ -432,11 +284,6 @@ build-mpich-complete-gcc10: when: always script: - ./ci/build_mpi_complete.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-complete-gcc8: @@ -447,11 +294,6 @@ build-openmpi-complete-gcc8: when: always script: - ./ci/build_mpi_complete.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-complete-gcc9: @@ -462,11 +304,6 @@ build-openmpi-complete-gcc9: when: always script: - ./ci/build_mpi_complete.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-complete-gcc10: @@ -477,11 +314,6 @@ build-openmpi-complete-gcc10: when: always script: - ./ci/build_mpi_complete.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false test-project-cmake: diff --git a/ci/build_mpi.sh b/ci/build_mpi.sh index c056795..4733e3b 100755 --- a/ci/build_mpi.sh +++ b/ci/build_mpi.sh @@ -1,10 +1,6 @@ #!/bin/bash source $(cd "$(dirname "$0")"; pwd -P)/ci_funcs.sh -# create badge -create_badge "${BADGE_FILENAME}" build-mpi unknown "--color=#808080" -[[ ${BADGE_ONLY} ]] && pushbadge_exit "${BADGE_FILENAME}" 0 - # load MPI environment load_MPI @@ -16,12 +12,4 @@ if [[ $? == 0 ]]; then #CC=/usr/lib64/mpi/gcc/openmpi3/bin/mpicc CXX=/usr/lib64/mpi/gcc/openmpi3/bin/mpicxx FC=/usr/lib64/mpi/gcc/openmpi3/bin/mpif90 ${CMAKE} .. ${CMAKE} .. make VERBOSE=1 - - if [[ $? == 0 ]]; then - create_badge "${BADGE_FILENAME}" build-mpi passed --color=green - pushbadge_exit "${BADGE_FILENAME}" 0 - fi fi - -create_badge "${BADGE_FILENAME}" build-mpi failed --color=red -pushbadge_exit "${BADGE_FILENAME}" 1 diff --git a/ci/build_mpi_complete.sh b/ci/build_mpi_complete.sh index 670a31e..aedfd0d 100755 --- a/ci/build_mpi_complete.sh +++ b/ci/build_mpi_complete.sh @@ -1,10 +1,6 @@ #!/bin/bash source $(cd "$(dirname "$0")"; pwd -P)/ci_funcs.sh -# create badge -create_badge "${BADGE_FILENAME}" build-mpi unknown "--color=#808080" -[[ ${BADGE_ONLY} ]] && pushbadge_exit "${BADGE_FILENAME}" 0 - # load MPI environment load_MPI @@ -17,12 +13,4 @@ if [[ $? == 0 ]]; then ${CMAKE} .. -DCM_ALL_FORTRAN=ON -DCM_ALL_USE_F08=ON -DCM_ALL_VORONOI=ON -DCM_ALL_VTK_OUTPUT=ON -DCM_ALL_TESTS=ON -DCM_ALL_AUTO_DOC=ON -DVTK_DIR=/usr/local/lib/cmake/vtk-7.1 make VERBOSE=1 make test - - if [[ $? == 0 ]]; then - create_badge "${BADGE_FILENAME}" build-mpi passed --color=green - pushbadge_exit "${BADGE_FILENAME}" 0 - fi fi - -create_badge "${BADGE_FILENAME}" build-mpi failed --color=red -pushbadge_exit "${BADGE_FILENAME}" 1 diff --git a/ci/build_mpi_complete_gcc8.sh b/ci/build_mpi_complete_gcc8.sh index a91b282..e8ba3ad 100755 --- a/ci/build_mpi_complete_gcc8.sh +++ b/ci/build_mpi_complete_gcc8.sh @@ -1,10 +1,6 @@ #!/bin/bash source $(cd "$(dirname "$0")"; pwd -P)/ci_funcs.sh -# create badge -create_badge "${BADGE_FILENAME}" build-mpi unknown "--color=#808080" -[[ ${BADGE_ONLY} ]] && pushbadge_exit "${BADGE_FILENAME}" 0 - # load MPI environment load_MPI @@ -17,12 +13,4 @@ if [[ $? == 0 ]]; then ${CMAKE} .. -DCM_ALL_FORTRAN=ON -DCM_ALL_VORONOI=ON -DCM_ALL_VTK_OUTPUT=ON -DCM_ALL_TESTS=ON -DCM_ALL_AUTO_DOC=ON -DVTK_DIR=/usr/local/lib/cmake/vtk-7.1 make VERBOSE=1 make test - - if [[ $? == 0 ]]; then - create_badge "${BADGE_FILENAME}" build-mpi passed --color=green - pushbadge_exit "${BADGE_FILENAME}" 0 - fi fi - -create_badge "${BADGE_FILENAME}" build-mpi failed --color=red -pushbadge_exit "${BADGE_FILENAME}" 1 diff --git a/ci/build_mpi_fortran.sh b/ci/build_mpi_fortran.sh index df30360..c75ddfb 100755 --- a/ci/build_mpi_fortran.sh +++ b/ci/build_mpi_fortran.sh @@ -1,10 +1,6 @@ #!/bin/bash source $(cd "$(dirname "$0")"; pwd -P)/ci_funcs.sh -# create badge -create_badge "${BADGE_FILENAME}" build-mpi unknown "--color=#808080" -[[ ${BADGE_ONLY} ]] && pushbadge_exit "${BADGE_FILENAME}" 0 - # load MPI environment load_MPI @@ -19,12 +15,4 @@ if [[ $? == 0 ]]; then #CC=/usr/lib64/mpi/gcc/openmpi3/bin/mpicc CXX=/usr/lib64/mpi/gcc/openmpi3/bin/mpicxx FC=/usr/lib64/mpi/gcc/openmpi3/bin/mpifort ${CMAKE} .. -DCM_ALL_FORTRAN=ON ${CMAKE} .. -DCM_ALL_FORTRAN=ON make VERBOSE=1 - - if [[ $? == 0 ]]; then - create_badge "${BADGE_FILENAME}" build-mpi passed --color=green - pushbadge_exit "${BADGE_FILENAME}" 0 - fi fi - -create_badge "${BADGE_FILENAME}" build-mpi failed --color=red -pushbadge_exit "${BADGE_FILENAME}" 1 diff --git a/ci/build_mpi_fortran_f08.sh b/ci/build_mpi_fortran_f08.sh index b998fb0..f6509e6 100755 --- a/ci/build_mpi_fortran_f08.sh +++ b/ci/build_mpi_fortran_f08.sh @@ -1,10 +1,6 @@ #!/bin/bash source $(cd "$(dirname "$0")"; pwd -P)/ci_funcs.sh -# create badge -create_badge "${BADGE_FILENAME}" build-mpi unknown "--color=#808080" -[[ ${BADGE_ONLY} ]] && pushbadge_exit "${BADGE_FILENAME}" 0 - # load MPI environment load_MPI @@ -19,12 +15,4 @@ if [[ $? == 0 ]]; then #CC=/usr/lib64/mpi/gcc/openmpi3/bin/mpicc CXX=/usr/lib64/mpi/gcc/openmpi3/bin/mpicxx FC=/usr/lib64/mpi/gcc/openmpi3/bin/mpifort ${CMAKE} .. -DCM_ALL_FORTRAN=ON -DCM_ALL_USE_F08=ON ${CMAKE} .. -DCM_ALL_FORTRAN=ON -DCM_ALL_USE_F08=ON make VERBOSE=1 - - if [[ $? == 0 ]]; then - create_badge "${BADGE_FILENAME}" build-mpi passed --color=green - pushbadge_exit "${BADGE_FILENAME}" 0 - fi fi - -create_badge "${BADGE_FILENAME}" build-mpi failed --color=red -pushbadge_exit "${BADGE_FILENAME}" 1 diff --git a/ci/build_mpi_voronoi.sh b/ci/build_mpi_voronoi.sh index 9d68a22..c048994 100755 --- a/ci/build_mpi_voronoi.sh +++ b/ci/build_mpi_voronoi.sh @@ -1,10 +1,6 @@ #!/bin/bash source $(cd "$(dirname "$0")"; pwd -P)/ci_funcs.sh -# create badge -create_badge "${BADGE_FILENAME}" build-mpi unknown "--color=#808080" -[[ ${BADGE_ONLY} ]] && pushbadge_exit "${BADGE_FILENAME}" 0 - # load MPI environment load_MPI @@ -16,12 +12,4 @@ if [[ $? == 0 ]]; then #CC=/usr/lib64/mpi/gcc/openmpi3/bin/mpicc CXX=/usr/lib64/mpi/gcc/openmpi3/bin/mpicxx FC=/usr/lib64/mpi/gcc/openmpi3/bin/mpif90 ${CMAKE} .. -DCM_ALL_VORONOI=ON ${CMAKE} .. -DCM_ALL_VORONOI=ON make VERBOSE=1 - - if [[ $? == 0 ]]; then - create_badge "${BADGE_FILENAME}" build-mpi passed --color=green - pushbadge_exit "${BADGE_FILENAME}" 0 - fi fi - -create_badge "${BADGE_FILENAME}" build-mpi failed --color=red -pushbadge_exit "${BADGE_FILENAME}" 1 -- GitLab