Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update templated files to rev 1ce22e8 #676

Merged
merged 1 commit into from
Mar 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Cargo.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -152,7 +152,7 @@ publish: docker-publish helm-publish

run-dev:
kubectl apply -f deploy/stackable-operators-ns.yaml
nix run -f. tilt -- up --port 5438 --namespace stackable-operators
nix run -f. tilt -- up --port 5430 --namespace stackable-operators

stop-dev:
nix run -f. tilt -- down
4 changes: 2 additions & 2 deletions crate-hashes.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions scripts/run_tests.sh
Original file line number Diff line number Diff line change
@@ -33,6 +33,7 @@ BEKU_TEST_SUITE=""
KUTTL_TEST=""
KUTTL_SKIP_DELETE=""
KUTTL_PARALLEL=""
KUTTL_NAMESPACE=""

is_installed() {
local command="$1"
@@ -79,6 +80,15 @@ run_tests() {
OPTS+=("--skip-delete")
fi

if [ -n "$KUTTL_NAMESPACE" ]; then
OPTS+=("--namespace $KUTTL_NAMESPACE")

# Create the namespace if it does not exist.
# To avoid an error when the namespace already exists, we use "kubectl describe"
# and if that fails we create the namespace.
kubectl describe namespace "$KUTTL_NAMESPACE" || kubectl create namespace "$KUTTL_NAMESPACE"
fi

if [ -n "$KUTTL_PARALLEL" ]; then
OPTS+=("--parallel $KUTTL_PARALLEL")
fi
@@ -105,6 +115,7 @@ usage() {
--skip-delete Skip resource deletion after the test run.
--parallel <number> Run tests in parallel. Default is to run all tests in parallel.
--skip-release Skip the operator installation.
--namespace <namespace> Run the tests in the specified namespace.
USAGE
}

@@ -129,6 +140,10 @@ parse_args() {
KUTTL_TEST="$2"
shift
;;
--namespace)
KUTTL_NAMESPACE="$2"
shift
;;
*)
echo "Unknown parameter : $1"
usage