-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'kcat/master'
- Loading branch information
Showing
36 changed files
with
376 additions
and
241 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,23 @@ | ||
version: 1.7.0-pre-{build} | ||
image: Visual Studio 2015 | ||
configuration: Release | ||
environment: | ||
runtime: v140 | ||
matrix: | ||
- platform: x64 | ||
arch: x64 | ||
- platform: win32 | ||
arch: x86 | ||
before_build: | ||
- cmd: nuget restore win32/kcat.sln | ||
build: | ||
project: win32\kcat.sln | ||
verbosity: detailed | ||
test: off | ||
artifacts: | ||
- path: '**\*.exe' | ||
name: Exe | ||
- path: '**\*.dll' | ||
name: DLLs | ||
- path: '**\*.dll' | ||
name: DLLs |
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
*~ | ||
*.o | ||
*.d | ||
kafkacat | ||
kcat | ||
config.cache | ||
config.log* | ||
config.h | ||
|
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,27 +1,26 @@ | ||
language: c | ||
compiler: | ||
- gcc | ||
- clang | ||
env: | ||
global: | ||
- HOMEBREW_NO_AUTO_UPDATE=1 | ||
os: | ||
- linux | ||
- osx | ||
dist: bionic | ||
arch: | ||
- amd64 | ||
- ppc64le | ||
matrix: | ||
exclude: | ||
- os: osx | ||
arch: ppc64le | ||
include: | ||
- name: "Linux x64 GCC" | ||
os: linux | ||
compiler: gcc | ||
arch: amd64 | ||
- name: "Linux ppc64le Clang" | ||
os: linux | ||
arch: ppc64le | ||
compiler: clang | ||
- name: "MacOSX x64 Clang" | ||
os: osx | ||
compiler: clang | ||
env: HOMEBREW_NO_AUTO_UPDATE=1 | ||
|
||
before_install: | ||
- if [[ $TRAVIS_OS_NAME == linux ]]; then sudo apt-get update -qq && sudo apt-get install -y libssl-dev libsasl2-dev libcurl4-openssl-dev libjansson-dev ; fi | ||
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew install openssl curl jansson ; fi | ||
|
||
script: | ||
- ./bootstrap.sh | ||
- if [[ $TRAVIS_OS_NAME == osx ]]; then otool -L kafkacat ; else ldd kafkacat ; fi | ||
- ./kafkacat -U | ||
- if [[ $TRAVIS_OS_NAME == osx ]]; then otool -L kcat ; else ldd kcat ; fi | ||
- ./kcat -U | ||
|
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
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,28 +1,28 @@ | ||
FROM debian:stretch-slim | ||
|
||
COPY . /usr/src/kafkacat | ||
COPY . /usr/src/kcat | ||
|
||
ENV BUILD_DEPS build-essential zlib1g-dev liblz4-dev libssl-dev libsasl2-dev python cmake libcurl4-openssl-dev pkg-config | ||
ENV RUN_DEPS libssl1.1 libsasl2-2 ca-certificates curl | ||
|
||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends $BUILD_DEPS $RUN_DEPS && \ | ||
echo "Building" && \ | ||
cd /usr/src/kafkacat && \ | ||
cd /usr/src/kcat && \ | ||
rm -rf tmp-bootstrap && \ | ||
echo "Source versions:" && \ | ||
grep ^github_download ./bootstrap.sh && \ | ||
./bootstrap.sh && \ | ||
mv kafkacat /usr/bin/ ; \ | ||
mv kcat /usr/bin/ ; \ | ||
echo "Cleaning up" ; \ | ||
cd / ; \ | ||
rm -rf /usr/src/kafkacat; \ | ||
rm -rf /usr/src/kcat; \ | ||
apt-get purge -y --auto-remove $BUILD_DEPS ; \ | ||
apt-get clean -y ; \ | ||
apt-get autoclean -y ; \ | ||
rm /var/log/dpkg.log /var/log/alternatives.log /var/log/apt/*.log; \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN kafkacat -V | ||
RUN kcat -V | ||
|
||
ENTRYPOINT ["kafkacat"] | ||
ENTRYPOINT ["kcat"] |
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.