Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 4709cea2 authored by Philippe Virouleau's avatar Philippe Virouleau Committed by Alexandre MERLIN
Browse files

Preview branches in resources explorer

parent a9922e64
No related branches found
No related tags found
1 merge request!926Add a job to preview branches in resources explorer
Pipeline #1123808 passed
Pipeline: Resources Explorer

#1123814

    ......@@ -99,6 +99,28 @@ rebuild_resources_explorer:
    # as the pipeline is triggered, regardless of its status.
    strategy: depend
    preview_resources_explorer:
    stage: deploy
    # NOTE: this job triggers a rebuild of resources explorer which will be
    # automatically deployed to a specific environment.
    # Resources Explorer build environments are available here:
    # https://gitlab.inria.fr/grid5000/resources-explorer/-/environments
    rules:
    # Do not create the job on master
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
    when: never
    # But create a manual job on branches
    - if: $CI_COMMIT_BRANCH
    when: manual
    variables:
    NEXT_PUBLIC_REFREPO_BRANCH: $CI_COMMIT_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:
    stage: check # we use 'checks' here to avoid blocking on this when updating the ref-repo
    extends: .template-refrepo
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment