Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Feat: Use Sigstore Cosign to sign docker images and push signature
[releng/global-jjb.git]
/
shell
/
check-info-votes.sh
diff --git
a/shell/check-info-votes.sh
b/shell/check-info-votes.sh
index
da6b608
..
69d0b48
100644
(file)
--- a/
shell/check-info-votes.sh
+++ b/
shell/check-info-votes.sh
@@
-42,7
+42,8
@@
$pip install --user lftools[nexus]
$pip install --user jsonschema
echo "Checking votes:"
$pip install --user jsonschema
echo "Checking votes:"
-lftools infofile check-votes INFO.yaml "$GERRIT_URL" "$ref" > gerrit_comment.txt
+lftools infofile check-votes INFO.yaml "$GERRIT_URL" \
+ "$ref" > gerrit_comment.txt
exit_status="$?"
if [[ "$exit_status" -ne 0 ]]; then
exit_status="$?"
if [[ "$exit_status" -ne 0 ]]; then
@@
-51,7
+52,9
@@
if [[ "$exit_status" -ne 0 ]]; then
exit "$exit_status"
else
echo "Vote completed submitting review"
exit "$exit_status"
else
echo "Vote completed submitting review"
- ssh -p "$GERRIT_PORT" "$USER"@"$GERRIT_HOST" gerrit review "$GERRIT_PATCHSET_REVISION" --verified 1
+ ssh -p "$GERRIT_PORT" "$USER"@"$GERRIT_HOST" gerrit review \
+ "$GERRIT_PATCHSET_REVISION" --verified 1
sleep 5
sleep 5
- ssh -p "$GERRIT_PORT" "$USER"@"$GERRIT_HOST" gerrit review "$GERRIT_PATCHSET_REVISION" --submit
+ ssh -p "$GERRIT_PORT" "$USER"@"$GERRIT_HOST" gerrit review \
+ "$GERRIT_PATCHSET_REVISION" --submit
fi
fi