Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GitHub enterprise as a build definition repository type #35

Closed
EliiseS opened this issue Jul 2, 2020 · 1 comment
Closed

Support GitHub enterprise as a build definition repository type #35

EliiseS opened this issue Jul 2, 2020 · 1 comment

Comments

@EliiseS
Copy link
Member

EliiseS commented Jul 2, 2020


Migrated from #218
Originally created by @cwebbtw on Fri, 06 Dec 2019 17:16:37 GMT


Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

The currently supported repository types for the azuredevops_build_definition are GitHub and TfsGit.

As a user of github enterprise, I would like to be able to build a pipeline definition using infrastructure as code so that I can repeatedly build in the same way for multiple teams.

New or Affected Resource(s)

resource: azuredevops_build_definition

Potential Terraform Configuration

resource "azuredevops_build_definition" "build" {
  project_id = azuredevops_project.project.id
  name       = "Sample Build Definition"
  path       = "\\ExampleFolder"

  repository {
    repo_type   = "GitHubEnterprise"
    personal_access_token = "..."
    repo_name   = azuredevops_azure_git_repository.repository.name
    branch_name = azuredevops_azure_git_repository.repository.default_branch
    yml_path    = "azure-pipelines.yml"
  }
}
  • #0000
@xuzhang3
Copy link
Collaborator

Close this issue. Free free to reopen it if anyone have questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants