mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-08 09:00:13 +08:00

- 🐞 fix IPv6 resolution: 2601-41d0-2-e01e--56dB-3598.sSLIP.io. → 2601:41d0:2:e01e::56db (wrong) → 2601:41d0:2:e01e::56db:3598 (right) - 🐞 fix IPv4 resolution: minio-01.192-168-1-100.sslip.io → 1.192.168.1 (wrong) → 192.168.1.100 (right) - MX records are customized - sslip.io's records point to protonmail - everyone else's point to themselves (whatever FQDN they queried) - License switched to Apache because GNU is too burdensome (trust me, I've been on the receiving end) - include notes for myself to create BOSH releases (DEVELOPER.md)
956 B
956 B
Updating BOSH Releases
export OLD_VERSION=1.1.2
export VERSION=1.2.0
cd ~/workspace/sslip.io
git pull -r
lpass show a # refresh LastPass token
. ~/workspace/deployments/.envrc # set BOSH auth
export BOSH_DEPLOYMENT=sslip.io-dns-server
bosh create-release --force
bosh upload-release
bosh -n -d sslip.io-dns-server deploy ~/workspace/deployments/sslip.io-dns-server.yml --recreate
bosh instances # record the IP address of the instance
IP=10.0.250.22
dig +short 127.0.0.1.example.com @$IP # 127.0.0.1
dig +short ns example.com @$IP # ns-aws, ns-azure, ns-gce
dig +short mx example.com @$IP # 1 x themselves
dig +short mx sslip.io @$IP # 2 x protonmail
bosh upload-blobs
bosh create-release \
--final \
--tarball ~/Downloads/pdns-release-${VERSION}.tgz \
--version ${VERSION} --force
git add -N releases/ .final_builds/
git add -p
git ci -v # BOSH release: 1.2.0: bugfixes
git tag $VERSION
git push
git push --tags