Update .gitlab-ci.yml file
This commit is contained in:
parent
ac86615b77
commit
862527d60d
|
@ -23,13 +23,10 @@ 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:
|
||||||
- echo "Running unit tests... This will take about 60 seconds."
|
- echo "Test des zones $(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)."
|
||||||
- sleep 60
|
|
||||||
- echo "Code coverage is 90%"
|
|
||||||
|
|
||||||
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.
|
||||||
environment: production
|
|
||||||
script:
|
script:
|
||||||
- echo "Deploying application..."
|
- echo "Déploiement des zones $(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)..."
|
||||||
- echo "Application successfully deployed."
|
- echo "Déploiement terminé."
|
||||||
|
|
Loading…
Reference in New Issue