-
Notifications
You must be signed in to change notification settings - Fork 91
Prepare release 3.5.0 #979
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
Merged
Merged
Changes from 6 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
a8d4109
Prepare release 3.5.0
jsoriano 097ebfb
Fix link, change 9.0 version for compliance tests
jsoriano a0de3d8
Use older Go version in windows build
jsoriano 17ea08d
Fix patch for AI prompt definitions
jsoriano 1aaf08d
Try again to solve issue with windows
jsoriano b2b8b14
Delay compliance test for content package with SLO
jsoriano 8130792
Hard-code 1.24.6 only for windows
jsoriano afa4a7c
Try again to override go version in Windows with environment variables
jsoriano c4a7536
Revert "Try again to override go version in Windows with environment …
jsoriano 4d9ed72
Try yet another time to override go version in Windows with environme…
jsoriano File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 1.23.6 | ||
| 1.24.6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| format_version: 3.5.0 | ||
| format_version: 3.6.0 | ||
| name: good_content | ||
| title: Good content package | ||
| description: > | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@jsoriano Should we apply this same change for package-registry? elastic/package-registry#1425
In package-registry, it is used
.go-versionto build the binary as well as the docker:At least, building the docker requires to read
.go-versionfile.Following the approach in this PR, it would mean to set
1.24.6. IIRC then golang version used depends on theGOTOOLCHAINenvironment variable value, it could use one or another version. As an example:At least it is mentioned that in standard Go toolchains, it is set as
autoby default: https://go.dev/doc/toolchain#GOTOOLCHAINThere 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.
Or should we set
.go-versionas 1.24.7, and then update the PS1 scripts used in CI to take into account the exceptions for Windows golang 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.
Not sure, if we want to make the change only for Windows, and the same for all repos, we could try to make the change in the
pre-commithook as you suggested in #979 (comment).In any case in Package Registry we could use the latest version of Go, that is also available for Windows. Here I would be more cautious because package-spec is used as library.
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.
Not a strong opinion. What I like about the approach I mentioned is that the required version is set explicitly in
.go-versionfile.Agreed that we need to be more cautious here with package-spec 👍
Should we try to update then to 1.25.1 in package-registry ?