build: persist only build folder

Signed-off-by: Lorenzo Fontana <lo@linux.com>
This commit is contained in:
Lorenzo Fontana 2020-01-15 15:36:33 +01:00 committed by Leo Di Donato
parent 3c6ce29627
commit 3d1942fe89

View File

@ -55,9 +55,9 @@ jobs:
name: build packages name: build packages
command: /usr/bin/entrypoint package command: /usr/bin/entrypoint package
- persist_to_workspace: - persist_to_workspace:
root: / root: /build
paths: paths:
- build - release
- run: - run:
command: | command: |
mkdir -p /tmp/packages mkdir -p /tmp/packages
@ -66,6 +66,7 @@ jobs:
cp /build/release/*.rpm /tmp/packages cp /build/release/*.rpm /tmp/packages
- store_artifacts: - store_artifacts:
path: /tmp/packages path: /tmp/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:
@ -79,7 +80,7 @@ jobs:
- checkout: - checkout:
path: /source/falco path: /source/falco
- attach_workspace: - attach_workspace:
at: / at: /build
- run: - run:
name: execute integration tests name: execute integration tests
command: /usr/bin/entrypoint test command: /usr/bin/entrypoint test