Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build grid final refinements and fixes #104

Merged
merged 9 commits into from
Apr 16, 2020
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
"driverkit/build":
docker:
- image: docker.io/falcosecurity/driverkit:549602bff340ee92e7f523ad4c6f51140bb7b236
- image: docker.io/falcosecurity/driverkit:latest
steps:
- setup_remote_docker
- checkout
Expand All @@ -15,10 +15,10 @@ jobs:
name: Build drivers
command: |
DRIVERKIT_COMMIT=$(git log -1 --format=format:%H --full-diff -- driverkit/)
if [ $CIRCLE_SHA1 = $DRIVERKIT_COMMIT ];
if [ $CIRCLE_SHA1 = $DRIVERKIT_COMMIT ];
then
cd driverkit
make all
make -j2 all
fi
- persist_to_workspace:
root: driverkit
Expand All @@ -30,7 +30,7 @@ jobs:
steps:
- checkout
- attach_workspace:
at: driverkit/output
at: driverkit
- run:
name: Prepare environment
command: |
Expand All @@ -40,7 +40,7 @@ jobs:
name: Publish drivers on bintray
command: |
DRIVERKIT_COMMIT=$(git log -1 --format=format:%H --full-diff -- driverkit/)
if [ $CIRCLE_SHA1 = $DRIVERKIT_COMMIT ];
if [ $CIRCLE_SHA1 = $DRIVERKIT_COMMIT ];
then
cd driverkit
make publish
Expand Down
4 changes: 2 additions & 2 deletions driverkit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ ifneq ("$(wildcard output/$(1)/*.o)","")
endif

prepare_$(1): split_$(1)_kernelmodules split_$(1)_ebpfprobes
@echo -n "upserting falcosecurity/driver/kernel-module/$(1) version..."
@echo "upserting falcosecurity/driver/kernel-module/$(1) version..."
jfrog bt vs falcosecurity/driver/kernel-module/$(1) --user poiana --key ${BINTRAY_SECRET} || jfrog bt vc falcosecurity/driver/kernel-module/$(1) --desc="Falco kernel module" --released=`date -u +"%Y-%m-%dT%H:%M:%S.000Z"` --user poiana --key ${BINTRAY_SECRET}
@echo -n "upserting falcosecurity/driver/ebpf-probe/$(1) version..."
@echo "upserting falcosecurity/driver/ebpf-probe/$(1) version..."
jfrog bt vs falcosecurity/driver/ebpf-probe/$(1) --user poiana --key ${BINTRAY_SECRET} || jfrog bt vc falcosecurity/driver/ebpf-probe/$(1) --desc="Falco eBPF probe" --released=`date -u +"%Y-%m-%dT%H:%M:%S.000Z"` --user poiana --key ${BINTRAY_SECRET}

publish_$(1): prepare_$(1)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kernelrelease: 2.6.32-754.14.2.el6.x86_64
target: centos
output:
module: output/be1ea2d9482d0e6e2cb14a0fd7e08cbecf517f94/falco_centos_2.6.32-754.14.2.el6.x86_64.ko
module: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_centos_2.6.32-754.14.2.el6.x86_64.ko
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kernelrelease: 3.10.0-957.12.2.el7.x86_64
target: centos
output:
module: output/be1ea2d9482d0e6e2cb14a0fd7e08cbecf517f94/falco_centos_3.10.0-957.12.2.el7.x86_64.ko
module: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_centos_3.10.0-957.12.2.el7.x86_64.ko
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kernelrelease: 4.18.0-147.5.1.el8_1.x86_64
target: centos
output:
module: output/be1ea2d9482d0e6e2cb14a0fd7e08cbecf517f94/falco_centos_4.18.0-147.5.1.el8_1.x86_64.ko
module: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_centos_4.18.0-147.5.1.el8_1.x86_64.ko
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kernelrelease: 3.16.0-10-amd64
output:
module: output/be1ea2d9482d0e6e2cb14a0fd7e08cbecf517f94/falco_debian_3.16.0-10-amd64.ko
module: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_debian_3.16.0-10-amd64.ko
target: debian
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
kernelrelease: 4.19.0-0.bpo.6-amd64
output:
module: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_debian_4.19.0-0.bpo.6-amd64.ko
probe: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_debian_4.19.0-0.bpo.6-amd64.o
target: debian
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kernelrelease: 4.19.0-6-amd64
output:
module: output/be1ea2d9482d0e6e2cb14a0fd7e08cbecf517f94/falco_debian_4.19.0-6-amd64.ko
module: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_debian_4.19.0-6-amd64.ko
target: debian
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
kernelrelease: 5.4.0-4-amd64
output:
module: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_debian_5.4.0-4-amd64.ko
probe: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_debian_5.4.0-4-amd64.o
target: debian
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ kernelrelease: 4.15.0-1057-aws
kernelversion: 59
target: ubuntu-aws
output:
module: output/be1ea2d9482d0e6e2cb14a0fd7e08cbecf517f94/falco_ubuntu_4.15.0-1057-aws_59.ko
probe: output/be1ea2d9482d0e6e2cb14a0fd7e08cbecf517f94/falco_ubuntu_4.15.0-1057-aws_59.o
module: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_ubuntu_4.15.0-1057-aws_59.ko
probe: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_ubuntu_4.15.0-1057-aws_59.o
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kernelrelease: 4.15.0-1063-aws
kernelversion: 67
target: ubuntu-aws
output:
module: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_ubuntu_4.15.0-1063-aws_67.ko
probe: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_ubuntu_4.15.0-1063-aws_67.o
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ kernelrelease: 4.15.0-72-generic
kernelversion: 81
target: ubuntu-generic
output:
module: output/be1ea2d9482d0e6e2cb14a0fd7e08cbecf517f94/falco_ubuntu_4.15.0-72-generic_81.ko
probe: output/be1ea2d9482d0e6e2cb14a0fd7e08cbecf517f94/falco_ubuntu_4.15.0-72-generic_81.o
module: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_ubuntu_4.15.0-72-generic_81.ko
probe: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_ubuntu_4.15.0-72-generic_81.o
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ kernelrelease: 4.15.0-91-generic
kernelversion: 92
target: ubuntu-generic
output:
module: output/be1ea2d9482d0e6e2cb14a0fd7e08cbecf517f94/falco_ubuntu_4.15.0-91-generic_92.ko
probe: output/be1ea2d9482d0e6e2cb14a0fd7e08cbecf517f94/falco_ubuntu_4.15.0-91-generic_92.o
module: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_ubuntu_4.15.0-91-generic_92.ko
probe: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_ubuntu_4.15.0-91-generic_92.o
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ kernelrelease: 4.4.0-174-generic
kernelversion: 204
target: ubuntu-generic
output:
module: output/be1ea2d9482d0e6e2cb14a0fd7e08cbecf517f94/falco_ubuntu_4.4.0-174-generic_204.ko
module: output/a259b4bf49c3330d9ad6c3eed9eb1a31954259a6/falco_ubuntu_4.4.0-174-generic_204.ko

This file was deleted.

This file was deleted.

6 changes: 6 additions & 0 deletions driverkit/config/dev/ubuntu_4.15.0-1063-aws_67.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kernelrelease: 4.15.0-1063-aws
kernelversion: 67
target: ubuntu-aws
output:
module: output/dev/falco_ubuntu_4.15.0-1063-aws_67.ko
probe: output/dev/falco_ubuntu_4.15.0-1063-aws_67.o