Skip to content
Snippets Groups Projects
Commit 32abcbd8 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

docs: use variabilized GitLab server FQDN in CI/CD component reference URLs

parent 89d748b0
No related branches found
No related tags found
No related merge requests found
...@@ -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: gitlab.com/to-be-continuous/python/gitlab-ci-python@7.0.2 - component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python@7.0.2
# 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
...@@ -519,9 +519,9 @@ With: ...@@ -519,9 +519,9 @@ With:
```yaml ```yaml
include: include:
# main component # main component
- component: gitlab.com/to-be-continuous/python/gitlab-ci-python@7.0.2 - component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python@7.0.2
# Vault variant # Vault variant
- component: gitlab.com/to-be-continuous/python/gitlab-ci-python-vault@7.0.2 - component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python-vault@7.0.2
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
...@@ -561,13 +561,13 @@ The variant requires the additional configuration parameters: ...@@ -561,13 +561,13 @@ The variant requires the additional configuration parameters:
```yaml ```yaml
include: include:
- component: gitlab.com/to-be-continuous/python/gitlab-ci-python@7.0.2 - component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python@7.0.2
# 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: gitlab.com/to-be-continuous/python/gitlab-ci-python-gcp@7.0.2 - component: $CI_SERVER_FQDN/to-be-continuous/python/gitlab-ci-python-gcp@7.0.2
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>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment