Mentions légales du service

Skip to content
Snippets Groups Projects
Commit b3f58ba9 authored by POUILLOUX Laurent's avatar POUILLOUX Laurent Committed by POUILLOUX Laurent
Browse files

[ci] factorize docker per site for wikigen

parent a24c6240
No related branches found
No related tags found
1 merge request!1093Use one runner per site for wikigen and add Louvain site
...@@ -43,18 +43,22 @@ wikigen: ...@@ -43,18 +43,22 @@ wikigen:
extends: .template-refrepo extends: .template-refrepo
stage: check stage: check
allow_failure: true allow_failure: true
variables:
SITE_GENERATORS: site_hardware site_network
GLOBAL_GENERATORS: cpu_parameters disk_reservation environments group_storage hardware kwollect_metrics oar_properties status
parallel: parallel:
matrix: matrix:
- GENERATOR: [cpu_parameters, disk_reservation, environments, group_storage, hardware, kwollect_metrics, oar_properties, status] - SITE: [global, grenoble, lille, luxembourg, lyon, nancy, nantes, rennes, sophia, strasbourg, toulouse]
SITE: global
DEBIAN_VERSION: [bookworm]
- GENERATOR: [site_hardware, site_network]
SITE: [grenoble, lille, luxembourg, lyon, nancy, nantes, rennes, sophia, strasbourg, toulouse]
DEBIAN_VERSION: [bookworm] DEBIAN_VERSION: [bookworm]
script: script:
- echo "$GRID5000_API" > "${HOME}/.grid5000_api.yml" - echo "$GRID5000_API" > "${HOME}/.grid5000_api.yml"
- if [ "${SITE}" = "global" ]; then export GENERATORS=$GLOBAL_GENERATORS ; else export GENERATORS=$SITE_GENERATORS; fi
- if [ "$CI_COMMIT_BRANCH" = "master" ]; then export WIKI="update"; else export WIKI="diff"; fi - if [ "$CI_COMMIT_BRANCH" = "master" ]; then export WIKI="update"; else export WIKI="diff"; fi
- bundle exec rake gen:wiki NAME=${GENERATOR} SITE=${SITE} DO=${WIKI} - for GENERATOR in ${GENERATORS}; do
echo "Running $GENERATOR" ;
bundle exec rake gen:wiki NAME=${GENERATOR} SITE=${SITE} DO=${WIKI} ;
echo " ";
done
check-no-changes-in-data: check-no-changes-in-data:
extends: .template-refrepo extends: .template-refrepo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment