Skip to content

Use vanilla Falco #2761

Use vanilla Falco

Use vanilla Falco #2761

Workflow file for this run

name: Main collector CI
on:
push:
branches:
- master
- release-*
tags:
- 3.*.*
pull_request:
types:
- labeled
- unlabeled
- synchronize
- opened
- reopened
permissions:
pull-requests: write
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
init:
uses: ./.github/workflows/init.yml
secrets: inherit
build-drivers:
uses: ./.github/workflows/drivers.yml
with:
drivers-bucket: ${{ needs.init.outputs.drivers-bucket }}
bundles-bucket: ${{ needs.init.outputs.bundles-bucket }}
branch-name: ${{ needs.init.outputs.branch-name }}
needs: init
secrets: inherit
upload-drivers:
uses: ./.github/workflows/upload-drivers.yml
with:
gcp-bucket: ${{ needs.init.outputs.push-drivers-bucket }}
merged-drivers-bucket: ${{ needs.init.outputs.merged-drivers-bucket }}
if: ${{ needs.build-drivers.outputs.parallel-jobs > 0 }}
needs:
- init
- build-drivers
secrets: inherit
check-drivers-build:
uses: ./.github/workflows/check-drivers-failures.yml
needs: build-drivers
if: ${{ needs.build-drivers.outputs.parallel-jobs > 0 }}
secrets: inherit
with:
logs-artifact: driver-build-failures
build-builder-image:
uses: ./.github/workflows/collector-builder.yml
needs: init
with:
collector-tag: ${{ needs.init.outputs.collector-tag }}
secrets: inherit
build-collector-slim:
uses: ./.github/workflows/collector-slim.yml
needs:
- init
- build-builder-image
with:
collector-tag: ${{ needs.init.outputs.collector-tag }}
collector-image: ${{ needs.init.outputs.collector-image }}
collector-builder-tag: ${{ needs.build-builder-image.outputs.collector-builder-tag }}
secrets: inherit
build-collector-full:
uses: ./.github/workflows/collector-full.yml
with:
collector-tag: ${{ needs.init.outputs.collector-tag }}
drivers-bucket: ${{ needs.init.outputs.drivers-bucket }}
arch-drivers-bucket: ${{ needs.init.outputs.cpaas-drivers-bucket }}
skip-built-drivers: ${{ needs.build-drivers.outputs.parallel-jobs == 0 }}
build-full-image: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'build-full-images') }}
secrets: inherit
needs:
- init
- build-collector-slim
- build-drivers
build-test-containers:
uses: ./.github/workflows/integration-test-containers.yml
secrets: inherit
integration-tests:
uses: ./.github/workflows/integration-tests.yml
with:
collector-tag: ${{ needs.init.outputs.collector-tag }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-integration-tests') }}
needs:
- init
- build-collector-slim
- build-collector-full
- build-test-containers
secrets: inherit
benchmarks:
uses: ./.github/workflows/benchmarks.yml
with:
collector-tag: ${{ needs.init.outputs.collector-tag }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-integration-tests') }}
needs:
- init
- build-collector-slim
- build-collector-full
- build-test-containers
secrets: inherit
build-support-packages:
uses: ./.github/workflows/support-packages.yml
with:
branch-name: ${{ needs.init.outputs.branch-name }}
upstream-drivers-bucket: ${{ needs.init.outputs.drivers-bucket }}
downstream-drivers-bucket: ${{ needs.init.outputs.cpaas-drivers-bucket }}/x86_64
support-packages-bucket: ${{ needs.init.outputs.support-packages-bucket }}
support-packages-index-bucket: ${{ needs.init.outputs.support-packages-index-bucket }}
public-support-packages-bucket: ${{ needs.init.outputs.public-support-packages-bucket }}
if: |
always() &&
(github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'test-support-packages'))
needs:
- init
- build-drivers
- upload-drivers
secrets: inherit