-
Notifications
You must be signed in to change notification settings - Fork 9
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 #1978 from dzhw/release
Release v1.0.77
- Loading branch information
Showing
226 changed files
with
10,191 additions
and
5,327 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
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,29 @@ | ||
#!/bin/bash | ||
# this script builds the project with a given profile | ||
if [[ $0 != ./deploy/* ]]; then | ||
echo "Please run this script from the root of our repository!" | ||
exit -1 | ||
fi | ||
PROFILE="$1" | ||
TRAVIS_BRANCH="$4" | ||
COVERALLS_TOKEN="$5" | ||
if [ -n "${TRAVIS_BRANCH}" ]; then | ||
PROFILE="dev" | ||
fi | ||
if [ "${TRAVIS_BRANCH}" = "master" ]; then | ||
PROFILE="prod" | ||
fi | ||
if [ -z ${PROFILE} ]; then | ||
echo "Please provide a valid profile e.g.: $0 dev" | ||
exit -1 | ||
fi | ||
echo "Going to run maven build with profile: ${PROFILE}" | ||
if [ -z ${COVERALLS_TOKEN} ]; then | ||
mvn -P${PROFILE} clean package | ||
else | ||
mvn -P${PROFILE} clean -DrepoToken=$COVERALLS_TOKEN package coveralls:report | ||
fi | ||
if [ $? -ne 0 ]; then | ||
echo "Maven build failed!" | ||
exit -1 | ||
fi |
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,35 @@ | ||
#!/bin/bash | ||
# this script deploys the project with a given profile to the correct space in | ||
# cloudfoundry | ||
if [[ $0 != ./deploy/* ]]; then | ||
echo "Please run this script from the root of our repository!" | ||
exit -1 | ||
fi | ||
PROFILE="$1" | ||
USERNAME="$2" | ||
PASSWORD="$3" | ||
TRAVIS_BRANCH="$4" | ||
if [ -n "${TRAVIS_BRANCH}" ]; then | ||
PROFILE="dev" | ||
fi | ||
if [ "${TRAVIS_BRANCH}" = "master" ]; then | ||
PROFILE="prod" | ||
fi | ||
if [ -z ${PROFILE} ]; then | ||
echo "Please provide a valid profile e.g.: $0 dev" | ||
exit -1 | ||
fi | ||
if [ -z ${USERNAME} ] || [ -z ${PASSWORD} ]; then | ||
cf login -o DZHW -s ${PROFILE} -a https://api.run.pivotal.io | ||
else | ||
cf login -o DZHW -s ${PROFILE} -u ${USERNAME} -p ${PASSWORD} -a https://api.run.pivotal.io | ||
fi | ||
if [ $? -ne 0 ]; then | ||
echo "cf login failed!" | ||
exit -1 | ||
fi | ||
cf push -f ./deploy/manifest-${PROFILE}.yml | ||
if [ $? -ne 0 ]; then | ||
echo "cf push failed!" | ||
exit -1 | ||
fi |
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.