Skip to content

Conversation

pracucci
Copy link
Contributor

What this PR does:
While reviewing the PR #1941, I've realized we don't run any validation on K8S spec files in CI. I think it could be useful as signal to spot trivial issues during the review process.

In this PR, I'm proposing to run kubeval in CI. This would require to publish a new build-image (for which I don't have privileges), but first I would like to scout if this is a desired change.

Which issue(s) this PR fixes:
N/A

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@bboreham
Copy link
Contributor

bboreham commented Jan 3, 2020

I pushed quay.io/cortexproject/build-image:validate-k8s-specs-76bd5da0a so you can check CI still works.

@pracucci pracucci force-pushed the validate-k8s-specs branch from 76bd5da to d91ef7b Compare January 7, 2020 10:57
@pracucci
Copy link
Contributor Author

pracucci commented Jan 7, 2020

@bboreham Thanks for your help. The CI lint has passed (see results) with the updated build-image.

What should be the process now?

Signed-off-by: Marco Pracucci <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>
@pracucci pracucci merged commit a36554a into cortexproject:master Jan 21, 2020
@pracucci pracucci deleted the validate-k8s-specs branch January 21, 2020 15:39
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