2020-06-04 23:03:48 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# @param ${ARCH} The architecture to build. Example: amd64
|
|
|
|
# @param ${DEBIAN_VERSION} The debian version to build. Example: buster
|
|
|
|
# @param ${ARCH_IMAGE} What the Docker Hub Image should be tagged as [default: None]
|
2020-01-14 15:37:44 +01:00
|
|
|
|
|
|
|
set -eux
|
2020-07-16 22:26:21 +02:00
|
|
|
./Dockerfile.py -v --no-cache --arch="${ARCH}" --debian="${DEBIAN_VERSION}" --hub_tag="${ARCH_IMAGE}"
|
2020-05-28 15:15:01 +02:00
|
|
|
docker images
|
|
|
|
|
2020-06-04 23:03:48 +02:00
|
|
|
# TODO: Add junitxml output and have something consume it
|
2020-01-14 15:37:44 +01:00
|
|
|
# 2 parallel max b/c race condition with docker fixture (I think?)
|
|
|
|
py.test -vv -n 2 -k "${ARCH}" ./test/
|