spark: update CHECK for IPv4 validator and fix git ref
This commit is contained in:
1 parent
a99fdd04dd
commit
b796a5a704
1 file changed
+8
-1
Regular → Executable
+8
-1
@@ -25,7 +25,14 @@ grep -q "root" /root/.hermes/wizard-outputs/spark/results.txt || exit 7
|
||||
python3 --version 2>&1 | grep -q "Python" || exit 10
|
||||
|
||||
# Check git commit pushed
|
||||
git -C /root/troupe-standup rev-parse ed959f0 >/dev/null 2>&1 || exit 11
|
||||
git -C /root/troupe-standup rev-parse HEAD >/dev/null 2>&1 || exit 11
|
||||
|
||||
# Check IPv4 validator exists
|
||||
[ -f /root/troupe-standup/wizard-work/spark/validate_ipv4.sh ] || exit 12
|
||||
[ -f /root/troupe-standup/wizard-work/spark/test_ipv4_validator.sh ] || exit 13
|
||||
|
||||
# Check IPv4 validator tests pass
|
||||
/root/troupe-standup/wizard-work/spark/test_ipv4_validator.sh > /dev/null 2>&1 || exit 14
|
||||
|
||||
echo "VERIFIED"
|
||||
exit 0
|
||||
Reference in new issue
Block a user