summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/cfl/.github
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:54:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:54:44 +0000
commit836b47cb7e99a977c5a23b059ca1d0b5065d310e (patch)
tree1604da8f482d02effa033c94a84be42bc0c848c3 /fluent-bit/lib/cfl/.github
parentReleasing debian version 1.44.3-2. (diff)
downloadnetdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.tar.xz
netdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.zip
Merging upstream version 1.46.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fluent-bit/lib/cfl/.github')
-rw-r--r--fluent-bit/lib/cfl/.github/actionlint-matcher.json17
-rw-r--r--fluent-bit/lib/cfl/.github/dependabot.yml12
-rw-r--r--fluent-bit/lib/cfl/.github/workflows/build.yaml168
-rw-r--r--fluent-bit/lib/cfl/.github/workflows/lint.yaml30
-rw-r--r--fluent-bit/lib/cfl/.github/workflows/packages.yaml102
5 files changed, 0 insertions, 329 deletions
diff --git a/fluent-bit/lib/cfl/.github/actionlint-matcher.json b/fluent-bit/lib/cfl/.github/actionlint-matcher.json
deleted file mode 100644
index 7b1ba251..00000000
--- a/fluent-bit/lib/cfl/.github/actionlint-matcher.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "problemMatcher": [
- {
- "owner": "actionlint",
- "pattern": [
- {
- "regexp": "^(?:\\x1b\\[\\d+m)?(.+?)(?:\\x1b\\[\\d+m)*:(?:\\x1b\\[\\d+m)*(\\d+)(?:\\x1b\\[\\d+m)*:(?:\\x1b\\[\\d+m)*(\\d+)(?:\\x1b\\[\\d+m)*: (?:\\x1b\\[\\d+m)*(.+?)(?:\\x1b\\[\\d+m)* \\[(.+?)\\]$",
- "file": 1,
- "line": 2,
- "column": 3,
- "message": 4,
- "code": 5
- }
- ]
- }
- ]
- } \ No newline at end of file
diff --git a/fluent-bit/lib/cfl/.github/dependabot.yml b/fluent-bit/lib/cfl/.github/dependabot.yml
deleted file mode 100644
index 12f9b4a0..00000000
--- a/fluent-bit/lib/cfl/.github/dependabot.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-# To get started with Dependabot version updates, you'll need to specify which
-# package ecosystems to update and where the package manifests are located.
-# Please see the documentation for all configuration options:
-# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
-
-version: 2
-updates:
- # Maintain dependencies for GitHub Actions
- - package-ecosystem: "github-actions"
- directory: "/"
- schedule:
- interval: "weekly" \ No newline at end of file
diff --git a/fluent-bit/lib/cfl/.github/workflows/build.yaml b/fluent-bit/lib/cfl/.github/workflows/build.yaml
deleted file mode 100644
index 8f3ad739..00000000
--- a/fluent-bit/lib/cfl/.github/workflows/build.yaml
+++ /dev/null
@@ -1,168 +0,0 @@
-name: Build PR(s) and master branch.
-on:
- push:
- branches:
- - master
- pull_request:
- branches:
- - master
- types: [opened, reopened, synchronize]
-jobs:
- build-windows:
- name: Build sources on amd64 for ${{ matrix.os }}
- runs-on: ${{ matrix.os }}
- strategy:
- fail-fast: false
- matrix:
- os: [windows-latest, windows-2019]
- steps:
- - uses: actions/checkout@v3
- - name: Build on ${{ matrix.os }} with vs-2019
- run: |
- .\scripts\win_build.bat
- - name: Run unit tests.
- run: |
- ctest --rerun-failed --output-on-failure -C Debug --test-dir .\tests\
-
- build-msys2:
- name: Build sources on MSYS2 for ${{ matrix.os }}
- runs-on: ${{ matrix.os }}
- strategy:
- fail-fast: false
- matrix:
- os: [windows-latest, windows-2019]
- steps:
- - uses: actions/checkout@v3
- - name: Get dependencies w/ chocolatey
- uses: crazy-max/ghaction-chocolatey@v2
- with:
- args: install -y cmake --installargs 'ADD_CMAKE_TO_PATH=System'
- - uses: msys2/setup-msys2@v2
- with:
- update: true
- msystem: UCRT64
- path-type: inherit
- install: >-
- mingw-w64-ucrt-x86_64-gcc
- - name: Build on ${{ matrix.os }} with MSYS2
- shell: msys2 {0}
- run: |
- cmake -G "MinGW Makefiles" -DCFL_TESTS=On .
- cmake --build .
- - name: Run unit tests.
- run: |
- ctest --rerun-failed --output-on-failure -C Debug --test-dir .\tests\
-
- build-centos:
- name: CentOS 7 build to confirm no issues once used downstream
- runs-on: ubuntu-latest
- container: centos:7
- steps:
- - name: Set up base image dependencies
- run: |
- yum -y update
- yum install -y ca-certificates cmake gcc gcc-c++ make wget
- wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- rpm -ivh epel-release-latest-7.noarch.rpm
- yum install -y cmake3
- shell: bash
-
- - uses: actions/checkout@v3
-
- - name: Run compilation
- run: |
- cmake3 -DCFL_DEV=on .
- make
-
- build-debian:
- name: Debian Buster build to confirm no issues once used downstream
- runs-on: ubuntu-latest
- container: debian:buster
- steps:
- - name: Set up base image dependencies
- run: |
- apt-get update
- apt-get install -y build-essential cmake make
- shell: bash
-
- - uses: actions/checkout@v3
-
- - name: Run compilation
- run: |
- cmake -DCFL_DEV=on .
- make
-
- build-unix-arm64:
- name: Build sources on arm64 for ${{ matrix.os }} - ${{ matrix.compiler }}
- runs-on: ${{ matrix.os }}
- strategy:
- fail-fast: false
- matrix:
- os: [ubuntu-latest]
- compiler: [ gcc, clang ]
- steps:
- - uses: actions/checkout@v3
- - name: Build on ${{ matrix.os }} with ${{ matrix.compiler }}
- uses: uraimo/run-on-arch-action@v2.3.0
- with:
- arch: aarch64
- distro: ubuntu20.04
- run: |
- apt-get update && \
- apt-get install -y --no-install-recommends \
- build-essential \
- cmake \
- file \
- make
- export CC=${{ env.compiler }}
- cmake -DCFL_TESTS=On .
- make all
- CTEST_OUTPUT_ON_FAILURE=1 make test
- env:
- CC: ${{ matrix.compiler }}
-
- build-unix-amd64:
- name: Build sources on amd64 for ${{ matrix.os }} - ${{ matrix.compiler }}
- runs-on: ${{ matrix.os }}
- strategy:
- fail-fast: false
- matrix:
- os: [ubuntu-latest, macos-latest]
- compiler: [ gcc, clang ]
- steps:
- - uses: actions/checkout@v3
- - name: Build on ${{ matrix.os }} with ${{ matrix.compiler }}
- run: |
- echo "CC = $CC, CXX = $CXX"
- cmake -DCFL_TESTS=On .
- make all
- CTEST_OUTPUT_ON_FAILURE=1 make test
- env:
- CC: ${{ matrix.compiler }}
-
- build-analysis-tests:
- name: Build with various code analysis tools
- strategy:
- fail-fast: false
- matrix:
- preset:
- - clang-sanitize-address
- - clang-sanitize-memory
- - clang-sanitize-undefined
- - clang-sanitize-dataflow
- - clang-sanitize-safe-stack
- - valgrind
- permissions:
- contents: read
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- with:
- submodules: true
-
- - uses: docker://lpenz/ghaction-cmake:0.19
- with:
- preset: ${{ matrix.preset }}
- # dependencies_debian: ''
- cmakeflags: '-DCFL_TESTS=On -DCFL_DEV=on .'
- build_command: make all
diff --git a/fluent-bit/lib/cfl/.github/workflows/lint.yaml b/fluent-bit/lib/cfl/.github/workflows/lint.yaml
deleted file mode 100644
index 7e3dc05b..00000000
--- a/fluent-bit/lib/cfl/.github/workflows/lint.yaml
+++ /dev/null
@@ -1,30 +0,0 @@
-name: Lint PRs
-on:
- pull_request:
- workflow_dispatch:
-
-jobs:
- shellcheck:
- runs-on: ubuntu-latest
- name: Shellcheck
- permissions:
- contents: read
- steps:
- - uses: actions/checkout@v3
- - uses: ludeeus/action-shellcheck@master
- with:
- ignore_paths: lib
-
- actionlint:
- runs-on: ubuntu-latest
- name: Actionlint
- permissions:
- contents: read
- steps:
- - uses: actions/checkout@v3
- - run: |
- echo "::add-matcher::.github/actionlint-matcher.json"
- bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
- ./actionlint -color -shellcheck=
- shell: bash
-
diff --git a/fluent-bit/lib/cfl/.github/workflows/packages.yaml b/fluent-bit/lib/cfl/.github/workflows/packages.yaml
deleted file mode 100644
index 2c5bedbe..00000000
--- a/fluent-bit/lib/cfl/.github/workflows/packages.yaml
+++ /dev/null
@@ -1,102 +0,0 @@
-name: Build packages for master or a tagged release
-
-on:
- push:
- branches:
- - master
- # Any tag starting with 'v'
- tags:
- - 'v*'
- workflow_dispatch:
-
-jobs:
- build-distro-packages-arm64:
- runs-on: ubuntu-latest
- name: build arm64 packages
- strategy:
- fail-fast: true
- matrix:
- format: [ rpm, deb ]
- steps:
- - uses: actions/checkout@v3
- - uses: uraimo/run-on-arch-action@v2.3.0
- name: Build the ${{matrix.format}} packages
- with:
- arch: aarch64
- distro: ubuntu20.04
- run: |
- apt-get update && \
- apt-get install -y --no-install-recommends \
- build-essential \
- cmake \
- file \
- rpm \
- make
- cmake .
- echo ${{ matrix.format }} | awk '{print toupper($0)}' | xargs -I{} cpack -G {}
-
- - name: Store the master package artifacts
- uses: actions/upload-artifact@v3
- with:
- name: ${{ matrix.format }}-arm64
- path: |
- ./*.${{matrix.format}}
-
- build-distro-packages-amd64:
- name: build amd64 packages
- strategy:
- fail-fast: true
- matrix:
- format: [ rpm, deb ]
-
- runs-on: [ ubuntu-latest ]
- steps:
- - uses: actions/checkout@v3
- - name: Build the ${{matrix.format}} packages
- run: |
- cmake .
- echo ${{ matrix.format }} | awk '{print toupper($0)}' | xargs -I{} cpack -G {}
-
- - name: Store the master package artifacts
- uses: actions/upload-artifact@v3
- with:
- name: ${{ matrix.format }}-amd64
- path: |
- ./*.${{matrix.format}}
-
- release:
- name: Create release and upload packages
- needs:
- - build-distro-packages-amd64
- - build-distro-packages-arm64
- runs-on: ubuntu-latest
- permissions:
- contents: write
- steps:
- - name: Download all artefacts
- uses: actions/download-artifact@v3
- with:
- path: artifacts/
-
- - name: Display structure of downloaded files
- run: ls -R
- working-directory: artifacts
- shell: bash
-
- - name: Unstable release on push to master to make it easier to download
- uses: pyTooling/Actions/releaser@r0
- continue-on-error: true
- with:
- token: ${{ secrets.GITHUB_TOKEN }}
- tag: 'unstable'
- rm: true
- files: |
- artifacts/**/*
-
- - name: Release on tag
- uses: softprops/action-gh-release@v1
- if: startsWith(github.ref, 'refs/tags/')
- with:
- generate_release_notes: true
- files: |
- artifacts/**/*