Trim and include Ansible
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Luke Murphy 2021-01-07 00:10:38 +01:00
parent 97cfac538a
commit 87d8e86bb4
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -57,19 +57,16 @@ py3-yaml \
python3 \ python3 \
python3-dev python3-dev
ENV MOLECULE_PLUGINS="\
molecule-hetznercloud \
"
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917006 # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917006
RUN python3 -m pip install -U wheel pip setuptools RUN \
python3 -m pip install -U wheel pip setuptools
ADD . . ADD . .
RUN \ RUN \
python3 -m pip wheel \ python3 -m pip wheel \
-w dist \ -w dist \
molecule testinfra ${MOLECULE_PLUGINS} molecule testinfra molecule-hetznercloud ansible
RUN ls -1 dist/ RUN ls -1 dist/
@ -132,10 +129,6 @@ ENV PIP_INSTALL_ARGS="\
-f /usr/src/molecule/dist \ -f /usr/src/molecule/dist \
" "
ENV MOLECULE_PLUGINS="\
molecule-hetznercloud \
"
RUN \ RUN \
apk add --update --no-cache \ apk add --update --no-cache \
${BUILD_DEPS} ${PACKAGES} \ ${BUILD_DEPS} ${PACKAGES} \
@ -147,11 +140,6 @@ COPY --from=molecule-builder \
/usr/src/molecule/dist /usr/src/molecule/dist
RUN \ RUN \
python3 -m pip install \ python3 -m pip install molecule testinfra molecule-hetznercloud ansible
${PIP_INSTALL_ARGS} \
molecule testinfra ${MOLECULE_PLUGINS} && \
molecule --version && \
molecule drivers && \
pip check
ENV SHELL /bin/bash ENV SHELL /bin/bash