Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 41a82b9b authored by Philippe Virouleau's avatar Philippe Virouleau
Browse files

Merge branch 'rebuild-re-onchange' into 'master'

Rebuild resources explorer automatically

See merge request !902
parents aa41e45b bd59c163
No related branches found
No related tags found
1 merge request!902Rebuild resources explorer automatically
Pipeline #1095321 passed with warnings
Pipeline: Resources Explorer

#1095327

    ...@@ -4,6 +4,7 @@ stages: ...@@ -4,6 +4,7 @@ stages:
    - lint - lint
    - check - check
    - generate-access-history - generate-access-history
    - deploy
    include: include:
    - project: 'grid5000/grid5000-gitlab-templates' - project: 'grid5000/grid5000-gitlab-templates'
    ...@@ -86,6 +87,20 @@ deploy-to-api-servers: ...@@ -86,6 +87,20 @@ deploy-to-api-servers:
    script: script:
    - /srv/ci-runner-scripts/bin/update-api-servers - /srv/ci-runner-scripts/bin/update-api-servers
    rebuild_resources_explorer:
    stage: deploy
    # NOTE: this job triggers a rebuild of resources explorer which will be
    # automatically deployed to production if it succeeds, therefore it is only
    # ran on the main branch.
    rules:
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
    trigger:
    project: grid5000/resources-explorer
    # This mirrors the status of RE's pipeline into our own.
    # We may want to revisit this if we want to show a "green" job as soon
    # as the pipeline is triggered, regardless of its status.
    strategy: depend
    rspec: rspec:
    stage: check # we use 'checks' here to avoid blocking on this when updating the ref-repo stage: check # we use 'checks' here to avoid blocking on this when updating the ref-repo
    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