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

WIP: Add Support for GitHub enterprise as a build definition repository type #80

Closed
wants to merge 2 commits into from
Closed

WIP: Add Support for GitHub enterprise as a build definition repository type #80

wants to merge 2 commits into from

Conversation

shubydo
Copy link
Contributor

@shubydo shubydo commented Jul 16, 2020

All Submissions:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My code follows the code style of this project.
  • I ran lint checks locally prior to submission.
  • Have you checked to ensure there aren't other open PRs for the same update/change?

What about the current behavior has changed?

Add Support for GitHub enterprise as a build definition repository type.

Under the repository block in the azuredevops_build_definition resource, you can now specify GitHubEnterprise as the repo_type and specify the Github Enterprise URL using the github_enterprise_url .

Example:

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

  repository {
    repo_type   = "GitHubEnterprise"
    github_enterprise_url = "https://..."
    personal_access_token = "..."
    service_connection_id = "..."
    repo_id   = "orgName/repoName"
    branch_name = "master"
    yml_path    = "azure-pipelines.yml"
  }

Issue Number: #35

Does this introduce a change to go.mod, go.sum or vendor/?

  • Yes
  • No

Does this introduce a breaking change?

  • Yes
  • No

Any relevant logs, error output, etc?

(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)

Other information

@ghost ghost added size/M size/L and removed size/M labels Jul 16, 2020
@shubydo shubydo closed this Jul 16, 2020
@shubydo shubydo reopened this Jul 16, 2020
@shubydo shubydo changed the title Add Support for GitHub enterprise as a build definition repository type WIP: Add Support for GitHub enterprise as a build definition repository type Jul 16, 2020
@ghost ghost added size/M and removed size/L labels Jul 16, 2020
@shubydo shubydo closed this Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant