From 55e23e34a3a64e6f6ec11284ac95cee2020b8dc6 Mon Sep 17 00:00:00 2001
From: Brian Cunnie
Date: Sun, 20 Jun 2021 19:54:28 -0700
Subject: [PATCH] BOSH release: 2.2.0: TXT records return IP addrs
---
.../packages/sslip.io-dns-server/index.yml | 4 ++++
bosh-release/releases/sslip.io/index.yml | 2 ++
.../releases/sslip.io/sslip.io-2.2.0.yml | 23 +++++++++++++++++++
docs/DEVELOPER.md | 14 +++++++----
k8s/document_root/index.html | 2 +-
5 files changed, 39 insertions(+), 6 deletions(-)
create mode 100644 bosh-release/releases/sslip.io/sslip.io-2.2.0.yml
diff --git a/bosh-release/.final_builds/packages/sslip.io-dns-server/index.yml b/bosh-release/.final_builds/packages/sslip.io-dns-server/index.yml
index 2611280..7d15bfc 100644
--- a/bosh-release/.final_builds/packages/sslip.io-dns-server/index.yml
+++ b/bosh-release/.final_builds/packages/sslip.io-dns-server/index.yml
@@ -43,6 +43,10 @@ builds:
version: c198e1018a0b426a62661f71bc61879642802cc23e207fb9ef13224c583d1e9a
blobstore_id: 10038cb4-0c16-4fbc-4624-2760ea52c601
sha1: sha256:0ffa9df396a1b59f496a1e50de2877435a051cdcf9ef60d72910e76fffa427ea
+ c435c88a35feee8c877030b343e41707ed37795546f7853832b247513af24e0a:
+ version: c435c88a35feee8c877030b343e41707ed37795546f7853832b247513af24e0a
+ blobstore_id: 3df7e191-a8db-4a31-46e9-40dc5849c068
+ sha1: sha256:8a740c255e05befe7c13fd128608c4785ed1e63aca53ccf7cd7d62f04dcfe0a6
d1877c0de75d626506ccc8ef6d2ff5cfc1e4c751040052a729cb7fb9ccd24438:
version: d1877c0de75d626506ccc8ef6d2ff5cfc1e4c751040052a729cb7fb9ccd24438
blobstore_id: e01ae24c-09c6-4366-434b-03bb9ae352bb
diff --git a/bosh-release/releases/sslip.io/index.yml b/bosh-release/releases/sslip.io/index.yml
index 1b1cb06..6538a56 100644
--- a/bosh-release/releases/sslip.io/index.yml
+++ b/bosh-release/releases/sslip.io/index.yml
@@ -21,6 +21,8 @@ builds:
version: 1.2.1
9b52f699-55d8-4a49-50d5-e518c08334fb:
version: 1.1.1
+ 9c87400a-fe8c-4d36-7432-593a936744eb:
+ version: 2.2.0
9d4b45ca-7a96-44c8-61dc-35f5b7f20b97:
version: 1.2.2
aee53e95-768b-426f-64a1-0d74d458a0a6:
diff --git a/bosh-release/releases/sslip.io/sslip.io-2.2.0.yml b/bosh-release/releases/sslip.io/sslip.io-2.2.0.yml
new file mode 100644
index 0000000..ebcbeec
--- /dev/null
+++ b/bosh-release/releases/sslip.io/sslip.io-2.2.0.yml
@@ -0,0 +1,23 @@
+name: sslip.io
+version: 2.2.0
+commit_hash: aa57f4a
+uncommitted_changes: false
+jobs:
+- name: sslip.io-dns-server
+ version: 308acb7c186a042bc2ca4c28b83c9fe7589a64c48ab6a11869c442bcaea8fdf9
+ fingerprint: 308acb7c186a042bc2ca4c28b83c9fe7589a64c48ab6a11869c442bcaea8fdf9
+ sha1: sha256:6ca6f2c11816a82ecb3cf9300ea59369977cbaa7c39eddca35628a7c6b9b5b45
+ packages:
+ - sslip.io-dns-server
+packages:
+- name: golang-1-linux
+ version: f9b637fa0c031f977d2418949a3182e21fe2d95505595ebfe558a448501a8ad6
+ fingerprint: f9b637fa0c031f977d2418949a3182e21fe2d95505595ebfe558a448501a8ad6
+ sha1: sha256:a862fe14c40ee5fa36ebec6db08895846f955e10a22e4e4504081290317316f4
+ dependencies: []
+- name: sslip.io-dns-server
+ version: c435c88a35feee8c877030b343e41707ed37795546f7853832b247513af24e0a
+ fingerprint: c435c88a35feee8c877030b343e41707ed37795546f7853832b247513af24e0a
+ sha1: sha256:8a740c255e05befe7c13fd128608c4785ed1e63aca53ccf7cd7d62f04dcfe0a6
+ dependencies:
+ - golang-1-linux
diff --git a/docs/DEVELOPER.md b/docs/DEVELOPER.md
index 4deb227..86bab3b 100644
--- a/docs/DEVELOPER.md
+++ b/docs/DEVELOPER.md
@@ -4,10 +4,10 @@ These instructions are meant primarily for me when deploying a new BOSH release;
they might not make sense unless you're on my workstation.
```zsh
-export OLD_VERSION=2.1.1
-export VERSION=2.1.2
+export OLD_VERSION=2.1.2
+export VERSION=2.2.0
cd ~/go/src/github.com/cunnie/sslip.io
-git pull -r
+git pull -r --autostash
sed -i '' "s~/$OLD_VERSION/~/$VERSION/~g" k8s/document_root/index.html # update the download instructions on the website
cd bosh-release/
lpass show a # refresh LastPass token
@@ -35,7 +35,11 @@ echo protonmail.domainkey.dw4gykv5i2brtkjglrf34wf6kbxpa5hgtmg2xqopinhgxn5axo73a.
dig a _Acme-ChallengE.127-0-0-1.sslip.io @$IP | grep "^127"
echo "127-0-0-1.sslip.io. 604800 IN A 127.0.0.1"
dig +short sSlIp.Io
-78.46.204.247
+echo 78.46.204.247
+dig @ns-aws.nono.io txt . +short | tr -d '"'
+curl curlmyip.org; echo
+git add -p
+git ci -vm"BOSH release: 2.2.0: TXT records return IP addrs"
bosh upload-blobs
bosh create-release \
--final \
@@ -43,7 +47,7 @@ bosh create-release \
--version ${VERSION}
git add -N releases/ .final_builds/
git add -p
-git ci -v # BOSH release: 2.1.2: case-insensitive custom records matching
+git ci --amend
git tag $VERSION
git push
git push --tags
diff --git a/k8s/document_root/index.html b/k8s/document_root/index.html
index a45e392..ecbdd8c 100644
--- a/k8s/document_root/index.html
+++ b/k8s/document_root/index.html
@@ -158,7 +158,7 @@ src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js">
example, we install & run our server within a docker container:
docker run -it --rm fedora
-curl -L https://github.com/cunnie/sslip.io/releases/download/2.1.2/sslip.io-dns-server-linux-amd64 -o dns-server
+curl -L https://github.com/cunnie/sslip.io/releases/download/2.2.0/sslip.io-dns-server-linux-amd64 -o dns-server
chmod +x dns-server
./dns-server 2> dns-server.log &
dnf install -y bind-utils