Files
fedora-infra_ansible/roles/openshift-apps/bugzilla2fedmsg/templates/buildconfig.yml.j2
Aurélien Bompard 90ed56ae7b bugzilla2fedmsg: rebase on RHEL9 + Python 3.11
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2026-02-10 15:29:44 +01:00

31 lines
703 B
Django/Jinja

---
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
name: bugzilla2fedmsg-build
labels:
environment: "bugzilla2fedmsg"
spec:
source:
type: Git
git:
uri: https://github.com/fedora-infra/bugzilla2fedmsg.git
ref: {{ env }}
strategy:
type: Source
sourceStrategy:
from:
kind: ImageStreamTag
namespace: openshift
name: python:3.11-ubi9
triggers:
- type: ImageChange
- type: ConfigChange
- type: GitHub
github:
secret: "{{ (env == 'production')|ternary(bugzilla2fedmsg_prod_github_secret, bugzilla2fedmsg_stg_github_secret) }}"
output:
to:
kind: ImageStreamTag
name: bugzilla2fedmsg:latest