Created
April 14, 2020 09:49
-
-
Save jamesmorrison/167928721593e692fff1e387ad8fcce7 to your computer and use it in GitHub Desktop.
Gitlab CI configuration for DNSControl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### Define the stages for this pipeline | |
stages: | |
- check | |
- preview | |
- deploy | |
##### Check | |
Check: | |
stage: check | |
image: stackexchange/dnscontrol | |
script: | |
- dnscontrol check | |
when: always | |
##### Preview | |
Preview: | |
stage: preview | |
image: stackexchange/dnscontrol | |
script: | |
- dnscontrol preview | |
allow_failure: false | |
# Deploy | |
Deploy: | |
stage: deploy | |
image: stackexchange/dnscontrol | |
script: | |
- dnscontrol push | |
only: | |
- master | |
when: manual |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment