-
Notifications
You must be signed in to change notification settings - Fork 1k
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: switch from kubeval to kubeconform #1199
Conversation
4d81cf4
to
5aeabac
Compare
5aeabac
to
bd52d91
Compare
72d7335
to
fd266b3
Compare
fd266b3
to
5455352
Compare
Note: I just updated it to resolve a deprecation warning with And, as mentioned before, I can bump the chart version if / when you all want, which is one of the test failures. I don't think the go test failure is related to my changes? |
There is a separate (and similar) matrix of Kube versions for the go integration tests, which I'm happy to edit there / make standard with he ones in this PR if it helps (though I haven't yet) |
5455352
to
177ec91
Compare
@clamoriniere would you be able to get someone to review / comment on this, and / or is there anything you'd like me to do / update? |
177ec91
to
e74981c
Compare
e74981c
to
66033b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like there's an issue with the output format:
Error: Unable to process file command 'output' successfully.
Error: Invalid format 'charts/datadog-operator'
Ah! probably shouldn't have tried to fix this error at the same time. I think it should have been |
66033b5
to
68fc91e
Compare
68fc91e
to
b7a71a4
Compare
@loutPhilipps if you want to trigger again, we can see if my output fixes now work. |
3b2bb44
to
915d952
Compare
- Switch from kubeval, which is unmaintained and outdated, to kubeconform - Update kubernetes versions in test matrices - Use upstream schema for CRDs, so we don't have to ignore missing schemas in validation - Switch away from deprecated output https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ - Switch CI nodeSelector examples to use disktype: ssd to avoid creating duplicates with baked in os defaults
915d952
to
7cfcd3f
Compare
@@ -80,12 +82,12 @@ jobs: | |||
# https://github.com/instrumenta/kubernetes-json-schema is no | |||
# longer updated | |||
k8s: | |||
# - v1.14.10 (deprecated with kind 1.16) | |||
- v1.16.15 | |||
- v1.16.4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: https://github.com/instrumenta/kubernetes-json-schema doesn't seem to have 1.16.15; 1.16.4 is the latest. Presumably this is Good Enough, but if someone can find the right schema version (I'm surprised kubeval
worked with this) online in the right format, I can update the secondary schema location 🤷
I rebased locally and slightly tweaked the wording, since there were conflicts from something merged after the previous version bump. Sorry for squashing your changes @clamoriniere |
Seems like it wanted additional bumps? |
the goal is to ease the CI migration from `kubeval` to `kubeconform` introduced by the PR #1199
This reverts commit c0698d6.
the goal is to ease the CI migration from `kubeval` to `kubeconform` introduced by the PR #1199
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @wyardley
thanks again for all your work on this PR. Our CI is finally green ! 🥳
We will be able to merge it
Thanks all! |
What this PR does / why we need it:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Screenshot from local example:

Which issue this PR fixes
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged)nodeSelector
values in datadog chart with CI defaults #1312Special notes for your reviewer:
Note: I don't know if any chart changes are triggered. I tested this locally, but may be good to do some additional testing in CI if you'd like.
CI changes only; let me know if you want me to bump version / changelog, though I imagine not relevant here.
I'm happy to remove
v1.18.20
or add / remove other versions from the matrices - just let me know.Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
CHANGELOG.md
has been updated