@@ -429,18 +429,6 @@ then
429
429
log_fail
430
430
fi
431
431
432
- echo -e " \n----------------------------------------------------------------------------------"
433
- echo " slsa-framework/slsa-verifier: Analyzing the repo path when automatic dependency resolution is skipped"
434
- echo " and provenance checks are excluded."
435
- echo -e " ----------------------------------------------------------------------------------\n"
436
- JSON_RESULT=$WORKSPACE /output/reports/github.com/slsa-framework/slsa-verifier/slsa-verifier.json
437
- JSON_EXPECTED=$WORKSPACE /tests/e2e/expected_results/slsa-verifier/slsa-verifier_provenance_checks_excluded.json
438
- DEFAULTS_FILE=$WORKSPACE /tests/e2e/configurations/exclude_provenance_checks.ini
439
-
440
- $RUN_MACARON -dp $DEFAULTS_FILE analyze -rp https://github.com/slsa-framework/slsa-verifier -b main -d fc50b662fcfeeeb0e97243554b47d9b20b14efac --skip-deps || log_fail
441
-
442
- $COMPARE_JSON_OUT $JSON_RESULT $JSON_EXPECTED || log_fail
443
-
444
432
# Testing the CUE provenance expectation verifier.
445
433
echo -e " \n----------------------------------------------------------------------------------"
446
434
echo " Test verifying CUE provenance expectation."
@@ -473,6 +461,18 @@ POLICY_FILE=$WORKSPACE/tests/policy_engine/resources/policies/valid/slsa-verifie
473
461
POLICY_RESULT=$WORKSPACE /output/policy_report.json
474
462
POLICY_EXPECTED=$WORKSPACE /tests/policy_engine/expected_results/policy_report.json
475
463
464
+ echo -e " \n----------------------------------------------------------------------------------"
465
+ echo " slsa-framework/slsa-verifier: Analyzing the repo path when automatic dependency resolution is skipped"
466
+ echo " and provenance checks are excluded."
467
+ echo -e " ----------------------------------------------------------------------------------\n"
468
+ JSON_RESULT=$WORKSPACE /output/reports/github.com/slsa-framework/slsa-verifier/slsa-verifier.json
469
+ JSON_EXPECTED=$WORKSPACE /tests/e2e/expected_results/slsa-verifier/slsa-verifier_provenance_checks_excluded.json
470
+ DEFAULTS_FILE=$WORKSPACE /tests/e2e/configurations/exclude_provenance_checks.ini
471
+
472
+ $RUN_MACARON -dp $DEFAULTS_FILE analyze -rp https://github.com/slsa-framework/slsa-verifier -b main -d fc50b662fcfeeeb0e97243554b47d9b20b14efac --skip-deps || log_fail
473
+
474
+ $COMPARE_JSON_OUT $JSON_RESULT $JSON_EXPECTED || log_fail
475
+
476
476
# Run policy engine on the database and compare results.
477
477
$RUN_POLICY -f $POLICY_FILE -d " $WORKSPACE /output/macaron.db" || log_fail
478
478
python $COMPARE_POLICIES $POLICY_RESULT $POLICY_EXPECTED || log_fail
0 commit comments