From 9e4c1903711c4c2bdc863a46126e529eb1ab11fa Mon Sep 17 00:00:00 2001 From: Stacky McStackface Date: Thu, 7 Sep 2023 13:16:27 +0000 Subject: [PATCH] Generated commit to update templated files based on rev 4cc0fe2 in stackabletech/operator-templating repo. Triggered by: Manual run triggered by: razvan with message [add cargo test to pre-commit hooks] --- .pre-commit-config.yaml | 7 +++++++ Makefile | 2 +- deny.toml | 1 + tests/kuttl-test.yaml.jinja2 | 4 +--- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6a450dd6..8aecfce0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,3 +42,10 @@ repos: entry: make regenerate-charts stages: [commit, merge-commit, manual] pass_filenames: false + + - id: cargo-test + name: cargo-test + language: system + entry: cargo test + stages: [commit, merge-commit, manual] + pass_filenames: false diff --git a/Makefile b/Makefile index 5298c3dc..4c2077c2 100644 --- a/Makefile +++ b/Makefile @@ -125,7 +125,7 @@ publish: build docker-publish helm-publish run-dev: kubectl apply -f deploy/stackable-operators-ns.yaml - nix run -f. tilt -- up --port 5444 --namespace stackable-operators + nix run -f. tilt -- up --port 5445 --namespace stackable-operators stop-dev: nix run -f. tilt -- down diff --git a/deny.toml b/deny.toml index e22644fd..65840b8a 100644 --- a/deny.toml +++ b/deny.toml @@ -30,6 +30,7 @@ allow = [ "LicenseRef-ring", "LicenseRef-webpki", "MIT", + "MPL-2.0", "Unicode-DFS-2016", "Zlib" ] diff --git a/tests/kuttl-test.yaml.jinja2 b/tests/kuttl-test.yaml.jinja2 index 386f8cf1..9d0b5efb 100644 --- a/tests/kuttl-test.yaml.jinja2 +++ b/tests/kuttl-test.yaml.jinja2 @@ -24,6 +24,4 @@ parallel: 2 # the VECTOR_AGGREGATOR environment variable, then the test aggregator # uses this period of time by trying to forward the events. In this # case, deleting a namespace with several Pods takes about 90 seconds. -# -# Trino has a higher timeout than other operators as we have a graceful shutdown. -timeout: 300 +timeout: 120