-
Notifications
You must be signed in to change notification settings - Fork 812
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new members to receive docker build notifications (#654)
- Loading branch information
1 parent
910f599
commit 8b6694a
Showing
1 changed file
with
1 addition
and
1 deletion.
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 |
---|---|---|
|
@@ -6,5 +6,5 @@ cm_msg=`git log -1 --abbrev-commit` | |
if [ "$last_cm_id" == "$curr_cm_id" ]; then | ||
echo "Last commit doesn't change." | ||
else | ||
echo "Last commit changed. Start building..." && docker build . -t ubercadence/server:master --build-arg git_branch=master && docker push ubercadence/server:master && mail -s "Docker image auto build succeeded HEAD: $curr_cm_id tag: master" [email protected],[email protected],[email protected],[email protected],mihneao@uber.com,[email protected],madhurav@uber.com,[email protected] <<< "commit info: $cm_msg " && echo $curr_cm_id > .last_cm_id.txt && echo "build succ!" | ||
echo "Last commit changed. Start building..." && docker build . -t ubercadence/server:master --build-arg git_branch=master && docker push ubercadence/server:master && mail -s "Docker image auto build succeeded HEAD: $curr_cm_id tag: master" [email protected],[email protected],[email protected],[email protected],krupapc@uber.com,[email protected],wenquanx@uber.com,boweixu@uber.com,[email protected],[email protected],nathanbl@uber.com <<< "commit info: $cm_msg " && echo $curr_cm_id > .last_cm_id.txt && echo "build succ!" | ||
fi |