-
Notifications
You must be signed in to change notification settings - Fork 27
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
Upgrade support modules to go1.21 #243
Conversation
WIP because I'd like to test it with a local deployment of the registry. Not sure if we should vendor the |
cb621ce
to
59fca64
Compare
Decided not to include vendor files for |
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.
Changes to the modules looks good, few change requests:
- You'll need to update Go version in the CI workflow files:
- https://github.com/thepetk/devfile-registry-support/blob/59fca64828c9e0977a4b56ebe24624b53ac0d59d/.github/workflows/ci.yaml#L24
- https://github.com/thepetk/devfile-registry-support/blob/59fca64828c9e0977a4b56ebe24624b53ac0d59d/.github/workflows/codecov.yaml#L31
- https://github.com/thepetk/devfile-registry-support/blob/59fca64828c9e0977a4b56ebe24624b53ac0d59d/.github/workflows/pushimage-next.yaml#L33
- You'll need to update the Go version in the Dockerfiles:
- https://github.com/thepetk/devfile-registry-support/blob/59fca64828c9e0977a4b56ebe24624b53ac0d59d/.ci/Dockerfile#L15
- https://github.com/thepetk/devfile-registry-support/blob/59fca64828c9e0977a4b56ebe24624b53ac0d59d/tests/integration/Dockerfile#L15
- https://github.com/thepetk/devfile-registry-support/blob/59fca64828c9e0977a4b56ebe24624b53ac0d59d/index/server/Dockerfile#L17
Note: In addition to needing the open seperate PR(s) for bumping the devfile/api version (and k8s indirect dependencies) to resolve the issue completely, this also contributes to resolving devfile/api#1557.
e6d05f2
to
e45caab
Compare
9b9d99c
to
d498d74
Compare
@michael-valdron a question here is should we go to 2.3.0-alpha instead of 2.3.0? |
After discussion we'll go with FYI I've opened devfile/api#1571 in order to release |
@michael-valdron the |
WIP: Because we need to fix the issue brought from code gen and updates the import of the index generator schema:
|
@thepetk server should be fine to update now as it references the local generator with |
Signed-off-by: thepetk <thepetk@gmail.com>
Signed-off-by: thepetk <thepetk@gmail.com>
Signed-off-by: thepetk <thepetk@gmail.com>
Signed-off-by: thepetk <thepetk@gmail.com>
Signed-off-by: thepetk <thepetk@gmail.com>
Signed-off-by: thepetk <thepetk@gmail.com>
Signed-off-by: thepetk <thepetk@gmail.com>
Signed-off-by: thepetk <thepetk@gmail.com>
Signed-off-by: thepetk <thepetk@gmail.com>
44e3a85
to
c6ef983
Compare
I've updated the PR by adding the cc @Jdubrick |
Signed-off-by: thepetk <thepetk@gmail.com>
Signed-off-by: thepetk <thepetk@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #243 +/- ##
=======================================
Coverage 41.44% 41.44%
=======================================
Files 9 9
Lines 3132 3132
=======================================
Hits 1298 1298
Misses 1643 1643
Partials 191 191 ☔ View full report in Codecov by Sentry. |
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.
/lgtm
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Jdubrick, michael-valdron, thepetk 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 |
Please specify the area for this PR
/server
/generator
/tests
/registry-library
What does does this PR do / why we need it:
Upgrades the go version for the
index/server
,index/generator
,registry-library
&tests/integration
fromv1.19
tov1.21
Which issue(s) this PR fixes:
Fixes devfile/api#1562
PR acceptance criteria:
Documentation (WIP)
How to test changes / Special notes to the reviewer: