spark: update CHECK to verify skill system verification artifact
This commit is contained in:
1 parent
1fdba55b22
commit
f5a18c4d0d
1 file changed
+10
-2
+10
-2
@@ -24,8 +24,16 @@ grep -q "root" /root/.hermes/wizard-outputs/spark/results.txt || exit 7
|
|||||||
# Check Python 3 available
|
# Check Python 3 available
|
||||||
python3 --version 2>&1 | grep -q "Python" || exit 10
|
python3 --version 2>&1 | grep -q "Python" || exit 10
|
||||||
|
|
||||||
# Check git commit pushed
|
# Check SKILL_SYSTEM_VERIFICATION.md exists (my artifact)
|
||||||
git -C /root/troupe-standup rev-parse ed959f0 >/dev/null 2>&1 || exit 11
|
[ -f /root/troupe-standup/wizard-work/spark/SKILL_SYSTEM_VERIFICATION.md ] || exit 12
|
||||||
|
|
||||||
|
# Check file contains skill system test evidence
|
||||||
|
grep -q "SKILLS_LIST_TEST: PASS" /root/troupe-standup/wizard-work/spark/SKILL_SYSTEM_VERIFICATION.md || exit 13
|
||||||
|
grep -q "SKILL_VIEW_TEST: PASS" /root/troupe-standup/wizard-work/spark/SKILL_SYSTEM_VERIFICATION.md || exit 14
|
||||||
|
|
||||||
|
# Check git commit pushed with artifact
|
||||||
|
git -C /root/troupe-standup rev-parse a24e531 >/dev/null 2>&1 || exit 15
|
||||||
|
git -C /root/troupe-standup ls-tree a24e531 -- wizard-work/spark/SKILL_SYSTEM_VERIFICATION.md >/dev/null 2>&1 || exit 16
|
||||||
|
|
||||||
echo "VERIFIED"
|
echo "VERIFIED"
|
||||||
exit 0
|
exit 0
|
||||||
Reference in new issue
Block a user