-
Notifications
You must be signed in to change notification settings - Fork 11
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
UPSTREAM: <carry>: Upgrade go version to 1.21 and go.mod package versions #56
Conversation
Commit Checker results:
|
Commit Checker results:
|
Commit Checker results:
|
Change to PR detected. A new PR build was completed. |
Commit Checker results:
|
Change to PR detected. A new PR build was completed. |
backend/Dockerfile.driver
Outdated
@@ -16,8 +16,8 @@ | |||
ARG SOURCE_CODE=. | |||
|
|||
# Use ubi8/nodejs-14 as base image | |||
#@follow_tag(registry.access.redhat.com/ubi8/go-toolset:1.20) | |||
FROM registry.access.redhat.com/ubi8/go-toolset:1.20 as builder | |||
#@follow_tag(registry.access.redhat.com/ubi8/go-toolset:1) |
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.
Doesn't matter much but there is a typo here in the #@follow_tag, it should be registry.access.redhat.com/ubi8/go-toolset:21
but apart from that tested overall and it looks good.
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.
Done, updated it to be 1.21
. Thanks!
Commit Checker results:
|
Change to PR detected. A new PR build was completed. |
@@ -12,7 +12,7 @@ | |||
# See the License for the specific language governing permissions and | |||
# limitations under the License. | |||
|
|||
FROM golang:1.20.4-alpine3.17 as builder | |||
FROM golang:1.21.4-alpine3.17 as builder |
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.
some dockerfiles look like they weren't updated like launcher, can you go over those again?
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.
done, updated all dockerfiles.
Commit Checker results:
|
Commit Checker results:
|
Change to PR detected. A new PR build was completed. |
backend/Dockerfile.launcher
Outdated
@@ -18,8 +18,8 @@ ARG CI_CONTAINER_VERSION="unknown" | |||
|
|||
|
|||
# Use ubi8/nodejs-14 as base image | |||
#@follow_tag(registry.access.redhat.com/ubi8/go-toolset:1.20) | |||
FROM registry.access.redhat.com/ubi8/go-toolset:1.20 as builder | |||
#@follow_tag(registry.access.redhat.com/ubi8/go-toolset:1.21) |
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.
@follow_tags have been removed from midstream, so we should do it here too
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.
Done, removed tags.
backend/Dockerfile.driver
Outdated
@@ -16,8 +16,8 @@ | |||
ARG SOURCE_CODE=. | |||
|
|||
# Use ubi8/nodejs-14 as base image | |||
#@follow_tag(registry.access.redhat.com/ubi8/go-toolset:1.20) | |||
FROM registry.access.redhat.com/ubi8/go-toolset:1.20 as builder | |||
#@follow_tag(registry.access.redhat.com/ubi8/go-toolset:1.21) |
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.
@follow_tags have been removed from midstream, so we should do it here too
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.
Done, removed tags.
backend/Dockerfile
Outdated
@@ -15,8 +15,8 @@ | |||
# Build arguments | |||
ARG SOURCE_CODE=. | |||
|
|||
#@follow_tag(registry.access.redhat.com/ubi8/go-toolset:1.20) | |||
FROM registry.access.redhat.com/ubi8/go-toolset:1.20 as builder | |||
#@follow_tag(registry.access.redhat.com/ubi8/go-toolset:1.21) |
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.
@follow_tags have been removed from midstream, so we should do it here too
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.
Done, removed tags.
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.
small comment-removal comments, but otherwise /lgtm
that said, since you updated |
Commit Checker results:
|
Commit Checker results:
|
Done, updated the license CSVs. |
Change to PR detected. A new PR build was completed. |
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
Change to PR detected. A new PR build was completed. |
Commit Checker results:
|
Change to PR detected. A new PR build was completed. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: amadhusu, HumairAK 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 |
Commit Checker results:
|
Description of your changes:
Upgrade go version to 1.21
Resolve go.opentelemetry.io/contrib package related CVEs by upgrading package version to latest
Update License CSVs
Remove follow tags to be in sync with cpaas midstream.
Implemented fixes on my fork, tested them out by importing the fork in my personal snyk account and making sure the CVEs were eliminated.
Checklist: