-
Notifications
You must be signed in to change notification settings - Fork 250
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_: upgrade go to 1.22 #6258
base: develop
Are you sure you want to change the base?
ci_: upgrade go to 1.22 #6258
Conversation
Jenkins BuildsClick to see older builds (149)
|
f95fafe
to
c74ebd3
Compare
My initial assumptions were that this failure happens due to a symlink issue in xcode wrapper nix derivation :
Needs more investigation. This issue surfaces in |
c74ebd3
to
2d2d927
Compare
2d2d927
to
dd262fa
Compare
b273909
to
58e0a24
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.
Looks noice! Did you consider immediate switch to Go 1.23? Did it not work out as simple?
Because 1.22 will be outdated in 1 month 😐
And we probably must ensure mobile/desktop builds before merging ofc, just a heads up.
I first tried with 1.23, there were many issues, I tried to outline the recommended steps here #6254 (comment) |
58e0a24
to
7372d20
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #6258 +/- ##
===========================================
- Coverage 60.30% 59.61% -0.69%
===========================================
Files 845 864 +19
Lines 111258 112668 +1410
===========================================
+ Hits 67095 67168 +73
- Misses 36342 37715 +1373
+ Partials 7821 7785 -36
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
Looks good, but please leave comments on not obvious things.
}) | ||
]; | ||
})); | ||
gomobile = callPackage ./pkgs/gomobile { }; |
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.
Add a comment, why it is needed.
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.
Also, is it just a copy from certain commit (add which one) or some lines were edited (add comments, which ones and why)?
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.
Thanks! I will update comments.
Here i was updating to a newer version of gomobile
and using latest derivation from master of nixpkgs.
87151d7
to
71a04fe
Compare
82a47d3
to
8cab389
Compare
@@ -8,7 +8,7 @@ let | |||
|
|||
/* Lock requires Xcode verison. */ | |||
xcodeWrapper = callPackage ./pkgs/xcodeenv/compose-xcodewrapper.nix { } { | |||
versions = ["14.3" "15.1" "15.2" "15.3" "15.4"]; | |||
versions = [ ]; |
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.
Why?
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.
I have kept it empty to accept whatever version of Xcode exists on CI hosts.
Waiting to complete the Xcode migration of CI hosts and then I will pin 16.x here
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.
Well, if there's no known versions of Xcode that break status-go
builds that might be fine.
8cab389
to
808ddfd
Compare
- This PR upgrades `go` to `1.22` - Brings in `gomobile` latest derivation at master of `nixpkgs` : NixOS/nixpkgs@f5abef9 - points to status-go changes where `go` is also upgraded to `1.22` -> status-im/status-go#6258
This commit: - updates status-go to point to status-im/status-go#6258 - updates nix derivation to switch to go 1.22 - swaps `sc3md` for `sc5md` - updates docker image used by jenkins for linux jobs to image built with go 1.22. - updates, linux, windows and MacOS build scripts to use go 1.22
5972f31
to
562eace
Compare
This commit: - updates status-go to point to status-im/status-go#6258 - updates nix derivation to switch to go 1.22 - swaps `sc3md` for `sc5md` - updates docker image used by jenkins for linux jobs to image built with go 1.22. - updates, linux, windows and MacOS build scripts to use go 1.22
This commit: - updates status-go to point to status-im/status-go#6258 - updates nix derivation to switch to go 1.22 - swaps `sc3md` for `sc5md` - updates docker image used by jenkins for linux jobs to image built with go 1.22. - updates, linux, windows and MacOS build scripts to use go 1.22
This commit: - updates status-go to point to status-im/status-go#6258 - updates nix derivation to switch to go 1.22 - swaps `sc3md` for `sc5md` - updates docker image used by jenkins for linux jobs to image built with go 1.22. - updates, linux, windows and MacOS build scripts to use go 1.22
562eace
to
89e0d84
Compare
We require commits to follow the Conventional Commits, but with
|
related issue: #6254
Summary
go
to1.22
xcodewrapper
to latest version fromnixpkgs
gomobile
derivation with newer version.1.59.1
forgo
version1.22
support https://github.com/golangci/golangci-lint/releases/tag/v1.59.1gosec
Pending
Related
GO111MODULE=off
workaround golang/go#67927