-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from aerospike/maintenance
v1.2.0
- Loading branch information
Showing
34 changed files
with
6,177 additions
and
4,856 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,11 @@ | ||
.git | ||
.cache | ||
.travis | ||
build | ||
|
||
.idea | ||
.vscode | ||
|
||
*.md | ||
!README*.md | ||
README-secret.md |
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 |
---|---|---|
|
@@ -9,3 +9,4 @@ gradlew.bat | |
.classpath | ||
/.gradle/ | ||
.vscode/ | ||
.idea/ |
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,39 +1,39 @@ | ||
language: java | ||
sudo: false | ||
|
||
os: | ||
- linux | ||
dist: trusty | ||
- linux | ||
dist: xenial | ||
|
||
install: | ||
- wget -O aerospike-server.tgz http://aerospike.com/download/server/latest/artifact/tgz | ||
- tar xvzf aerospike-server.tgz | ||
- cp -f .travis/aerospike.conf ./aerospike-server/share/etc | ||
- cd aerospike-server | ||
- sed -i -e 's/\${me}/"root"/' share/libexec/aerospike-start | ||
- sed -i -e 's/set_shmall$/#set_shmall/' share/libexec/aerospike-start | ||
- sed -i -e 's/set_shmmax$/#set_shmmax/' share/libexec/aerospike-start | ||
- mkdir instance1 | ||
- mkdir instance2 | ||
- ./bin/aerospike init --home instance1 --instance 1 --service-port 3000 | ||
- ./bin/aerospike init --home instance2 --instance 2 --service-port 3010 | ||
- cd instance1 | ||
- ./bin/aerospike start | ||
- ../../.travis/wait-for-node.sh var/log/aerospike.log | ||
- cd .. | ||
- cd instance2 | ||
- ./bin/aerospike start | ||
- ../../.travis/wait-for-node.sh var/log/aerospike.log | ||
- cd ../.. | ||
- wget -O aerospike-server.tgz http://aerospike.com/download/server/latest/artifact/tgz | ||
- tar xvzf aerospike-server.tgz | ||
- cp -f .travis/aerospike.conf ./aerospike-server/share/etc | ||
- cd aerospike-server | ||
- sed -i -e 's/\${me}/"root"/' share/libexec/aerospike-start | ||
- sed -i -e 's/set_shmall$/#set_shmall/' share/libexec/aerospike-start | ||
- sed -i -e 's/set_shmmax$/#set_shmmax/' share/libexec/aerospike-start | ||
- mkdir instance1 | ||
- mkdir instance2 | ||
- ./bin/aerospike init --home instance1 --instance 1 --service-port 3000 | ||
- ./bin/aerospike init --home instance2 --instance 2 --service-port 3010 | ||
- cd instance1 | ||
- sudo ./bin/aerospike start | ||
- ../../.travis/wait-for-node.sh var/log/aerospike.log | ||
- cd .. | ||
- cd instance2 | ||
- sudo ./bin/aerospike start | ||
- ../../.travis/wait-for-node.sh var/log/aerospike.log | ||
- cd ../.. | ||
script: | ||
- export aerospike_restclient_hostname=localhost | ||
- export aerospike_restclient_port=3000 | ||
- ./gradlew test | ||
- export aerospike_restclient_hostname=localhost | ||
- export aerospike_restclient_port=3000 | ||
- ./gradlew test | ||
notifications: | ||
slack: | ||
secure: QaCE4lTfpv57X921q5oCrHrB1qqkLsnGM2+L/zCTEQKc20tNnfNjrDsFJGrLibZbEvZCcVOfr1xH0WhaPurngG6uTRLUqWBf3evwnMgTWDxFU0wcZlKR/Vww3zNXBuD4tDafC1bEa/fm+9xDDmtlV8AaySpiwQazLtwqOatoTD8= | ||
hipchat: | ||
rooms: | ||
secure: LmFIM1e/9Vr4Fx7abosnnc5gsgnSTCiOBSJlA62CeHa7xnOcz7k6LCw7VVtwZIaxnszDxMRx5Jn0d8P7JhX6XRu1BveWB9Ybpuan9i3+F+lHBusKMw5vFShquran//K1O3Or81rBxXc27Rd9K05rnH0747mlr2fNSfDJv2wygdI= | ||
email: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM openjdk:8-jdk-alpine AS build | ||
WORKDIR /workspace/app | ||
|
||
COPY . /workspace/app | ||
RUN ./gradlew clean build -x test | ||
RUN mkdir -p build/dependency && (cd build/dependency; jar -xf ../libs/*.jar) | ||
|
||
FROM openjdk:8-jdk-alpine | ||
VOLUME /tmp | ||
ARG DEPENDENCY=/workspace/app/build/dependency | ||
COPY --from=build ${DEPENDENCY}/BOOT-INF/lib /app/lib | ||
COPY --from=build ${DEPENDENCY}/META-INF /app/META-INF | ||
COPY --from=build ${DEPENDENCY}/BOOT-INF/classes /app | ||
EXPOSE 8080 | ||
ENTRYPOINT ["java","-cp","app:app/lib/*","com.aerospike.restclient.AerospikeRestClientApplication"] |
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
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.