Skip to content
Snippets Groups Projects
Commit b2e5045f authored by Benguria Elguezabal, Gorka's avatar Benguria Elguezabal, Gorka
Browse files

Merge remote-tracking branch 'upstream/master'

# Conflicts:
#	CHANGELOG.md
parents 1efda69d ad360c7a
No related branches found
No related tags found
No related merge requests found
Pipeline #169968 passed
...@@ -14,7 +14,7 @@ Add the following to your `.gitlab-ci.yml`: ...@@ -14,7 +14,7 @@ Add the following to your `.gitlab-ci.yml`:
```yaml ```yaml
include: include:
# 1: include the component # 1: include the component
- component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python@7.7.1 - component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python@7.8.0
# 2: set/override component inputs # 2: set/override component inputs
inputs: inputs:
image: registry.hub.docker.com/library/python:3.12-slim image: registry.hub.docker.com/library/python:3.12-slim
...@@ -29,7 +29,7 @@ Add the following to your `.gitlab-ci.yml`: ...@@ -29,7 +29,7 @@ Add the following to your `.gitlab-ci.yml`:
include: include:
# 1: include the template # 1: include the template
- project: 'to-be-continuous/python' - project: 'to-be-continuous/python'
ref: '7.7.1' ref: '7.8.0'
file: '/templates/gitlab-ci-python.yml' file: '/templates/gitlab-ci-python.yml'
variables: variables:
...@@ -580,9 +580,9 @@ With: ...@@ -580,9 +580,9 @@ With:
```yaml ```yaml
include: include:
# main component # main component
- component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python@7.7.1 - component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python@7.8.0
# Vault variant # Vault variant
- component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python-vault@7.7.1 - component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python-vault@7.8.0
inputs: inputs:
vault-base-url: "https://vault.acme.host/v1" vault-base-url: "https://vault.acme.host/v1"
# audience claim for JWT # audience claim for JWT
...@@ -621,13 +621,13 @@ The variant requires the additional configuration parameters: ...@@ -621,13 +621,13 @@ The variant requires the additional configuration parameters:
```yaml ```yaml
include: include:
- component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python@7.7.1 - component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python@7.8.0
# 2: set/override component inputs # 2: set/override component inputs
inputs: inputs:
image: registry.hub.docker.com/library/python:3.12-slim image: registry.hub.docker.com/library/python:3.12-slim
pytest-enabled: true pytest-enabled: true
- component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python-gcp@7.7.1 - component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python-gcp@7.8.0
inputs: inputs:
# common OIDC config for non-prod envs # common OIDC config for non-prod envs
gcp-oidc-provider: "projects/<gcp_nonprod_proj_id>/locations/global/workloadIdentityPools/<pool_id>/providers/<provider_id>" gcp-oidc-provider: "projects/<gcp_nonprod_proj_id>/locations/global/workloadIdentityPools/<pool_id>/providers/<provider_id>"
...@@ -687,13 +687,13 @@ then set the required configuration. ...@@ -687,13 +687,13 @@ then set the required configuration.
```yaml ```yaml
include: include:
- component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python@7.7.1 - component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python@7.8.0
# 2: set/override component inputs # 2: set/override component inputs
inputs: inputs:
image: registry.hub.docker.com/library/python:3.12-slim image: registry.hub.docker.com/library/python:3.12-slim
pytest-enabled: true pytest-enabled: true
- component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python-aws-codeartifact@7.7.1 - component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python-aws-codeartifact@7.8.0
inputs: inputs:
aws-region: "us-east-1" aws-region: "us-east-1"
aws-codeartifact-domain: "acme" aws-codeartifact-domain: "acme"
......
...@@ -44,7 +44,7 @@ variables: ...@@ -44,7 +44,7 @@ variables:
image: $PYTHON_IMAGE image: $PYTHON_IMAGE
services: services:
- name: "$TBC_TRACKING_IMAGE" - name: "$TBC_TRACKING_IMAGE"
command: ["--service", "python", "7.7.1"] command: ["--service", "python", "7.8.0"]
variables: variables:
GCP_JWT: $GCP_JWT GCP_JWT: $GCP_JWT
before_script: before_script:
......
...@@ -22,7 +22,7 @@ variables: ...@@ -22,7 +22,7 @@ variables:
.python-base: .python-base:
services: services:
- name: "$TBC_TRACKING_IMAGE" - name: "$TBC_TRACKING_IMAGE"
command: ["--service", "python", "7.7.1"] command: ["--service", "python", "7.8.0"]
- name: "$TBC_VAULT_IMAGE" - name: "$TBC_VAULT_IMAGE"
alias: "vault-secrets-provider" alias: "vault-secrets-provider"
variables: variables:
......
...@@ -295,10 +295,7 @@ workflow: ...@@ -295,10 +295,7 @@ workflow:
- when: on_success - when: on_success
variables: variables:
# variabilized tracking image # Default Docker image (can be overridden)
TBC_TRACKING_IMAGE: "registry.gitlab.com/to-be-continuous/tools/tracking:master"
# PYTHON_IMAGE: "registry.hub.docker.com/library/python:3"
PYTHON_IMAGE: $[[ inputs.image ]] PYTHON_IMAGE: $[[ inputs.image ]]
# Default Python project root directory # Default Python project root directory
PYTHON_PROJECT_DIR: $[[ inputs.project-dir ]] PYTHON_PROJECT_DIR: $[[ inputs.project-dir ]]
...@@ -1032,7 +1029,7 @@ stages: ...@@ -1032,7 +1029,7 @@ stages:
image: $PYTHON_IMAGE image: $PYTHON_IMAGE
services: services:
- name: "$TBC_TRACKING_IMAGE" - name: "$TBC_TRACKING_IMAGE"
command: ["--service", "python", "7.7.1"] command: ["--service", "python", "7.8.0"]
variables: variables:
# set local cache dir; most Python tools honour XDG specs # set local cache dir; most Python tools honour XDG specs
XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache" XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment