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

github enterprise support for pullrequest pipeline resource #1033

Merged
merged 1 commit into from
Jul 3, 2019

Conversation

akihikokuroda
Copy link
Member

The pull request resource supports only public github. This PR adds the support for the enterprise github. When the url in the pull request resource has the base url other than "github.com", it sets the url as the base url for the pull request.

Test for the NewGitHubHandler is added in cmd/pullrequest-init/github_test.go

Changes

When the url in the pull request resource has the base url other than "github.com", it sets the url as the base url for the pull request.

Code changes are in NewGitHubHandler in cmd/pullrequest-init/github.go

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide
for more details.

Release Notes

github enterprise support

@googlebot googlebot added the cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit label Jun 30, 2019
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jun 30, 2019

CLA Check
Thank you. Unfortunately, your account is not authorized under a signed CLA. Please click here to proceed.

@akihikokuroda
Copy link
Member Author

/retest

Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me
/cc @bobcatfish @wlynch

@vdemeester
Copy link
Member

/approve

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 2, 2019
cmd/pullrequest-init/github.go Outdated Show resolved Hide resolved
cmd/pullrequest-init/github.go Show resolved Hide resolved
cmd/pullrequest-init/github.go Outdated Show resolved Hide resolved
cmd/pullrequest-init/github_test.go Outdated Show resolved Hide resolved
cmd/pullrequest-init/github_test.go Show resolved Hide resolved
cmd/pullrequest-init/github_test.go Outdated Show resolved Hide resolved
cmd/pullrequest-init/github_test.go Outdated Show resolved Hide resolved
The pull request resource supports only public github.  This PR
adds the support for the enterprise github.  When the url in the pull request
resource has the base url other than "github.com", it sets the url as the
base url for the pull request.
@tekton-robot tekton-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 2, 2019
@akihikokuroda
Copy link
Member Author

/retest

@wlynch
Copy link
Member

wlynch commented Jul 2, 2019

/approve

@vdemeester
Copy link
Member

/test pull-tekton-pipeline-integration-tests

Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 3, 2019
@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akihikokuroda, vdemeester, wlynch

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@vdemeester
Copy link
Member

Fixing I0703 07:49:20.088] ERROR: test demo-pipeline-run-1-deploy-web-rdhvx=SucceededFalse but should be succeededtrue in #1038

@akihikokuroda
Copy link
Member Author

/check-cla

@vdemeester
Copy link
Member

/retest

1 similar comment
@vdemeester
Copy link
Member

/retest

@tekton-robot tekton-robot merged commit e84950d into tektoncd:master Jul 3, 2019
@akihikokuroda akihikokuroda deleted the ghesupport branch July 8, 2019 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants