-
Notifications
You must be signed in to change notification settings - Fork 622
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
Support Amazon Linux 2022 AMI #2848
Comments
I last checked Amazon 2022 a few weeks ago (back in 2022). At that time it was still not GA. We have some troubles with supporting node18 on Amazon Linux 2 as well. Would be great to support or move to 2022 in case it is stable. But for maintenace purpose we don't want to support only a few version by default. Looking on your changes, the work to support Amazon 2022 should be minimal. So I would prefer a way we can support both for a short time. Or support it in such way that they work with the same config. The last one I prefer. Would you have time to add a few conditonals to the scripts to make them workin on Amazon 2022 and open a PR? |
It would be also great for us, as we are also struggling to support node 18, so 👍 |
This issue 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. |
Hey, this issue is still very relevant for us |
@lassesteffen We understand the need of this, but any help is welcome. We use the module with a custom AMI, which means we do not rely on the provided start scripts of the runner. But have similar ones in our AMI. Would be great if the community can support to migrate the current runner to Amazon Linux 2 |
I've opened a PR (#3293) with an attempt to somewhat do what @markandrus mentioned in the original issue comment. I'm not sure if it's the best way to do it, or how the maintainers would like to do it, but as far as I can tell it should work. Another option would be to pass through the name filter and do some conditionals based on it starting with os_id=$(awk -F= '/^ID/{print $2}' /etc/os-release)
if [[ ! "$os_id" =~ ^ubuntu.* ]]; then
# ...
end |
Any luck ? |
New PR #3437 needs a review. |
Since 5.x runners are default using amz linux 2023 |
First, thanks for this great project!
Second, I was able to get version 2.0.0 of this project working with Amazon Linux 2022 on arm64 by applying the following changes:
user-data.sh
install-runner.sh
I applied these changes in a hacky way by overriding
userdata_template
and abusinguserdata_pre_install
. I'll spare the details on what I did inuserdata_pre_install
, but here is how I set them:Could this project could support Amazon Linux 2022 AMI natively by tweaking
user-data.sh
andinstall-runner.sh
?The text was updated successfully, but these errors were encountered: