For the complete documentation index, see llms.txt. This page is also available as Markdown.

Bitbucket

This example show how easy is to integrate Terrakube Jobs in Bitbucket pipelines.

YAML Definition

Add the following snippet to the script section of your bitbucket-pipelines.yml file:

script:
  - pipe: azbuilder/terrakube-pipe:1.0.0
    variables:
      LOGIN_ENDPOINT: "<string>" #optional Default: https://login.microsoftonline.com
      TERRAKUBE_TENANT_ID: "<string>"
      TERRAKUBE_APPLICATION_ID: "<string>"
      TERRAKUBE_APPLICATION_SECRET: "<string>"
      TERRAKUBE_APPLICATION_SCOPE: "<string>" #optional Default: api://Terrakube/.default
      TERRAKUBE_ORGANIZATION: "<string>"
      TERRAKUBE_WORKSPACE: "<string>"
      TERRAKUBE_TEMPLATE: "<string>"
      TERRAKUBE_ENDPOINT: "<string>"
      DEBUG: "<boolean>" # Optional Default: false

Variables

Variable
Usage

LOGIN_ENDPOINT

TERRAKUBE_TENANT_ID (*)

Azure AD Application tenant ID

TERRAKUBE_APPLICATION_ID (*)

Azure AD Application tenant ID

TERRAKUBE_APPLICATION_SECRET (*)

Azure AD Application tenant ID

TERRAKUBE_APPLICATION_SCOPE

Default value: api://Terrakube/.default

TERRAKUBE_ORGANIZATION (*)

Terrakube organization name

TERRAKUBE_WORKSPACE (*)

Terrakube workspace name

TERRAKUBE_TEMPLATE (*)

Terrakube template name

TERRAKUBE_ENDPOINT (*)

Terrakbue api endpoint

(*) = required variable.

Examples

Basic example:

Advanced example:

For more information about this pipe please refer to the following repository.

Last updated