add targets to make file
This commit is contained in:
parent
97dc875213
commit
a660c591ff
2 changed files with 22 additions and 22 deletions
38
Makefile
38
Makefile
|
|
@ -13,27 +13,27 @@ KUBECONFIG ?= $(HOME)/.config/kubectl/rancher.urpi.local.yaml
|
|||
.PHONY: help dev db-up db-down migrate migrate-down seed backend frontend frontend-install test test-backend test-frontend test-integration test-bdd test-bdd-down test-env test-env-down lint build rancher-storage helm-lint helm-deploy-development helm-deploy-production helm-down-production helm-down-development
|
||||
|
||||
help:
|
||||
@echo "make dev builds the demo docker image"
|
||||
@echo "make db-up starts the database docker container"
|
||||
@echo "make db-down stops the database docker container"
|
||||
@echo "make migrate runs the sql scripts migration"
|
||||
@echo "make migrate-down revert the sql scripts migration"
|
||||
@echo "make seed seeds data into the database"
|
||||
@echo "make backend runs the backend"
|
||||
@echo "make frontend runs the frontend"
|
||||
@echo "make dev builds the demo docker image"
|
||||
@echo "make db-up starts the database docker container"
|
||||
@echo "make db-down stops the database docker container"
|
||||
@echo "make migrate runs the sql scripts migration"
|
||||
@echo "make migrate-down revert the sql scripts migration"
|
||||
@echo "make seed seeds data into the database"
|
||||
@echo "make backend runs the backend"
|
||||
@echo "make frontend runs the frontend"
|
||||
@echo "make frontend-install installs the dependencies for the frontend"
|
||||
@echo "make test full test suite: frontend, integration, and browser BDD"
|
||||
@echo "make test-backend runs the tests for the backend"
|
||||
@echo "make test-frontend runs the tests for the fronted"
|
||||
@echo "make test full test suite: frontend, integration, and browser BDD"
|
||||
@echo "make test-backend runs the tests for the backend"
|
||||
@echo "make test-frontend runs the tests for the frontend"
|
||||
@echo "make test-integration runs the integration tests"
|
||||
@echo "make test-bdd runs browser BDD stories against the production image"
|
||||
@echo "make test-bdd-down removes the isolated BDD stack and database"
|
||||
@echo "make test-env builds the docker tests image"
|
||||
@echo "make test-env-down stops the test image"
|
||||
@echo "make lint runs lint on the frontend"
|
||||
@echo "make build builds the entire project"
|
||||
@echo "make rancher-storage installs the persistent local-path StorageClass"
|
||||
@echo "make helm-lint lints development and production Helm configurations"
|
||||
@echo "make test-bdd runs browser BDD stories against the production image"
|
||||
@echo "make test-bdd-down removes the isolated BDD stack and database"
|
||||
@echo "make test-env builds the docker tests image"
|
||||
@echo "make test-env-down stops the test image"
|
||||
@echo "make lint runs lint on the frontend"
|
||||
@echo "make build builds the entire project"
|
||||
@echo "make rancher-storage installs the persistent local-path StorageClass"
|
||||
@echo "make helm-lint lints development and production Helm configurations"
|
||||
@echo "make helm-deploy-development deploys the development Helm release"
|
||||
@echo "make helm-deploy-production deploys the production Helm release"
|
||||
@echo "make helm-down-development shuts down the development Helm release"
|
||||
|
|
|
|||
|
|
@ -70,8 +70,8 @@ docker run -d \
|
|||
--restart=unless-stopped \
|
||||
-p 127.0.0.1:8000:80 \
|
||||
-p 127.0.0.1:8443:443 \
|
||||
-p 127.0.0.1:30080:30080 \
|
||||
-p 127.0.0.1:31374:31374 \
|
||||
-p 127.0.0.1:10000:10000 \
|
||||
-p 127.0.0.1:10100:10100 \
|
||||
-v /opt/rancher:/var/lib/rancher \
|
||||
-v "$HOME/.config/kubectl/registries.yaml:/etc/rancher/k3s/registries.yaml:ro" \
|
||||
--privileged \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue