mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-09-27 03:55:56 +08:00
3.2.5: Minor bugfixes, tweaks
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
cd $DIR/..
|
||||
ldflags="-X xip/xip.VersionSemantic=3.2.4 \
|
||||
ldflags="-X xip/xip.VersionSemantic=3.2.5 \
|
||||
-X xip/xip.VersionDate=$(date +%Y/%m/%d-%H:%M:%S%z) \
|
||||
-X xip/xip.VersionGitHash=$(git rev-parse --short HEAD)"
|
||||
export GOOS GOARCH
|
||||
|
@@ -4,8 +4,8 @@ These instructions are meant primarily for me when deploying a new release;
|
||||
they might not make sense unless you're on my workstation.
|
||||
|
||||
```bash
|
||||
export OLD_VERSION=3.2.3
|
||||
export VERSION=3.2.4
|
||||
export OLD_VERSION=3.2.4
|
||||
export VERSION=3.2.5
|
||||
cd ~/workspace/sslip.io
|
||||
git pull -r --autostash
|
||||
# update the version number for the TXT record for version.status.sslip.io
|
||||
@@ -42,13 +42,13 @@ Test from another window:
|
||||
|
||||
```bash
|
||||
export DNS_SERVER_IP=127.0.0.1
|
||||
export VERSION=3.2.4
|
||||
export VERSION=3.2.5
|
||||
# quick sanity test
|
||||
dig +short 127.0.0.1.example.com @$DNS_SERVER_IP
|
||||
echo 127.0.0.1
|
||||
# NS ordering might be rotated
|
||||
dig +short ns example.com @$DNS_SERVER_IP
|
||||
printf "ns-azure.sslip.io.\nns-gce.sslip.io.\nns-ovh.sslip.io.\n"
|
||||
printf "ns-gce.sslip.io.\nns-hetzner.sslip.io.\nns-ovh.sslip.io.\n"
|
||||
dig +short mx example.com @$DNS_SERVER_IP
|
||||
echo "0 example.com."
|
||||
dig +short mx sslip.io @$DNS_SERVER_IP
|
||||
@@ -81,7 +81,7 @@ original window. Commit our changes:
|
||||
|
||||
```bash
|
||||
git add -p
|
||||
git ci -vm"$VERSION: Shorten TTL for publicly-accessible A & AAAA records"
|
||||
git ci -vm"$VERSION: Minor bugfixes, tweaks"
|
||||
git tag $VERSION
|
||||
git push
|
||||
git push --tags
|
||||
|
@@ -26,7 +26,7 @@ LABEL org.opencontainers.image.authors="Brian Cunnie <brian.cunnie@gmail.com>"
|
||||
RUN dnf install -y bind-utils
|
||||
|
||||
ARG TARGETARCH # amd64, arm64 (so I can run on AWS graviton2)
|
||||
RUN curl -f -L https://github.com/cunnie/sslip.io/releases/download/3.2.4/sslip.io-dns-server-linux-$TARGETARCH \
|
||||
RUN curl -f -L https://github.com/cunnie/sslip.io/releases/download/3.2.5/sslip.io-dns-server-linux-$TARGETARCH \
|
||||
-o /usr/sbin/sslip.io-dns-server; \
|
||||
chmod 755 /usr/sbin/sslip.io-dns-server
|
||||
|
||||
|
@@ -171,7 +171,7 @@ src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]-->
|
||||
our server within a docker container:</p>
|
||||
<pre>
|
||||
docker run -it --rm fedora
|
||||
curl -L https://github.com/cunnie/sslip.io/releases/download/3.2.4/sslip.io-dns-server-linux-amd64 -o dns-server
|
||||
curl -L https://github.com/cunnie/sslip.io/releases/download/3.2.5/sslip.io-dns-server-linux-amd64 -o dns-server
|
||||
chmod +x dns-server
|
||||
./dns-server 2> dns-server.log &
|
||||
dnf install -y bind-utils
|
||||
|
@@ -18,7 +18,7 @@ def get_whois_nameservers(domain)
|
||||
end
|
||||
|
||||
domain = ENV['DOMAIN'] || 'example.com'
|
||||
sslip_version = '3.2.4'
|
||||
sslip_version = '3.2.5'
|
||||
whois_nameservers = get_whois_nameservers(domain)
|
||||
|
||||
describe domain do
|
||||
|
Reference in New Issue
Block a user