Mentions légales du service

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

[ci] wikigen: use diff for all branches and update for master

parent 3ef5574d
No related branches found
No related tags found
No related merge requests found
Pipeline #1123504 failed
...@@ -51,12 +51,16 @@ wikigen: ...@@ -51,12 +51,16 @@ wikigen:
- GENERATOR: [site_hardware, site_network] - GENERATOR: [site_hardware, site_network]
SITE: [grenoble, lille, luxembourg, lyon, nancy, nantes, rennes, sophia, strasbourg, toulouse] SITE: [grenoble, lille, luxembourg, lyon, nancy, nantes, rennes, sophia, strasbourg, toulouse]
DEBIAN_VERSION: [bookworm] DEBIAN_VERSION: [bookworm]
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
variables:
WIKI: "update"
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
variables:
WIKI: "diff"
script: script:
- echo "$GRID5000_API" > "${HOME}/.grid5000_api.yml" - echo "$GRID5000_API" > "${HOME}/.grid5000_api.yml"
- bundle exec rake gen:wiki NAME=${GENERATOR} SITE=${SITE} DO=diff - bundle exec rake gen:wiki NAME=${GENERATOR} SITE=${SITE} DO=${WIKI}
only:
refs:
- master
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