change layout of login
This commit is contained in:
parent
6063b18052
commit
6ac4efbf9e
23 changed files with 875 additions and 7 deletions
33
Makefile
33
Makefile
|
|
@ -1,10 +1,15 @@
|
|||
SHELL := /bin/sh
|
||||
|
||||
IMAGE ?= cms-demo
|
||||
IMAGE ?= cms
|
||||
TAG ?= latest
|
||||
REGISTRY_IMAGE ?= batty1039.startdedicated.net:5000/cms-demo
|
||||
REGISTRY_IMAGE ?= batty1039.startdedicated.net:5000/cms
|
||||
HELM ?= helm
|
||||
HELM_CHART := deploy/helm/cms
|
||||
HELM_RELEASE ?= cms
|
||||
HELM_NAMESPACE ?= cms
|
||||
KUBECONFIG ?= $(HOME)/.config/kubectl/rancher.urpi.local.yaml
|
||||
|
||||
.PHONY: help ui frontend backend demo production run test check docker docker-push docker-run clean
|
||||
.PHONY: help ui frontend backend demo production run test check docker docker-push docker-run clean rancher-storage helm-lint helm-deploy-development helm-deploy-production
|
||||
|
||||
help:
|
||||
@echo "make ui build the React app into cmd/server/web/dist"
|
||||
|
|
@ -71,3 +76,25 @@ clean:
|
|||
rm -rf cmd/server/web/dist ui/dist
|
||||
mkdir -p cmd/server/web/dist
|
||||
printf 'Placeholder so the Go embed directive resolves before the frontend is built.\nRun `make ui` to replace this directory with the real React build.\n' > cmd/server/web/dist/placeholder.txt
|
||||
rancher-storage:
|
||||
KUBECONFIG="$(KUBECONFIG)" kubectl apply -f deploy/rancher/local-path.yaml
|
||||
|
||||
helm-lint:
|
||||
$(HELM) lint $(HELM_CHART) -f $(HELM_CHART)/values-development.yaml
|
||||
$(HELM) lint $(HELM_CHART) -f $(HELM_CHART)/values-production.yaml
|
||||
$(HELM) template $(HELM_RELEASE) $(HELM_CHART) \
|
||||
-f $(HELM_CHART)/values-development.yaml >/dev/null
|
||||
$(HELM) template $(HELM_RELEASE) $(HELM_CHART) \
|
||||
-f $(HELM_CHART)/values-production.yaml >/dev/null
|
||||
|
||||
helm-deploy-development:
|
||||
KUBECONFIG="$(KUBECONFIG)" $(HELM) upgrade --install $(HELM_RELEASE) $(HELM_CHART) \
|
||||
--namespace $(HELM_NAMESPACE)-development --create-namespace \
|
||||
-f $(HELM_CHART)/values-development.yaml \
|
||||
--atomic --wait --timeout 10m
|
||||
|
||||
helm-deploy-production:
|
||||
KUBECONFIG="$(KUBECONFIG)" $(HELM) upgrade --install $(HELM_RELEASE) $(HELM_CHART) \
|
||||
--namespace $(HELM_NAMESPACE)-production --create-namespace \
|
||||
-f $(HELM_CHART)/values-production.yaml \
|
||||
--atomic --wait --timeout 10m
|
||||
Loading…
Add table
Add a link
Reference in a new issue