forked from valkey-io/valkey-glide
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport 1.3) Merge release 1.3 to main (valkey-io#3202)
Backport 1.3 to main --------- Signed-off-by: Joe Brinkman <[email protected]>
- Loading branch information
Showing
105 changed files
with
2,564 additions
and
1,619 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -33,13 +33,13 @@ jobs: | |
id: load-platform-matrix | ||
shell: bash | ||
run: | | ||
# Filter entries with pkg_go_dev in PACKAGE_MANAGERS and remove "ephemeral" from RUNNER | ||
# Filter entries with pkg_go_dev in PACKAGE_MANAGERS and replace "ephemeral" with "persistent" in RUNNER | ||
export PLATFORM_MATRIX=$(jq 'map( | ||
select(.PACKAGE_MANAGERS != null and (.PACKAGE_MANAGERS | contains(["pkg_go_dev"]))) | ||
select(.PACKAGE_MANAGERS != null and (.PACKAGE_MANAGERS | contains(["pkg_go_dev"]))) | ||
| .RUNNER = ( | ||
if (.RUNNER | type == "array") | ||
then (.RUNNER | map(select(. != "ephemeral"))) | ||
else .RUNNER | ||
then (.RUNNER | map(if . == "ephemeral" then "persistent" else . end)) | ||
else (if . == "ephemeral" then "persistent" else . end) | ||
end | ||
) | ||
)' < .github/json_matrices/build-matrix.json | jq -c .) | ||
|
@@ -148,13 +148,14 @@ jobs: | |
cp protobuf/* $GITHUB_WORKSPACE/go/protobuf/ | ||
- name: Commit and push tag | ||
run: | | ||
RELEASE_VERSION=${{ needs.validate-release-version.outputs.RELEASE_VERSION }} | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git add -f . | ||
git commit -m "Automated commit from GitHub Actions" | ||
git tag go/${{ needs.validate-release-version.outputs.RELEASE_VERSION }} | ||
git push origin go/${{ needs.validate-release-version.outputs.RELEASE_VERSION }} | ||
GOPROXY=proxy.golang.org go list -m github.com/valkey-io/valkey-glide/go@${{ needs.validate-release-version.outputs.RELEASE_VERSION }} | ||
git tag go/$RELEASE_VERSION | ||
git push origin go/$RELEASE_VERSION | ||
GOPROXY=proxy.golang.org go list -m github.com/valkey-io/valkey-glide/go@$RELEASE_VERSION | ||
extra-post-commit-test: | ||
needs: | ||
|
@@ -204,13 +205,13 @@ jobs: | |
working-directory: go/benchmarks | ||
run: | | ||
# change go/benchmarks/go.mod on the fly | ||
export ESCAPED_VERSION=$(echo "${{ needs.validate-release-version.outputs.RELEASE_VERSION }}" | sed 's/\./\\./g') | ||
RELEASE_VERSION=${{ needs.validate-release-version.outputs.RELEASE_VERSION }} | ||
if [[ "${{ matrix.host.OS }}" == "macos" ]]; then | ||
sed -i '' '/replace github\.com\/valkey-io\/valkey-glide\/go/d' go.mod | ||
sed -i '' "s/github\.com\/valkey-io\/valkey-glide\/go v0\.0\.0/github.com\/valkey-io\/valkey-glide\/go $ESCAPED_VERSION/g" go.mod | ||
sed -i '' '\|replace github\.com/valkey-io/valkey-glide/go|d' go.mod | ||
sed -i '' "s|github\.com/valkey-io/valkey-glide/go v.*|github.com/valkey-io/valkey-glide/go $RELEASE_VERSION|g" go.mod | ||
else | ||
sed -i '/replace github\.com\/valkey-io\/valkey-glide\/go/d' go.mod | ||
sed -i "s/github\.com\/valkey-io\/valkey-glide\/go v0\.0\.0/github.com\/valkey-io\/valkey-glide\/go $ESCAPED_VERSION/g" go.mod | ||
sed -i '\|replace github\.com/valkey-io/valkey-glide/go|d' go.mod | ||
sed -i "s|github\.com/valkey-io/valkey-glide/go v.*|github.com/valkey-io/valkey-glide/go $RELEASE_VERSION|g" go.mod | ||
fi | ||
go mod tidy | ||
go run . -minimal -clients glide -concurrentTasks 10 -port ${{ env.PORT }} |
This file contains 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 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 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 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 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 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 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 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 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 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 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 |
---|---|---|
|
||
---- | ||
|
||
Package: smallvec:1.13.2 | ||
Package: smallvec:1.14.0 | ||
|
||
The following copyrights and licenses were found in the source code of this package: | ||
|
This file contains 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 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
Oops, something went wrong.