Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-10-10 17:02:29 +00:00
parent 48674976e5
commit 6e990c2c4d
1 changed files with 4 additions and 2 deletions

View File

@ -23,7 +23,8 @@ stages: # List of stages for jobs, and their order of execution
test-job: # This job runs in the test stage. test-job: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully. stage: test # It only starts when the job in the build stage completes successfully.
script: script:
- |+ # Recherche de zones à tester - |+
echo Recherche de zones à tester
if [ ! -z "$CI_RELOAD" ] if [ ! -z "$CI_RELOAD" ]
then then
files=$(find . -name "*.zone" -printf %P) files=$(find . -name "*.zone" -printf %P)
@ -41,7 +42,8 @@ test-job: # This job runs in the test stage.
deploy-job: # This job runs in the deploy stage. deploy-job: # This job runs in the deploy stage.
stage: deploy # It only runs when *both* jobs in the test stage complete successfully. stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
script: script:
- |+ # Recherche de zones à déployer - |+
echo Recherche de zones à déployer
if [ ! -z "$CI_RELOAD" ] if [ ! -z "$CI_RELOAD" ]
then then
files=$(find . -name "*.zone" -printf %P) files=$(find . -name "*.zone" -printf %P)