Skip to content
Snippets Groups Projects
Commit 54deaaca authored by Wakefield, Rob's avatar Wakefield, Rob
Browse files

Merge branch 'CICD' into 'master'

Add runner tag to test/deploy stages of CI/CD

See merge request !4
parents 01c721f7 de45cf55
No related branches found
No related tags found
Loading
Pipeline #419097 waiting for manual action
......@@ -25,6 +25,8 @@ unit-test-job: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully.
script:
- echo "Running unit tests..."
tags:
- prod-runner # Use the runner with correct tag to run this pipeline
deploy-job: # This job runs in the deploy stage.
stage: deploy # It only runs when *all* jobs in the test stage complete successfully.
......@@ -37,4 +39,6 @@ deploy-job: # This job runs in the deploy stage.
artifacts:
paths:
- next.log # Keep output from deploy as artifact
tags:
- prod-runner # Use the runner with correct tag to run this pipeline
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment