1
0
Fork 0
forked from infra/ansible
ansible/roles/openshift-apps/docstranslation/templates/buildconfig.yml.j2

25 lines
517 B
Django/Jinja

---
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
labels:
build: docstranslation-build
name: docstranslation-build
spec:
successfulBuildsHistoryLimit: 2
failedBuildsHistoryLimit: 1
runPolicy: Serial
source:
git:
uri: "https://forge.fedoraproject.org/docs/translations-scripts.git"
{% if env == 'staging' %}
ref: staging
{% else %}
ref: main
{% endif %}
strategy:
type: Docker
output:
to:
kind: ImageStreamTag
name: builder:latest