Closed mhellmeier closed 1 year ago
We tested it but even after the update, the Q-Gate workflow still fails, even if both DEPENDENCIES files are present: https://github.com/eclipse-tractusx/puris
Can you please have a look into it again, @SebastianBezold & @tomaszbarwicki
Hi @mhellmeier, thanks for reaching out. Can you please provide the check result?
I've run the latest version against puris repo and it doesn't complain about DEPENDENCIES any more, that's what I see:
7. Testing Quality Guideline: TRG 2.03 - Repo structure
Warning! Guideline description: All repositories must follow specified files and folders structure.
The check detected following optional files missing: AUTHORS.md
More infos: https://eclipse-tractusx.github.io/docs/release/trg-2/trg-2-3
Failed! Guideline description: All repositories must follow specified files and folders structure.
The check detected following mandatory files missing: docs, charts
More infos: https://eclipse-tractusx.github.io/docs/release/trg-2/trg-2-3
Hmm I saw the PR comment first and replied there :). I think it could be related to the default version of the qualtiy-checks binary being stuck to the old, "non-fixed" version
See, for example, this execution: https://github.com/eclipse-tractusx/puris/actions/runs/6037040940/job/16385000174
It still outputs:
Failed! Guideline description: All repositories must follow specified files and folders structure.
The check detected following mandatory files missing: DEPENDENCIES docs charts
More infos: https://eclipse-tractusx.github.io/docs/release/trg-2/trg-2-3
It seems that quite old version is used in your workflow:
@SebastianBezold:
@mhellmeier workflow is https://github.com/eclipse-tractusx/puris/actions/runs/6037040940/workflow which uses https://github.com/eclipse-tractusx/sig-infra/blob/main/.github/workflows/reusable-quality-checks.yaml
and there is old 0.4 version eclipse-tractusx/tractusx-quality-checks@v0.4
I just bumped the version in the reusable-quality-checks
workflow as well.
After the current quality check phase is done, we really have to structure the process for upgrades of the checks better. Maybe having action and workflow at different places is not a good idea
I just rerun the job, but it is still failing: https://github.com/eclipse-tractusx/puris/actions/runs/6037040940/job/16414887253
It again uses the version 0.4
:
Run eclipse-tractusx/tractusx-quality-checks@v0.4
But as you can see, we defined to use the latest version on main
without overwriting the version:
https://github.com/eclipse-tractusx/puris/actions/runs/6037040940/workflow
@SebastianBezold, we now have another issue in the downstream repositories when creating PRs. We're unable to find version v0.7 that is not specifically specified. Please refer to this run for the following error:
"Error: Unable to resolve action eclipse-tractusx/tractusx-quality-checks@v0.7
, unable to find version v0.7
"
@SebastianBezold, perhaps we need to add a v0.7 tag which is missing I believe.
Issue fixed.
The Quality Check GitHub Action currently doesn't work for dependency files named differently than
DEPENDENCIES
. Similar to #228, it doesn't work forDEPENDENCIES_FRONTEND
andDEPENDENCIES_BACKEND
files.Example: The following repository has two dependencies files: https://github.com/eclipse-tractusx/puris
The Quality Check pipeline based on the template fails with the following error:
Source: https://github.com/eclipse-tractusx/puris/actions/runs/5880349374/job/15946439222?pr=18
CC: @SebastianBezold