Skip to content

ci: switch CGroup v1 test with VirtualBox#807

Merged
kenhys merged 2 commits intofluent:masterfrom
kenhys:ci-cgroupv1
Apr 8, 2025
Merged

ci: switch CGroup v1 test with VirtualBox#807
kenhys merged 2 commits intofluent:masterfrom
kenhys:ci-cgroupv1

Conversation

@kenhys
Copy link
Copy Markdown
Contributor

@kenhys kenhys commented Apr 7, 2025

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 force-pushed the ci-cgroupv1 branch 5 times, most recently from 2e69ed0 to dc26804 Compare April 8, 2025 03:55
@kenhys kenhys changed the title ci: switch CGroup v1 test on Lima based one ci: switch CGroup v1 test with VirtualBox Apr 8, 2025
@kenhys kenhys force-pushed the ci-cgroupv1 branch 5 times, most recently from 6732fd3 to 2b5086d Compare April 8, 2025 04:46
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>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
@kenhys kenhys marked this pull request as ready for review April 8, 2025 05:29
@kenhys kenhys requested review from Watson1978 and daipom and removed request for Watson1978 April 8, 2025 05:29
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 so much!!

@daipom
Copy link
Copy Markdown
Contributor

daipom commented Apr 8, 2025

Note: We should unify apt-get / apt. Maybe in another PR.

@kenhys kenhys merged commit 84061f9 into fluent:master Apr 8, 2025
215 checks passed
@kenhys kenhys deleted the ci-cgroupv1 branch April 8, 2025 05:47
kenhys added a commit to kenhys/fluent-package-builder that referenced this pull request May 7, 2025
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 added a commit to kenhys/fluent-package-builder that referenced this pull request May 7, 2025
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 added a commit to kenhys/fluent-package-builder that referenced this pull request May 8, 2025
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 kenhys added the backport to v5.0 Need to be backported LTS label May 8, 2025
kenhys added a commit that referenced this pull request May 8, 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.

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
@kenhys kenhys added the backported Already backported to LTS branch (e.g. fluent-package-v5) label May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport to v5.0 Need to be backported LTS backported Already backported to LTS branch (e.g. fluent-package-v5)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants