-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Note that ubuntu-latest has switched to CGroup V2, so can't launch CGroup V1 container by default. Signed-off-by: Kentaro Hayashi <[email protected]>
- Loading branch information
Showing
1 changed file
with
32 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,22 +89,47 @@ jobs: | |
--env CENTOS_STREAM=${{ matrix.centos-stream }} \ | ||
${{ matrix.test-docker-image }} \ | ||
/fluentd/fluent-package/yum/binstubs-test.sh | ||
test: | ||
name: Test | ||
v1test: | ||
name: Test with CGroup V1 | ||
needs: build | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
label: | ||
- CentOS 7 x86_64 | ||
- AmazonLinux 2 x86_64 | ||
- AmazonLinux 2023 x86_64 | ||
include: | ||
- label: CentOS 7 x86_64 | ||
rake-job: centos-7 | ||
test-lxc-image: images:centos/7 | ||
- label: AmazonLinux 2 x86_64 | ||
rake-job: amazonlinux-2 | ||
test-lxc-image: images:amazonlinux/2 | ||
- label: AmazonLinux 2023 x86_64 | ||
rake-job: amazonlinux-2023 | ||
test-lxc-image: images:amazonlinux/2023 | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: actions/download-artifact@master | ||
with: | ||
name: packages-${{ matrix.rake-job }} | ||
- uses: canonical/[email protected] | ||
- name: Run Test | ||
run: fluent-package/yum/systemd-test/test.sh ${{ matrix.test-lxc-image }} | ||
|
||
v2test: | ||
name: Test with CGroup V2 | ||
needs: build | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
label: | ||
# CGroup V1 is not supported | ||
# - CentOS 7 x86_64 | ||
- RockyLinux 8 x86_64 | ||
- AlmaLinux 9 x86_64 | ||
include: | ||
# - label: CentOS 7 x86_64 | ||
# rake-job: centos-7 | ||
# test-lxc-image: images:centos/7 | ||
- label: RockyLinux 8 x86_64 | ||
rake-job: rockylinux-8 | ||
test-lxc-image: images:rockylinux/8 | ||
|