Make way for k-v.io HTML website

To make room for the k-v.io HTML website, we rename the `document_root`
of the sslip.io website to the more explicit `document_root_sslip.io`.
This commit is contained in:
Brian Cunnie
2022-04-22 07:59:10 -07:00
parent 19668fac7f
commit 8d55c534fc
11 changed files with 7 additions and 7 deletions

View File

@@ -47,8 +47,8 @@ sudo ~/go/bin/ginkgo -r .
```bash
DOMAIN=sslip.io rspec --format documentation --color spec/
```
- `k8s/document_root/` contains the HTML content of the sslip.io website. Please
run `tidy -im -w 120 k8s/document_root/index.html` before submitting pull
- `k8s/document_root_sslip.io/` contains the HTML content of the sslip.io website. Please
run `tidy -im -w 120 k8s/document_root_sslip.io/index.html` before submitting pull
requests
- `bosh-release/` _[deprecated]_ contains the [BOSH](https://bosh.io/docs/)
release. BOSH is the mechanism we previously used to deploy the servers, and

View File

@@ -14,7 +14,7 @@ sed -i '' "s/$OLD_VERSION/$VERSION/g" \
spec/check-dns_spec.rb
# update the download instructions on the website
sed -i '' "s~/$OLD_VERSION/~/$VERSION/~g" \
k8s/document_root/index.html \
k8s/document_root_sslip.io/index.html \
k8s/Dockerfile-sslip.io-dns-server
# update the git hash for the TXT record for version.status.sslip.io for BOSH release
sed -i '' "s/VersionGitHash=[0-9a-fA-F]*/VersionGitHash=$(git rev-parse --short HEAD)/g" \
@@ -93,9 +93,9 @@ fly -t nono trigger-job -j dockerfiles/build-and-push-sslip.io-dns-server
```
Update the webservers with the HTML with new versions:
```bash
ssh nono.io curl -L -o /www/sslip.io/document_root/index.html https://raw.githubusercontent.com/cunnie/sslip.io/main/k8s/document_root/index.html
ssh ns-aws.sslip.io curl -L -o /var/nginx/sslip.io/index.html https://raw.githubusercontent.com/cunnie/sslip.io/main/k8s/document_root/index.html
ssh ns-azure.sslip.io curl -L -o /var/nginx/sslip.io/index.html https://raw.githubusercontent.com/cunnie/sslip.io/main/k8s/document_root/index.html
ssh nono.io curl -L -o /www/sslip.io/document_root_sslip.io/index.html https://raw.githubusercontent.com/cunnie/sslip.io/main/k8s/document_root_sslip.io/index.html
ssh ns-aws.sslip.io curl -L -o /var/nginx/sslip.io/index.html https://raw.githubusercontent.com/cunnie/sslip.io/main/k8s/document_root_sslip.io/index.html
ssh ns-azure.sslip.io curl -L -o /var/nginx/sslip.io/index.html https://raw.githubusercontent.com/cunnie/sslip.io/main/k8s/document_root_sslip.io/index.html
```
Update GCP/GKE with the new executable:
```bash

View File

@@ -26,7 +26,7 @@ RUN dnf install -y nginx
RUN mv /usr/share/nginx/html /usr/share/nginx/html-orig
COPY document_root /usr/share/nginx/html
COPY document_root_sslip.io /usr/share/nginx/html
ENTRYPOINT [ "/usr/sbin/nginx", "-g", "daemon off;" ]

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

View File

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB