Skip to content

Conversation

dev-slatto
Copy link

@dev-slatto dev-slatto commented Aug 9, 2023

The EC2 instance should be marked as unschedulable by Github Actions before termination to make sure that Github Actions dosen't schedule any jobs to it while it's being terminated.

garbas added a commit to flox/ec2-github-runner that referenced this pull request Sep 28, 2023
The EC2 instance should be marked as unschedulable by Github Actions
before termination to make sure that Github Actions dosen't schedule any
jobs to it while it's being terminated.

machulav#161
garbas added a commit to flox/ec2-github-runner that referenced this pull request Oct 10, 2023
The EC2 instance should be marked as unschedulable by Github Actions
before termination to make sure that Github Actions dosen't schedule any
jobs to it while it's being terminated.

machulav#161
@Dmitry1987
Copy link

definitely the correct way to do it, why it wasn't merged 😢

@Dmitry1987
Copy link

oh i see the comments, gh.remove() will mark it unschedulable, aha. PRs remain open, should be just closed if the fix is not relevant anymore 🙃

dcarley pushed a commit to flox/ec2-github-runner that referenced this pull request Oct 21, 2025
The EC2 instance should be marked as unschedulable by Github Actions
before termination to make sure that Github Actions dosen't schedule any
jobs to it while it's being terminated.

Cherry-pick of:

- machulav#161

This seems to be solving the same problem as the `--ephemeral` argument
in the preceding commit but I'm deep enough in this yak shave that I
don't want to debug which one works better right now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants