Improve code fail detection at PR

Description

Sometimes introduced changes breaks artifacts matrix generation so we need to check that at PR stage too.

This command needs to be executed:

./compile.sh gha-matrix BETA=yes CHECK_OCI=yes CLEAN_INFO=yes CLEAN_MATRIX=yes MATRIX_ARTIFACT_CHUNKS=17 MATRIX_IMAGE_CHUNKS=16 REVISION=24.2.0-trunk.184 SHARE_LOG=yes SKIP_IMAGES=yes UPLOAD_TO_OCI_ONLY=yes SHARE_LOGS=yes

If it doesn’t throw error code, we need to search output for “Error” and exit with error.

Example commit, which breaks it:
https://github.com/armbian/build/commit/0396c65c30de27296510229a267bc26a3e3cf989

Checklist

hide

Activity

Show:

Igor Pecovnik January 26, 2024 at 3:54 PM

Linked bug could be found at PR stage if we would have this check enabled.

Details

Assignee

Reporter

Components

Priority

Created December 17, 2023 at 12:16 PM
Updated December 9, 2024 at 7:05 PM