summaryrefslogtreecommitdiff
path: root/topics
diff options
context:
space:
mode:
authorPjotr Prins2024-02-27 14:29:21 +0100
committerPjotr Prins2024-02-27 14:29:27 +0100
commitd0db4236fab288543391ca5e6024b2815c996eb7 (patch)
tree73d70959b4682458c4311e46fcf3b26b765ff48e /topics
parent3100a094e5a97e0b00709886e861ace6f164a1dd (diff)
downloadgn-gemtext-d0db4236fab288543391ca5e6024b2815c996eb7.tar.gz
fallback
Diffstat (limited to 'topics')
-rw-r--r--topics/guix/guix-system-containers-and-how-we-use-them.gmi29
-rw-r--r--topics/systems/ci-cd.gmi5
-rw-r--r--topics/systems/fallback.gmi16
3 files changed, 47 insertions, 3 deletions
diff --git a/topics/guix/guix-system-containers-and-how-we-use-them.gmi b/topics/guix/guix-system-containers-and-how-we-use-them.gmi
index 26baca8..f9d7253 100644
--- a/topics/guix/guix-system-containers-and-how-we-use-them.gmi
+++ b/topics/guix/guix-system-containers-and-how-we-use-them.gmi
@@ -72,3 +72,32 @@ Finally, we must also tell Guix not to accidentally garbage collect our containe
```
# ln --force --symbolic /usr/local/bin/foo-container /var/guix/gcroots
```
+
+# Example
+
+On tux02 we run CI/CD system containers. The systemd config is simple:
+
+```
+[Unit]
+Description = Run genenetwork development container
+
+[Service]
+ExecStart = /usr/local/bin/genenetwork-development-container
+
+[Install]
+WantedBy = multi-user.target
+```
+
+where /usr/local/bin/genenetwork-development-container -> /gnu/store/8rkh8yjzqhcr3s5zl9mw8y4jh44fr5pr-run-container
+
+The code is currently running from Arun's $HOME from the git repo at
+
+=> https://git.genenetwork.org/gn-machines/
+
+Probably worth reading the
+
+=> https://git.genenetwork.org/gn-machines/tree/README.org README
+
+Here we focus on the production server setup running on test01:
+
+=> https://git.genenetwork.org/gn-machines/tree/production.scm
diff --git a/topics/systems/ci-cd.gmi b/topics/systems/ci-cd.gmi
index e9a24a3..6aa17f2 100644
--- a/topics/systems/ci-cd.gmi
+++ b/topics/systems/ci-cd.gmi
@@ -1,8 +1,6 @@
# CI/ CD for genetwork projects
-We need to figure out/ discuss and document how to go about doing the whole automated testing and deployment, from pushing code to deployment to production.
-
-For a first, we need various levels of tests to be run, from unit tests to the more complicated ones like integration, performance, regression, etc tests, and of course, they cannot all be run for each and every commit, and will thus need to be staggered across the entire deployment cycle to help with quick iteration of the code.
+We need various levels of tests to be run, from unit tests to the more complicated ones like integration, performance, regression, etc tests, and of course, they cannot all be run for each and every commit, and will thus need to be staggered across the entire deployment cycle to help with quick iteration of the code.
## Tags
@@ -11,6 +9,7 @@ For a first, we need various levels of tests to be run, from unit tests to the m
* status: in progress
* priority: high
* type: enhancement
+* status: closed
## Tasks
diff --git a/topics/systems/fallback.gmi b/topics/systems/fallback.gmi
index 1175d8f..e2bde6b 100644
--- a/topics/systems/fallback.gmi
+++ b/topics/systems/fallback.gmi
@@ -58,9 +58,25 @@ see also
## Guix system container
+* [X] Assess gemtext documentation
+* [ ] Check tux02 configurations
+* [ ] Set up guix channels
+* [ ] Set up guix gcroot
+* [ ] Update systemd
+* [ ] Add gn-guile to configuration
+* [ ] Test, test, test
+=> guix-system-containers-and-how-we-use-them More info
## Sheepdog monitoring
* [ ] Move host to tb
* [ ] Update all clients
+* [ ] Add monitoring new fallback services
+
+## Continuous updates
+
+* [ ] Mariadb
+* [ ] Redis
+* [ ] Auth
+* [ ] Files