Replaced terraform with kubectl calls

This commit is contained in:
2021-02-27 15:07:41 +00:00
parent d1e34ddba0
commit 030386cc6a
4 changed files with 15 additions and 38 deletions

View File

@@ -47,7 +47,19 @@ ci:
.PHONY: release # Release the latest version of the application
release:
@cd terraform && terraform apply -auto-approve
@cd terraform && terraform apply -auto-approve && \
kubectx admin@clusterfun-scaleway && \
cd ../tekton && \
kubectl apply -f ./1-Install/ && \
kubectl apply -f ./2-Setup/ && \
kubectl apply -f ./bindings/ && \
kubectl apply -f ./conditions/ && \
kubectl apply -f ./eventlisteners/ && \
kubectl apply -f ./pipelines/ && \
kubectl apply -f ./tasks/ && \
kubectl apply -f ./triggertemplates/ && \
cd ../manifests && \
kubectl apply -f ./
.PHONY: help # Show this list of commands
help: