1
0
Fork 0
forked from infra/ansible

[oraculum] Build the redis container locally

The previous deployment of Redis has issue with the latest version and
the docker.io is failing on ratelimit. So let's build the redis
deployment from the flatpak-indexer Dockerfile. For details see infra/tickets#13390

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2026-06-04 13:10:54 +02:00
commit 146d5d519b
2 changed files with 30 additions and 9 deletions

View file

@ -59,3 +59,33 @@ spec:
triggers:
- type: ConfigChange
- type: ImageChange
---
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
labels:
environment: "packager-dashboard"
name: packager-dashboard-redis-build
spec:
output:
to:
kind: ImageStreamTag
name: packager-dashboard-redis:latest
runPolicy: Serial
source:
contextDir: redis
git:
uri: https://github.com/owtaylor/flatpak-indexer.git
ref: "main"
type: Git
strategy:
dockerStrategy:
from:
kind: ImageStreamTag
name: fedora:latest
noCache: true
type: Docker
triggers:
- type: ConfigChange
- type: ImageChange
imageChange: {}

View file

@ -13,15 +13,6 @@ apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
name: packager-dashboard-redis
spec:
tags:
- name: latest
from:
kind: DockerImage
# docker.io should be okay as bitnami is verified publisher and doesn't undergo rate-limiting
name: docker.io/bitnami/redis:latest
importPolicy:
scheduled: true
---
apiVersion: image.openshift.io/v1
kind: ImageStream