add prefix for argocd commits
This commit is contained in:
parent
559c0c45c4
commit
03ff4399a1
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -5,7 +5,7 @@ IKIWIKI=ikiwiki
|
|||
|
||||
VERSION=$(shell git describe --always)
|
||||
ARGOCD_HOME=$$HOME/vcs/k8s-config/cluster/p10/apps/templates/
|
||||
ARGOCD_YAML=nicoweb.yaml
|
||||
ARGOCD_YAML=staticweb-nico.yaml
|
||||
ARGOCD_APP=$(ARGOCD_HOME)/$(ARGOCD_YAML)
|
||||
|
||||
IMAGE_NAME=harbor.k8s.ungleich.ch/nico/www.nico.schottelius.org
|
||||
|
@ -21,7 +21,7 @@ container: gitpush
|
|||
|
||||
argocd: container
|
||||
sed -i "s,$(IMAGE_NAME):.*,$(IMAGE_NAME):$(VERSION)," $(ARGOCD_APP)
|
||||
cd $(ARGOCD_HOME) && git add $(ARGOCD_YAML) && git commit -m "Update www.nico.schottelius.org to $(VERSION)" $(ARGOCD_YAML) && git push
|
||||
cd $(ARGOCD_HOME) && git add $(ARGOCD_YAML) && git commit -m "[staticweb] Update www.nico.schottelius.org to $(VERSION)" $(ARGOCD_YAML) && git push
|
||||
|
||||
setup:
|
||||
$(IKIWIKI) --refresh --setup ikiwiki.setup
|
||||
|
|
Loading…
Reference in a new issue