Skip to content

Commit 659a3af

Browse files
authored
chore: exclude provenance check in micronaut-core temporarily (#676)
This PR temporarily excludes mcn_provenance_available_1 check for micronaut-core integration test because provenances have failed to publish due to an issue in generator_generic_slsa3.yml@v1.9.0. It also excludes mcn_infer_artifact_pipeline_1, which is due to a non-deterministic behavior in deploy command detection, which will be fixed in PR #673. Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
1 parent 6eeefb8 commit 659a3af

File tree

4 files changed

+231
-959
lines changed

4 files changed

+231
-959
lines changed

scripts/dev_scripts/integration_tests.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,10 @@ echo -e "=======================================================================
8383
echo -e "\n----------------------------------------------------------------------------------"
8484
echo "micronaut-projects/micronaut-core: Analyzing the repo path and the branch name when automatic dependency resolution is skipped."
8585
echo -e "----------------------------------------------------------------------------------\n"
86-
JSON_EXPECTED=$WORKSPACE/tests/e2e/expected_results/micronaut-core/micronaut-core.json
87-
JSON_RESULT=$WORKSPACE/output/reports/github_com/micronaut-projects/micronaut-core/micronaut-core.json
88-
$RUN_MACARON analyze -rp https://github.com/micronaut-projects/micronaut-core -b 3.8.x -d 68f9bb0a78fa930865d37fca39252b9ec66e4a43 --skip-deps || log_fail
86+
JSON_EXPECTED=$WORKSPACE/tests/e2e/expected_results/purl/maven/micronaut-core/micronaut-core.json
87+
JSON_RESULT=$WORKSPACE/output/reports/maven/io_micronaut/micronaut-core/micronaut-core.json
88+
DEFAULTS_FILE=$WORKSPACE/tests/e2e/defaults/micronaut-core.ini
89+
$RUN_MACARON -dp $DEFAULTS_FILE analyze -purl pkg:maven/io.micronaut/micronaut-core@4.2.3 --skip-deps || log_fail
8990

9091
check_or_update_expected_output $COMPARE_JSON_OUT $JSON_RESULT $JSON_EXPECTED || log_fail
9192

tests/e2e/defaults/micronaut-core.ini

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright (c) 2022 - 2024, Oracle and/or its affiliates. All rights reserved.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.
3+
4+
[analysis.checks]
5+
exclude =
6+
# Exclude `mcn_provenance_available_1` check for `micronaut-core` integration test
7+
# temporarily because provenances have failed to publish due to an issue in `generator_generic_slsa3.yml@v1.9.0`:
8+
# https://github.com/slsa-framework/slsa-github-generator/issues/3350
9+
mcn_provenance_available_1
10+
# Exclude `mcn_infer_artifact_pipeline_1`, due to a non-deterministic behavior in deploy command detection,
11+
# which will be fixed in PR #673.
12+
mcn_infer_artifact_pipeline_1
13+
include = *

0 commit comments

Comments
 (0)