Skip to content

Commit

Permalink
add help case for CI
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Chua<chua0990@e.ntu.edu.sg>
  • Loading branch information
jchua99 committed Nov 22, 2023
1 parent d53e2e6 commit 79d6dd9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_openyurt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ jobs:

- name: Show scripts help info
run:
./scripts/openyurt-deployer/oy_deploy
./scripts/openyurt-deployer/oy_deploy help

2 changes: 2 additions & 0 deletions scripts/openyurt-deployer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ func main() {
// printDemo(*deployerConf)
case "deploy-yurt":
deployOpenYurt(*deployerConf)
case "help":
utils.InfoPrintf("Usage: %s <operation: deploy | clean | demo-c | demo-e | demo-clear | demo-print> [Parameters...]\n", os.Args[0])
default:
utils.InfoPrintf("Usage: %s <operation: deploy | clean | demo-c | demo-e | demo-clear | demo-print> [Parameters...]\n", os.Args[0])
os.Exit(-1)
Expand Down
Binary file modified scripts/openyurt-deployer/openyurt_deployer
Binary file not shown.

0 comments on commit 79d6dd9

Please sign in to comment.