Skip to content
Snippets Groups Projects
Commit 082f3083 authored by Cédric OLIVIER's avatar Cédric OLIVIER Committed by Mathieu Porras
Browse files

fix: "Missing git package for py-release job"

parent 9c97675b
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ The Python template uses some global configuration used throughout all jobs. ...@@ -21,7 +21,7 @@ The Python template uses some global configuration used throughout all jobs.
| Name | description | default value | | Name | description | default value |
| -------------------- | ---------------------------------------------------------------------------------------------------------------- | ------------------ | | -------------------- | ---------------------------------------------------------------------------------------------------------------- | ------------------ |
| `PYTHON_IMAGE` | The Docker image used to run Python. **It is highly recommended to set the specific version your project needs** | `python:3-slim` | | `PYTHON_IMAGE` | The Docker image used to run Python. **It is highly recommended to set the specific version your project needs** | `python:3` |
| `PIP_INDEX_URL` | Python repository url | _none_ | | `PIP_INDEX_URL` | Python repository url | _none_ |
| `PYTHON_PROJECT_DIR` | Python project root directory | `.` | | `PYTHON_PROJECT_DIR` | Python project root directory | `.` |
| `REQUIREMENTS_FILE` | Path to requirements file _(relative to `$PYTHON_PROJECT_DIR`)_ | `requirements.txt` | | `REQUIREMENTS_FILE` | Path to requirements file _(relative to `$PYTHON_PROJECT_DIR`)_ | `requirements.txt` |
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
{ {
"name": "PYTHON_IMAGE", "name": "PYTHON_IMAGE",
"description": "The Docker image used to run Python - **it is highly recommended to set the specific version your project needs**", "description": "The Docker image used to run Python - **it is highly recommended to set the specific version your project needs**",
"default": "python:3-slim" "default": "python:3"
}, },
{ {
"name": "PYTHON_PROJECT_DIR", "name": "PYTHON_PROJECT_DIR",
......
...@@ -17,7 +17,7 @@ variables: ...@@ -17,7 +17,7 @@ variables:
# Change pip's cache directory to be inside the project directory since we can # Change pip's cache directory to be inside the project directory since we can
# only cache local items. # only cache local items.
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
PYTHON_IMAGE: python:3-slim PYTHON_IMAGE: python:3
# Default Python project root directory # Default Python project root directory
PYTHON_PROJECT_DIR: . PYTHON_PROJECT_DIR: .
REQUIREMENTS_FILE: requirements.txt REQUIREMENTS_FILE: requirements.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment