-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
root
committed
Aug 6, 2017
1 parent
dec73b7
commit d24bfe3
Showing
3 changed files
with
78 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -o nounset | ||
set -o noclobber | ||
set -o errexit | ||
set -o pipefail | ||
|
||
echo "Jars: ${JAR_PATH}" | ||
echo "Source: ${SRC_PATH}" | ||
echo "Repo: ${SLAVE_REPO}" | ||
echo "Version: ${SLAVE_VERSION}" | ||
|
||
# Save slave executable | ||
curl --create-dirs -sSLo ${JAR_PATH}/slave.jar ${SLAVE_REPO}/${SLAVE_VERSION}/remoting-${SLAVE_VERSION}.jar | ||
chmod 755 ${JAR_PATH} | ||
chmod 644 ${JAR_PATH}/slave.jar | ||
|
||
# Save slave source jar and docs | ||
mkdir -p ${SRC_PATH}/slave | ||
cd ${SRC_PATH}/slave | ||
wget ${SLAVE_REPO}/${SLAVE_VERSION}/remoting-${SLAVE_VERSION}.jar | ||
wget ${SLAVE_REPO}/${SLAVE_VERSION}/remoting-${SLAVE_VERSION}.jar.md5 | ||
wget ${SLAVE_REPO}/${SLAVE_VERSION}/remoting-${SLAVE_VERSION}-sources.jar | ||
wget ${SLAVE_REPO}/${SLAVE_VERSION}/remoting-${SLAVE_VERSION}-sources.jar.md5 | ||
wget ${SLAVE_REPO}/${SLAVE_VERSION}/remoting-${SLAVE_VERSION}-tests.jar | ||
wget ${SLAVE_REPO}/${SLAVE_VERSION}/remoting-${SLAVE_VERSION}-tests.jar.md5 | ||
wget ${SLAVE_REPO}/${SLAVE_VERSION}/remoting-${SLAVE_VERSION}.pom | ||
wget ${SLAVE_REPO}/${SLAVE_VERSION}/remoting-${SLAVE_VERSION}.pom.md5 | ||
|
||
echo "Sources ..." | ||
ls -la ${SRC_PATH}/slave | ||
echo "Jars ..." | ||
ls -la ${JAR_PATH} |
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,32 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -o nounset | ||
set -o noclobber | ||
set -o errexit | ||
set -o pipefail | ||
|
||
echo "Jars: ${JAR_PATH}" | ||
echo "Source: ${SRC_PATH}" | ||
echo "Repo: ${SLAVE_REPO}" | ||
echo "Version: ${SLAVE_VERSION}" | ||
|
||
# Save slave executable | ||
curl --create-dirs -sSLo ${JAR_PATH}/swarm.jar ${SWARM_REPO}/${SWARM_VERSION}/swarm-client-${SWARM_VERSION}.jar | ||
chmod 755 ${JAR_PATH} | ||
chmod 644 ${JAR_PATH}/swarm.jar | ||
|
||
# Save swarm source jar and docs | ||
mkdir -p ${SRC_PATH}/swarm | ||
cd ${SRC_PATH}/swarm && wget ${SWARM_REPO}/${SWARM_VERSION}/swarm-client-${SWARM_VERSION}.jar | ||
cd ${SRC_PATH}/swarm && wget ${SWARM_REPO}/${SWARM_VERSION}/swarm-client-${SWARM_VERSION}.jar.md5 | ||
cd ${SRC_PATH}/swarm && wget ${SWARM_REPO}/${SWARM_VERSION}/swarm-client-${SWARM_VERSION}-javadoc.jar | ||
cd ${SRC_PATH}/swarm && wget ${SWARM_REPO}/${SWARM_VERSION}/swarm-client-${SWARM_VERSION}-javadoc.jar.md5 | ||
cd ${SRC_PATH}/swarm && wget ${SWARM_REPO}/${SWARM_VERSION}/swarm-client-${SWARM_VERSION}-sources.jar | ||
cd ${SRC_PATH}/swarm && wget ${SWARM_REPO}/${SWARM_VERSION}/swarm-client-${SWARM_VERSION}-sources.jar.md5 | ||
cd ${SRC_PATH}/swarm && wget ${SWARM_REPO}/${SWARM_VERSION}/swarm-client-${SWARM_VERSION}.pom | ||
cd ${SRC_PATH}/swarm && wget ${SWARM_REPO}/${SWARM_VERSION}/swarm-client-${SWARM_VERSION}.pom.md5 | ||
|
||
echo "Sources ..." | ||
ls -la ${SRC_PATH}/swarm | ||
echo "Jars ..." | ||
ls -la ${JAR_PATH} |