Skip to content

Conversation

pull[bot]
Copy link

@pull pull bot commented Jan 27, 2022

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

LaurentLesle and others added 30 commits October 13, 2021 03:28
In order to source pipeline yamls from Github (non public repos), we
need to create a service connection.

This commit updates the service endpoint functionality to understand a
'type' value. For the existing configs, default type to 'TfsGit' if none
is specified. If type is set to 'Github', then use the new logic under
azdo_service_endpoint.github.tf to provision the connection.

The various values for 'type' are shown at https://registry.terraform.io/providers/microsoft/azuredevops/latest/docs/resources/build_definition#repo_type
- however this commit only implements Github. A similar pattern should
be possible to implement Bitbucket / GitHubEnterprise.

The following shows an example config to use this new functionality:

service_endpoints = {
  github = {
    endpoint_name = "github_endpoint"
    type = "Github"
    project_key = "project_to_add_endpoint_to"
    keyvault = {
      lz_key      = "launchpad"
      key         = "secrets"
      secret_name = "github-pat"
    }
  }
}

NOTE: similar to azdo-pat-admin, a Github PAT must be manually created
and stored in the keyvault identified in the 'keyvault {}' block above:

$ az keyvault secret set --name gitub-pat --vault-name <secrets-vault> --value <pat>
To resolve error below"

Error: Failed to query available provider packages

Could not retrieve the list of available versions for provider
hashicorp/azurerm: no available releases match the given constraints ~>
2.55.0, ~> 2.81.0
update version and remove unused var
jorseng and others added 28 commits January 13, 2022 05:37
Upgrading 2112.int to module 5.5.1
…_vwan

Add ability to specify vwan_key for virtual hubs that are part of a virtual WAN
add-ons/azure_devops_v1: add service endpoints for Azure container registry
@arnaudlh arnaudlh deleted the branch mySMB:master January 28, 2022 02:01
@arnaudlh arnaudlh deleted the master branch January 28, 2022 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants