Commit 725163b4 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

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

parent fe0f45c5
Loading
Loading
Loading
Loading
+7 −7
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/aws/gitlab-ci-aws@5.2.3
  - component: $CI_SERVER_FQDN/to-be-continuous/aws/gitlab-ci-aws@5.2.3
    # 2: set/override component inputs
    inputs:
      # ⚠ this is only an example
@@ -329,7 +329,7 @@ It enables review, staging and production environments.

```yaml
include:
  - component: gitlab.com/to-be-continuous/aws/gitlab-ci-aws@5.2.3
  - component: $CI_SERVER_FQDN/to-be-continuous/aws/gitlab-ci-aws@5.2.3
    inputs:
      review-enabled: true
      staging-enabled: true
@@ -412,7 +412,7 @@ It enables review, staging and production environments.

```yaml
include:
  - component: gitlab.com/to-be-continuous/aws/gitlab-ci-aws@5.2.3
  - component: $CI_SERVER_FQDN/to-be-continuous/aws/gitlab-ci-aws@5.2.3
    inputs:
      # use an image with both aws and sam CLI
      cli-image: "pahud/aws-sam-cli:latest"
@@ -512,9 +512,9 @@ The variant supports the following configuration:
```yaml
include:
  # main template
  - component: gitlab.com/to-be-continuous/aws/gitlab-ci-aws@5.2.3
  - component: $CI_SERVER_FQDN/to-be-continuous/aws/gitlab-ci-aws@5.2.3
  # OIDC variant
  - component: gitlab.com/to-be-continuous/aws/gitlab-ci-aws-oidc@5.2.3
  - component: $CI_SERVER_FQDN/to-be-continuous/aws/gitlab-ci-aws-oidc@5.2.3
    inputs:
      # audience claim for JWT
      oidc-aud: "https://gitlab.acme.com"
@@ -560,9 +560,9 @@ With:
```yaml
include:
  # main template
  - component: gitlab.com/to-be-continuous/aws/gitlab-ci-aws@5.2.3
  - component: $CI_SERVER_FQDN/to-be-continuous/aws/gitlab-ci-aws@5.2.3
  # Vault variant
  - component: gitlab.com/to-be-continuous/aws/gitlab-ci-aws-vault@5.2.3
  - component: $CI_SERVER_FQDN/to-be-continuous/aws/gitlab-ci-aws-vault@5.2.3
    inputs:
      # audience claim for JWT
      vault-oidc-aud: "https://vault.acme.host"