Skip to content
Snippets Groups Projects
Select Git revision
  • 78f2fec2c20753292a94cae3018d3fdbc63379f3
  • master default
  • test
3 results

deploy.yml

Blame
  • gitlab-ci-sonar-vault.yml 901 B
    # =====================================================================================================================
    # === Vault template variant
    # =====================================================================================================================
    variables:
      # variabilized vault-secrets-provider image
      TBC_VAULT_IMAGE: "registry.gitlab.com/to-be-continuous/tools/vault-secrets-provider:master"
      # variables have to be explicitly declared in the YAML to be exported to the service
      VAULT_ROLE_ID: "$VAULT_ROLE_ID"
      VAULT_SECRET_ID: "$VAULT_SECRET_ID"
      VAULT_OIDC_AUD: "$CI_SERVER_URL"
    
    sonar:
      services:
        - name: "$TBC_TRACKING_IMAGE"
          command: ["--service", "sonar", "4.1.0" ]
        - name: "$TBC_VAULT_IMAGE"
          alias: "vault-secrets-provider"
      variables:
        VAULT_JWT_TOKEN: "$VAULT_JWT_TOKEN"
      id_tokens:
        VAULT_JWT_TOKEN:
          aud: "$VAULT_OIDC_AUD"