Skip to content

Commit

Permalink
add make stop
Browse files Browse the repository at this point in the history
  • Loading branch information
usrbinkat committed Jan 27, 2024
1 parent 92805a1 commit cbd72ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/kind.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This GitHub Workflow will run on every push to the repository
# and will test the Kargo codebase on a Kind Kubernetes cluster.
name: CI Testing - Konductor on Kind
name: CI Testing - Kargo on Kind

on: push

Expand Down
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ $(error GITHUB_TOKEN is not set)
endif

# --- Targets ---
.PHONY: help detect-arch pulumi-login pulumi-up up talos-gen-config talos-cluster kind-cluster clean clean-all act konductor test-kind test-talos
.PHONY: help detect-arch pulumi-login pulumi-up up talos-gen-config talos-cluster kind-cluster clean clean-all act konductor test-kind test-talos stop

# --- Default Command ---
all: help
Expand All @@ -47,6 +47,7 @@ help:
@echo " act - Test GitHub Actions locally."
@echo " konductor - Maintain .github/devcontainer submodule."
@echo " test - Run setup tests."
@echo " stop - Stop Github Codespaces."

# --- Detect Architecture ---
detect-arch:
Expand Down Expand Up @@ -214,3 +215,9 @@ test-kind: kind pulumi-up

test-talos: talos pulumi-up
@echo "Talos test complete."

# --- Stop Codespaces ---
stop:
@echo "Stopping Codespaces..."
@gh codespace --codespace ${CODESPACE_NAME} stop
@echo "Codespaces stopped."

0 comments on commit cbd72ed

Please sign in to comment.