This repository has been archived on 2024-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
molecule/ec2-entrypoint.sh
Robert Kaussow 01298dcb90
Some checks reported errors
continuous-integration/drone/push Build was killed
add env var for a custom library repo
2019-05-12 23:17:42 +02:00

16 lines
357 B
Bash
Executable File

#!/usr/bin/env bash
set -o pipefail
set -o errtrace
set -o nounset
set -o errexit
if [ "${MOLECULE_CUSTOM_MODULES_REPO}" ]; then
mkdir ./library/
git clone "$MOLECULE_CUSTOM_MODULES_REPO" ./library/
fi
if [ "${MOLECULE_CUSTOM_LIBRARY_REPO}" ]; then
mkdir ./plugins/filters/
git clone "$MOLECULE_CUSTOM_LIBRARY_REPO" ./plugins/filters/
fi