Commit 7df21aa8 by 张思远

runner tags

parent 4fe02c1a
Pipeline #155 canceled with stages
...@@ -2,11 +2,15 @@ build-job: ...@@ -2,11 +2,15 @@ build-job:
stage: build stage: build
script: script:
- echo "Hello, $GITLAB_USER_LOGIN!" - echo "Hello, $GITLAB_USER_LOGIN!"
tags:
- test
test-job1: test-job1:
stage: test stage: test
script: script:
- echo "This job tests something" - echo "This job tests something"
tags:
- test
test-job2: test-job2:
stage: test stage: test
...@@ -15,9 +19,13 @@ test-job2: ...@@ -15,9 +19,13 @@ test-job2:
- echo "After the echo commands complete, it runs the sleep command for 20 seconds" - 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" - echo "which simulates a test that runs 20 seconds longer than test-job1"
- sleep 20 - sleep 20
tags:
- test
deploy-prod: deploy-prod:
stage: deploy stage: deploy
script: script:
- echo "This job deploys something from the $CI_COMMIT_BRANCH branch." - echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
environment: production environment: production
tags:
- test
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment