mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-16 14:58:31 +00:00
build: falco builder and integration tests step
Signed-off-by: Lorenzo Fontana <lo@linux.com>
This commit is contained in:
committed by
Leo Di Donato
parent
a2c0d90260
commit
885a0e24f5
@@ -1,5 +1,6 @@
|
|||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
|
# generic ubuntu build
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
- image: ubuntu:bionic
|
- image: ubuntu:bionic
|
||||||
@@ -25,3 +26,27 @@ jobs:
|
|||||||
pushd build
|
pushd build
|
||||||
make tests
|
make tests
|
||||||
popd
|
popd
|
||||||
|
# build using our own builder base image
|
||||||
|
builder:
|
||||||
|
docker:
|
||||||
|
- image: falcosecurity/falco-builder:dynamic-build # todo(fntlnz): replace this with the actual image once PR #968 is merged
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: prepare project
|
||||||
|
command: cmake
|
||||||
|
- persist_to_workspace:
|
||||||
|
root: .
|
||||||
|
paths:
|
||||||
|
- build/*
|
||||||
|
# execute integration tests based on the build results coming from the "builder" job
|
||||||
|
integration:
|
||||||
|
docker:
|
||||||
|
- image: falcosecurity/falco-tester:latest
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- attach_workspace:
|
||||||
|
at: build
|
||||||
|
- run:
|
||||||
|
name: prepare project
|
||||||
|
command: cmake
|
||||||
|
Reference in New Issue
Block a user