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
Branches
Tags
No related merge requests found
......@@ -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.2
- component: $CI_SERVER_FQDN/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
......@@ -519,9 +519,9 @@ With:
```yaml
include:
# 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
- 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:
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.2
- component: $CI_SERVER_FQDN/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.2
- component: $CI_SERVER_FQDN/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>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment