mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-15 22:38:26 +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
|
||||
jobs:
|
||||
# generic ubuntu build
|
||||
build:
|
||||
docker:
|
||||
- image: ubuntu:bionic
|
||||
@@ -25,3 +26,27 @@ jobs:
|
||||
pushd build
|
||||
make tests
|
||||
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