Skip to content

Backport: ci: switch CGroup v1 test with VirtualBox (#807)#820

Merged
kenhys merged 1 commit intofluent:fluent-package-v5from
kenhys:backport-807
May 8, 2025
Merged

Backport: ci: switch CGroup v1 test with VirtualBox (#807)#820
kenhys merged 1 commit intofluent:fluent-package-v5from
kenhys:backport-807

Conversation

@kenhys
Copy link
Copy Markdown
Contributor

@kenhys kenhys commented May 7, 2025

Backport #807

ci: switch CGroup v1 test on vagrant (VirtualBox)

In the previous versions, AmazonLinux:2 image
was lost from LXD, so switched from LXD to Incus.

In this time, Ubuntu 20.04 runner will be removed from GitHub Actions, so need to give up using 20.04 runner for upcoming EOL (2025/04/15).
Thus, there is no CGroup V1 host runner available on GitHub Actions. As a result, it means that there is no straightforward way to test package
on CGroup v1 host. (such as AmazonLinux:2, AmazonLinux:2023)

Instead, use vagrant (VirtualBox) to test fluent-package. It enables to run VM with CGroup v1 to keep CI alive.

@kenhys kenhys marked this pull request as draft May 7, 2025 06:52
@kenhys
Copy link
Copy Markdown
Contributor Author

kenhys commented May 7, 2025

needs #822

@kenhys kenhys marked this pull request as ready for review May 7, 2025 08:46
Copy link
Copy Markdown
Contributor

@daipom daipom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

ci: switch CGroup v1 test on vagrant (VirtualBox)

In the previous versions, AmazonLinux:2 image
was lost from LXD, so switched from LXD to Incus.

In this time, Ubuntu 20.04 runner will be removed from
GitHub Actions, so need to give up using 20.04 runner
for upcoming EOL (2025/04/15).
Thus, there is no CGroup V1 host runner available on GitHub Actions.
As a result, it means that there is no straightforward way to test
package
on CGroup v1 host. (such as AmazonLinux:2, AmazonLinux:2023)

Instead, use vagrant (VirtualBox) to test fluent-package.
It enables to run VM with CGroup v1 to keep CI alive.

---------

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
@kenhys
Copy link
Copy Markdown
Contributor Author

kenhys commented May 8, 2025

rebased because #823 was merged.

@kenhys kenhys merged commit 9e929df into fluent:fluent-package-v5 May 8, 2025
55 of 63 checks passed
@kenhys kenhys deleted the backport-807 branch May 8, 2025 03:51
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