mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-01 14:47:00 +00:00
update(ci): integrate tests and ci workflow for release branch and tags
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -1,7 +1,9 @@
|
|||||||
name: CI Build
|
name: CI Build
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
branches:
|
||||||
|
- master
|
||||||
|
- release/*
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
# Checks if any concurrent jobs under the same pull request or branch are being executed
|
# Checks if any concurrent jobs under the same pull request or branch are being executed
|
||||||
|
21
.github/workflows/release.yaml
vendored
21
.github/workflows/release.yaml
vendored
@@ -66,8 +66,27 @@ jobs:
|
|||||||
version: ${{ github.event.release.tag_name }}
|
version: ${{ github.event.release.tag_name }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
|
test-packages:
|
||||||
|
needs: [release-settings, build-packages]
|
||||||
|
uses: ./.github/workflows/reusable_test_packages.yaml
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
static: ["static", ""]
|
||||||
|
with:
|
||||||
|
arch: x86_64
|
||||||
|
static: ${{ matrix.static != '' && true || false }}
|
||||||
|
version: ${{ github.event.release.tag_name }}
|
||||||
|
|
||||||
|
test-packages-arm64:
|
||||||
|
needs: [release-settings, build-packages-arm64]
|
||||||
|
uses: ./.github/workflows/reusable_test_packages.yaml
|
||||||
|
with:
|
||||||
|
arch: aarch64
|
||||||
|
version: ${{ github.event.release.tag_name }}
|
||||||
|
|
||||||
publish-packages:
|
publish-packages:
|
||||||
needs: [release-settings, build-packages, build-packages-arm64]
|
needs: [release-settings, test-packages, test-packages-arm64]
|
||||||
uses: ./.github/workflows/reusable_publish_packages.yaml
|
uses: ./.github/workflows/reusable_publish_packages.yaml
|
||||||
with:
|
with:
|
||||||
bucket_suffix: ${{ needs.release-settings.outputs.bucket_suffix }}
|
bucket_suffix: ${{ needs.release-settings.outputs.bucket_suffix }}
|
||||||
|
Reference in New Issue
Block a user