Skip to content

Commit

Permalink
remove sentry-cli from dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
benhonda committed Feb 12, 2021
1 parent 2269469 commit 154cffe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backwork/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN echo 'http://dl-3.alpinelinux.org/alpine/edge/community' >> /etc/apk/reposit
ncurses \
zlib

RUN curl -sL https://sentry.io/get-cli/ | bash
# RUN curl -sL https://sentry.io/get-cli/ | bash

##########
# Backwork
Expand Down
3 changes: 2 additions & 1 deletion backwork/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ main() {
back_up_postgresql
else
log "Error: Not Enough Local Storage Space For Backup"
sentry-cli send-event -m "Not Enough Local Storage Space For Backup, available space ${available_space_g} GB, minimum free space: ${MINIMUM_FREE_SPACE} GB"
# TODO: add sentry and HTTP notifier capability here
# sentry-cli send-event -m "Not Enough Local Storage Space For Backup, available space ${available_space_g} GB, minimum free space: ${MINIMUM_FREE_SPACE} GB"
exit 1
fi
}
Expand Down

0 comments on commit 154cffe

Please sign in to comment.