From e8b5ad05da6debde4ed1a99e70a8c69261e8ee69 Mon Sep 17 00:00:00 2001 From: Celalettin Calis Date: Tue, 18 Mar 2025 18:40:01 +0300 Subject: [PATCH 1/3] ci: switch to gh arm runner switches to gh arm runner Signed-off-by: Celalettin Calis --- .github/workflows/unit-tests.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index f10504e506c..eae2fa38dff 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -117,11 +117,9 @@ jobs: FLB_OPT: ${{ matrix.flb_option }} run-aarch64-unit-tests: - # Ensure for OSS Fluent Bit repo we enable usage of Actuated runners for ARM builds, for forks it should keep existing ubuntu-latest usage. - runs-on: ${{(github.repository == 'fluent/fluent-bit') && 'actuated-arm64-8cpu-16gb' || 'ubuntu-latest' }} + runs-on: ${{(github.repository == 'fluent/fluent-bit') && 'ubuntu-22.04-arm' || 'ubuntu-latest' }} permissions: contents: read - # We chain this after Linux one as there are costs for actuated workers needs: - run-ubuntu-unit-tests timeout-minutes: 10 @@ -129,7 +127,7 @@ jobs: fail-fast: false matrix: config: - - name: "Aarch64 actuated testing" + - name: "Aarch64 testing" flb_option: "-DFLB_WITHOUT_flb-it-network=1 -DFLB_WITHOUT_flb-it-fstore=1" omit_option: "" global_option: "-DFLB_BACKTRACE=Off -DFLB_SHARED_LIB=Off -DFLB_DEBUG=On -DFLB_ALL=On -DFLB_EXAMPLES=Off" @@ -139,17 +137,13 @@ jobs: - name: Checkout Fluent Bit code uses: actions/checkout@v4 - - name: Set up Actuated mirror - if: github.repository == 'fluent/fluent-bit' - uses: self-actuated/hub-mirror@master - - name: Setup environment run: | sudo apt-get update sudo apt-get install -y gcc-9 g++-9 clang-12 cmake flex bison libsystemd-dev gcovr libyaml-dev libbpf-dev linux-tools-common sudo ln -s /usr/bin/llvm-symbolizer-12 /usr/bin/llvm-symbolizer || true - - name: Build and test with actuated runners + - name: Build and test with arm runners run: | sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 90 From 8475a56a5e2facfc9ae0765647a8311bd46b5208 Mon Sep 17 00:00:00 2001 From: Celalettin Calis Date: Tue, 18 Mar 2025 18:41:29 +0300 Subject: [PATCH 2/3] comment ignore Signed-off-by: Celalettin Calis --- .github/workflows/unit-tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index eae2fa38dff..f9a6852560c 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -9,7 +9,7 @@ on: - 1.8 pull_request: paths-ignore: - - '.github/**' +# - '.github/**' - 'dockerfiles/**' - 'docker_compose/**' - 'packaging/**' From 5d635f2b49bede03ff895e1a133fedf9b1f06421 Mon Sep 17 00:00:00 2001 From: Celalettin Calis Date: Thu, 20 Mar 2025 15:37:53 +0300 Subject: [PATCH 3/3] remove comment Signed-off-by: Celalettin Calis --- .github/workflows/unit-tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index f9a6852560c..eae2fa38dff 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -9,7 +9,7 @@ on: - 1.8 pull_request: paths-ignore: -# - '.github/**' + - '.github/**' - 'dockerfiles/**' - 'docker_compose/**' - 'packaging/**'