Skip to content
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

Switch dqlite to 1.16.5 and go-dqlite to 1.21.0 (5.0-candidate) #627

Merged
merged 2 commits into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ parts:
after:
- sqlite
source: https://github.com/canonical/dqlite
source-commit: ee1766cba1b52317ba216c0fbddd8457a0241df6 # v1.17.1 LTS
source-commit: 769a5ae21156ea7b1f01a937f80a3da60eb6a1bb # v1.16.5
source-type: git
source-depth: 1
plugin: autotools
Expand Down Expand Up @@ -1408,8 +1408,16 @@ parts:
mkdir -p "${GOPATH}/src/github.com/canonical"
ln -s "$(pwd)" "${GOPATH}/src/github.com/canonical/lxd"

# Switch dqlite to 1.16.5 and go-dqlite to 1.21.0 (known good from LXD v5.21.2)
# whilst crashes with go-dqlite v2 or dqlite 1.17 LTS are resolved.
git config user.email "[email protected]"
git config user.name "LXD snap builder"
git revert e8a5357c63fb51b814e5d262479cc928fcba710d # Revert switch to go-dqlite v2
go get github.com/canonical/[email protected] # Switch back to go-dqlite v1
go mod tidy

# Download the dependencies
go get -d -v ./...
go get -v ./...
override-build: |
set -ex

Expand Down
Loading