Skip to content

Commit

Permalink
Merge branch 'apache:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
mneethiraj authored Jan 22, 2025
2 parents 5924b4a + 67c0376 commit ad8bdc8
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,30 @@ jobs:
restore-keys: |
maven-repo-
- name: Set up .m2 directory and permissions
run: |
mkdir -p ~/.m2/repository
chmod -R 777 ~/.m2
chmod -R 777 ./
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'

- name: Clean up Docker space
run: docker system prune --all --force --volumes

- name: Build Atlas - JDK 8
run: |
cd dev-support/atlas-docker
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
SKIPTESTS=false docker compose -f docker-compose.atlas-base.yml -f docker-compose.atlas-build.yml up
- name: Cache downloaded archives
if: success()
uses: actions/cache@v4
with:
path: dev-support/atlas-docker/downloads
Expand All @@ -68,16 +85,6 @@ jobs:
cd dev-support/atlas-docker
chmod +x download-archives.sh && ./download-archives.sh
- name: Clean up Docker space
run: docker system prune --all --force --volumes

- name: Build Atlas - JDK 8
run: |
cd dev-support/atlas-docker
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
SKIPTESTS=false docker compose -f docker-compose.atlas-base.yml -f docker-compose.atlas-build.yml up
- name: Bring up containers
run: |
cd dev-support/atlas-docker
Expand All @@ -86,8 +93,8 @@ jobs:
docker compose \
-f docker-compose.atlas-base.yml \
-f docker-compose.atlas.yml \
-f docker-compose.atlas-hadoop.yml \
-f docker-compose.atlas-hbase.yml \
-f docker-compose.atlas-hadoop.yml \
-f docker-compose.atlas-hbase.yml \
-f docker-compose.atlas-kafka.yml \
-f docker-compose.atlas-hive.yml up -d
Expand Down

0 comments on commit ad8bdc8

Please sign in to comment.