-
Notifications
You must be signed in to change notification settings - Fork 793
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 #765 from steemit/v0.16.1
V0.16.1
- Loading branch information
Showing
57 changed files
with
1,487 additions
and
1,025 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 was deleted.
Oops, something went wrong.
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,10 @@ | ||
#!/bin/bash | ||
curl -XPOST -H "Authorization: token $GITHUB_SECRET" https://api.github.com/repos/steemit/steem/statuses/$(git rev-parse HEAD) -d "{ | ||
\"state\": \"failure\", | ||
\"target_url\": \"${BUILD_URL}\", | ||
\"description\": \"JenkinsCI reports the build has failed!\", | ||
\"context\": \"jenkins-ci-steemit\" | ||
}" | ||
rm -rf $WORKSPACE/* | ||
# make docker cleanup after itself and delete all exited containers | ||
sudo docker rm -v $(docker ps -a -q -f status=exited) || true |
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 @@ | ||
#!/bin/bash | ||
curl -XPOST -H "Authorization: token $GITHUB_SECRET" https://api.github.com/repos/steemit/steem/statuses/$(git rev-parse HEAD) -d "{ | ||
\"state\": \"pending\", | ||
\"target_url\": \"${BUILD_URL}\", | ||
\"description\": \"The build is now pending in jenkinsci!\", | ||
\"context\": \"jenkins-ci-steemit\" | ||
}" |
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 @@ | ||
#!/bin/bash | ||
set -e | ||
export IMAGE_NAME="steemit/steem:${GIT_BRANCH#*/}" | ||
if [[ $IMAGE_NAME == "steemit/steem:stable" ]] ; then | ||
IMAGE_NAME="steemit/steem:latest" | ||
fi | ||
sudo docker build -t=$IMAGE_NAME . | ||
sudo docker login --username=$DOCKER_USER --password=$DOCKER_PASS | ||
sudo docker push $IMAGE_NAME | ||
sudo docker run -v /var/jenkins_home:/var/jenkins $IMAGE_NAME cp -r /var/cobertura /var/jenkins | ||
cp -r /var/jenkins_home/cobertura . |
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 @@ | ||
#/bin/bash | ||
#testcommit | ||
curl -XPOST -H "Authorization: token $GITHUB_SECRET" https://api.github.com/repos/steemit/steem/statuses/$(git rev-parse HEAD) -d "{ | ||
\"state\": \"success\", | ||
\"target_url\": \"${BUILD_URL}\", | ||
\"description\": \"Jenkins-CI reports build succeeded!!\", | ||
\"context\": \"jenkins-ci-steemit\" | ||
}" | ||
rm -rf $WORKSPACE/* | ||
# make docker cleanup after itself and delete all exited containers | ||
sudo docker rm -v $(docker ps -a -q -f status=exited) || true |
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 @@ | ||
#!/bin/bash | ||
sh $WORKSPACE/ciscripts/buildpending.sh | ||
if sh $WORKSPACE/ciscripts/buildscript.sh; then | ||
echo BUILD SUCCESS | ||
else | ||
echo BUILD FAILURE | ||
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.