This example show how easy is to integrate Terrakube Jobs in Bitbucket pipelines.
Add the following snippet to the script section of your bitbucket-pipelines.yml
file:
Variable | Usage |
---|---|
(*) = required variable.
Basic example:
Advanced example:
For more information about this pipe please refer to the following repository.
LOGIN_ENDPOINT
Default values: https://login.microsoftonline.com
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