This commit is contained in:
parent
e133ba4954
commit
4234a03369
35
.drone.yml
35
.drone.yml
@ -1,36 +1,27 @@
|
|||||||
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
|
environment:
|
||||||
|
HE_USERNAME:
|
||||||
|
from_secret: HE_USERNAME
|
||||||
|
HE_PASSWORD:
|
||||||
|
from_secret: HE_PASSWORD
|
||||||
|
HE_TOTPKEY:
|
||||||
|
from_secret: HE_TOTPKEY
|
||||||
|
CF_APITOKEN:
|
||||||
|
from_secret: CF_APITOKEN
|
||||||
|
CF_ACCOUNTID:
|
||||||
|
from_secret: CF_ACCOUNTID
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Validate configuration and check changes
|
- name: Validate configuration and check changes
|
||||||
image: stackexchange/dnscontrol
|
image: stackexchange/dnscontrol
|
||||||
environment:
|
|
||||||
HE_USERNAME:
|
|
||||||
from_secret: HE_USERNAME
|
|
||||||
HE_PASSWORD:
|
|
||||||
from_secret: HE_PASSWORD
|
|
||||||
HE_TOTPKEY:
|
|
||||||
from_secret: HE_TOTPKEY
|
|
||||||
CF_APITOKEN:
|
|
||||||
from_secret: CF_APITOKEN
|
|
||||||
CF_ACCOUNTID:
|
|
||||||
from_secret: CF_ACCOUNTID
|
|
||||||
commands:
|
commands:
|
||||||
- dnscontrol preview
|
- dnscontrol preview
|
||||||
|
|
||||||
- name: Push new configuration to providers
|
- name: Push new configuration to providers
|
||||||
image: stackexchange/dnscontrol
|
image: stackexchange/dnscontrol
|
||||||
environment:
|
|
||||||
HE_USERNAME:
|
|
||||||
from_secret: HE_USERNAME
|
|
||||||
HE_PASSWORD:
|
|
||||||
from_secret: HE_PASSWORD
|
|
||||||
HE_TOTPKEY:
|
|
||||||
from_secret: HE_TOTPKEY
|
|
||||||
CF_APITOKEN:
|
|
||||||
from_secret: CF_APITOKEN
|
|
||||||
CF_ACCOUNTID:
|
|
||||||
from_secret: CF_ACCOUNTID
|
|
||||||
commands:
|
commands:
|
||||||
- dnscontrol push
|
- dnscontrol push
|
Loading…
Reference in New Issue
Block a user