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

16 lines
357 B
Bash
Raw Normal View History

2019-05-11 23:14:54 +00:00
#!/usr/bin/env bash
set -o pipefail
set -o errtrace
set -o nounset
set -o errexit
if [ "${MOLECULE_CUSTOM_MODULES_REPO}" ]; then
2019-05-12 11:57:14 +00:00
mkdir ./library/
git clone "$MOLECULE_CUSTOM_MODULES_REPO" ./library/
2019-05-11 23:14:54 +00:00
fi
2019-05-12 21:17:42 +00:00
if [ "${MOLECULE_CUSTOM_LIBRARY_REPO}" ]; then
mkdir ./plugins/filters/
git clone "$MOLECULE_CUSTOM_LIBRARY_REPO" ./plugins/filters/
fi