@@ -49,13 +49,30 @@ jobs:
4949 restore-keys : |
5050 maven-repo-
5151
52+ - name : Set up .m2 directory and permissions
53+ run : |
54+ mkdir -p ~/.m2/repository
55+ chmod -R 777 ~/.m2
56+ chmod -R 777 ./
57+
5258 - name : Set up JDK 8
5359 uses : actions/setup-java@v4
5460 with :
5561 java-version : ' 8'
5662 distribution : ' temurin'
5763
64+ - name : Clean up Docker space
65+ run : docker system prune --all --force --volumes
66+
67+ - name : Build Atlas - JDK 8
68+ run : |
69+ cd dev-support/atlas-docker
70+ export DOCKER_BUILDKIT=1
71+ export COMPOSE_DOCKER_CLI_BUILD=1
72+ SKIPTESTS=false docker compose -f docker-compose.atlas-base.yml -f docker-compose.atlas-build.yml up
73+
5874 - name : Cache downloaded archives
75+ if : success()
5976 uses : actions/cache@v4
6077 with :
6178 path : dev-support/atlas-docker/downloads
6885 cd dev-support/atlas-docker
6986 chmod +x download-archives.sh && ./download-archives.sh
7087
71- - name : Clean up Docker space
72- run : docker system prune --all --force --volumes
73-
74- - name : Build Atlas - JDK 8
75- run : |
76- cd dev-support/atlas-docker
77- export DOCKER_BUILDKIT=1
78- export COMPOSE_DOCKER_CLI_BUILD=1
79- SKIPTESTS=false docker compose -f docker-compose.atlas-base.yml -f docker-compose.atlas-build.yml up
80-
8188 - name : Bring up containers
8289 run : |
8390 cd dev-support/atlas-docker
8693 docker compose \
8794 -f docker-compose.atlas-base.yml \
8895 -f docker-compose.atlas.yml \
89- -f docker-compose.atlas-hadoop.yml \
90- -f docker-compose.atlas-hbase.yml \
96+ -f docker-compose.atlas-hadoop.yml \
97+ -f docker-compose.atlas-hbase.yml \
9198 -f docker-compose.atlas-kafka.yml \
9299 -f docker-compose.atlas-hive.yml up -d
93100
0 commit comments