Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,17 +104,16 @@ jobs:
cd dev-support/atlas-docker
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
docker compose -f docker-compose.atlas-base.yml build
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-kafka.yml \
-f docker-compose.atlas-hive.yml up -d
-f docker-compose.atlas-hive.yml up -d --wait

- name: Check status of containers and remove them
run: |
sleep 60
containers=(atlas atlas-hadoop atlas-hbase atlas-kafka atlas-hive);
flag=true;
for container in "${containers[@]}"; do
Expand Down
2 changes: 0 additions & 2 deletions dev-support/atlas-docker/docker-compose.atlas-hadoop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ services:
ports:
- "9000:9000"
- "8088:8088"
depends_on:
- atlas-base
healthcheck:
test: [ "CMD-SHELL", "su hdfs -c \"/opt/hadoop/bin/hdfs dfsadmin -report | grep -q 'Live datanodes'\"" ]
interval: 30s
Expand Down
13 changes: 9 additions & 4 deletions dev-support/atlas-docker/docker-compose.atlas-hive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ services:
tty: true
networks:
- atlas
healthcheck:
test: [ "CMD-SHELL", "su hdfs -c \"/opt/hadoop/bin/hdfs dfsadmin -report | grep -q 'Live datanodes'\"" ]
interval: 30s
timeout: 10s
retries: 30
start_period: 40s
ports:
- "10000:10000"
depends_on:
Expand All @@ -40,11 +46,10 @@ services:
networks:
- atlas
healthcheck:
test: [ "CMD-SHELL", "su hdfs -c \"/opt/hadoop/bin/hdfs dfsadmin -report | grep -q 'Live datanodes'\"" ]
interval: 30s
timeout: 10s
test: 'su -c "pg_isready -q" postgres'
interval: 10s
timeout: 2s
retries: 30
start_period: 40s

networks:
atlas:
Expand Down