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

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
1 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ ARG ANSIBLE_VERSION
ARG BUILD_VERSION
# 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
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%%.*}" && \
if [ -z "${MOLECULE_MAJOR//[0-9]}" ] && [ -n "$MOLECULE_MAJOR" ]; then \
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 \
echo "Installing latest molecule ..." && \
pip install -qq --no-cache-dir molecule[docker,lint,test]; \
pip install -qq --no-cache-dir molecule[docker,test]; \
fi && \
apk del .build-deps && \
rm -rf /var/cache/apk/* && \