Loading
+8 −0
Original line number Diff line number Diff line
## [7.0.2](https://gitlab.com/to-be-continuous/python/compare/7.0.1...7.0.2) (2024-05-20)


### Bug Fixes

* issue [#73](https://gitlab.com/to-be-continuous/python/issues/73) github_get_latest_version ([ce26d5a](https://gitlab.com/to-be-continuous/python/commit/ce26d5abba8950f30bad1d992a2481bf252359b7))
* README for trivy now enabled by default ([f5d5f2e](https://gitlab.com/to-be-continuous/python/commit/f5d5f2e9c186b6aeb0c55ef45a65b85615b9ad7b))

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


+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@7.0.1
  - component: gitlab.com/to-be-continuous/python/gitlab-ci-python@7.0.2
    # 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: '7.0.1'
    ref: '7.0.2'
    file: '/templates/gitlab-ci-python.yml'

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

```yaml
include:
  - component: gitlab.com/to-be-continuous/python/gitlab-ci-python@7.0.1
  - component: gitlab.com/to-be-continuous/python/gitlab-ci-python@7.0.2
    # 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@7.0.1
  - component: gitlab.com/to-be-continuous/python/gitlab-ci-python-gcp@7.0.2
    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", "7.0.1"]
      command: ["--service", "python", "7.0.2"]
  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", "7.0.1"]
      command: ["--service", "python", "7.0.2"]
    - 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", "7.0.1"]
      command: ["--service", "python", "7.0.2"]
  variables:
    # set local cache dir; most Python tools honour XDG specs
    XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"