From f179627a30c18f72bd55dc7b66f4eb2980df7e86 Mon Sep 17 00:00:00 2001 From: Cory Latschkowski Date: Tue, 10 Oct 2023 17:36:42 -0500 Subject: [PATCH] add: things --- clusters/README.md | 4 ++++ scripts/{library => }/automate_operators.sh | 0 scripts/library/unsorted.sh | 8 ++++++++ scripts/validate_manifests.sh | 2 +- 4 files changed, 13 insertions(+), 1 deletion(-) rename scripts/{library => }/automate_operators.sh (100%) diff --git a/clusters/README.md b/clusters/README.md index e69de29b..d49576fa 100644 --- a/clusters/README.md +++ b/clusters/README.md @@ -0,0 +1,4 @@ +## Examples + +- Demos +- Workshops diff --git a/scripts/library/automate_operators.sh b/scripts/automate_operators.sh similarity index 100% rename from scripts/library/automate_operators.sh rename to scripts/automate_operators.sh diff --git a/scripts/library/unsorted.sh b/scripts/library/unsorted.sh index 1a248525..bfcbc4d9 100644 --- a/scripts/library/unsorted.sh +++ b/scripts/library/unsorted.sh @@ -1 +1,9 @@ #!/bin/sh + +until_true(){ + until "$@" + do + "$@" + sleep 1 + done +} diff --git a/scripts/validate_manifests.sh b/scripts/validate_manifests.sh index 8079c2ea..3f10d9f3 100755 --- a/scripts/validate_manifests.sh +++ b/scripts/validate_manifests.sh @@ -43,7 +43,7 @@ init(){ display_help exit 0 ;; - -*) echo >&2 "Invalid option: $@" + -*) echo >&2 "Invalid option: ${@}" exit 1 ;; esac