Commit 2ded6190 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

Merge branch 'configurable-tbc-namespace' into 'main'

Configurable TBC namespace

See merge request to-be-continuous/tools/gcp-auth-provider!56
parents 65883bc4 211d895a
Loading
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
include:
  - project: "to-be-continuous/docker"
  # $TBC_NAMESPACE is a group variable; can be globally overridden
  - project: "$TBC_NAMESPACE/docker"
    ref: "5.6"
    file: "templates/gitlab-ci-docker.yml"
  - project: 'to-be-continuous/python'
    ref: '6.5'
    file: '/templates/gitlab-ci-python.yml'

  - project: "$TBC_NAMESPACE/python"
    ref: "6.5"
    file: "/templates/gitlab-ci-python.yml"

stages:
  - build
@@ -71,7 +71,7 @@ variables:
    - name: "$DOCKER_SNAPSHOT_IMAGE"
      alias: "gcp-auth-provider"
  before_script:
    - *test-scripts
    - !reference [.test-scripts]

test-ping:
  extends: .test-base
+2 −2
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ Retrieve authentication token using API.
#### Query Parameters


| Name                       | description                                                                               | required              | 
| Name                       | Description                                                                               | required              | 
|----------------------------|-------------------------------------------------------------------------------------------|-----------------------|
| `serviceAccount`           | Default Service Account to which impersonate with OpenID Connect authentication           | `false` |
| `workloadIdentityProvider` | Default Workload Identity Provider associated with GitLab to [authenticate with OpenID Connect](https://docs.gitlab.com/ee/ci/cloud_services/google_cloud/) | `false` |
@@ -89,7 +89,7 @@ deploy-job:
  image: my-deploy-tool:latest
  services:
    # add GCP Auth Provider as a service
    - name: $CI_REGISTRY/to-be-continuous/tools/gcp-auth-provider:main
    - name: registry.gitlab.com/to-be-continuous/tools/gcp-auth-provider:main
      alias: gcp-auth-provider
  before-script:
    # retrieve some token from Vault server