-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Actions Runner rest api #33873
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
Merged
Merged
Actions Runner rest api #33873
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
c062f18
WIP ActionRunner Org + Repo Api
ChristopherHX e2d9774
fix null labels
ChristopherHX f37caab
fix removed runner could still be retrieved via get
ChristopherHX 0655965
add swagger docu / fix build
ChristopherHX f1de208
add admin / user level + api add correct registration token endpoint
ChristopherHX a3b42a9
add tests
ChristopherHX 7a75b1c
update date
ChristopherHX 76c5505
fix lint
ChristopherHX 93d464b
fix definition bug
ChristopherHX d6db24c
add org test
ChristopherHX 6f8aaf6
fix mssql failure add token_hash
ChristopherHX 1394ed7
Update models/actions/runner.go
ChristopherHX f581e49
Merge branch 'main' into runners-rest-api
ChristopherHX e95db5a
Merge branch 'main' into runners-rest-api
ChristopherHX 82834ff
expose ephemeral flag of runners
ChristopherHX efd080e
add permission org test
ChristopherHX b8b96d0
add check runner conflict test
ChristopherHX dfbdec1
Remove OS field, not needed for my usecase
ChristopherHX f387363
swagger remove OS field
ChristopherHX ee066b6
format test
ChristopherHX cb8f30b
remove active runner deletion blocker
ChristopherHX 3b38b05
Merge branch 'main' of https://github.com/go-gitea/gitea into runners…
ChristopherHX 1eed2ec
Repo level tests
ChristopherHX e9a4ef9
Merge branch 'main' of https://github.com/go-gitea/gitea into runners…
ChristopherHX 307b8e1
add missing fixture
ChristopherHX 72e71c8
Merge branch 'main' of https://github.com/go-gitea/gitea into runners…
ChristopherHX fb75e23
consistency show all runners in admin endpoint like webui
ChristopherHX 0ea0947
Merge branch 'main' of https://github.com/go-gitea/gitea into pr/Chri…
ChristopherHX 6e79cb0
Merge branch 'main' into runners-rest-api
ChristopherHX 3729e9f
fix test stability
ChristopherHX a727380
update tests
ChristopherHX 0c222f8
add elements match
ChristopherHX 7ab099a
add comments on expected behavior
ChristopherHX 424ee22
fix FindRunnerOptions comment to match behavior
ChristopherHX 4fb1580
add panic checks, add comments
wxiaoguang 93f32b4
add missing return, improve comment
wxiaoguang 4bfcf22
Merge branch 'main' into runners-rest-api
wxiaoguang 6bf72ef
merge tests
wxiaoguang d23a644
remove obsolete test DeleteNoConflictWhileJobIsDone
ChristopherHX ec9df5e
Merge branch 'main' into runners-rest-api
GiteaBot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
- | ||
id: 34346 | ||
name: runner_to_be_deleted-user | ||
uuid: 3EF231BD-FBB7-4E4B-9602-E6F28363EF18 | ||
token_hash: 3EF231BD-FBB7-4E4B-9602-E6F28363EF18 | ||
version: "1.0.0" | ||
owner_id: 1 | ||
repo_id: 0 | ||
description: "This runner is going to be deleted" | ||
agent_labels: '["runner_to_be_deleted","linux"]' | ||
- | ||
id: 34347 | ||
name: runner_to_be_deleted-org | ||
uuid: 3EF231BD-FBB7-4E4B-9602-E6F28363EF19 | ||
token_hash: 3EF231BD-FBB7-4E4B-9602-E6F28363EF19 | ||
version: "1.0.0" | ||
owner_id: 3 | ||
repo_id: 0 | ||
description: "This runner is going to be deleted" | ||
agent_labels: '["runner_to_be_deleted","linux"]' | ||
- | ||
id: 34348 | ||
name: runner_to_be_deleted-repo1 | ||
uuid: 3EF231BD-FBB7-4E4B-9602-E6F28363EF20 | ||
token_hash: 3EF231BD-FBB7-4E4B-9602-E6F28363EF20 | ||
version: "1.0.0" | ||
owner_id: 0 | ||
repo_id: 1 | ||
description: "This runner is going to be deleted" | ||
agent_labels: '["runner_to_be_deleted","linux"]' | ||
- | ||
id: 34349 | ||
name: runner_to_be_deleted | ||
uuid: 3EF231BD-FBB7-4E4B-9602-E6F28363EF17 | ||
token_hash: 3EF231BD-FBB7-4E4B-9602-E6F28363EF17 | ||
version: "1.0.0" | ||
owner_id: 0 | ||
repo_id: 0 | ||
description: "This runner is going to be deleted" | ||
agent_labels: '["runner_to_be_deleted","linux"]' |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.