This is an automated email from the ASF dual-hosted git repository.
kgyrtkirk pushed a commit to branch 33.0.0
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/33.0.0 by this push:
new feeae4f4c6e Fix GitHub Actions workflow for
`ITNestedQueryPushDownTest` integration test (#17907) (#17922)
feeae4f4c6e is described below
commit feeae4f4c6e7b7a5de8c4609d1cc8f8ab025199b
Author: Zoltan Haindrich <[email protected]>
AuthorDate: Tue Apr 15 17:04:03 2025 +0200
Fix GitHub Actions workflow for `ITNestedQueryPushDownTest` integration
test (#17907) (#17922)
(cherry picked from commit 1dbbe7be953eb362d6cb5fe679d82146ad0cdfbf)
Co-authored-by: Akshat Jain <[email protected]>
---
.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 befc72b2d78..3c10c255807 100644
--- a/.github/workflows/standard-its.yml
+++ b/.github/workflows/standard-its.yml
@@ -175,7 +175,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]