Commit feca0573 authored by Patrizia Barria's avatar Patrizia Barria
Browse files

Update .gitlab-ci.yml file

parent 40343dd2
Loading
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
stages:
- build  # section name of the CI pipeline
- test   # other section executed AFTER 'build'
- deploy # other section AFTER 'build'

variables:
  GLOBAL_VAR_FOR_CI: unexpected text
@@ -32,3 +33,13 @@ test_job_2:
    - sleep 5
    - echo "Testing complete."
  needs: [test_job_1]   # mark this step to be executed AFTER "test_job_1"

deploy_job:
  stage: deploy  # section where to run the job
  tags:
    - git-run-ia2  # who is running the job
  script:
    - echo "Installing the program..."
    - sleep 5
    - echo "Program deployed"
  when: always
 No newline at end of file