diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f4f3b2456eb4d81dadc96f4565e24138e9a61346..70cb56f897b13dce468ec17b355c811614c69fe8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,7 @@ cache: &global_cache build-job: # This job runs in the build stage, which runs first. stage: build + tag: cloud script: - echo "Compiling the code..." - echo "Compile complete." @@ -19,6 +20,7 @@ build-job: # This job runs in the build stage, which runs first. unit-test-job: # This job runs in the test stage. stage: test # It only starts when the job in the build stage completes successfully. + tag: cloud-gpu cache: # inherit all global cache settings <<: *global_cache @@ -29,6 +31,7 @@ unit-test-job: # This job runs in the test stage. lint-test-job: # This job also runs in the test stage. stage: test # It can run at the same time as unit-test-job (in parallel). + tag: cloud cache: # inherit all global cache settings <<: *global_cache @@ -39,6 +42,7 @@ lint-test-job: # This job also runs in the test stage. deploy-job: # This job runs in the deploy stage. stage: deploy # It only runs when *both* jobs in the test stage complete successfully. + tag: cloud cache: # inherit all global cache settings <<: *global_cache