#1 - Agregar deploy automatico
All checks were successful
CodyOps Nucleus Builder / build-conteiner (pull_request) Successful in 36s
All checks were successful
CodyOps Nucleus Builder / build-conteiner (pull_request) Successful in 36s
This commit is contained in:
parent
79fb069353
commit
9528126c41
@ -13,4 +13,5 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
- name: Make Build
|
||||
run: make build
|
||||
|
||||
- name: Make Deploy
|
||||
run: make deploy
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
.envrc
|
||||
node_modules
|
||||
dist
|
||||
dist
|
||||
tests
|
6
Makefile
6
Makefile
@ -1,7 +1,8 @@
|
||||
NAMESPACE:= codyops
|
||||
REGISTRY:= gianet.us/codyops
|
||||
IMAGE:= nucleus
|
||||
|
||||
.PHONY: init build setup
|
||||
.PHONY: init build setup deploy
|
||||
|
||||
init:
|
||||
direnv allow .
|
||||
@ -13,3 +14,6 @@ build: setup
|
||||
npm run build
|
||||
podman build --pull=newer --tag $(REGISTRY)/$(IMAGE) .
|
||||
podman push $(REGISTRY)/$(IMAGE)
|
||||
|
||||
deploy:
|
||||
kubectl -n $(NAMESPACE) rollout restart deployment/$(NAMESPACE)-$(IMAGE)
|
Loading…
x
Reference in New Issue
Block a user