-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This sets up the integration test to run an actual update. In order to do so without using the proxy, we inject the credentials directly into the `job.json`, which dependabot-updater will then pick up. This also requires running dependabot-api locally, and creating an update job which has been transitioned to `processing`, and pulling out the credentials while it's being transitioned. The whole process is still a bit cumbersome, but it works!
- Loading branch information
Jurre Stender
committed
Jul 26, 2021
1 parent
4414c7c
commit d18227f
Showing
4 changed files
with
62 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,47 +1,46 @@ | ||
| { | ||
| "data": { | ||
| "attributes": { | ||
| "allowed-updates": [ | ||
| { | ||
| "dependency-type": "direct", | ||
| "update-type": "all" | ||
| } | ||
| ], | ||
| "credentials-metadata": [ | ||
| { | ||
| "type": "git_source", | ||
| "host": "github.com" | ||
| } | ||
| ], | ||
| "dependencies": null, | ||
| "existing-pull-requests": [], | ||
| "ignore-conditions": [], | ||
| "lockfile-only": false, | ||
| "max-updater-run-time": 2700, | ||
| "package-manager": "npm_and_yarn", | ||
| "source": { | ||
| "provider": "github", | ||
| "repo": "dsp-testing/dependabot-all-updates-test", | ||
| "directory": "/", | ||
| "branch": null, | ||
| "api-endpoint": "https://api.github.com/", | ||
| "hostname": "github.com" | ||
| }, | ||
| "updating-a-pull-request": false, | ||
| "update-subdependencies": false, | ||
| "requirements-update-strategy": null, | ||
| "security-advisories": [], | ||
| "security-updates-only": false, | ||
| "vendor-dependencies": false, | ||
| "reject-external-code": false, | ||
| "experiments": {}, | ||
| "commit-message-options": { | ||
| "include-scope": null, | ||
| "prefix": null, | ||
| "prefix-development": null | ||
| } | ||
| "attributes": { | ||
| "allowed-updates": [ | ||
| { | ||
| "dependency-type": "direct", | ||
| "update-type": "all" | ||
| } | ||
| ], | ||
| "credentials-metadata": [ | ||
| { | ||
| "type": "git_source", "host": "github.com" | ||
| } | ||
| ], | ||
| "dependencies": null, | ||
| "existing-pull-requests": [], | ||
| "ignore-conditions": [], | ||
| "lockfile-only": false, | ||
| "max-updater-run-time": 2700, | ||
| "package-manager": "npm_and_yarn", | ||
| "source": { | ||
| "provider": "github", | ||
| "repo": "dsp-testing/dependabot-all-updates-test", | ||
| "directory": "/", | ||
| "branch": null, | ||
| "api-endpoint": "https://api.github.com/", | ||
| "hostname": "github.com" | ||
| }, | ||
| "id": "1001", | ||
| "type": "update-jobs" | ||
| "updating-a-pull-request": false, | ||
| "update-subdependencies": false, | ||
| "requirements-update-strategy": null, | ||
| "security-advisories": [], | ||
| "security-updates-only": false, | ||
| "vendor-dependencies": false, | ||
| "reject-external-code": false, | ||
| "experiments": { "build-pull-request-message": true }, | ||
| "commit-message-options": { | ||
| "include-scope": null, | ||
| "prefix": null, | ||
| "prefix-development": null | ||
| } | ||
| }, | ||
| "id": "1", | ||
| "type": "update-jobs" | ||
| } | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters