mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-23 16:38:52 +00:00
new(.circleci): initial job to publish deb package
Co-authored-by: Lorenzo Fontana <lo@linux.com> Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
parent
2a739364d6
commit
d0a44f4285
@ -84,6 +84,18 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Execute integration tests
|
name: Execute integration tests
|
||||||
command: /usr/bin/entrypoint test
|
command: /usr/bin/entrypoint test
|
||||||
|
# Publish the packages
|
||||||
|
"publish/packages":
|
||||||
|
docker:
|
||||||
|
- image: docker.bintray.io/jfrog/jfrog-cli-go:latest
|
||||||
|
steps:
|
||||||
|
- attach_workspace:
|
||||||
|
at: /
|
||||||
|
- run:
|
||||||
|
name: Publish deb
|
||||||
|
command: |
|
||||||
|
FALCO_VERSION=$(./build/userspace/falco/falco --version | awk '{print $3;}')
|
||||||
|
jfrog bt u ./build/release/falco-${FALCO_VERSION}.deb falcosecurity/deb/falco/${FALCO_VERSION} --deb bionic/main/amd64 --user poiana --key ${BINTRAY_SECRET} --publish
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
build_and_test:
|
build_and_test:
|
||||||
@ -93,3 +105,7 @@ workflows:
|
|||||||
- "tests/integration":
|
- "tests/integration":
|
||||||
requires:
|
requires:
|
||||||
- "build/centos7"
|
- "build/centos7"
|
||||||
|
- "publish/packages":
|
||||||
|
context: falco
|
||||||
|
requires:
|
||||||
|
- "build/centos7"
|
||||||
|
Loading…
Reference in New Issue
Block a user