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.
|
||||
stage: test # It only starts when the job in the build stage completes successfully.
|
||||
script:
|
||||
- echo "Running unit tests... This will take about 60 seconds."
|
||||
- sleep 60
|
||||
- echo "Code coverage is 90%"
|
||||
- echo "Test des zones $(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)."
|
||||
|
||||
deploy-job: # This job runs in the deploy stage.
|
||||
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
||||
environment: production
|
||||
script:
|
||||
- echo "Deploying application..."
|
||||
- echo "Application successfully deployed."
|
||||
- echo "Déploiement des zones $(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)..."
|
||||
- echo "Déploiement terminé."
|
||||
|
|
Loading…
Reference in New Issue