fix(proc/scan): scan all existing threads #568
Workflow file for this run
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
name: Build Plugins PR | |
on: | |
pull_request: | |
branches: [ main ] | |
# Checks if any concurrent jobs under the same pull request or branch are being executed | |
# NOTE: this will cancel every workflow that is being ran against a PR as group is just the github ref (without the workflow name) | |
concurrency: | |
group: ci-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build-plugins: | |
uses: ./.github/workflows/reusable_build_packages.yaml | |
with: | |
makecommand: make packages -j4 | |
suffix: ${{ github.event.number }} | |
secrets: inherit | |
get-changed-plugins: | |
uses: ./.github/workflows/reusable_get_changed_plugins.yaml | |
build-rules-tool: | |
needs: [get-changed-plugins] | |
if: needs.get-changed-plugins.outputs.changed-plugins != '[]' && needs.get-changed-plugins.outputs.changed-plugins != '' | |
uses: ./.github/workflows/reusable_build_rules_tool.yaml | |
with: | |
output: rules-checker | |
repository: falcosecurity/rules | |
validate-plugins: | |
needs: [build-plugins, get-changed-plugins, build-rules-tool] | |
if: needs.get-changed-plugins.outputs.changed-plugins != '[]' && needs.get-changed-plugins.outputs.changed-plugins != '' | |
strategy: | |
fail-fast: false | |
matrix: | |
plugin: ${{ fromJson(needs.get-changed-plugins.outputs.changed-plugins) }} | |
uses: ./.github/workflows/reusable_validate_plugins.yaml | |
with: | |
plugin: ${{ matrix.plugin }} | |
falcoctl-version: 0.10.0 | |
falco-image: falcosecurity/falco-no-driver:0.38.2 | |
plugins-artifact: plugins-x86_64-${{ github.event.number }}.tar.gz | |
rules-checker: ./rules-checker | |
arch: x86_64 | |
suggest-rules-version: | |
needs: [build-plugins, get-changed-plugins, build-rules-tool] | |
if: needs.get-changed-plugins.outputs.changed-plugins != '[]' && needs.get-changed-plugins.outputs.changed-plugins != '' | |
strategy: | |
fail-fast: false | |
matrix: | |
plugin: ${{ fromJson(needs.get-changed-plugins.outputs.changed-plugins) }} | |
uses: ./.github/workflows/reusable_suggest_rules_version.yaml | |
with: | |
plugin: ${{ matrix.plugin }} | |
falco-image: falcosecurity/falco-no-driver:0.38.2 | |
plugins-artifact: plugins-x86_64-${{ github.event.number }}.tar.gz | |
rules-checker: ./rules-checker | |
arch: x86_64 | |
job-index: ${{ strategy.job-index }} |