From 082f308330eb16a42704370190c66ba5a7823671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20OLIVIER?= <cedric3.olivier@orange.com> Date: Wed, 23 Jun 2021 09:21:10 +0000 Subject: [PATCH] fix: "Missing git package for py-release job" --- README.md | 2 +- kicker.json | 2 +- templates/gitlab-ci-python.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7679217..2069cb4 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ The Python template uses some global configuration used throughout all jobs. | 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_ | | `PYTHON_PROJECT_DIR` | Python project root directory | `.` | | `REQUIREMENTS_FILE` | Path to requirements file _(relative to `$PYTHON_PROJECT_DIR`)_ | `requirements.txt` | diff --git a/kicker.json b/kicker.json index f3c25b0..4bbcde2 100644 --- a/kicker.json +++ b/kicker.json @@ -7,7 +7,7 @@ { "name": "PYTHON_IMAGE", "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", diff --git a/templates/gitlab-ci-python.yml b/templates/gitlab-ci-python.yml index 5bc8835..b849f81 100644 --- a/templates/gitlab-ci-python.yml +++ b/templates/gitlab-ci-python.yml @@ -17,7 +17,7 @@ variables: # Change pip's cache directory to be inside the project directory since we can # only cache local items. PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" - PYTHON_IMAGE: python:3-slim + PYTHON_IMAGE: python:3 # Default Python project root directory PYTHON_PROJECT_DIR: . REQUIREMENTS_FILE: requirements.txt -- GitLab