-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
31 lines (31 loc) · 1.49 KB
/
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
.PHONY: docker docker-push docker-build
create-oci-helm-chart: export HELM_EXPERIMENTAL_OCI=1
create-oci-helm-chart:
helm package ./app/charts/ohmyyaml
helm push ohmyyaml-*.tgz oci://ghcr.io/tibbar/ohmyyaml
docker:
docker build -f app/Dockerfile ./app -t tibbar/ohmyyaml:latest
docker-push:
docker push tibbar/ohmyyaml:latest
docker-run:
docker run --rm -it -p 8080:8080 docker.io/tibbar/ohmyyaml:latest
terragrunt-plan-infra:
cd regional_configurations/eu-west-1/infrastructure_substrate && \
trap "cd ../../../" SIGINT SIGTERM ERR EXIT && \
terragrunt plan --terragrunt-source ../../../module_catalogue/infrastructure_substrate
terragrunt-plan-deployments:
cd regional_configurations/eu-west-1/deployments && \
trap "cd ../../../" SIGINT SIGTERM ERR EXIT && \
terragrunt plan --terragrunt-source ../../../module_catalogue/deployments
terragrunt-apply-infra:
cd regional_configurations/eu-west-1/infrastructure_substrate && \
trap "cd ../../../" SIGINT SIGTERM ERR EXIT && \
terragrunt apply --terragrunt-source ../../../module_catalogue/infrastructure_substrate
terragrunt-destroy-infra:
cd regional_configurations/eu-west-1/infrastructure_substrate && \
trap "cd ../../../" SIGINT SIGTERM ERR EXIT && \
terragrunt destroy --terragrunt-source ../../../module_catalogue/infrastructure_substrate
terragrunt-apply-deployments:
cd regional_configurations/eu-west-1/deployments && \
trap "cd ../../../" SIGINT SIGTERM ERR EXIT && \
terragrunt apply --terragrunt-source ../../../module_catalogue/deployments