diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 70cb56f897b13dce468ec17b355c811614c69fe8..c6a530c73fb40ee5ab323fda2f90570dd145f0f1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,8 @@ cache: &global_cache build-job: # This job runs in the build stage, which runs first. stage: build - tag: cloud + tags: + - cloud script: - echo "Compiling the code..." - echo "Compile complete." @@ -20,7 +21,8 @@ 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 + tags: + - cloud-gpu cache: # inherit all global cache settings <<: *global_cache @@ -31,7 +33,8 @@ 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 + tags: + - cloud cache: # inherit all global cache settings <<: *global_cache @@ -42,7 +45,8 @@ 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 + tags: + - cloud cache: # inherit all global cache settings <<: *global_cache