File: run-compose

package info (click to toggle)
ldaptive 2.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,192 kB
  • sloc: java: 68,618; xml: 3,223; sh: 338; makefile: 2
file content (15 lines) | stat: -rwxr-xr-x 404 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

if [ -z "${TEST_GROUP}" ]; then
  TEST_GROUP="core"
fi

if [ -z "${JDK}" ]; then
  JDK="11"
fi
COMPOSE_FILE="integration/docker-compose-jdk${JDK}.yml"

docker compose -f ${COMPOSE_FILE} down && \
  docker network prune -f && \
  docker compose -f ${COMPOSE_FILE} pull && \
  TEST_GROUP="${TEST_GROUP}" docker compose -f ${COMPOSE_FILE} up --build --abort-on-container-exit --attach ldaptive