-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Feature: Ephemeral action runners #33570
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
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
f40f079
wip: ephemeral runners
ChristopherHX 088ede6
fix
ChristopherHX f663240
Merge branch 'main' of https://github.com/go-gitea/gitea into ephemer…
ChristopherHX 959957a
fix scetch
ChristopherHX 6300bb4
add migration
ChristopherHX 4e2f419
fixup
ChristopherHX 546de66
wip
ChristopherHX 52a96be
Ephemeral proto hack
ChristopherHX 971f9b7
enhance
ChristopherHX 84e02ae
add temporary proto replacement
ChristopherHX abee827
Merge branch 'main' of https://github.com/go-gitea/gitea into ephemer…
ChristopherHX 0b17e10
migrate change
ChristopherHX 662055b
fix lint
ChristopherHX e50873f
move ephemeral runner check out of transaction
ChristopherHX 2fe4091
cleanup don't remove every ephemeral runner that has a job assigned
ChristopherHX 6a9c634
Merge branch 'main' of https://github.com/go-gitea/gitea into workflo…
ChristopherHX 8319c9f
fix merge
ChristopherHX b69a4f1
cleanup
ChristopherHX e21e91d
remove actions-proto-go fork
ChristopherHX c87aa86
do not allow to bypass ephemeral check
ChristopherHX cbea9db
Merge branch 'main' of https://github.com/go-gitea/gitea into ephemer…
ChristopherHX 0823573
Merge branch 'main' of https://github.com/go-gitea/gitea into ephemer…
ChristopherHX 1030081
set ephemeral to false by sql statement
ChristopherHX 17ce36a
quote some sql
ChristopherHX 79fa662
Merge branch 'main' of https://github.com/go-gitea/gitea into ephemer…
ChristopherHX 9f546ab
fix merge error
ChristopherHX b7a3151
check ci if default false works in mssql
ChristopherHX 8e2085a
remove doAPIDeleteRepository
ChristopherHX 905ec6e
improve sql statement
ChristopherHX 6484e95
Merge branch 'main' of https://github.com/go-gitea/gitea into ephemer…
ChristopherHX 2d555c8
migrate api
ChristopherHX 974c1f2
ensure CleanupEphemeralRunners does work correctly
ChristopherHX ff3dddd
format
ChristopherHX 01b6f4a
fix test for mssql
ChristopherHX 3362bbb
fix lint
ChristopherHX 3cad61b
remove unused deleteEphemeralRunnerBatchSize
ChristopherHX 8f79a8f
remove broken test (pgsql failure)
ChristopherHX f4b6e60
remove calling CleanupEphemeralRunners in test
ChristopherHX e4908f9
revert remove doAPIDeleteRepository to test for problem
ChristopherHX 41213e9
Revert "remove calling CleanupEphemeralRunners in test"
ChristopherHX 3f56e44
Revert "remove broken test (pgsql failure)"
ChristopherHX 7d30577
cleanup
ChristopherHX 4506057
Merge branch 'main' into ephemeral-runners
ChristopherHX d66292b
fix CleanupEphemeralRunners mysql
ChristopherHX 79146cf
feedback deletebyid
ChristopherHX 21ae2cc
Merge branch 'main' into ephemeral-runners
GiteaBot 4354c37
Merge branch 'main' into ephemeral-runners
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
cleanup don't remove every ephemeral runner that has a job assigned
- Loading branch information
commit 2fe409146307f7fee9bf4c1e4744b14263e06618
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also think about to remove offline EphemeralRunners here that didn't connect within 24h as auto cleanup.
We currently cannot remove runners via api.