Commit 879f951a authored by Nicolo Parmiggiani's avatar Nicolo Parmiggiani
Browse files

Update .gitlab-ci.yml

parent 79af5eff
Loading
Loading
Loading
Loading
Loading
+31 −26
Original line number Original line Diff line number Diff line
@@ -76,33 +76,38 @@ build-job:
  script:
  script:
    - echo "Hello, $GITLAB_USER_LOGIN!"
    - echo "Hello, $GITLAB_USER_LOGIN!"


test-job1:
test-job:
  stage: test
  stage: test
  script:
  script:
    - echo "This job tests something"
    - echo "test 1"
    - source /alma/ACS-2020AUG/ACSSW/config/.acs/.bash_profile.acs

    - acsStart
#test-job1:
  
#  stage: test

#  script:
test-job2:
#    - echo "This job tests something"
  stage: test
#    - source /alma/ACS-2020AUG/ACSSW/config/.acs/.bash_profile.acs
  script:
#    - acsStart
    - echo "This job tests something, but takes more time than test-job1."
  
    - echo "After the echo commands complete, it runs the sleep command for 20 seconds"

    - echo "which simulates a test that runs 20 seconds longer than test-job1"
#test-job2:
    - git clone https://www.ict.inaf.it/gitlab/astri/scada/tcs.git
#  stage: test

#  script:

#    - echo "This job tests something, but takes more time than test-job1."
test-job3:
#    - echo "After the echo commands complete, it runs the sleep command for 20 seconds"
  stage: test
#    - echo "which simulates a test that runs 20 seconds longer than test-job1"
  script:
#    - git clone https://www.ict.inaf.it/gitlab/astri/scada/tcs.git
    - echo "This job tests something, but takes more time than test-job1."

    - echo "After the echo commands complete, it runs the sleep command for 20 seconds"

    - echo "which simulates a test that runs 20 seconds longer than test-job1"
#test-job3:
    - git clone git@git.ia2.inaf.it:nicolo.parmiggiani/test_ci_2.git
#  stage: test
    - ls -la 
#  script:

#    - echo "This job tests something, but takes more time than test-job1."
deploy-prod:
#    - echo "After the echo commands complete, it runs the sleep command for 20 seconds"
  stage: deploy
#    - echo "which simulates a test that runs 20 seconds longer than test-job1"
  script:
#    - git clone git@git.ia2.inaf.it:nicolo.parmiggiani/test_ci_2.git
    - echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
#    - ls -la 

#deploy-prod:
#  stage: deploy
#  script:
#    - echo "This job deploys something from the $CI_COMMIT_BRANCH branch."