When I was testing on just DEV, it was easy. One pipeline to set up one set
of tests used one gitlab-ci.yml file which had one Gitlab Runner which had
permission to go to the DEV server, called up by:
tags:
- dev
# BUILD STAGE
verify_navigation:
stage: build
script:
- bundle exec
# TEST STAGE:
# Did everything pass in the Build stage? These tests are kicked off.
# Environment built is reused to run these tests.
Alerts:
stage: test
...
Authorization:
stage: test
...
Now, I have two environments: DEV and STAGE. Each has their own GitLab
Runner with their own tags, "dev" or "stage". I now have two scheduled
pipelines, one for DEV and one for STAGE.
I can run one schedule, or the other, but not both, since I can't figure
out how to pass the tags "dev" or "stage" to GitLab via schedule variables
in order to switch to the GitLab Runner I need.
-T.J. Maher
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/gitlabhq/0fc5b01f-4ccf-438e-82f5-8ad925e15435%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.