Commit 8c3419f5 authored by semantic-release-bot's avatar semantic-release-bot
Browse files

chore(release): 7.0.0 [skip ci]

# [7.0.0](https://gitlab.com/to-be-continuous/python/compare/6.11.1...7.0.0) (2024-05-17)

### Code Refactoring

* **Trivy:** py-trivy job is enabled by default ([d9e86795](https://gitlab.com/to-be-continuous/python/commit/d9e867952d5a2040037c5cb03456380b976219af))

### Features

* add support for slim and alpine Python images + change default base image ([22003d19](https://gitlab.com/to-be-continuous/python/commit/22003d195670f3d923f31014636485bc783068bb))

### BREAKING CHANGES

* **Trivy:** py-trivy job is enabled by default
'trivy-enabled' input is no longer supported - use 'trivy-disabled' instead
* the default base image has been changed to python:debian-slim
parent d9e86795
Loading
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
# [7.0.0](https://gitlab.com/to-be-continuous/python/compare/6.11.1...7.0.0) (2024-05-17)


### Code Refactoring

* **Trivy:** py-trivy job is enabled by default ([d9e8679](https://gitlab.com/to-be-continuous/python/commit/d9e867952d5a2040037c5cb03456380b976219af))


### Features

* add support for slim and alpine Python images + change default base image ([22003d1](https://gitlab.com/to-be-continuous/python/commit/22003d195670f3d923f31014636485bc783068bb))


### BREAKING CHANGES

* **Trivy:** py-trivy job is enabled by default
'trivy-enabled' input is no longer supported - use 'trivy-disabled' instead
* the default base image has been changed to python:debian-slim

## [6.11.1](https://gitlab.com/to-be-continuous/python/compare/6.11.0...6.11.1) (2024-05-05)


+6 −6
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ Add the following to your `gitlab-ci.yml`:
```yaml
include:
  # 1: include the component
  - component: gitlab.com/to-be-continuous/python/gitlab-ci-python@6.11.1
  - component: gitlab.com/to-be-continuous/python/gitlab-ci-python@7.0.0
    # 2: set/override component inputs
    inputs:
      image: registry.hub.docker.com/library/python:3.12-slim
@@ -29,7 +29,7 @@ Add the following to your `gitlab-ci.yml`:
include:
  # 1: include the template
  - project: 'to-be-continuous/python'
    ref: '6.11.1'
    ref: '7.0.0'
    file: '/templates/gitlab-ci-python.yml'

variables:
@@ -517,9 +517,9 @@ With:
```yaml
include:
  # main component
  - component: gitlab.com/to-be-continuous/python/gitlab-ci-python@6.11.1
  - component: gitlab.com/to-be-continuous/python/gitlab-ci-python@7.0.0
  # Vault variant
  - component: gitlab.com/to-be-continuous/python/gitlab-ci-python-vault@6.11.1
  - component: gitlab.com/to-be-continuous/python/gitlab-ci-python-vault@7.0.0
    inputs:
      vault-base-url: "https://vault.acme.host/v1"
      # audience claim for JWT
@@ -559,13 +559,13 @@ The variant requires the additional configuration parameters:

```yaml
include:
  - component: gitlab.com/to-be-continuous/python/gitlab-ci-python@6.11.1
  - component: gitlab.com/to-be-continuous/python/gitlab-ci-python@7.0.0
    # 2: set/override component inputs
    inputs:
      image: registry.hub.docker.com/library/python:3.12-slim
      pytest-enabled: true

  - component: gitlab.com/to-be-continuous/python/gitlab-ci-python-gcp@6.11.1
  - component: gitlab.com/to-be-continuous/python/gitlab-ci-python-gcp@7.0.0
    inputs:
      # common OIDC config for non-prod envs
      gcp-oidc-provider: "projects/<gcp_nonprod_proj_id>/locations/global/workloadIdentityPools/<pool_id>/providers/<provider_id>"
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ variables:
  image: $PYTHON_IMAGE
  services:
    - name: "$TBC_TRACKING_IMAGE"
      command: ["--service", "python", "6.11.1"]
      command: ["--service", "python", "7.0.0"]
  variables:
    GCP_JWT: $GCP_JWT
  before_script:
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ variables:
.python-base:
  services:
    - name: "$TBC_TRACKING_IMAGE"
      command: ["--service", "python", "6.11.1"]
      command: ["--service", "python", "7.0.0"]
    - name: "$TBC_VAULT_IMAGE"
      alias: "vault-secrets-provider"
  variables:
+1 −1
Original line number Diff line number Diff line
@@ -880,7 +880,7 @@ stages:
  image: $PYTHON_IMAGE
  services:
    - name: "$TBC_TRACKING_IMAGE"
      command: ["--service", "python", "6.11.1"]
      command: ["--service", "python", "7.0.0"]
  variables:
    # set local cache dir; most Python tools honour XDG specs
    XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"