Update burble.dn42 servers and drone pipeline
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Marsh 2021-12-22 14:25:52 +00:00
parent fe76822f51
commit 4f41956565
Signed by: burble
GPG Key ID: 0FCCD13AE1CF7ED8
2 changed files with 28 additions and 15 deletions

View File

@ -1,21 +1,40 @@
--- ---
kind: pipeline kind: pipeline
type: exec type: docker
name: default name: default
steps: steps:
- name: build - name: build
image: golang
environment: environment:
CGO_ENABLED: 0 CGO_ENABLED: 0
commands: commands:
- go build - go build
- name: stage - name: upload
commands: image: plugins/s3
- stage_artifact.sh dn42promsrv dn42promsrv settings:
bucket: artifacts
access_key:
from_secret: MINIO_ACCESS_KEY
secret_key:
from_secret: MINIO_SECRET_KEY
endpoint: https://minio.burble.dn42
region: uk-lon3
path_style: true
source: dn42promsrv
target: /dn42promsrv/${DRONE_BRANCH}
- name: promote ---
commands: kind: secret
- promote_artifact.sh dn42promsrv name: MINIO_ACCESS_KEY
when: get:
branch: master path: burble.dn42/kv/data/drone/minio
name: ACCESS_KEY
---
kind: secret
name: MINIO_SECRET_KEY
get:
path: burble.dn42/kv/data/drone/minio
name: SECRET_KEY

6
dns.go
View File

@ -114,14 +114,8 @@ var dns_servers = []*DNSServer{
&DNSServer{"burble.dn42", "burble", "de-fra1", 6, &DNSServer{"burble.dn42", "burble", "de-fra1", 6,
"[fd42:4242:2601:3102:a25e:b7ff:feea:64ed]:53", 0}, "[fd42:4242:2601:3102:a25e:b7ff:feea:64ed]:53", 0},
&DNSServer{"burble.dn42", "burble", "us-dal3", 6,
"[fd42:4242:2601:2a02:a25e:b7ff:feea:64ed]:53", 0},
&DNSServer{"burble.dn42", "burble", "sg-sin2", 6,
"[fd42:4242:2601:3702:a25e:b7ff:feea:64ed]:53", 0},
&DNSServer{"burble.dn42", "burble", "ca-bhs2", 6, &DNSServer{"burble.dn42", "burble", "ca-bhs2", 6,
"[fd42:4242:2601:2d02:a25e:b7ff:feea:64ed]:53", 0}, "[fd42:4242:2601:2d02:a25e:b7ff:feea:64ed]:53", 0},
&DNSServer{"burble.dn42", "burble", "us-lax1", 6,
"[fd42:4242:2601:3a02:a25e:b7ff:feea:64ed]:53", 0},
// jrb0001 // jrb0001