mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
31 lines
703 B
Django/Jinja
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
|