This commit is contained in:
parent
cca97cfab0
commit
fbadd6e02e
2 changed files with 16 additions and 0 deletions
|
|
@ -1,5 +1,13 @@
|
||||||
# Development
|
# Development
|
||||||
TODO: fill this out
|
TODO: fill this out
|
||||||
|
### Kubernetes test deployment
|
||||||
|
```bash
|
||||||
|
./upload.sh
|
||||||
|
# sudo kubectl apply -f kube/test-deployment.yaml # Apply the test deployment if it wasn't already
|
||||||
|
sudo kubectl rollout restart deployment minecraft-ingress
|
||||||
|
```
|
||||||
|
```bash
|
||||||
|
```
|
||||||
### Nix shell with tmux
|
### Nix shell with tmux
|
||||||
In the nix flake there is a devshell setup with cargo and tmux.
|
In the nix flake there is a devshell setup with cargo and tmux.
|
||||||
When using tmux it uses a set tmux server path, so only this project uses it.
|
When using tmux it uses a set tmux server path, so only this project uses it.
|
||||||
|
|
|
||||||
8
upload.sh
Executable file
8
upload.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
||||||
|
USERNAME="tamipes"
|
||||||
|
URL="git.tami.moe"
|
||||||
|
IMG_NAME="minecraft-ingress"
|
||||||
|
nix build --extra-experimental-features "flakes nix-command" .#docker-image
|
||||||
|
sudo docker load -i result
|
||||||
|
sudo docker image tag mc-ingress "$URL/$USERNAME/$IMG_NAME:testing"
|
||||||
|
sudo docker image push "$URL/$USERNAME/$IMG_NAME:testing"
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue