-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Dockerfile to individual components
- Loading branch information
1 parent
437ec41
commit 99238f7
Showing
10 changed files
with
99 additions
and
3 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
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM centos:7 | ||
EXPOSE 5775/udp 6831/udp 6832/udp 5778 | ||
|
||
COPY agent-linux /go/bin/ | ||
|
||
CMD ["/go/bin/agent-linux"] |
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,6 @@ | ||
FROM centos:7 | ||
EXPOSE 14267 | ||
|
||
COPY collector-linux /go/bin/ | ||
|
||
CMD ["/go/bin/collector-linux"] |
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,7 @@ | ||
FROM centos:7 | ||
EXPOSE 16686 | ||
|
||
COPY query-linux /go/bin/ | ||
ADD jaeger-ui-build /go/jaeger-ui/ | ||
|
||
CMD ["/go/bin/query-linux", "--query.static-files=/go/jaeger-ui/"] |
Submodule jaeger-ui
updated
6 files
+2 −13 | .travis.yml | |
+4 −13 | README.md | |
+2 −1 | package.json | |
+2 −2 | src/components/SearchTracePage/index.js | |
+ − | src/img/jaeger-logo.jpg | |
+0 −2,041 | src/img/jaeger-logo.svg |
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,8 @@ | ||
# TODO: replace this by the final Cassandra image | ||
FROM jpkroehling/cassandra | ||
|
||
COPY cassandra3v001-schema.sh /cassandra-schema/ | ||
COPY create-schema.sh /cassandra-schema/ | ||
|
||
ENV CQLSH_HOST=cassandra | ||
CMD ["/cassandra-schema/create-schema.sh"] |
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,31 @@ | ||
#!/bin/bash | ||
|
||
CQLSH_HOST=${CQLSH_HOST:-"cassandra"} | ||
CASSANDRA_WAIT_TIMEOUT=${CASSANDRA_WAIT_TIMEOUT:-"60"} | ||
DATACENTER=${DATACENTER:-"dc1"} | ||
KEYSPACE=${KEYSPACE:-"jaeger_v1_${DATACENTER}"} | ||
|
||
total_wait=0 | ||
while true | ||
do | ||
ping -c 1 ${CQLSH_HOST} > /dev/null 2>&1 | ||
if (( $? == 0 )); then | ||
break | ||
else | ||
if (( total_wait >= ${CASSANDRA_WAIT_TIMEOUT} )); then | ||
echo "Timed out waiting for Cassandra." | ||
exit 1 | ||
fi | ||
echo "Cassandra is still not up at ${CQLSH_HOST}. Waiting 1 second." | ||
sleep 1s | ||
((total_wait++)) | ||
fi | ||
done | ||
|
||
echo "Generating the schema for the keyspace ${KEYSPACE} and datacenter ${DATACENTER}" | ||
export KEYSPACE | ||
|
||
# the `test` parameter is to force the script to use a SimpleStrategy instead of | ||
# NetworkTopologyStrategy . | ||
/cassandra-schema/cassandra3v001-schema.sh test "${DATACENTER}" | \ | ||
/opt/apache-cassandra-3.0.12/bin/cqlsh |
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,17 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi) | ||
# Only push the docker container to Docker Hub for master branch | ||
if [[ "$BRANCH" == "master" && "$TRAVIS_SECURE_ENV_VARS" == "true" ]]; then echo 'upload to Docker Hub'; else echo 'skip docker upload for PR'; exit 0; fi | ||
|
||
source ~/.nvm/nvm.sh | ||
nvm use 6 | ||
DOCKER_NAMESPACE=jaegertracing make docker | ||
|
||
for component in agent cassandra-schema collector query | ||
do | ||
export REPO="jaegertracing/jaeger-${component}" | ||
bash ./travis/upload-to-docker.sh | ||
done |