Improve customizations documentation (#35)
This commit is contained in:
parent
db396d6ee1
commit
972bbedb87
19
README.md
19
README.md
|
@ -6,21 +6,4 @@ issues](https://gitea.kosmos.org/kosmos/gitea.kosmos.org/issues) for questions,
|
||||||
suggestions, bugs, to-do items, and whatever else you want to discuss or
|
suggestions, bugs, to-do items, and whatever else you want to discuss or
|
||||||
resolve.
|
resolve.
|
||||||
|
|
||||||
## Building & deploying
|
See `doc/` folder for some technical info.
|
||||||
|
|
||||||
To create a new image containing the customizations:
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
|
|
||||||
Then 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
|
|
||||||
|
|
|
@ -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
|
Reference in New Issue