mirror of
https://github.com/falcosecurity/falco.git
synced 2025-07-04 02:16:46 +00:00
chore: rename circle CI step names
Co-authored-by: Lorenzo Fontana <lo@linux.com> Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
parent
206e45bc2e
commit
0d0a3ea422
@ -1,6 +1,6 @@
|
|||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
# build using ubuntu LTS
|
# Build using ubuntu LTS
|
||||||
# This build is dynamic, most dependencies are taken from the OS
|
# This build is dynamic, most dependencies are taken from the OS
|
||||||
"build/ubuntu-bionic":
|
"build/ubuntu-bionic":
|
||||||
docker:
|
docker:
|
||||||
@ -8,13 +8,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: update base image
|
name: Update base image
|
||||||
command: apt update -y
|
command: apt update -y
|
||||||
- run:
|
- run:
|
||||||
name: install dependencies
|
name: Install dependencies
|
||||||
command: apt install libssl-dev libyaml-dev libncurses-dev libc-ares-dev libprotobuf-dev protobuf-compiler libjq-dev libyaml-cpp-dev libgrpc++-dev protobuf-compiler-grpc rpm linux-headers-$(uname -r) libelf-dev cmake build-essential libcurl4-openssl-dev -y
|
command: apt install libssl-dev libyaml-dev libncurses-dev libc-ares-dev libprotobuf-dev protobuf-compiler libjq-dev libyaml-cpp-dev libgrpc++-dev protobuf-compiler-grpc rpm linux-headers-$(uname -r) libelf-dev cmake build-essential libcurl4-openssl-dev -y
|
||||||
- run:
|
- run:
|
||||||
name: prepare project
|
name: Prepare project
|
||||||
command: |
|
command: |
|
||||||
mkdir build
|
mkdir build
|
||||||
pushd build
|
pushd build
|
||||||
@ -32,7 +32,7 @@ jobs:
|
|||||||
pushd build
|
pushd build
|
||||||
make tests
|
make tests
|
||||||
popd
|
popd
|
||||||
# build using our own builder base image using centos 7
|
# Build using our own builder base image using centos 7
|
||||||
# This build is static, dependencies are bundled in the falco binary
|
# This build is static, dependencies are bundled in the falco binary
|
||||||
"build/centos7":
|
"build/centos7":
|
||||||
docker:
|
docker:
|
||||||
@ -43,23 +43,23 @@ jobs:
|
|||||||
- checkout:
|
- checkout:
|
||||||
path: /source/falco
|
path: /source/falco
|
||||||
- run:
|
- run:
|
||||||
name: prepare project
|
name: Prepare project
|
||||||
command: /usr/bin/entrypoint cmake
|
command: /usr/bin/entrypoint cmake
|
||||||
- run:
|
- run:
|
||||||
name: build
|
name: Build
|
||||||
command: /usr/bin/entrypoint all
|
command: /usr/bin/entrypoint all
|
||||||
- run:
|
- run:
|
||||||
name: run unit tests
|
name: Run unit tests
|
||||||
command: /usr/bin/entrypoint tests
|
command: /usr/bin/entrypoint tests
|
||||||
- run:
|
- run:
|
||||||
name: build packages
|
name: Build packages
|
||||||
command: /usr/bin/entrypoint package
|
command: /usr/bin/entrypoint package
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: /build
|
root: /build
|
||||||
paths:
|
paths:
|
||||||
- release
|
- release
|
||||||
- run:
|
- run:
|
||||||
name: prepare artifacts
|
name: Prepare artifacts
|
||||||
command: |
|
command: |
|
||||||
mkdir -p /tmp/packages
|
mkdir -p /tmp/packages
|
||||||
cp /build/release/*.deb /tmp/packages
|
cp /build/release/*.deb /tmp/packages
|
||||||
@ -68,7 +68,7 @@ jobs:
|
|||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: /tmp/packages
|
path: /tmp/packages
|
||||||
destination: /packages
|
destination: /packages
|
||||||
# execute integration tests based on the build results coming from the "build/centos7" job
|
# Execute integration tests based on the build results coming from the "build/centos7" job
|
||||||
"tests/integration":
|
"tests/integration":
|
||||||
docker:
|
docker:
|
||||||
- image: falcosecurity/falco-tester:dynamic-builds # todo(fntlnz): replace this with the actual image once PR #968 is merged
|
- image: falcosecurity/falco-tester:dynamic-builds # todo(fntlnz): replace this with the actual image once PR #968 is merged
|
||||||
@ -83,7 +83,7 @@ jobs:
|
|||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: /build
|
at: /build
|
||||||
- run:
|
- run:
|
||||||
name: execute integration tests
|
name: Execute integration tests
|
||||||
command: /usr/bin/entrypoint test
|
command: /usr/bin/entrypoint test
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
Loading…
Reference in New Issue
Block a user