Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 9acf1466 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

gitlab-ci: improve condition of scheduled job

parent c494c74f
No related branches found
No related tags found
No related merge requests found
Pipeline #1138950 passed
......@@ -85,7 +85,7 @@ benchmark:
stage: test
tags: ['plafrim']
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_PIPELINE_SOURCE == "schedule" && $CI_PIPELINE_SCHEDULE_DESCRIPTION == "Benchmarks"
needs: []
variables:
CI_HOSTNAME: zonda
......@@ -109,7 +109,7 @@ database:
stage: deploy
tags: ['plafrim']
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_PIPELINE_SOURCE == "schedule" && $CI_PIPELINE_SCHEDULE_DESCRIPTION == "Benchmarks"
needs: ['benchmark']
script:
- guix time-machine -C .guix/scalfmm-channels.scm -- shell --pure --preserve="^CI|proxy$"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment