wip
This commit is contained in:
parent
8c0277c8f3
commit
9e2c30af22
60 changed files with 8853 additions and 232 deletions
|
|
@ -3,16 +3,16 @@ default: convert deploy viz
|
|||
regcred:
|
||||
kubectl get secret -n default regcred --output=yaml -o yaml | sed 's/namespace: default/namespace: wayl-one/' | kubectl apply -n wayl-one -f - && echo deployed secret || echo secret exists
|
||||
build:
|
||||
docker build -t registry.wayl.one/wayl-one -f Dockerfile .
|
||||
podman build -t waylonwalker/wayl-one -f Dockerfile .
|
||||
tag:
|
||||
docker tag registry.wayl.one/wayl-one registry.wayl.one/wayl-one:$(git rev-parse --short HEAD)
|
||||
podman tag waylonwalker/wayl-one waylonwalker/wayl-one:v1
|
||||
test:
|
||||
docker run -p 5556:80 registry.wayl.one/wayl-one
|
||||
podman run -p 5556:80 waylonwalker/wayl-one
|
||||
push:
|
||||
docker push registry.wayl.one/wayl-one:$(git rev-parse --short HEAD)
|
||||
docker push registry.wayl.one/wayl-one:latest
|
||||
podman push waylonwalker/wayl-one:v1
|
||||
podman push waylonwalker/wayl-one:latest
|
||||
set-image:
|
||||
kubectl set image deployment/shot-wayl-one --namespace shot shot-wayl-one=registry.wayl.one/wayl-one:$(git rev-parse --short HEAD)
|
||||
kubectl set image deployment/shot-wayl-one --namespace shot shot-wayl-one=waylonwalker/wayl-one:v1
|
||||
|
||||
convert:
|
||||
kompose convert -o deployment.yaml -n wayl-one
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue