You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/11/10 10:31:18 UTC

[camel-kamelets] 04/05: Add the ability to specify the Camel version in make of it-tests

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 2355e671bb102ad173535d5f53346a86c130c501
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Nov 10 11:27:43 2022 +0100

    Add the ability to specify the Camel version in make of it-tests
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 it-tests/Makefile | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/it-tests/Makefile b/it-tests/Makefile
index 36bbbc9a..d45d1757 100644
--- a/it-tests/Makefile
+++ b/it-tests/Makefile
@@ -16,18 +16,20 @@
 tests:
 	mkdir tests
 	cd aws/aws-s3/source/ && \
-	./aws-s3-log-it-test.sh 3.20.0-SNAPSHOT
+	./aws-s3-log-it-test.sh $(camel-version)
 	cd aws/aws-s3/sink/ && \
-	./timer-aws-s3-it-test.sh 3.20.0-SNAPSHOT
+	./timer-aws-s3-it-test.sh $(camel-version)
 	cd aws/aws-kinesis/source/ && \
-	./aws-kinesis-log-it-test.sh 3.20.0-SNAPSHOT
+	./aws-kinesis-log-it-test.sh $(camel-version)
 	cd aws/aws-kinesis/sink/ && \
-	./timer-aws-kinesis-it-test.sh 3.20.0-SNAPSHOT
+	./timer-aws-kinesis-it-test.sh $(camel-version)
 	cd aws/aws-sqs/source/ && \
-	./aws-sqs-log-it-test.sh 3.20.0-SNAPSHOT
+	./aws-sqs-log-it-test.sh $(camel-version)
 	cd aws/aws-sqs/sink/ && \
-	./timer-aws-sqs-it-test.sh 3.20.0-SNAPSHOT
+	./timer-aws-sqs-it-test.sh $(camel-version)
 	cd aws/aws-sqs-fifo/sink/ && \
-	./timer-aws-sqs-fifo-it-test.sh 3.20.0-SNAPSHOT
+	./timer-aws-sqs-fifo-it-test.sh $(camel-version)
 	./scripts/results.sh
 	rm -rf tests
+	
+.PHONY: tests clean