From 6089bc927580d1878be8217f8ab1c5ec0dc38e11 Mon Sep 17 00:00:00 2001 From: Klaus Reuter <khr@mpcdf.mpg.de> Date: Wed, 20 Jul 2022 18:32:36 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 70cb56f..c6a530c 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 -- GitLab