Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: avoid false-positive $(params.*) detection #1189

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

chmeliik
Copy link
Contributor

Previously, the yaml-lint task (the custom script that checks for $(params.*) usage) would flag false positives such as

echo "set params.SOME_PARAM to do X"

Make the regex match actual param usage more closely

Previously, the yaml-lint task (the custom script that checks for
$(params.*) usage) would flag false positives such as

    echo "set params.SOME_PARAM to do X"

Make the regex match actual param usage more closely

Signed-off-by: Adam Cmiel <[email protected]>
@chmeliik
Copy link
Contributor Author

Yaml-lint (well, the yaml-lint task, not actual yaml-lint) was flagging

echo " Remove the config.toml file or set params.CONFIG_TOML_FILE to another file to prevent using config.toml."
as param usage

(But only sometimes. The check often doesn't work for some unfathomable reason https://issues.redhat.com/browse/STONEBLD-2167)

@MartinBasti
Copy link
Contributor

/retest

@MartinBasti MartinBasti enabled auto-merge July 24, 2024 14:07
@MartinBasti
Copy link
Contributor

/retest

@MartinBasti
Copy link
Contributor

/retest

Maybe deleting deleted pipeline shouldn't trigger error

      failed to delete PipelineRun "test-comp-jdfh-qxt2s" from "build-templates-e2e" namespace with error: pipelineruns.tekton.dev "test-comp-jdfh-qxt2s" not found

@MartinBasti MartinBasti added this pull request to the merge queue Jul 24, 2024
Merged via the queue into konflux-ci:main with commit 1191b15 Jul 24, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants