From ab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 20 Jul 2023 06:49:55 +0200 Subject: Adding upstream version 1.41.0. Signed-off-by: Daniel Baumann --- .github/workflows/packaging-dummy.yml | 80 +++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 .github/workflows/packaging-dummy.yml (limited to '.github/workflows/packaging-dummy.yml') diff --git a/.github/workflows/packaging-dummy.yml b/.github/workflows/packaging-dummy.yml new file mode 100644 index 000000000..653227e1c --- /dev/null +++ b/.github/workflows/packaging-dummy.yml @@ -0,0 +1,80 @@ +--- +# Handles building of binary packages for the agent. +# +# This workflow exists so that we can make these required checks but +# still skip running them on PRs where they are not relevant. +name: Packages +on: + pull_request: + types: + - opened + - reopened + - labeled + - synchronize + paths-ignore: # This MUST be kept in-sync with the paths key for the packaging.yml workflow. + - '**.c' + - '**.cc' + - '**.h' + - '**.hh' + - '**.in' + - 'netdata.spec.in' + - 'configure.ac' + - '**/Makefile*' + - 'Makefile*' + - '.github/workflows/packaging.yml' + - '.github/scripts/gen-matrix-packaging.py' + - '.github/scripts/pkg-test.sh' + - 'build/**' + - 'packaging/*.sh' + - 'packaging/*.checksums' + - 'packaging/*.version' + - 'contrib/debian/**' + - 'aclk/aclk-schemas/' + - 'ml/dlib/' + - 'mqtt_websockets' + - 'web/server/h2o/libh2o' + - '!**.md' +env: + DISABLE_TELEMETRY: 1 + REPO_PREFIX: netdata/netdata +concurrency: + group: packages-${{ github.ref }}-${{ github.event_name }} + cancel-in-progress: true +jobs: + matrix: + name: Prepare Build Matrix + runs-on: ubuntu-latest + outputs: + matrix: ${{ steps.set-matrix.outputs.matrix }} + steps: + - name: Checkout + id: checkout + uses: actions/checkout@v3 + - name: Prepare tools + id: prepare + run: | + sudo apt-get update && sudo apt-get install -y python3-ruamel.yaml + - name: Read build matrix + id: set-matrix + run: | + if [ "${{ github.event_name }}" = "pull_request" ] && \ + [ "${{ !contains(github.event.pull_request.labels.*.name, 'run-ci/packaging') }}" = "true" ]; then + matrix="$(.github/scripts/gen-matrix-packaging.py 1)" + else + matrix="$(.github/scripts/gen-matrix-packaging.py 0)" + fi + echo "Generated matrix: ${matrix}" + echo "matrix=${matrix}" >> "${GITHUB_OUTPUT}" + + build: + name: Build + runs-on: ubuntu-latest + env: + DOCKER_CLI_EXPERIMENTAL: enabled + needs: + - matrix + strategy: + matrix: ${{ fromJson(needs.matrix.outputs.matrix) }} + fail-fast: false + steps: + - run: echo 'NOT REQUIRED' -- cgit v1.2.3