-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
27 lines (20 loc) · 781 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
STACK_NAME="AWS-Workspace-Cevo-Pattern"
test-lint-yaml:
@echo "--- Test Lint YAML"
@docker-compose run --rm yamllint .
test-cfn-lint-yaml:
@echo "--- Test CFN Lint YAML"
@docker-compose run --rm cfnlint cfn-lint -t cloudformation/template.yml
test-validate-shell:
@echo "--- Test Validate Shell Scripts"
@docker-compose run --rm shellcheck scripts/validate_shell_scripts.sh
test-validate-cfn:
@echo "--- Test Validate CloudFormation"
@docker-compose run --rm awscli scripts/validate_cloudformation.sh
test: test-validate-cfn
deploy:
@echo "--- Deploy $(STACK_NAME) cloudformation stack"
@docker-compose run --rm stackup $(STACK_NAME) up \
--template cloudformation/template.yml \
--parameters cloudformation/parameters/dev.yml \
--capability CAPABILITY_IAM