50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
- name: make the app be real
|
|
hosts: os_masters_stg[0]:os_masters
|
|
user: root
|
|
gather_facts: False
|
|
|
|
vars_files:
|
|
- /srv/web/infra/ansible/vars/global.yml
|
|
- "/srv/private/ansible/vars.yml"
|
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
|
|
roles:
|
|
- role: openshift/project
|
|
app: simple-koji-ci
|
|
description: Do a scratch build on PRs opened on dist-git
|
|
appowners:
|
|
- cverna
|
|
- pingou
|
|
|
|
- role: openshift/keytab
|
|
app: simple-koji-ci
|
|
key: simple-koji-ci-keytab
|
|
secret_name: simple-koji-ci-keytab
|
|
service: simple-koji-ci
|
|
|
|
- role: openshift/object
|
|
app: simple-koji-ci
|
|
template: imagestream.yml
|
|
objectname: imagestream.yml
|
|
|
|
- role: openshift/object
|
|
app: simple-koji-ci
|
|
template: buildconfig.yml
|
|
objectname: buildconfig.yml
|
|
|
|
- role: openshift/object
|
|
app: simple-koji-ci
|
|
template: configmap.yml
|
|
objectname: configmap.yml
|
|
|
|
- role: openshift/object
|
|
app: simple-koji-ci
|
|
template: deploymentconfig.yml
|
|
objectname: deploymentconfig.yml
|
|
|
|
- role: openshift/start-build
|
|
app: simple-koji-ci
|
|
buildname: simple-koji-ci-build
|
|
objectname: simple-koji-ci-build
|
|
tags:
|
|
- build
|