-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove neo4j adaptor to simplify builds
- Loading branch information
1 parent
24dd713
commit b99b1ad
Showing
5 changed files
with
7 additions
and
40 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 |
---|---|---|
|
@@ -18,17 +18,13 @@ jobs: | |
sudo: required | ||
|
||
before_install: | ||
- wget https://github.com/neo4j-drivers/seabolt/releases/download/v1.7.4/seabolt-1.7.4-Linux-ubuntu-16.04.deb | ||
- sudo dpkg -i seabolt-1.7.4-Linux-ubuntu-16.04.deb | ||
- sudo apt-get install -y libssl-dev build-essential | ||
- go get github.com/neo4j/neo4j-go-driver/neo4j | ||
- go get gopkg.in/olivere/elastic.v7 | ||
- go get github.com/appbaseio/abc || true | ||
- mkdir private | ||
- git clone https://[email protected]/appbaseio-confidential/abc-import private | ||
|
||
script: | ||
- go build -tags 'seabolt_static !oss' -o "abc-linux" ./cmd/abc/... | ||
- go build -tags '!oss' -o "abc-linux" ./cmd/abc/... | ||
|
||
before_deploy: | ||
- zip -r abc-linux.zip abc-linux | ||
|
@@ -48,18 +44,13 @@ jobs: | |
osx_image: xcode9.4 | ||
|
||
before_install: | ||
- curl -LO https://github.com/neo4j-drivers/seabolt/releases/download/v1.7.4/seabolt-1.7.4-Darwin.tar.gz | ||
- tar -zxf seabolt-1.7.4-Darwin.tar.gz | ||
- export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:`pwd`/seabolt-1.7.4-Darwin/usr/local/share/pkgconfig | ||
- export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:`pwd`/seabolt-1.7.4-Darwin/usr/local/lib | ||
- go get github.com/neo4j/neo4j-go-driver/neo4j | ||
- go get gopkg.in/olivere/elastic.v7 | ||
- go get github.com/appbaseio/abc || true | ||
- mkdir private | ||
- git clone https://[email protected]/appbaseio-confidential/abc-import private | ||
|
||
script: | ||
- go build -tags 'seabolt_static !oss' -o "abc-darwin" ./cmd/abc/... | ||
- go build -tags '!oss' -o "abc-darwin" ./cmd/abc/... | ||
|
||
before_deploy: | ||
- zip -r abc-darwin.zip abc-darwin | ||
|
@@ -78,27 +69,13 @@ jobs: | |
os: windows | ||
|
||
before_install: | ||
- curl -LO http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.26-1_win32.zip | ||
- curl -LO http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28/glib_2.28.8-1_win32.zip | ||
- curl -LO http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime_0.18.1.1-2_win32.zip | ||
- curl -LO https://github.com/neo4j-drivers/seabolt/releases/download/v1.7.4/seabolt-1.7.4-win64-mingw.zip | ||
- 7z x -opkg-config pkg-config_0.26-1_win32.zip | ||
- 7z x -oglib glib_2.28.8-1_win32.zip | ||
- 7z x -ogettext gettext-runtime_0.18.1.1-2_win32.zip | ||
- choco install pkgconfiglite -y | ||
- 7z x -oC:/ProgramData/chocolatey/lib/pkgconfiglite/tools/pkg-config-lite-0.28-1/share/pkgconfig seabolt-1.7.4-win64-mingw.zip | ||
- mv C:/ProgramData/chocolatey/lib/pkgconfiglite/tools/pkg-config-lite-0.28-1/share/pkgconfig/seabolt-1.7.4-win64-mingw/* C:/ProgramData/chocolatey/lib/pkgconfiglite/tools/pkg-config-lite-0.28-1/share/pkgconfig/ | ||
- export PATH=$PATH:`pwd`/glib/bin:`pwd`/gettext/bin:`pwd`/pkg-config/bin:C:/ProgramData/chocolatey/lib/pkgconfiglite/tools/pkg-config-lite-0.28-1/share/pkgconfig/bin | ||
- export CPATH=C:/ProgramData/chocolatey/lib/pkgconfiglite/tools/pkg-config-lite-0.28-1/share/pkgconfig/include/seabolt17 | ||
- export C_INCLUDE_PATH=C:/ProgramData/chocolatey/lib/pkgconfiglite/tools/pkg-config-lite-0.28-1/share/pkgconfig/include/seabolt17 | ||
- go get github.com/neo4j/neo4j-go-driver/neo4j | ||
- go get gopkg.in/olivere/elastic.v7 | ||
- go get github.com/appbaseio/abc || true | ||
- mkdir private | ||
- git clone https://[email protected]/appbaseio-confidential/abc-import private | ||
|
||
script: | ||
- go build -tags 'seabolt_static !oss' -o "abc-windows" ./cmd/abc/... | ||
- go build -tags '!oss' -o "abc-windows" ./cmd/abc/... | ||
|
||
before_deploy: | ||
- 7z a abc-windows.zip abc-windows | ||
|
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 |
---|---|---|
|
@@ -17,18 +17,13 @@ ENV ABC_BUILD=${ABC_BUILD} | |
|
||
RUN apt-get update && \ | ||
apt-get install -y libssl-dev && \ | ||
mkdir -p $GOPATH/github.com/src/appbaseio/abc && \ | ||
mkdir -p /abc && \ | ||
curl -LO https://github.com/neo4j-drivers/seabolt/releases/download/v1.7.4/seabolt-1.7.4-Linux-ubuntu-18.04.deb && \ | ||
dpkg -i seabolt-1.7.4-Linux-ubuntu-18.04.deb && \ | ||
go get github.com/neo4j/neo4j-go-driver/neo4j && \ | ||
go get gopkg.in/olivere/elastic.v7 | ||
|
||
WORKDIR $GOPATH/src/github.com/appbaseio/abc | ||
|
||
COPY . . | ||
|
||
RUN go build -tags "seabolt_static $ABC_BUILD" -o /abc/abc ./cmd/abc/... | ||
RUN go build -tags "$ABC_BUILD" -o /abc/abc ./cmd/abc/... | ||
|
||
FROM ubuntu:bionic | ||
MAINTAINER Siddharth Kothari <[email protected]> | ||
|
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 |
---|---|---|
|
@@ -20,19 +20,14 @@ ENV PAT=${PAT} | |
|
||
RUN apt-get update && \ | ||
apt-get install -y libssl-dev && \ | ||
mkdir -p $GOPATH/github.com/src/appbaseio/abc && \ | ||
mkdir -p /abc && \ | ||
curl -LO https://github.com/neo4j-drivers/seabolt/releases/download/v1.7.4/seabolt-1.7.4-Linux-ubuntu-18.04.deb && \ | ||
dpkg -i seabolt-1.7.4-Linux-ubuntu-18.04.deb && \ | ||
go get github.com/neo4j/neo4j-go-driver/neo4j && \ | ||
go get gopkg.in/olivere/elastic.v7 | ||
|
||
WORKDIR $GOPATH/src/github.com/appbaseio/abc | ||
RUN git clone https://[email protected]/appbaseio-confidential/abc-import private | ||
|
||
COPY . . | ||
|
||
RUN go build -tags "seabolt_static $ABC_BUILD" -o /abc/abc ./cmd/abc/... | ||
RUN go build -tags "$ABC_BUILD" -o /abc/abc ./cmd/abc/... | ||
|
||
FROM ubuntu:bionic | ||
MAINTAINER Siddharth Kothari <[email protected]> | ||
|
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