Commit 9c2c7c2d authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

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

parent 69ac2b85
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ Add the following to your `.gitlab-ci.yml`:
```yaml
include:
  # 1: include the component
  - component: gitlab.com/to-be-continuous/defectdojo/gitlab-ci-defectdojo@2.6.4
  - component: $CI_SERVER_FQDN/to-be-continuous/defectdojo/gitlab-ci-defectdojo@2.6.4
    # 2: set/override component inputs
    inputs:
      server-url: "https://defectdojo.acme.host" # ⚠ this is only an example
@@ -231,13 +231,13 @@ With:
```yaml
include:
  # main template
  - component: gitlab.com/to-be-continuous/defectdojo/gitlab-ci-defectdojo@2.6.4
  - component: $CI_SERVER_FQDN/to-be-continuous/defectdojo/gitlab-ci-defectdojo@2.6.4
    inputs:
      server-url: "https://defectdojo.acme.host" # ⚠ this is only an example
      # Secrets managed by Vault
      api-key: "@url@http://vault-secrets-provider/api/secrets/b7ecb6ebabc231/defectdojo/credentials?field=token"
  # Vault variant
  - component: gitlab.com/to-be-continuous/defectdojo/gitlab-ci-defectdojo-vault@2.6.4
  - component: $CI_SERVER_FQDN/to-be-continuous/defectdojo/gitlab-ci-defectdojo-vault@2.6.4
    inputs:
      # audience claim for JWT
      vault-oidc-aud: "https://vault.acme.host"