From bf5134317905c00158150b760d39dfc39842eaa0 Mon Sep 17 00:00:00 2001 From: Viren Baraiya Date: Fri, 15 Sep 2023 05:00:01 +0100 Subject: [PATCH 1/3] update the test script to run a build --- run_tests.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/run_tests.sh b/run_tests.sh index 7fdddf1..ebbe6e3 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -1,3 +1,4 @@ +./gradlew clean build docker rm -f conductor_test_container docker build -f docker/DockerfileStandalone . -t conductor_test_container docker run -dit --name conductor_test_container -p 8899:8080 -t conductor_test_container From d12b25476a8d3003ef4f77249d3f4e22565c0fbc Mon Sep 17 00:00:00 2001 From: Viren Baraiya Date: Fri, 15 Sep 2023 05:06:02 +0100 Subject: [PATCH 2/3] fix the build for tests --- run_tests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run_tests.sh b/run_tests.sh index ebbe6e3..5d9b164 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -1,4 +1,6 @@ ./gradlew clean build +# Create an empty ui build directory... we don't need UI for this build +mkdir tmp/ui/conductor/ui/build docker rm -f conductor_test_container docker build -f docker/DockerfileStandalone . -t conductor_test_container docker run -dit --name conductor_test_container -p 8899:8080 -t conductor_test_container From b9cce00af7406876f4cb1396bffcdb7e6eb77ef8 Mon Sep 17 00:00:00 2001 From: Viren Baraiya Date: Fri, 15 Sep 2023 05:10:23 +0100 Subject: [PATCH 3/3] Update run_tests.sh --- run_tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index 5d9b164..6c2f39f 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -1,6 +1,6 @@ ./gradlew clean build # Create an empty ui build directory... we don't need UI for this build -mkdir tmp/ui/conductor/ui/build +mkdir -p tmp/ui/conductor/ui/build docker rm -f conductor_test_container docker build -f docker/DockerfileStandalone . -t conductor_test_container docker run -dit --name conductor_test_container -p 8899:8080 -t conductor_test_container @@ -11,6 +11,7 @@ do done sleep 5 echo "All set - starting tests now" +./gradlew clean ./gradlew -PIntegrationTests orkes-conductor-test-harness:test docker rm -f conductor_test_container