From 163a533e30005208673cabfded2ffcb89c98c00f Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Thu, 15 Aug 2019 17:51:09 +0200 Subject: [PATCH] Add new customizations doc --- doc/customizations-image.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/customizations-image.md diff --git a/doc/customizations-image.md b/doc/customizations-image.md new file mode 100644 index 0000000..180433c --- /dev/null +++ b/doc/customizations-image.md @@ -0,0 +1,20 @@ +## Customizations image + +### Build + +To create a new Docker image containing our Gitea customizations (label sets, +styles, page content, etc.): + +Edit `packer/custom.json` to increment the tag, then run this script (needs +[Packer](https://www.packer.io/) in your path) + + ./script/build_customizations_image + +### Deploy + +Edit `kubernetes/gitea-server.yaml` to use the new tag +(`image: eu.gcr.io/fluted-magpie-218106/gitea_custom:$VERSION`) and apply the +change: + + cd kubernetes + kubectl apply -f gitea-server.yaml