Debian Codegraph @

integration/run-compose

raw
1 #!/bin/bash
2
3 if [ -z "${TEST_GROUP}" ]; then
4 TEST_GROUP="core"
5 fi
6
7 if [ -z "${JDK}" ]; then
8 JDK="11"
9 fi
10 COMPOSE_FILE="integration/docker-compose-jdk${JDK}.yml"
11
12 docker compose -f ${COMPOSE_FILE} down && \
13 docker network prune -f && \
14 docker compose -f ${COMPOSE_FILE} pull && \
15 TEST_GROUP="${TEST_GROUP}" docker compose -f ${COMPOSE_FILE} up --build --abort-on-container-exit --attach ldaptive