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

akshat pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 1dbbe7be953 Fix GitHub Actions workflow for 
`ITNestedQueryPushDownTest` integration test (#17907)
1dbbe7be953 is described below

commit 1dbbe7be953eb362d6cb5fe679d82146ad0cdfbf
Author: Akshat Jain <[email protected]>
AuthorDate: Sun Apr 13 23:02:53 2025 +0530

    Fix GitHub Actions workflow for `ITNestedQueryPushDownTest` integration 
test (#17907)
---
 .github/workflows/standard-its.yml                      | 6 +++++-
 integration-tests/script/build_run_k8s_cluster.sh       | 1 +
 integration-tests/script/setup_druid_on_k8s.sh          | 8 +-------
 integration-tests/script/setup_druid_operator_on_k8s.sh | 1 +
 integration-tests/script/setup_k8s_cluster.sh           | 1 +
 5 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/standard-its.yml 
b/.github/workflows/standard-its.yml
index 0b081151a7e..510ef91c480 100644
--- a/.github/workflows/standard-its.yml
+++ b/.github/workflows/standard-its.yml
@@ -171,7 +171,11 @@ jobs:
       - name: Run IT
         id: test
         run: |
-          # Debug echo
+          echo "Running mvn -B -ff install -pl '!web-console' 
-Pdist,bundle-contrib-exts -Pskip-static-checks,skip-tests 
-Dmaven.javadoc.skip=true -T1C"
+          mvn -B -ff install -pl '!web-console' -Pdist,bundle-contrib-exts 
-Pskip-static-checks,skip-tests -Dmaven.javadoc.skip=true -T1C
+          # Note: The above command relies on the correct version of the JARs 
being installed in the local m2 repository.
+          # For any changes, please rebuild it using the command from the 
previous step (./it.sh ci).
+
           echo "MAVEN_OPTS='-Xmx2048m' ${MVN} verify -pl integration-tests -P 
int-tests-config-file ${IT_TEST} ${MAVEN_SKIP} -Dpod.name=${POD_NAME} 
-Dpod.namespace=${POD_NAMESPACE} -Dbuild.druid.cluster=${BUILD_DRUID_CLUSTER}"
           MAVEN_OPTS='-Xmx2048m' ${MVN} verify -pl integration-tests -P 
int-tests-config-file ${IT_TEST} ${MAVEN_SKIP} -Dpod.name=${POD_NAME} 
-Dpod.namespace=${POD_NAMESPACE} -Dbuild.druid.cluster=${BUILD_DRUID_CLUSTER}
 
diff --git a/integration-tests/script/build_run_k8s_cluster.sh 
b/integration-tests/script/build_run_k8s_cluster.sh
index b105476cbad..a00059ad5f2 100755
--- a/integration-tests/script/build_run_k8s_cluster.sh
+++ b/integration-tests/script/build_run_k8s_cluster.sh
@@ -15,6 +15,7 @@
 # limitations under the License.
 
 set -e
+set -x
 
 if ($BUILD_DRUID_CLSUTER); then
 
diff --git a/integration-tests/script/setup_druid_on_k8s.sh 
b/integration-tests/script/setup_druid_on_k8s.sh
index 3a860f3e72d..cbd3b89d81c 100755
--- a/integration-tests/script/setup_druid_on_k8s.sh
+++ b/integration-tests/script/setup_druid_on_k8s.sh
@@ -15,6 +15,7 @@
 # limitations under the License.
 
 set -e
+set -x
 
 export KUBECTL="/usr/local/bin/kubectl"
 
@@ -25,13 +26,6 @@ rm -rf docker/client_tls
 cp -r client_tls docker/client_tls
 cd ..
 
-# Build Docker images for pods
-mvn -B -ff -q \
-      install \
-      -Pdist,bundle-contrib-exts \
-      -Pskip-static-checks,skip-tests \
-      -Dmaven.javadoc.skip=true -T1C
-
 DOCKER_BUILDKIT=1 docker build --build-arg BUILD_FROM_SOURCE=0 -t 
druid/base:v1 -f distribution/docker/Dockerfile .
 DOCKER_BUILDKIT=1 docker build --build-arg BASE_IMAGE=druid/base:v1 -t 
druid/cluster:v1 -f distribution/docker/DockerfileBuildTarAdvanced .
 
diff --git a/integration-tests/script/setup_druid_operator_on_k8s.sh 
b/integration-tests/script/setup_druid_operator_on_k8s.sh
index 1887413b2f9..0c238a90cbd 100755
--- a/integration-tests/script/setup_druid_operator_on_k8s.sh
+++ b/integration-tests/script/setup_druid_operator_on_k8s.sh
@@ -15,6 +15,7 @@
 # limitations under the License.
 
 set -e
+set -x
 
 export DRUID_OPERATOR_VERSION=v1.0.0
 export KUBECTL="/usr/local/bin/kubectl"
diff --git a/integration-tests/script/setup_k8s_cluster.sh 
b/integration-tests/script/setup_k8s_cluster.sh
index e3e6112de56..98886f2befc 100755
--- a/integration-tests/script/setup_k8s_cluster.sh
+++ b/integration-tests/script/setup_k8s_cluster.sh
@@ -15,6 +15,7 @@
 # limitations under the License.
 
 set -e
+set -x
 
 export INSTALL_K3S_VERSION=v1.21.14+k3s1
 export KUBECONFIG=$HOME/.kube/config


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to