-
Notifications
You must be signed in to change notification settings - Fork 79
Prepare 1.37.0 #1613
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
Prepare 1.37.0 #1613
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
b8b145d
Update Go version to 1.26.1 and document in CHANGELOG for release 1.37.0
teresaromero fb615c0
Update CHANGELOG to reflect PR
teresaromero 73d3531
Downgrade Go version from 1.26.1 to 1.25.8 in .go-version file
teresaromero 7e053ac
Update CHANGELOG
teresaromero f1c1761
Update Golang installation script to default to version 1.25.7 for sp…
teresaromero 96b7848
Merge branch 'main' of github.com:elastic/package-registry into prepa…
teresaromero a4d46d8
fix latest_1_25_versions
teresaromero 1fa2200
Bump version to 1.37.0 in main.go and index.json
teresaromero bc88a8b
Apply suggestion from @mrodm
teresaromero 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.25.7 | ||
| 1.25.8 | ||
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 |
|---|---|---|
|
|
@@ -48,7 +48,7 @@ import ( | |
| ) | ||
|
|
||
| const ( | ||
| version = "1.36.1" | ||
| version = "1.37.0" | ||
| defaultInstanceName = "localhost" | ||
| ) | ||
|
|
||
|
|
||
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 @@ | ||
| { | ||
| "service.name": "package-registry", | ||
| "service.version": "1.36.1" | ||
| "service.version": "1.37.0" | ||
| } |
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.
This version is not available in chocolatey, because there are already 1.26.x versions published.
https://community.chocolatey.org/packages/golang#versionhistory
We could add some workaround like this one
https://github.com/elastic/package-registry/pull/1425/changes#diff-c5e35c6e40d940300d332e3c9a1e3fa03c3f19d767b00e05166b9a7c19097b2dR13-R19
to install a specific version for the unit tests running in Windows.
WDYT @jsoriano @teresaromero ?
Other option, but I didn't test it, is to update the
.buildkite/hooks/pre-commandto allow use an environment variable in a given buildkite step.That would mean to update this script:
package-registry/.buildkite/hooks/pre-command
Lines 7 to 10 in 9701314
To be something like this:
And then add the environment variable here:
package-registry/.buildkite/pipeline.yml
Lines 54 to 62 in 9701314
The problem with this last approach is that it should be removed that environment variable once a 1.26.x version is set in
.go-versionThere 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 prefer re-using this approach
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.
Tried to use a different approached based on
gvm(same tool that it is used in linux steps) to avoid these "ifs"#1617