Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Add feature to enable dynamic instance types via workflow labels#4529

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
npalm wants to merge2 commits intomain
base:main
Choose a base branch
Loading
fromnpalm/dynamic-ec2-types

Conversation

@npalm
Copy link
Member

@npalmnpalm commentedApr 8, 2025
edited
Loading

Description

This PR adds an option to define the required instance type via the workflow labels. This could be all tricky, since in the end GH decides which workflo runs on a runner.

By adding a label to the workflow starting withghr-ec2- and followed by the instance type a runenr for the required instance type is caled (only if the teature is enabled).

For example:ghr-ec2-m5.xlarge
image

Limitiation

  • No support for pool (since not scaled by eventts)

Status

Early draft, just a POC, no tests, no docs, requires rerfactoing.

Todo

  • Decide if this should enter the main line? If yes
  • Refactor feature config to an object, containing enable and prefix
  • Add docs including limitations
  • Add unit tests
  • Adjust an example, enable feature. Ephemeral case with job retry.
  • Adjust logging

@npalmnpalm requested review froma team ascode ownersApril 8, 2025 13:03
@npalmnpalm marked this pull request as draftApril 8, 2025 13:10
@github-actions
Copy link
Contributor

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs. Thank you for your contributions.

@edersonbrilhante
Copy link
Contributor

@npalm can you revisit? This feature is a great addition to the project

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@npalm@edersonbrilhante

[8]ページ先頭

©2009-2025 Movatter.jp