-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: .gitlab-ci.yml
- Loading branch information
Showing
43 changed files
with
1,082 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Packaging for Debian and Ubuntu | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ${{ matrix.target }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
arch: | ||
- amd64 | ||
target: | ||
- "debian:stretch" | ||
- "debian:buster" | ||
- "ubuntu:xenial" | ||
- "ubuntu:bionic" | ||
- "ubuntu:focal" | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
- name: Install prereq packages | ||
run: ./debpkg-setup.sh | ||
- name: Build packages | ||
run: ./debpkg-build.sh | ||
- name: Store packages | ||
run: | | ||
export DIRNAME=`echo ${{ matrix.target }} | tr ':' '_'` | ||
mkdir -p packages/${DIRNAME} | ||
cp ../*.deb packages/${DIRNAME}/ | ||
- name: Publish packages to cloudsmith | ||
uses: wanduow/action-cloudsmith-upload-packages@v1 | ||
with: | ||
path: packages/ | ||
repo: ${{ secrets.CLOUDSMITH_OWNER }}/libprotoident | ||
username: salcock | ||
api_key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
- name: Publish packages to bintray | ||
uses: wanduow/action-bintray-upload-debian-packages@v1 | ||
with: | ||
path: packages/ | ||
repo: ${{ secrets.BINTRAY_OWNER }}/libprotoident | ||
license: LGPL-3.0 | ||
username: salcock | ||
api_key: ${{ secrets.BINTRAY_API_KEY }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Packaging for Centos and Fedora | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ${{ matrix.target }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
arch: | ||
- amd64 | ||
target: | ||
- "centos:7" | ||
- "centos:8" | ||
- "fedora:33" | ||
- "fedora:32" | ||
|
||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
- name: Install prereq packages | ||
run: ./rpmpkg-setup.sh ${{ matrix.target }} | ||
- name: Build packages | ||
run: ./rpmpkg-build.sh ${{ matrix.target }} | ||
- name: Store packages | ||
run: | | ||
export DIRNAME=`echo ${{ matrix.target }} | tr ':' '_'` | ||
mkdir -p packages/${DIRNAME} | ||
cp ~/rpmbuild/RPMS/x86_64/*.rpm packages/${DIRNAME}/ | ||
- name: Publish packages to cloudsmith | ||
uses: wanduow/action-cloudsmith-upload-packages@v1 | ||
with: | ||
path: packages/ | ||
repo: ${{ secrets.CLOUDSMITH_OWNER }}/libprotoident | ||
username: salcock | ||
api_key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
AC_INIT(libprotoident, 2.0.14, [email protected]) | ||
AC_INIT(libprotoident, 2.0.15, [email protected]) | ||
|
||
AM_INIT_AUTOMAKE | ||
AC_CONFIG_SRCDIR(lib/libprotoident.cc) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
set -x -e -o pipefail | ||
|
||
export DEBEMAIL='[email protected]' | ||
export DEBFULLNAME='WAND Packaging' | ||
export DEBIAN_FRONTEND=noninteractive | ||
|
||
export SOURCENAME=`echo ${GITHUB_REF##*/} | cut -d '-' -f 1` | ||
|
||
mk-build-deps -i -r -t 'apt-get -f -y --force-yes' | ||
dpkg-buildpackage -b -us -uc -rfakeroot -j4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
set -x -e -o pipefail | ||
|
||
export DEBEMAIL='[email protected]' | ||
export DEBFULLNAME='WAND Packaging' | ||
export DEBIAN_FRONTEND=noninteractive | ||
|
||
export SOURCENAME=`echo ${GITHUB_REF##*/} | cut -d '-' -f 1` | ||
|
||
apt-get update | ||
apt-get install -y equivs devscripts dpkg-dev quilt curl apt-transport-https \ | ||
apt-utils ssl-cert ca-certificates gnupg lsb-release debhelper git \ | ||
pkg-config | ||
|
||
curl -1sLf 'https://dl.cloudsmith.io/public/wand/libwandio/cfg/setup/bash.deb.sh' | bash | ||
curl -1sLf 'https://dl.cloudsmith.io/public/wand/libwandder/cfg/setup/bash.deb.sh' | bash | ||
curl -1sLf 'https://dl.cloudsmith.io/public/wand/libtrace/cfg/setup/bash.deb.sh' | bash | ||
curl -1sLf 'https://dl.cloudsmith.io/public/wand/libflowmanager/cfg/setup/bash.deb.sh' | bash | ||
|
||
DISTRO=$(lsb_release -sc) | ||
|
||
case ${DISTRO} in | ||
jessie | xenial | stretch ) | ||
curl -1sLf 'https://dl.cloudsmith.io/public/wand/dpdk-wand/cfg/setup/bash.deb.sh' | bash | ||
;; | ||
esac | ||
|
||
apt-get update | ||
apt-get upgrade -y |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.