in_ebpf: initial version of the plugin (experimental) #2298
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
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
inputs: | |
version: | |
description: Version of Fluent Bit to build | |
required: false | |
default: master | |
target: | |
description: Only build a specific target, intended for debug/test builds only. | |
required: false | |
default: "" | |
name: Build packages for master | |
jobs: | |
master-build-generate-matrix: | |
name: Staging build matrix | |
runs-on: ubuntu-latest | |
outputs: | |
build-matrix: ${{ steps.set-matrix.outputs.matrix }} | |
steps: | |
# Set up the list of target to build so we can pass the JSON to the reusable job | |
- id: set-matrix | |
run: | | |
matrix=$(( | |
echo '{ "distro" : [ "debian/bullseye", "ubuntu/20.04", "ubuntu/22.04", "centos/7" ]}' | |
) | jq -c .) | |
if [ -n "${{ github.event.inputs.target || '' }}" ]; then | |
echo "Overriding matrix to build: ${{ github.event.inputs.target }}" | |
matrix=$(( | |
echo '{ "distro" : [' | |
echo '"${{ github.event.inputs.target }}"' | |
echo ']}' | |
) | jq -c .) | |
fi | |
echo $matrix | |
echo $matrix| jq . | |
echo "matrix=$matrix" >> $GITHUB_OUTPUT | |
shell: bash | |
master-build-packages: | |
needs: master-build-generate-matrix | |
uses: ./.github/workflows/call-build-linux-packages.yaml | |
with: | |
version: master | |
ref: master | |
build_matrix: ${{ needs.master-build-generate-matrix.outputs.build-matrix }} | |
secrets: | |
token: ${{ secrets.GITHUB_TOKEN }} |