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

Use up-to-date releases of Redis for CI workflow #2855

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

atakavci
Copy link
Contributor

@atakavci atakavci commented Mar 6, 2025

This PR is to update the Redis versions running in the CI, there are two different test setups according to environments, one on Ubuntu and the other on Windows;

  • Ubuntu job is now using docker image with latest Redis release, it was using a relatively up-to-date version (7.4-rc1 -> 7.4.2)
  • Windows job was using the binaries of an old version of Redis which was build to run on Windows env, but it is quite old(Redis 3.0.503) and lack of a set of features/changes that StackExchange.Redis already capable of when running with up-to-date Redis versions. So this is replaced with the Redis 7.4.2 which is the latest GA Release(as of now) in package repository.
    Setup for Windows essentially leverages wsl setup on windows and install+run the version of Redis from its own package repository. The rest is similar to existing approach, using the same config files etc..

set target as 7.4.0 both for ubuntu and windows tests

fetch dept

check old values

path fix

start all

stack server

fix step checkout

docker image redis:7.4.2
@NickCraver
Copy link
Collaborator

@atakavci I have been checking on our ability to run Redis in Docker from Windows agents and did not realize it had finally happened. This is awesome. I need to find time to get the test suite reliably stable, that's the main thing standing in the way a lot of days, but this looks great. Trying to get a minor release out for a known cluster issue then will get this in.

echo "Checking redis-server version with port 26380"
redis-cli -p 26380 INFO SERVER | grep redis_version || echo "Failed to get version for port 26380"
echo "Checking redis-server version with port 26381"
redis-cli -p 26381 INFO SERVER | grep redis_version || echo "Failed to get version for port 26381"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to maintain this separate list anymore? Or can we spin up with compose entirely?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a WSL setup and AFAIK docker support still not available.
But the portion with lots of redis-cli only stands for debugging purposes, let me know if you'd like to get rid of it.

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.

2 participants