generated from ik-workshop/workshop-blueprint
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
32 lines (23 loc) · 851 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.EXPORT_ALL_VARIABLES:
help:
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
setup: ## Setup dependencies
@brew bundle
hooks: ## install pre commit.
@pre-commit install
@pre-commit gc
@pre-commit autoupdate
validate: ## Validate files with pre-commit hooks
@pre-commit run --all-files
changelog: ## Update changelog
@git-chglog -o CHANGELOG.md --next-tag `semtag final -s minor -o`
release: ## Create release version
@semtag final -s minor
create: ## Deploy multiple Terraform modules in a single command
@cd master/us-east-1
@terragrunt apply-all
destroy: ## Undeploy all the Terraform modules
@cd master/us-east-1
@terragrunt destroy-all
kubeconfig: ## Pull kubeconfig credentials for the cluster
@aws eks update-kubeconfig --name "workshop"