chore(deps): update dependency molecule to v5 (#283)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

Reviewed-on: docker/molecule#283
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
This commit is contained in:
Renovator Bot 2023-04-26 09:30:45 +02:00 committed by Robert Kaussow
parent ef0af3c659
commit 5dc5c40a6b

View File

@ -11,7 +11,7 @@ ARG ANSIBLE_VERSION
ARG BUILD_VERSION ARG BUILD_VERSION
# renovate: datasource=pypi depName=molecule # renovate: datasource=pypi depName=molecule
ENV MOLECULE_VERSION="${BUILD_VERSION:-4.0.4}" ENV MOLECULE_VERSION="${BUILD_VERSION:-5.0.0}"
# renovate: datasource=pypi depName=ansible # renovate: datasource=pypi depName=ansible
ENV ANSIBLE_VERSION="${ANSIBLE_VERSION:-7.4.0}" ENV ANSIBLE_VERSION="${ANSIBLE_VERSION:-7.4.0}"
@ -34,10 +34,10 @@ RUN apk add --update --no-cache --virtual .build-deps build-base libffi-dev musl
MOLECULE_MAJOR="${MOLECULE_VERSION%%.*}" && \ MOLECULE_MAJOR="${MOLECULE_VERSION%%.*}" && \
if [ -z "${MOLECULE_MAJOR//[0-9]}" ] && [ -n "$MOLECULE_MAJOR" ]; then \ if [ -z "${MOLECULE_MAJOR//[0-9]}" ] && [ -n "$MOLECULE_MAJOR" ]; then \
echo "Installing molecule version '$MOLECULE_VERSION' ..." && \ echo "Installing molecule version '$MOLECULE_VERSION' ..." && \
pip install -qq --no-cache-dir molecule[docker,lint,test]=="$MOLECULE_VERSION"; \ pip install -qq --no-cache-dir molecule[docker,test]=="$MOLECULE_VERSION"; \
else \ else \
echo "Installing latest molecule ..." && \ echo "Installing latest molecule ..." && \
pip install -qq --no-cache-dir molecule[docker,lint,test]; \ pip install -qq --no-cache-dir molecule[docker,test]; \
fi && \ fi && \
apk del .build-deps && \ apk del .build-deps && \
rm -rf /var/cache/apk/* && \ rm -rf /var/cache/apk/* && \