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`.
@@ -47,8 +47,8 @@ sudo ~/go/bin/ginkgo -r .
|
|||||||
```bash
|
```bash
|
||||||
DOMAIN=sslip.io rspec --format documentation --color spec/
|
DOMAIN=sslip.io rspec --format documentation --color spec/
|
||||||
```
|
```
|
||||||
- `k8s/document_root/` contains the HTML content of the sslip.io website. Please
|
- `k8s/document_root_sslip.io/` contains the HTML content of the sslip.io website. Please
|
||||||
run `tidy -im -w 120 k8s/document_root/index.html` before submitting pull
|
run `tidy -im -w 120 k8s/document_root_sslip.io/index.html` before submitting pull
|
||||||
requests
|
requests
|
||||||
- `bosh-release/` _[deprecated]_ contains the [BOSH](https://bosh.io/docs/)
|
- `bosh-release/` _[deprecated]_ contains the [BOSH](https://bosh.io/docs/)
|
||||||
release. BOSH is the mechanism we previously used to deploy the servers, and
|
release. BOSH is the mechanism we previously used to deploy the servers, and
|
||||||
|
@@ -14,7 +14,7 @@ sed -i '' "s/$OLD_VERSION/$VERSION/g" \
|
|||||||
spec/check-dns_spec.rb
|
spec/check-dns_spec.rb
|
||||||
# update the download instructions on the website
|
# update the download instructions on the website
|
||||||
sed -i '' "s~/$OLD_VERSION/~/$VERSION/~g" \
|
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
|
k8s/Dockerfile-sslip.io-dns-server
|
||||||
# update the git hash for the TXT record for version.status.sslip.io for BOSH release
|
# 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" \
|
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:
|
Update the webservers with the HTML with new versions:
|
||||||
```bash
|
```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 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/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/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:
|
Update GCP/GKE with the new executable:
|
||||||
```bash
|
```bash
|
||||||
|
@@ -26,7 +26,7 @@ RUN dnf install -y nginx
|
|||||||
|
|
||||||
RUN mv /usr/share/nginx/html /usr/share/nginx/html-orig
|
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;" ]
|
ENTRYPOINT [ "/usr/sbin/nginx", "-g", "daemon off;" ]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |