mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-07 00:23:44 +08:00
BOSH release: 1.3.0: CNAME records
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
builds:
|
builds:
|
||||||
|
037e9cbd3401e13b101d8345ed35dd9f11e677d1a8ad32f61bd390c732b1f9b6:
|
||||||
|
version: 037e9cbd3401e13b101d8345ed35dd9f11e677d1a8ad32f61bd390c732b1f9b6
|
||||||
|
blobstore_id: d07828f0-f4ff-4966-7a52-fa25d3eba096
|
||||||
|
sha1: sha256:3b5eacdc0776df52ba6a4ecc73b3bc2f3f705cc09c26eecf0547a73405f62e71
|
||||||
2da04cb692557030ff9dd8ac08886d38aed0ea612963588e124928c187dc825a:
|
2da04cb692557030ff9dd8ac08886d38aed0ea612963588e124928c187dc825a:
|
||||||
version: 2da04cb692557030ff9dd8ac08886d38aed0ea612963588e124928c187dc825a
|
version: 2da04cb692557030ff9dd8ac08886d38aed0ea612963588e124928c187dc825a
|
||||||
blobstore_id: 221ddfff-f5ba-4454-6e35-6e7472e40667
|
blobstore_id: 221ddfff-f5ba-4454-6e35-6e7472e40667
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
builds:
|
builds:
|
||||||
1c4de423-584b-42b9-59ab-93a123c96307:
|
1c4de423-584b-42b9-59ab-93a123c96307:
|
||||||
version: 1.2.0
|
version: 1.2.0
|
||||||
|
520c044f-c0d0-4fd8-72a4-ed482efa2a96:
|
||||||
|
version: 1.3.0
|
||||||
7967ba6b-8992-4d38-7fdc-ada9154e39b7:
|
7967ba6b-8992-4d38-7fdc-ada9154e39b7:
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
8298b178-a428-4fc9-4eff-49797db4cf42:
|
8298b178-a428-4fc9-4eff-49797db4cf42:
|
||||||
|
23
bosh-release/releases/sslip.io/sslip.io-1.3.0.yml
Normal file
23
bosh-release/releases/sslip.io/sslip.io-1.3.0.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: sslip.io
|
||||||
|
version: 1.3.0
|
||||||
|
commit_hash: 2a8cbdf
|
||||||
|
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: 037e9cbd3401e13b101d8345ed35dd9f11e677d1a8ad32f61bd390c732b1f9b6
|
||||||
|
fingerprint: 037e9cbd3401e13b101d8345ed35dd9f11e677d1a8ad32f61bd390c732b1f9b6
|
||||||
|
sha1: sha256:3b5eacdc0776df52ba6a4ecc73b3bc2f3f705cc09c26eecf0547a73405f62e71
|
||||||
|
dependencies:
|
||||||
|
- golang-1-linux
|
@@ -4,8 +4,8 @@ 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.2.0
|
export OLD_VERSION=1.2.2
|
||||||
export VERSION=1.2.1
|
export VERSION=1.3.0
|
||||||
cd ~/go/src/github.com/cunnie/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
|
||||||
@@ -18,12 +18,20 @@ bosh upload-release
|
|||||||
bosh -n -d sslip.io-dns-server deploy ~/workspace/deployments/sslip.io-dns-server.yml --recreate
|
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
|
bosh instances # record the IP address of the instance
|
||||||
IP=10.0.250.22
|
IP=10.0.250.22
|
||||||
dig +short 127.0.0.1.example.com @$IP # 127.0.0.1
|
dig +short 127.0.0.1.example.com @$IP
|
||||||
dig +short ns example.com @$IP # ns-aws, ns-azure, ns-gce
|
echo 127.0.0.1
|
||||||
dig +short mx example.com @$IP # 1 x themselves
|
dig +short ns example.com @$IP
|
||||||
dig +short mx sslip.io @$IP # 2 x protonmail
|
printf "ns-aws.nono.io.\nns-azure.nono.io.\nns-gce.nono.io."
|
||||||
dig +short txt sslip.io @$IP # 2 x protonmail
|
dig +short mx example.com @$IP
|
||||||
|
echo "0 example.com."
|
||||||
|
dig +short mx sslip.io @$IP
|
||||||
|
printf "10 mail.protonmail.ch.\n20 mailsec.protonmail.ch."
|
||||||
|
dig +short txt sslip.io @$IP
|
||||||
|
printf "\"protonmail-verification=ce0ca3f5010aa7a2cf8bcc693778338ffde73e26\"\n\"v=spf1 include:_spf.protonmail.ch mx ~all\""
|
||||||
dig +short txt 127.0.0.1.sslip.io @$IP # no records
|
dig +short txt 127.0.0.1.sslip.io @$IP # no records
|
||||||
|
dig +short cname sslip.io @$IP # no records
|
||||||
|
dig +short cname protonmail._domainkey.sslip.io @$IP
|
||||||
|
echo protonmail.domainkey.dw4gykv5i2brtkjglrf34wf6kbxpa5hgtmg2xqopinhgxn5axo73a.domains.proton.ch.
|
||||||
bosh upload-blobs
|
bosh upload-blobs
|
||||||
bosh create-release \
|
bosh create-release \
|
||||||
--final \
|
--final \
|
||||||
@@ -31,7 +39,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.1: TXT records
|
git ci -v # BOSH release: 1.3.0: CNAME records
|
||||||
git tag $VERSION
|
git tag $VERSION
|
||||||
git push
|
git push
|
||||||
git push --tags
|
git push --tags
|
||||||
|
@@ -157,7 +157,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.2/sslip.io-dns-server-linux-amd64 -o dns-server
|
curl -L https://github.com/cunnie/sslip.io/releases/download/1.3.0/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