Skip to content

Commit

Permalink
build: allow the tester command to retrieve the source and build env
Browse files Browse the repository at this point in the history
variables

Co-Authored-By: Leonardo Grasso <[email protected]>
Signed-off-by: Lorenzo Fontana <[email protected]>
  • Loading branch information
fntlnz and leogr committed Sep 2, 2020
1 parent 7c55185 commit e40cb6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ jobs:
# Execute integration tests based on the build results coming from the "build/centos7" job
"tests/integration":
docker:
- image: falcosecurity/falco-tester:latest
- image: falcosecurity/falco-tester:feat-minimal-build # todo(fntlnz): change this to latest before merge, but first, update the image on docker hub
environment:
SOURCE_DIR: "/source"
BUILD_DIR: "/build"
Expand Down
7 changes: 4 additions & 3 deletions docker/tester/root/usr/bin/entrypoint
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/usr/bin/env bash

set -eu -o pipefail
set -u -o pipefail

BUILD_DIR=${BUILD_DIR:-/build}
SOURCE_DIR=${SOURCE_DIR:-/source}

SOURCE_DIR=/source
BUILD_DIR=/build
CMD=${1:-test}
shift

Expand Down

0 comments on commit e40cb6c

Please sign in to comment.