Commit 0ba33fdc authored by Federico Falconieri's avatar Federico Falconieri
Browse files

Merge branch 'hoverht-master-patch-21281' into 'master'

fix: explicitly install requests for safety

See merge request ci/templates!28
parents 455f4838 b0ef7fc0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -41,9 +41,11 @@
      fi
    - printf "Will use the following destinations:${DESTINATIONS}\n" | sed 's/--destination=/\n/g'
    - /kaniko/executor --cache=${USE_CACHE} --context=${CONTEXT} --dockerfile=${DOCKERFILE} ${DESTINATIONS} ${LABELS} ${EXTRA_ARGS}
    - cat ${CONTEXT}/${DOCKERFILE}
    - |
      if [ "${PYTHON_TEST}" = "true" ]; then
        printf "\nRUN if ! python3 -m pip >/dev/null; then wget -q https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py; fi" >> ${CONTEXT}/${DOCKERFILE}
        printf "\nRUN python3 -m pip install pytest pytest-cov pylint pylint_junit safety mutmut coverage" >> ${CONTEXT}/${DOCKERFILE}
        /kaniko/executor --cache=${USE_CACHE} --context=${CONTEXT} --dockerfile=${DOCKERFILE} --destination=${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}-testing ${EXTRA_ARGS}
      fi
    - cat ${CONTEXT}/${DOCKERFILE}
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ authors = []
python = "^3.8"
redis = "^3.5.3"
pip-review = "^1.1.0"
docker = "^4.4.4"

[tool.poetry.dev-dependencies]
black = "^20.8b1"