-
Notifications
You must be signed in to change notification settings - Fork 139
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
[WIP]Have static knative component versions in hack/, update in automatic PR #2677
base: main
Are you sure you want to change the base?
Conversation
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gauron99 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2677 +/- ##
==========================================
+ Coverage 64.08% 65.33% +1.24%
==========================================
Files 131 131
Lines 15601 15583 -18
==========================================
+ Hits 9998 10181 +183
+ Misses 4652 4415 -237
- Partials 951 987 +36
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: David Fridrich <[email protected]>
…ocate.sh, bump github version, unify those versions to v68 Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
fc36a1d
to
6aaa358
Compare
Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
PTAL @lkingland @matejvasek |
Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
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.
Looking good! See comments inline where I think perhaps leaning on Go's struct serialization and templating could remove the complexities of file parsing and sed-fu, respectively.
Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
…tes, json file as source of truth Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
Ill add a new line at the end of Marshalling the json so reviewdog doesnt return an error |
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.
Looking good!
The only bug I see is a missing KindNode
member of the struct. Other comments are just suggestions 👍🏻
Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
…d \n to generated .json Signed-off-by: David Fridrich <[email protected]>
Signed-off-by: David Fridrich <[email protected]>
Whats changing
latest
and instead have a static version that is periodically checked via Cron job in Workflow and in case a new latest exists == create a PR with that change againstmain branch
programmatically.component-versions.sh
file that will hold all of these versions that we need in repo (inhack/
) and can be this file can be changed via the workflows.hack/main.go
created which will delegate all otherhack/*.go
scripts in the future -- recoding existinghack/*.js
ones are on a TODO list as wellgo-github
version tov68
to to update deprecated functionsFollowup intention
go
files are being included / existing ones rewritten in go. Add tests for hack/ directory #2687todo
hack/main.go
to delegate other scripts inhack/
update-knative-components.go
completefixes #2687