From 8c3419f56ed7eac71bb6f592a3969565ff66e41f Mon Sep 17 00:00:00 2001 From: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri, 17 May 2024 16:07:11 +0000 Subject: [PATCH] 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 ([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 --- CHANGELOG.md | 19 +++++++++++++++++++ README.md | 12 ++++++------ templates/gitlab-ci-python-gcp.yml | 2 +- templates/gitlab-ci-python-vault.yml | 2 +- templates/gitlab-ci-python.yml | 2 +- 5 files changed, 28 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3656e2a..91eebe2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +# [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) diff --git a/README.md b/README.md index aae8fdd..39e9ecb 100644 --- a/README.md +++ b/README.md @@ -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>" diff --git a/templates/gitlab-ci-python-gcp.yml b/templates/gitlab-ci-python-gcp.yml index eb8a53a..a94e45e 100644 --- a/templates/gitlab-ci-python-gcp.yml +++ b/templates/gitlab-ci-python-gcp.yml @@ -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: diff --git a/templates/gitlab-ci-python-vault.yml b/templates/gitlab-ci-python-vault.yml index 7e541c8..10bdaf7 100644 --- a/templates/gitlab-ci-python-vault.yml +++ b/templates/gitlab-ci-python-vault.yml @@ -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: diff --git a/templates/gitlab-ci-python.yml b/templates/gitlab-ci-python.yml index fa13cb9..fb2fbee 100644 --- a/templates/gitlab-ci-python.yml +++ b/templates/gitlab-ci-python.yml @@ -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" -- GitLab