From da5df525c8e7ca9e3907a4f90412883dfc1b28a7 Mon Sep 17 00:00:00 2001
From: Vincent Ambo
Date: Fri, 2 Aug 2019 17:05:33 +0100
Subject: [PATCH] docs: Update all nixery.appspot.com references to nixery.dev
Shiny, new domain is much better and eliminates the TLS redirect issue
because there is a HSTS preload for the entire .dev TLD (which, by the
way, is awesome!)
---
tools/nixery/README.md | 12 ++++++------
tools/nixery/default.nix | 4 ++--
tools/nixery/static/index.html | 2 +-
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/tools/nixery/README.md b/tools/nixery/README.md
index f100cb1b6..e0e634c3c 100644
--- a/tools/nixery/README.md
+++ b/tools/nixery/README.md
@@ -20,24 +20,24 @@ The project started out with the intention of becoming a Kubernetes controller
that can serve declarative image specifications specified in CRDs as container
images. The design for this is outlined in [a public gist][gist].
-An example instance is available at [nixery.appspot.com][demo].
+An example instance is available at [nixery.dev][demo].
This is not an officially supported Google project.
## Usage example
-Using the publicly available Nixery instance at `nixery.appspot.com`, one could
+Using the publicly available Nixery instance at `nixery.dev`, one could
retrieve a container image containing `curl` and an interactive shell like this:
```shell
-tazjin@tazbox:~$ sudo docker run -ti nixery.appspot.com/shell/curl bash
-Unable to find image 'nixery.appspot.com/shell/curl:latest' locally
+tazjin@tazbox:~$ sudo docker run -ti nixery.dev/shell/curl bash
+Unable to find image 'nixery.dev/shell/curl:latest' locally
latest: Pulling from shell/curl
7734b79e1ba1: Already exists
b0d2008d18cd: Pull complete
< ... some layers omitted ...>
Digest: sha256:178270bfe84f74548b6a43347d73524e5c2636875b673675db1547ec427cf302
-Status: Downloaded newer image for nixery.appspot.com/shell/curl:latest
+Status: Downloaded newer image for nixery.dev/shell/curl:latest
bash-4.4# curl --version
curl 7.64.0 (x86_64-pc-linux-gnu) libcurl/7.64.0 OpenSSL/1.0.2q zlib/1.2.11 libssh2/1.8.0 nghttp2/1.35.1
```
@@ -100,5 +100,5 @@ See [issue #4](https://github.com/google/nixery/issues/4).
[Nix]: https://nixos.org/
[gist]: https://gist.github.com/tazjin/08f3d37073b3590aacac424303e6f745
[buildLayeredImage]: https://grahamc.com/blog/nix-and-layered-docker-images
-[demo]: https://nixery.appspot.com
+[demo]: https://nixery.dev
[gcs]: https://cloud.google.com/storage/
diff --git a/tools/nixery/default.nix b/tools/nixery/default.nix
index 2b3ec0ef4..8a7ce8b34 100644
--- a/tools/nixery/default.nix
+++ b/tools/nixery/default.nix
@@ -48,8 +48,8 @@ rec {
'';
# Static files to serve on the Nixery index. This is used primarily
- # for the demo instance running at nixery.appspot.com and provides
- # some background information for what Nixery is.
+ # for the demo instance running at nixery.dev and provides some
+ # background information for what Nixery is.
nixery-static = runCommand "nixery-static" {} ''
mkdir $out
cp ${./static}/* $out
diff --git a/tools/nixery/static/index.html b/tools/nixery/static/index.html
index dc37eebc2..24aa879a5 100644
--- a/tools/nixery/static/index.html
+++ b/tools/nixery/static/index.html
@@ -55,7 +55,7 @@
shell and emacs
you could pull it as such:
- nixery.appspot.com/shell/emacs25-nox
+ nixery.dev/shell/emacs25-nox
Image tags are currently ignored. Every package name needs to