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

Upgrade dependencies of all modules #108

Merged
merged 25 commits into from
May 26, 2022
Merged

Conversation

philippgille
Copy link
Owner

@philippgille philippgille commented May 26, 2022

This PR upgrades the dependencies of all modules within the same major version, except for one v0 -> v1 change (which is in line with regular go get behavior).

The v0 -> v1 change was for Hazelcast, for which some code changes were required to make it work with the latest version. To gokv users there should be no difference in behavior, so no breaking change.

Another noteworthy change is that we're now independent from any CI environment. In the past the tests still relied on some servers being provided by Travis CI (namely Memcached, MongoDB, MySQL and Redis), but the test script now starts Docker containers them as well.

All tests succeed (build/test.sh plus separate run with tablestorage module against real Azure because of issues with the emulator) 🟢

⚠️ Some dependencies have newer major versions, which we should upgrade to as soon as possible. But this PR focuses on updating to the latest version within the same major version.

+ Fix test.sh script for CockroachDB container
Including a config change in the test Docker container for concurrency
Also changed the test code to work without shared config/credentials
file
Required a change of the client code because of breaking changes
between v0 and v1
+ Use default port in test container, since we won't run in TravisCI
anymore
Tested with real Azure, because it still doesn't work with the emulator.
@philippgille philippgille merged commit 69bfc4b into master May 26, 2022
@philippgille philippgille deleted the upgrade-dependencies branch May 26, 2022 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant