Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
sergelogvinov committed Feb 11, 2024
1 parent f0474de commit 9e9a98a
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 1 deletion.
3 changes: 2 additions & 1 deletion azure/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ help:
@awk 'BEGIN {FS = ":.*?## "} /^[0-9a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)

clean:
rm -rf _cfgs/
rm -rf _cfgs/ terraform.tfvars.json
rm -f kubeconfig talosctl
rm -rf .terraform.lock.hcl .terraform/ terraform.tfstate terraform.tfstate.backup

create-config: ## Genereate talos configs
talosctl gen config --output-dir _cfgs --with-docs=false --with-examples=false ${CLUSTERNAME} https://${ENDPOINT}:6443
Expand Down
3 changes: 3 additions & 0 deletions azure/images/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

clean:
rm -rf .terraform.lock.hcl .terraform/ terraform.tfstate terraform.tfstate.backup
3 changes: 3 additions & 0 deletions azure/init/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

clean:
rm -rf .terraform.lock.hcl .terraform/ terraform.tfstate terraform.tfstate.backup
3 changes: 3 additions & 0 deletions azure/prepare/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

clean:
rm -rf .terraform.lock.hcl .terraform/ terraform.tfstate terraform.tfstate.backup
3 changes: 3 additions & 0 deletions azure/services/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

clean:
rm -rf .terraform.lock.hcl .terraform/ terraform.tfstate terraform.tfstate.backup
3 changes: 3 additions & 0 deletions digitalocean/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

clean:
rm -rf .terraform.lock.hcl .terraform/ terraform.tfstate terraform.tfstate.backup
5 changes: 5 additions & 0 deletions openstack/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ endif
help:
@awk 'BEGIN {FS = ":.*?## "} /^[0-9a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)

clean:
rm -rf _cfgs/ terraform.tfvars.json
rm -f kubeconfig talosctl
rm -rf .terraform.lock.hcl .terraform/ terraform.tfstate terraform.tfstate.backup

create-lb: ## Create load balancer
terraform init
terraform apply -target=output.controlplane_endpoint_public --refresh -auto-approve
Expand Down
5 changes: 5 additions & 0 deletions scaleway/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ endif
help:
@awk 'BEGIN {FS = ":.*?## "} /^[0-9a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)

clean:
rm -rf _cfgs/ terraform.tfvars.json
rm -f kubeconfig talosctl
rm -rf .terraform.lock.hcl .terraform/ terraform.tfstate terraform.tfstate.backup

create-lb: ## Create load balancer
terraform init
terraform apply -auto-approve -target=output.controlplane_endpoint
Expand Down
3 changes: 3 additions & 0 deletions vultr/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

clean:
rm -rf .terraform.lock.hcl .terraform/ terraform.tfstate terraform.tfstate.backup

0 comments on commit 9e9a98a

Please sign in to comment.