You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deployment mode: Docker container, with an Nginx reverse proxy for TLS termination (TLS required by Dependabot client)
Issue: GitBucket API support is insufficient to use Dependabot to automatically create PRs for dependency upgrades
Using Docker Compose or individual containers, start GitBucket, and start Nginx (or any other TLS terminating reverse proxy) to accept an https connection and proxy it to GitBucket.
In GitBucket, in the Profile of root, under Applications, create a new token
In GitBucket, create a new repository
Clone that repository, and add a project to it with a stale dependency
Run dependabot-script with GITHUB_ENTERPRISE_HOSTNAME set to the DNS name of the TLS terminating reverse proxy, and with GITHUB_ENTERPRISE_ACCESS_TOKEN set to the value from the previous step, and with PROJECT_PATH and PACKAGE_MANAGER set
Observe in the log for the GitBucket the entry WARN g.c.c.a.ApiGitReferenceControllerBase - git/refs/ endpoint may not be compatible with GitHub API v3. Consider using git/ref/ endpoint instead
Observe in the log for dependabot-script the entry dependabot-script/.bundle/gems/octokit-5.2.0/lib/octokit/response/raise_error.rb:14:in on_complete: POST https://somedomain.local/api/v3/repos/root/testing/git/trees: 404 - Not Found (Octokit::NotFound)
The dependabot script has failed due to a missing API in GitBucket.
The text was updated successfully, but these errors were encountered:
Before submitting an issue to GitBucket I have first:
Issue
Impacted version:
4.40
and earlierDeployment mode: Docker container, with an Nginx reverse proxy for TLS termination (TLS required by Dependabot client)
Issue: GitBucket API support is insufficient to use Dependabot to automatically create PRs for dependency upgrades
Profile
ofroot
, underApplications
, create a new tokenGITHUB_ENTERPRISE_HOSTNAME
set to the DNS name of the TLS terminating reverse proxy, and withGITHUB_ENTERPRISE_ACCESS_TOKEN
set to the value from the previous step, and withPROJECT_PATH
andPACKAGE_MANAGER
setGitBucket
the entryWARN g.c.c.a.ApiGitReferenceControllerBase - git/refs/ endpoint may not be compatible with GitHub API v3. Consider using git/ref/ endpoint instead
dependabot-script
the entrydependabot-script/.bundle/gems/octokit-5.2.0/lib/octokit/response/raise_error.rb:14:in on_complete: POST https://somedomain.local/api/v3/repos/root/testing/git/trees: 404 - Not Found (Octokit::NotFound)
The dependabot script has failed due to a missing API in GitBucket.
The text was updated successfully, but these errors were encountered: