This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push: new 46f62b4fc (#5463) Add make targets: setup-knative, setup-yaks 46f62b4fc is described below commit 46f62b4fce9d2e25c8a0802a4720c77d5aab58d7 Author: Thomas Diesler <tdies...@redhat.com> AuthorDate: Thu Jun 20 13:17:27 2024 +0200 (#5463) Add make targets: setup-knative, setup-yaks --- e2e/knative/files/setup.sh | 2 +- script/Makefile | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/e2e/knative/files/setup.sh b/e2e/knative/files/setup.sh index 34482f6e5..5ad85a5df 100755 --- a/e2e/knative/files/setup.sh +++ b/e2e/knative/files/setup.sh @@ -77,7 +77,7 @@ EVENTING_CORE="https://github.com/knative/eventing/releases/download/${EVENTING_ IN_MEMORY_CHANNEL="https://github.com/knative/eventing/releases/download/${EVENTING_VERSION}/in-memory-channel.yaml" CHANNEL_BROKER="https://github.com/knative/eventing/releases/download/${EVENTING_VERSION}/mt-channel-broker.yaml" -KNATIVE_TEMP=$(mktemp -d knative-XXXX) +KNATIVE_TEMP=$(mkdir -p ./build/_output && mktemp -d ./build/_output/knative-XXXX) # Serving CRDs # diff --git a/script/Makefile b/script/Makefile index e144d6afb..11b317fc9 100644 --- a/script/Makefile +++ b/script/Makefile @@ -266,6 +266,18 @@ else @echo "####### Skipping unit test..." endif +# +# Setup the Knative test environment +# +setup-knative: + ./e2e/knative/files/setup.sh + +# +# Setup the Yaks test environment +# +setup-yaks: + ./e2e/yaks/files/setup.sh + # # Common tests that do not require any customized operator setting. They can leverage a unique namespaced operator installation to reduce # the time to complete (they are used also as smoke test for nightly release)