mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-06 16:18:00 +08:00
BOSH release: 1.2.1 TXT records
The compelling reason was to to enable Protonmail for sslip.io email; they require specific TXT records.
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
builds:
|
builds:
|
||||||
|
618bfe3b109f886f329fd5eb7905531aab3d8560418782631006cc09e973deba:
|
||||||
|
version: 618bfe3b109f886f329fd5eb7905531aab3d8560418782631006cc09e973deba
|
||||||
|
blobstore_id: 79a8e95c-3ae3-4626-54df-a56a9a867def
|
||||||
|
sha1: sha256:5e44389f55dceb9012beee90721ff02d38c73e7922c6872129b3eae332a407e3
|
||||||
7fb9916da7e8257efbaef94d5a3869f964f37fac3dbb0c6f1693790f588f224c:
|
7fb9916da7e8257efbaef94d5a3869f964f37fac3dbb0c6f1693790f588f224c:
|
||||||
version: 7fb9916da7e8257efbaef94d5a3869f964f37fac3dbb0c6f1693790f588f224c
|
version: 7fb9916da7e8257efbaef94d5a3869f964f37fac3dbb0c6f1693790f588f224c
|
||||||
blobstore_id: bd5efc67-e5f1-4534-7d32-08a84503a813
|
blobstore_id: bd5efc67-e5f1-4534-7d32-08a84503a813
|
||||||
|
@@ -5,6 +5,8 @@ builds:
|
|||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
8298b178-a428-4fc9-4eff-49797db4cf42:
|
8298b178-a428-4fc9-4eff-49797db4cf42:
|
||||||
version: 1.0.1
|
version: 1.0.1
|
||||||
|
9220a9d3-680c-4684-6406-0919fdd1be04:
|
||||||
|
version: 1.2.1
|
||||||
9b52f699-55d8-4a49-50d5-e518c08334fb:
|
9b52f699-55d8-4a49-50d5-e518c08334fb:
|
||||||
version: 1.1.1
|
version: 1.1.1
|
||||||
aee53e95-768b-426f-64a1-0d74d458a0a6:
|
aee53e95-768b-426f-64a1-0d74d458a0a6:
|
||||||
|
23
bosh-release/releases/sslip.io/sslip.io-1.2.1.yml
Normal file
23
bosh-release/releases/sslip.io/sslip.io-1.2.1.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: sslip.io
|
||||||
|
version: 1.2.1
|
||||||
|
commit_hash: 169b057
|
||||||
|
uncommitted_changes: true
|
||||||
|
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: 618bfe3b109f886f329fd5eb7905531aab3d8560418782631006cc09e973deba
|
||||||
|
fingerprint: 618bfe3b109f886f329fd5eb7905531aab3d8560418782631006cc09e973deba
|
||||||
|
sha1: sha256:5e44389f55dceb9012beee90721ff02d38c73e7922c6872129b3eae332a407e3
|
||||||
|
dependencies:
|
||||||
|
- golang-1-linux
|
@@ -4,11 +4,12 @@ These instructions are meant primarily for me when deploying a new BOSH release;
|
|||||||
the might not make sense unless you're on my workstation.
|
the might not make sense unless you're on my workstation.
|
||||||
|
|
||||||
```
|
```
|
||||||
export OLD_VERSION=1.1.2
|
export OLD_VERSION=1.2.0
|
||||||
export VERSION=1.2.0
|
export VERSION=1.2.1
|
||||||
cd ~/workspace/sslip.io
|
cd ~/go/src/github.com/cunnie/sslip.io
|
||||||
git pull -r
|
git pull -r
|
||||||
sed -i '' "s~/$OLD_VERSION/~/$VERSION/~g" k8s/document_root/index.html # update the download instructions on the website
|
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
|
lpass show a # refresh LastPass token
|
||||||
. ~/workspace/deployments/.envrc # set BOSH auth
|
. ~/workspace/deployments/.envrc # set BOSH auth
|
||||||
export BOSH_DEPLOYMENT=sslip.io-dns-server
|
export BOSH_DEPLOYMENT=sslip.io-dns-server
|
||||||
@@ -21,6 +22,8 @@ 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 ns example.com @$IP # ns-aws, ns-azure, ns-gce
|
||||||
dig +short mx example.com @$IP # 1 x themselves
|
dig +short mx example.com @$IP # 1 x themselves
|
||||||
dig +short mx sslip.io @$IP # 2 x protonmail
|
dig +short mx sslip.io @$IP # 2 x protonmail
|
||||||
|
dig +short txt sslip.io @$IP # 2 x protonmail
|
||||||
|
dig +short txt 127.0.0.1.sslip.io @$IP # no records
|
||||||
bosh upload-blobs
|
bosh upload-blobs
|
||||||
bosh create-release \
|
bosh create-release \
|
||||||
--final \
|
--final \
|
||||||
@@ -28,7 +31,7 @@ bosh create-release \
|
|||||||
--version ${VERSION} --force
|
--version ${VERSION} --force
|
||||||
git add -N releases/ .final_builds/
|
git add -N releases/ .final_builds/
|
||||||
git add -p
|
git add -p
|
||||||
git ci -v # BOSH release: 1.2.0: bugfixes
|
git ci -v # BOSH release: 1.2.1: TXT records
|
||||||
git tag $VERSION
|
git tag $VERSION
|
||||||
git push
|
git push
|
||||||
git push --tags
|
git push --tags
|
||||||
|
@@ -159,7 +159,7 @@ src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]-->
|
|||||||
our server within a docker container:</p>
|
our server within a docker container:</p>
|
||||||
<pre>
|
<pre>
|
||||||
docker run -it --rm fedora
|
docker run -it --rm fedora
|
||||||
curl -L https://github.com/cunnie/sslip.io/releases/download/1.2.0/sslip.io-dns-server-linux-amd64 -o dns-server
|
curl -L https://github.com/cunnie/sslip.io/releases/download/1.2.1/sslip.io-dns-server-linux-amd64 -o dns-server
|
||||||
chmod +x dns-server
|
chmod +x dns-server
|
||||||
./dns-server 2> dns-server.log &
|
./dns-server 2> dns-server.log &
|
||||||
dnf install -y bind-utils
|
dnf install -y bind-utils
|
||||||
|
Reference in New Issue
Block a user