Commit f229c70b authored by Victor Engmark's avatar Victor Engmark Committed by Katrin Leinweber
parent 061963f3
...@@ -636,25 +636,17 @@ include: ...@@ -636,25 +636,17 @@ include:
- template: Dependency-Scanning.gitlab-ci.yml - template: Dependency-Scanning.gitlab-ci.yml
stages: stages:
- .pre
- test - test
variables: variables:
PIP_REQUIREMENTS_FILE: "requirements-converted.txt" PIP_REQUIREMENTS_FILE: "requirements-converted.txt"
convert-poetry: gemnasium-python-dependency_scanning:
stage: .pre # Work around https://gitlab.com/gitlab-org/gitlab/-/issues/7006
image: python:3-slim before_script:
script:
- pip install poetry # Or via another method: https://python-poetry.org/docs/#installation - pip install poetry # Or via another method: https://python-poetry.org/docs/#installation
- poetry export --output "$PIP_REQUIREMENTS_FILE" - poetry export --output="$PIP_REQUIREMENTS_FILE"
artifacts: - rm poetry.lock pyproject.toml
paths:
- "$PIP_REQUIREMENTS_FILE"
dependency_scanning:
stage: test
dependencies: ["convert-poetry"]
``` ```
### `Error response from daemon: error processing tar file: docker-tar: relocation error` ### `Error response from daemon: error processing tar file: docker-tar: relocation error`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment