Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Refactor e2e script linting #2572

Merged
merged 1 commit into from
Nov 1, 2019
Merged

Conversation

2opremio
Copy link
Contributor

@2opremio 2opremio commented Nov 1, 2019

Format-checking for test/e2e/lib/* wasn't working.

The reason was that shfmt -l doesn't return a non-0 exit code when finding non-compliant files (unlike what I thought). So, I fixed that by using diffing instead of listing.

On the way I refactored the whole lint-e2e recipe.

@2opremio 2opremio requested a review from hiddeco November 1, 2019 14:43
@2opremio 2opremio merged commit 6578e7c into fluxcd:master Nov 1, 2019
@2opremio 2opremio deleted the fix-e2e-linting branch November 1, 2019 15:37
@2opremio 2opremio added this to the 1.16.0 milestone Nov 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants