1#!/usr/bin/env bash 2 3SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 4pushd $SCRIPT_DIR 5 6source $SCRIPT_DIR/ci-common.inc 7 8set -e 9set -x 10 11os=fedora 12release=32 13repository=quay.io 14image=fedora/fedora:${release}-$(uname -m) 15 16# Override the standard tests with auto-formatting 17mmd_run_docker_tests \ 18 os=$os \ 19 release=$release \ 20 repository=$repository \ 21 image=$image \ 22 test_template="autoformat/Dockerfile.tmpl" \ 23 test_image="libmodulemd-autoformat-$os:$release" \ 24 oci_extra_args=" 25 -e FORMAT_DEST_DIR=/modulemd-formatted 26 --volume '${SCRIPT_DIR}/../modulemd:/modulemd-formatted:Z' 27 " 28 29popd # $SCRIPT_DIR 30