Skip to content

Commit

Permalink
Add TFaGA for testing valkey container
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek committed Aug 16, 2024
1 parent 8da70bd commit d31f112
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 13 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,18 @@ jobs:
fail-fast: false
matrix:
include:
- dockerfile: "6/Dockerfile.c9s"
registry_namespace: "sclorg"
tag: "c9s"
image_name: "redis-6-c9s"
quayio_username: "QUAY_IMAGE_SCLORG_BUILDER_USERNAME"
quayio_token: "QUAY_IMAGE_SCLORG_BUILDER_TOKEN"
docker_context: "6"

- dockerfile: "7/Dockerfile.fedora"
registry_namespace: "fedora"
tag: "fedora"
quayio_username: "QUAY_IMAGE_FEDORA_BUILDER_USERNAME"
quayio_token: "QUAY_IMAGE_FEDORA_BUILDER_TOKEN"
image_name: "redis-7"
image_name: "valkey-7"
docker_context: "7"

- dockerfile: "7/Dockerfile.c9s"
- dockerfile: "7/Dockerfile.c10s"
registry_namespace: "sclorg"
tag: "c9s"
image_name: "redis-7-c9s"
tag: "c10s"
image_name: "valkey-7-c10s"
quayio_username: "QUAY_IMAGE_SCLORG_BUILDER_USERNAME"
quayio_token: "QUAY_IMAGE_SCLORG_BUILDER_TOKEN"
docker_context: "7"
Expand Down
76 changes: 75 additions & 1 deletion README.md
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.**

0 comments on commit d31f112

Please sign in to comment.