-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TFaGA for testing valkey container
Signed-off-by: Petr "Stone" Hracek <[email protected]>
- Loading branch information
Showing
2 changed files
with
79 additions
and
13 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
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 |
---|---|---|
@@ -1 +1,75 @@ | ||
# valkey-container | ||
Valkey container image | ||
===================== | ||
|
||
[![Build and push images to Quay.io registry](https://github.com/sclorg/valkey-container/actions/workflows/build-and-push.yml/badge.svg)](https://github.com/sclorg/valkey-container/actions/workflows/build-and-push.yml) | ||
|
||
Images available on Quay are: | ||
* CentOS Stream 10 [valkey-6](https://quay.io/repository/sclorg/valkey-7-c10s) | ||
* Fedora [valkey-7](https://quay.io/repository/fedora/valkey-7) | ||
|
||
This repository contains Dockerfiles for valkey container image. | ||
Users can choose between RHEL, Fedora and CentOS based images. | ||
|
||
For more information about contributing, see | ||
[the Contribution Guidelines](https://github.com/sclorg/welcome/blob/master/contribution.md). | ||
For more information about concepts used in these container images, see the | ||
[Landing page](https://github.com/sclorg/welcome). | ||
|
||
|
||
Versions | ||
-------- | ||
valkey version currently provided are: | ||
* [valkey-7](7) | ||
|
||
CentOS versions currently supported are: | ||
* CentOS Stream 10 | ||
|
||
|
||
Installation | ||
------------ | ||
To build a valkey image, choose either the CentOS Stream: | ||
``` | ||
|
||
* **CentOS Stream based image** | ||
|
||
This image is available on quay.io. To download it run: | ||
|
||
``` | ||
$ podman pull quay.io/sclorg/valkey-7-c10s | ||
``` | ||
To build a valkey image from scratch run: | ||
``` | ||
$ git clone --recursive https://github.com/sclorg/valkey-container.git | ||
$ cd valkey-container | ||
$ git submodule update --init | ||
$ make build TARGET=c10s VERSIONS=7 | ||
``` | ||
Note: while the installation steps are calling `podman`, you can replace any such calls by `docker` with the same arguments. | ||
**Notice: By omitting the `VERSIONS` parameter, the build/test action will be performed | ||
on all provided versions of valkey.** | ||
Usage | ||
----- | ||
For information about usage of Dockerfile for valkey 7, | ||
see [usage documentation](7). | ||
Test | ||
---- | ||
Users can choose between testing a valkey test application based on CentOS Stream image. | ||
* **CentOS Stream based image** | ||
``` | ||
$ cd valkey-container | ||
$ git submodule update --init | ||
$ make test TARGET=c10s VERSIONS=7 | ||
``` | ||
**Notice: By omitting the `VERSIONS` parameter, the build/test action will be performed | ||
on all provided versions of valkey.** |