Loading .gitlab-ci.yml +31 −26 Original line number Diff line number Diff line Loading @@ -76,33 +76,38 @@ build-job: script: - echo "Hello, $GITLAB_USER_LOGIN!" test-job1: test-job: stage: test script: - echo "This job tests something" - source /alma/ACS-2020AUG/ACSSW/config/.acs/.bash_profile.acs - acsStart test-job2: stage: test script: - 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" - git clone https://www.ict.inaf.it/gitlab/astri/scada/tcs.git test-job3: stage: test script: - 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" - git clone git@git.ia2.inaf.it:nicolo.parmiggiani/test_ci_2.git - ls -la deploy-prod: stage: deploy script: - echo "This job deploys something from the $CI_COMMIT_BRANCH branch." - echo "test 1" #test-job1: # stage: test # script: # - echo "This job tests something" # - source /alma/ACS-2020AUG/ACSSW/config/.acs/.bash_profile.acs # - acsStart #test-job2: # stage: test # script: # - 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" # - git clone https://www.ict.inaf.it/gitlab/astri/scada/tcs.git #test-job3: # stage: test # script: # - 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" # - git clone git@git.ia2.inaf.it:nicolo.parmiggiani/test_ci_2.git # - ls -la #deploy-prod: # stage: deploy # script: # - echo "This job deploys something from the $CI_COMMIT_BRANCH branch." Loading
.gitlab-ci.yml +31 −26 Original line number Diff line number Diff line Loading @@ -76,33 +76,38 @@ build-job: script: - echo "Hello, $GITLAB_USER_LOGIN!" test-job1: test-job: stage: test script: - echo "This job tests something" - source /alma/ACS-2020AUG/ACSSW/config/.acs/.bash_profile.acs - acsStart test-job2: stage: test script: - 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" - git clone https://www.ict.inaf.it/gitlab/astri/scada/tcs.git test-job3: stage: test script: - 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" - git clone git@git.ia2.inaf.it:nicolo.parmiggiani/test_ci_2.git - ls -la deploy-prod: stage: deploy script: - echo "This job deploys something from the $CI_COMMIT_BRANCH branch." - echo "test 1" #test-job1: # stage: test # script: # - echo "This job tests something" # - source /alma/ACS-2020AUG/ACSSW/config/.acs/.bash_profile.acs # - acsStart #test-job2: # stage: test # script: # - 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" # - git clone https://www.ict.inaf.it/gitlab/astri/scada/tcs.git #test-job3: # stage: test # script: # - 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" # - git clone git@git.ia2.inaf.it:nicolo.parmiggiani/test_ci_2.git # - ls -la #deploy-prod: # stage: deploy # script: # - echo "This job deploys something from the $CI_COMMIT_BRANCH branch."