Compare commits
17 Commits
db396d6ee1
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 91755e8744 | |||
| ee6ec82157 | |||
| fa11c50687 | |||
| 21e158737d | |||
| 515b4a4483 | |||
| a3c1b2d1f7 | |||
| 2ab0db6c2a | |||
| d6d70af0ad | |||
| 75881c4c3f | |||
| 3cd4b3102c | |||
| 11ae884dea | |||
| 6785287227 | |||
| d4784e9787 | |||
| da278556ed | |||
| 4dd0f4b844 | |||
| b6894598a6 | |||
| 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
|
||||
resolve.
|
||||
|
||||
## Building & deploying
|
||||
|
||||
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
|
||||
See `doc/` folder for some technical info.
|
||||
|
||||
20
doc/customizations-image.md
Normal file
20
doc/customizations-image.md
Normal file
@@ -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
|
||||
@@ -32,7 +32,7 @@ spec:
|
||||
name: config
|
||||
containers:
|
||||
- name: gitea-server
|
||||
image: gitea/gitea:1.9.1
|
||||
image: gitea/gitea:1.11.2
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
- containerPort: 3001
|
||||
@@ -42,10 +42,10 @@ spec:
|
||||
name: gitea-server-data
|
||||
resources:
|
||||
requests:
|
||||
cpu: 250m
|
||||
cpu: 150m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
cpu: 250m
|
||||
memory: 512Mi
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user