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

pinal pushed a commit to branch ATLAS-4991_n
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/ATLAS-4991_n by this push:
     new 4263de112 fix build failure
4263de112 is described below

commit 4263de11260877e2f68081e899d9866e311f89de
Author: Pinal Shah <pinal.s...@freestoneinfotech.com>
AuthorDate: Mon May 5 13:16:09 2025 +0700

    fix build failure
---
 .github/workflows/ci.yml                        |  2 +-
 dev-support/atlas-docker/scripts/atlas-build.sh | 13 +++++++++----
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6c1f65622..57f4ce754 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -69,7 +69,7 @@ jobs:
           cd dev-support/atlas-docker
           export DOCKER_BUILDKIT=1
           export COMPOSE_DOCKER_CLI_BUILD=1
-          SKIPTESTS=false PROFILE=dist docker compose -f 
docker-compose.atlas-base.yml -f docker-compose.atlas-build.yml up
+          SKIPTESTS=false PROFILE= docker compose -f 
docker-compose.atlas-base.yml -f docker-compose.atlas-build.yml up
           ATLAS_BUILD_CONTAINER=$(docker ps -a -q --filter "name=atlas-build")
           EXIT_CODE=$(docker inspect --format '{{.State.ExitCode}}' 
"$ATLAS_BUILD_CONTAINER")
           
diff --git a/dev-support/atlas-docker/scripts/atlas-build.sh 
b/dev-support/atlas-docker/scripts/atlas-build.sh
index cd4bf5605..97e5270a7 100755
--- a/dev-support/atlas-docker/scripts/atlas-build.sh
+++ b/dev-support/atlas-docker/scripts/atlas-build.sh
@@ -86,9 +86,14 @@ else
   done
 fi
 
+echo "mvn ${ARG_PROFILES} ${ARG_SKIPTESTS} -DskipDocs clean verify"
+
 mvn ${ARG_PROFILES} ${ARG_SKIPTESTS} -DskipDocs clean verify
 
-mv -f distro/target/apache-atlas-${ATLAS_VERSION}-server.tar.gz     
/home/atlas/dist/
-mv -f distro/target/apache-atlas-${ATLAS_VERSION}-hive-hook.tar.gz  
/home/atlas/dist/
-mv -f distro/target/apache-atlas-${ATLAS_VERSION}-hbase-hook.tar.gz 
/home/atlas/dist/
-mv -f distro/target/apache-atlas-${ATLAS_VERSION}-kafka-hook.tar.gz 
/home/atlas/dist/
+if [ "${PROFILE}" != "" ]
+then
+       mv -f distro/target/apache-atlas-${ATLAS_VERSION}-server.tar.gz     
/home/atlas/dist/
+       mv -f distro/target/apache-atlas-${ATLAS_VERSION}-hive-hook.tar.gz  
/home/atlas/dist/
+       mv -f distro/target/apache-atlas-${ATLAS_VERSION}-hbase-hook.tar.gz 
/home/atlas/dist/
+       mv -f distro/target/apache-atlas-${ATLAS_VERSION}-kafka-hook.tar.gz 
/home/atlas/dist/
+fi

Reply via email to