Skip to content

Commit

Permalink
fix(.circleci): push to deb-dev and rpm-dev
Browse files Browse the repository at this point in the history
Co-authored-by: Lorenzo Fontana <[email protected]>
Signed-off-by: Leonardo Di Donato <[email protected]>
  • Loading branch information
leodido and fntlnz committed Feb 26, 2020
1 parent 6b672b8 commit dc3bb40
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,12 @@ jobs:
name: Publish deb
command: |
FALCO_VERSION=$(sed -e 's/^"//' -e 's/"$//' <<< $(cat /build/release/userspace/falco/config_falco.h | grep 'FALCO_VERSION ' | cut -d' ' -f3))
jfrog bt u /build/release/falco-${FALCO_VERSION}-x86_64.deb falcosecurity/deb/falco-dev/${FALCO_VERSION} bionic/ --deb bionic/main/amd64 --user poiana --key ${BINTRAY_SECRET} --publish
jfrog bt u /build/release/falco-${FALCO_VERSION}-x86_64.deb falcosecurity/deb/falco-dev/${FALCO_VERSION} xenial/ --deb xenial/main/amd64 --user poiana --key ${BINTRAY_SECRET} --publish
jfrog bt u /build/release/falco-${FALCO_VERSION}-x86_64.deb falcosecurity/deb/falco-dev/${FALCO_VERSION} buster/ --deb buster/main/amd64 --user poiana --key ${BINTRAY_SECRET} --publish
jfrog bt u /build/release/falco-${FALCO_VERSION}-x86_64.deb falcosecurity/deb/falco-dev/${FALCO_VERSION} sid/ --deb sid/main/amd64 --user poiana --key ${BINTRAY_SECRET} --publish
jfrog bt u /build/release/falco-${FALCO_VERSION}-x86_64.deb falcosecurity/deb/falco-dev/${FALCO_VERSION} stretch/ --deb stretch/main/amd64 --user poiana --key ${BINTRAY_SECRET} --publish
jfrog bt u /build/release/falco-${FALCO_VERSION}-x86_64.deb falcosecurity/deb-dev/falco/${FALCO_VERSION} stable/ --deb stable/main/amd64 --user poiana --key ${BINTRAY_SECRET} --publish
- run:
name: Publish rpm
command: |
FALCO_VERSION=$(sed -e 's/^"//' -e 's/"$//' <<< $(cat /build/release/userspace/falco/config_falco.h | grep 'FALCO_VERSION ' | cut -d' ' -f3))
jfrog bt u /build/release/falco-${FALCO_VERSION}-x86_64.rpm falcosecurity/rpm/falco-dev/${FALCO_VERSION} --user poiana --key ${BINTRAY_SECRET} --publish
jfrog bt u /build/release/falco-${FALCO_VERSION}-x86_64.rpm falcosecurity/rpm-dev/falco/${FALCO_VERSION} --user poiana --key ${BINTRAY_SECRET} --publish
workflows:
version: 2
build_and_test:
Expand All @@ -114,5 +112,9 @@ workflows:
- "build/centos7"
- "publish/packages":
context: falco
filters:
branches:
only:
- new/circleci-bintray-publish-packages
requires:
- "build/centos7"

0 comments on commit dc3bb40

Please sign in to comment.