Commit 4d4678d6 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix: replace deprecated Docker Hub registry FQDN

parent eed9954f
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ include:
  - component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python@7.11.0
    # 2: set/override component inputs
    inputs:
      image: registry.hub.docker.com/library/python:3.12-slim
      image: docker.io/library/python:3.12-slim
      pytest-enabled: true
```

@@ -34,7 +34,7 @@ include:

variables:
  # 2: set/override template variables
  PYTHON_IMAGE: registry.hub.docker.com/library/python:3.12-slim
  PYTHON_IMAGE: docker.io/library/python:3.12-slim
  PYTEST_ENABLED: "true"
```

@@ -44,7 +44,7 @@ The Python template uses some global configuration used throughout all jobs.

| Input / Variable     | Description                                                                           | Default value      |
| -------------------- | ------------------------------------------------------------------------------------- | ------------------ |
| `image` / `PYTHON_IMAGE` | The Docker image used to run Python <br/>:warning: **set the version required by your project** | `registry.hub.docker.com/library/python:3-slim` <br/>[![Trivy Badge](https://to-be-continuous.gitlab.io/doc/secu/trivy-badge-PYTHON_IMAGE.svg)](https://to-be-continuous.gitlab.io/doc/secu/trivy-PYTHON_IMAGE) |
| `image` / `PYTHON_IMAGE` | The Docker image used to run Python <br/>:warning: **set the version required by your project** | `docker.io/library/python:3-slim` <br/>[![Trivy Badge](https://to-be-continuous.gitlab.io/doc/secu/trivy-badge-PYTHON_IMAGE.svg)](https://to-be-continuous.gitlab.io/doc/secu/trivy-PYTHON_IMAGE) |
| `project-dir` / `PYTHON_PROJECT_DIR` | Python project root directory                                                         | `.`                |
| `build-system` / `PYTHON_BUILD_SYSTEM`| Python build-system to use to install dependencies, build and package the project (see below) | `auto` (auto-detect) |
| `PIP_INDEX_URL`      | Python repository url                                                                 | _none_             |
@@ -684,7 +684,7 @@ include:
  - component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python@7.11.0
    # 2: set/override component inputs
    inputs:
      image: registry.hub.docker.com/library/python:3.12-slim
      image: docker.io/library/python:3.12-slim
      pytest-enabled: true

  - component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python-gcp@7.11.0
@@ -750,7 +750,7 @@ include:
  - component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python@7.11.0
    # 2: set/override component inputs
    inputs:
      image: registry.hub.docker.com/library/python:3.12-slim
      image: docker.io/library/python:3.12-slim
      pytest-enabled: true

  - component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python-aws-codeartifact@7.11.0
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
    {
      "name": "PYTHON_IMAGE",
      "description": "The Docker image used to run Python - **set the version required by your project**",
      "default": "registry.hub.docker.com/library/python:3-slim"
      "default": "docker.io/library/python:3-slim"
    },
    {
      "name": "PYTHON_PROJECT_DIR",
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ spec:
  inputs:
    image:
      description: The Docker image used to run Python - **set the version required by your project**
      default: registry.hub.docker.com/library/python:3-slim
      default: docker.io/library/python:3-slim
    project-dir:
      description: Python project root directory
      default: .