[FEAT] Self-hosted runners and Self-hosted runner groups APIs#2695
[FEAT] Self-hosted runners and Self-hosted runner groups APIs#2695nickfloyd merged 28 commits intooctokit:mainfrom
Conversation
|
@lineville is this still something you're interested in getting in? |
Yes, I'd love to get this in. I have been working on adding some integration tests. I have been facing some issues with authenticating given that some of the tests need to access an enterprise etc. Unit tests and Convention tests and docs are done ✅, was just trying to finish up some integration tests, or at least validate somehow it's functional end to end before opening this PR up for review. @kfcampbell If you have any ideas about running integration tests against an enterprise, or any details you might have about how the existing integration tests are run locally or in CI would be super helpful 🙇 |
|
As far as I'm aware, this the only script used in our automated checks, which runs unit tests but not any integration tests. I think we'd be working from scratch with enterprise integration testing. |
|
@kfcampbell Thanks! I won't worry too much about having exhaustive integration tests then, given that it's not run in CI anyways. I'll open this PR up for review shortly! |
|
@kfcampbell I've pushed up some final changes and opened this up for review! No rush or anything, but just curious what the release cadence looks like for this project? Are you planning to cut a release sometime soon? |
|
@lineville release cadence is ad-hoc depending on PRs that have been merged. When this goes in, we can cut a release shortly thereafter. |
|
@kfcampbell Just bumping this 😄, any ideas when we could expect this to be merged and released? Is there anything from my end that might be holding this up? |
nickfloyd
left a comment
There was a problem hiding this comment.
This looks great! Thank you for the changes ❤️
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [Octokit](https://togithub.com/octokit/octokit.net) | nuget | minor | `5.0.4` -> `5.1.0` | --- ### Release Notes <details> <summary>octokit/octokit.net</summary> ### [`v5.1.0`](https://togithub.com/octokit/octokit.net/releases/tag/v5.1.0) #### What's Changed ##### Features - Allow users to fetch all commits for two commits comparison by [@​zolroman](https://togithub.com/zolroman) in [https://github.com/octokit/octokit.net/pull/2690](https://togithub.com/octokit/octokit.net/pull/2690) - Added missing 'container' property in metadata on a package version. by [@​thomaslem](https://togithub.com/thomaslem) in [https://github.com/octokit/octokit.net/pull/2696](https://togithub.com/octokit/octokit.net/pull/2696) - Self-hosted runners and Self-hosted runner groups APIs by [@​lineville](https://togithub.com/lineville) in [https://github.com/octokit/octokit.net/pull/2695](https://togithub.com/octokit/octokit.net/pull/2695) ##### Fixes - Removing empty object parameter in MigrationsClient.DeleteArchive by [@​gitasaurus](https://togithub.com/gitasaurus) in [https://github.com/octokit/octokit.net/pull/2698](https://togithub.com/octokit/octokit.net/pull/2698) #### New Contributors - [@​zolroman](https://togithub.com/zolroman) made their first contribution in [https://github.com/octokit/octokit.net/pull/2690](https://togithub.com/octokit/octokit.net/pull/2690) - [@​thomaslem](https://togithub.com/thomaslem) made their first contribution in [https://github.com/octokit/octokit.net/pull/2696](https://togithub.com/octokit/octokit.net/pull/2696) - [@​gitasaurus](https://togithub.com/gitasaurus) made their first contribution in [https://github.com/octokit/octokit.net/pull/2698](https://togithub.com/octokit/octokit.net/pull/2698) - [@​lineville](https://togithub.com/lineville) made their first contribution in [https://github.com/octokit/octokit.net/pull/2695](https://togithub.com/octokit/octokit.net/pull/2695) **Full Changelog**: octokit/octokit.net@v5.0.4...v5.1.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/Fortunevale/ProjectMakoto). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9-->
Resolves #2692 by implementing support for the following API's
Self-Hosted Runners
Self-Hosted Runner Groups
Behavior
Before the change?
ActionsSelfHostedRunnersClientandActionsSelfHostedRunnerGroupsClientwe're empty and not implementedAfter the change?
ActionsSelfHostedRunnersClientandActionsSelfHostedRunnerGroupsClienthave been implemented (non-exhaustively) to include several of the available API's (listed above)Other information
Runner,RunnerResponse,RunnerApplicationandRunnerApplicationResponseSelf-Hosted RunnerandSelf-Hosted Runner Groupsthat are left unimplemented after this PRAdditional info
Pull request checklist
☝️ Unable to add labels to the PR 😕 but should be tagged with feature
Does this introduce a breaking change?
Please see our docs on breaking changes to help!
Type: Breaking changelabel)If
Yes, what's the impact:Pull request type
Please add the corresponding label for change this PR introduces:
Type: BugType: FeatureType: DocumentationType: Maintenance