Closed wanderanimrod closed 9 months ago
Hello @wanderanimrod happy to see your persistence! :-) Please be advised that we are under load in my team so it might take a while for a review.
Hello @wanderanimrod happy to see your persistence! :-) Please be advised that we are under load in my team so it might take a while for a review.
Hello @marco-m-pix4d , any chance this will get looked at anytime soon?
@aliculPix4D if you need help on how to proceed, please ping me on our chat.
Closing this PR in favor of: https://github.com/Pix4D/cogito/pull/143
Note that the first commit is the squash of all commits present in this PR and it gives the credit to both authors from this PR.
@wanderanimrod just a bit more context. Basically, the only reason I closed this PR is because it was created from your fork, and it was simpler for me to commit and test the changes in this repo. So creating a new PR with a branch in this repository simplified running the tests and especially creating Concourse pipelines for our acceptance tests.
Thanks for the explanation @aliculPix4D . Makes sense. Looking forward to #143 getting merged. This has been on our backlog for a long time. Glad to see it coming to an end.
pairing with @dev-jin
Why
This resource only supports setting status on repos hosted in public GitHub. The domain
github.com
andapi.github.com
was the only API endpoint to which this resource could post-commit statuses.What
github_api_endpoint
to the resource's source config (optional)GitHubCommitStatusSink
andProdPutter
use the new source config field when present. If not, keep defaulting to the public GitHub API. Making thegithub_api_endpoint
config optional keeps the resource simple for the majority of users (who I assume use public GH) and also ensures backward compatibility when those users upgrade to a version of this resource that supports GHEgithub_api_endpoint
.COGITO_GITHUB_API
environment variable. Change tests that used this to use the newgithub_api_endpoint
source config field. b. Minor changes like fixing typos, removing unused vars and imports, etc. See inline comments for details.Tests
3.3.19
with thegithub_api_endpoint
source param set to my company's GitHub hostname and it works.