Skip to content

Pin previous release of ShellCheck in CI tests #1390

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

Merged
merged 1 commit into from
Nov 26, 2019
Merged

Pin previous release of ShellCheck in CI tests #1390

merged 1 commit into from
Nov 26, 2019

Conversation

vutny
Copy link
Contributor

@vutny vutny commented Nov 22, 2019

What does this PR do?

It would be better to freeze the SC version and update it explicitly
with fixing all new founded issues.

What issues does this PR fix or reference?

The latest and greatest version of ShellCheck seems to have more
hardened rules. This currently breaks CI tests in lint phase and
shows error messages for untouched lines in a PR.

I see the fixes for the latest version are here: 7d0b06c
But it would not be added until the whole PR #1381 gonna to be merged.
In the meanwhile, the lint check for any other PRs will be broken.

@s0undt3ch, @Ch3LL, please take a look.

@vutny
Copy link
Contributor Author

vutny commented Nov 25, 2019

It seems to be the PR CI job cannot be started unless approved by project maintainers.
Could anybody kick it off?

@vutny
Copy link
Contributor Author

vutny commented Nov 25, 2019

Thanks for your review, @s0undt3ch ! Anyway, need to push blue APPROVE button in Drone build to actually test the changes. It is locked for anonymous access.

@s0undt3ch
Copy link
Contributor

Done.

@vutny
Copy link
Contributor Author

vutny commented Nov 26, 2019

Seems to be OK, just Opensuse 15 being unstable. Need to rebase, though.

The latest and greatest version of ShellCheck seems to have more
hardened rules. This currently breaks CI tests in lint phase and
shows error messages for untouched lines in a PR.

It would be better to freeze the SC version and update it explicitly
with fixing all new founded issues.
@vutny
Copy link
Contributor Author

vutny commented Nov 26, 2019

Rebased. @s0undt3ch , please take another look, this is ready to merge. Thanks!

@s0undt3ch
Copy link
Contributor

Shellcheck passed, merging.

@s0undt3ch s0undt3ch merged commit 2523f25 into saltstack:develop Nov 26, 2019
@vutny
Copy link
Contributor Author

vutny commented Nov 26, 2019

Thank you!

@vutny vutny deleted the fix-shellcheck-version branch November 26, 2019 17:48
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.

2 participants