1
0
Fork 0
forked from infra/ansible
ansible/roles/openshift-apps/languages/templates/buildconfig.yml.j2
Ryan Lerch 067bc69833 languages - rename yml templates to .j2
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 08:37:31 +10:00

23 lines
523 B
Django/Jinja

---
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
labels:
build: build-latest
name: build-latest
spec:
successfulBuildsHistoryLimit: 2
failedBuildsHistoryLimit: 1
runPolicy: Serial
source:
git:
uri: "https://pagure.io/fedora-l10n/fedora-localization-statistics.git"
ref: "{{ 'staging' if env == 'staging' else 'main' }}"
strategy:
type: Docker
dockerStrategy:
dockerfilePath: Dockerfile
output:
to:
kind: ImageStreamTag
name: builder:latest