Prefix openshift/start-build
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
560a31ef5b
commit
a36b40eec8
39 changed files with 97 additions and 95 deletions
|
@ -164,8 +164,8 @@
|
|||
- import_role:
|
||||
name: openshift/start-build
|
||||
vars:
|
||||
app: bodhi
|
||||
buildname: bodhi-base
|
||||
start_build_app: bodhi
|
||||
start_build_buildname: bodhi-base
|
||||
when: env != "staging"
|
||||
|
||||
post_tasks:
|
||||
|
|
|
@ -28,9 +28,9 @@
|
|||
object_objectname: buildconfig.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: asknot
|
||||
buildname: asknot-build
|
||||
objectname: asknot-build
|
||||
start_build_app: asknot
|
||||
start_build_buildname: asknot-build
|
||||
start_build_objectname: asknot-build
|
||||
|
||||
- role: openshift/object
|
||||
object_app: asknot
|
||||
|
|
|
@ -195,8 +195,8 @@
|
|||
object_objectname: cron-update-rules.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: badges
|
||||
buildname: "{{ item }}"
|
||||
start_build_app: badges
|
||||
start_build_buildname: "{{ item }}"
|
||||
loop:
|
||||
- fedbadges
|
||||
- tahrir
|
||||
|
|
|
@ -134,6 +134,6 @@
|
|||
haproxy.router.openshift.io/set-forwarded-headers: append
|
||||
|
||||
- role: openshift/start-build
|
||||
app: blockerbugs
|
||||
buildname: blockerbugs-build
|
||||
objectname: blockerbugs-build
|
||||
start_build_app: blockerbugs
|
||||
start_build_buildname: blockerbugs-build
|
||||
start_build_objectname: blockerbugs-build
|
||||
|
|
|
@ -106,8 +106,8 @@
|
|||
object_template: buildconfig.yml
|
||||
object_objectname: buildconfig.yml
|
||||
- role: openshift/start-build
|
||||
app: bodhi
|
||||
buildname: bodhi-base
|
||||
start_build_app: bodhi
|
||||
start_build_buildname: bodhi-base
|
||||
- role: openshift/object
|
||||
object_app: bodhi
|
||||
object_template_fullpath: "{{roles_path}}/bodhi2/base/templates/configmap.yml"
|
||||
|
|
|
@ -122,9 +122,9 @@
|
|||
object_objectname: container-secrets.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: cloud-image-uploader
|
||||
buildname: cloud-image-uploader-build
|
||||
objectname: cloud-image-uploader-build
|
||||
start_build_app: cloud-image-uploader
|
||||
start_build_buildname: cloud-image-uploader-build
|
||||
start_build_objectname: cloud-image-uploader-build
|
||||
|
||||
- role: openshift/object
|
||||
object_app: cloud-image-uploader
|
||||
|
|
|
@ -36,9 +36,9 @@
|
|||
object_objectname: buildconfig.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: compose-tracker
|
||||
buildname: compose-tracker-build
|
||||
objectname: compose-tracker-build
|
||||
start_build_app: compose-tracker
|
||||
start_build_buildname: compose-tracker-build
|
||||
start_build_objectname: compose-tracker-build
|
||||
|
||||
- role: openshift/object
|
||||
object_app: compose-tracker
|
||||
|
|
|
@ -50,9 +50,9 @@
|
|||
object_objectname: buildconfig.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: coreos-koji-tagger
|
||||
buildname: coreos-koji-tagger-build
|
||||
objectname: coreos-koji-tagger-build
|
||||
start_build_app: coreos-koji-tagger
|
||||
start_build_buildname: coreos-koji-tagger-build
|
||||
start_build_objectname: coreos-koji-tagger-build
|
||||
|
||||
- role: openshift/object
|
||||
object_app: coreos-koji-tagger
|
||||
|
|
|
@ -101,8 +101,8 @@
|
|||
object_objectname: deploymentconfig.yml
|
||||
|
||||
# - role: openshift/start-build
|
||||
# app: datagrepper
|
||||
# buildname: datagrepper
|
||||
# start_build_app: datagrepper
|
||||
# start_build_buildname: datagrepper
|
||||
|
||||
# - role: openshift/rollout
|
||||
# rollout_app: datagrepper
|
||||
|
|
|
@ -72,8 +72,8 @@
|
|||
object_objectname: deploymentconfig.yml
|
||||
|
||||
# - role: openshift/start-build
|
||||
# app: discourse2fedmsg
|
||||
# buildname: discourse2fedmsg
|
||||
# start_build_app: discourse2fedmsg
|
||||
# start_build_buildname: discourse2fedmsg
|
||||
# tags:
|
||||
# - never
|
||||
# - build
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
object_template: buildconfig.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: docsbuilding
|
||||
buildname: builder-build
|
||||
start_build_app: docsbuilding
|
||||
start_build_buildname: builder-build
|
||||
|
||||
- role: openshift/object
|
||||
object_app: docsbuilding
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
ansible.builtin.include_role:
|
||||
name: openshift/start-build
|
||||
vars:
|
||||
buildname: docstranslation-build
|
||||
start_build_buildname: docstranslation-build
|
||||
|
||||
- name: Define secrets
|
||||
ansible.builtin.include_role:
|
||||
|
|
|
@ -93,9 +93,9 @@
|
|||
object_objectname: configmap.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: elections
|
||||
buildname: elections-build
|
||||
objectname: elections-build
|
||||
start_build_app: elections
|
||||
start_build_buildname: elections-build
|
||||
start_build_objectname: elections-build
|
||||
|
||||
- role: openshift/object
|
||||
object_app: elections
|
||||
|
|
|
@ -111,8 +111,8 @@
|
|||
object_objectname: deploymentconfig.yml
|
||||
|
||||
# - role: openshift/start-build
|
||||
# app: fasjson
|
||||
# buildname: fasjson
|
||||
# start_build_app: fasjson
|
||||
# start_build_buildname: fasjson
|
||||
|
||||
# - role: openshift/rollout
|
||||
# rollout_app: noggin
|
||||
|
|
|
@ -59,9 +59,9 @@
|
|||
object_objectname: configmap.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: fedocal
|
||||
buildname: fedocal-build
|
||||
objectname: fedocal-build
|
||||
start_build_app: fedocal
|
||||
start_build_buildname: fedocal-build
|
||||
start_build_objectname: fedocal-build
|
||||
|
||||
- role: openshift/object
|
||||
object_app: fedocal
|
||||
|
|
|
@ -38,9 +38,9 @@
|
|||
object_objectname: configmap.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: fedora-packages-static
|
||||
buildname: fedora-packages-static-build
|
||||
objectname: fedora-packages-static-build
|
||||
start_build_app: fedora-packages-static
|
||||
start_build_buildname: fedora-packages-static-build
|
||||
start_build_objectname: fedora-packages-static-build
|
||||
|
||||
- role: openshift/object
|
||||
object_app: fedora-packages-static
|
||||
|
|
|
@ -45,9 +45,9 @@
|
|||
object_objectname: configmap.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: flatpak-indexer
|
||||
start_build_app: flatpak-indexer
|
||||
# This will trigger the main build via a imageChange trigger
|
||||
buildname: flatpak-indexer-tardiff-build
|
||||
start_build_buildname: flatpak-indexer-tardiff-build
|
||||
|
||||
- role: openshift/object
|
||||
object_app: flatpak-indexer
|
||||
|
|
|
@ -124,6 +124,6 @@
|
|||
route_servicename: kanban-web
|
||||
|
||||
- role: openshift/start-build
|
||||
app: kanban
|
||||
buildname: kanban-build
|
||||
objectname: kanban-build
|
||||
start_build_app: kanban
|
||||
start_build_buildname: kanban-build
|
||||
start_build_objectname: kanban-build
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
object_template: buildconfig.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: languages
|
||||
buildname: build-latest
|
||||
start_build_app: languages
|
||||
start_build_buildname: build-latest
|
||||
|
||||
- role: openshift/object
|
||||
object_app: languages
|
||||
|
|
|
@ -91,9 +91,9 @@
|
|||
secret_file_privatefile: "rabbitmq/{{env}}/pki/ca.crt"
|
||||
|
||||
- role: openshift/start-build
|
||||
app: maubot
|
||||
buildname: maubot-build
|
||||
objectname: maubot-build
|
||||
start_build_app: maubot
|
||||
start_build_buildname: maubot-build
|
||||
start_build_objectname: maubot-build
|
||||
|
||||
- role: openshift/object
|
||||
object_app: maubot
|
||||
|
|
|
@ -67,9 +67,9 @@
|
|||
- cron-job
|
||||
|
||||
- role: openshift/start-build
|
||||
app: mdapi
|
||||
buildname: mdapi-build
|
||||
objectname: mdapi-build
|
||||
start_build_app: mdapi
|
||||
start_build_buildname: mdapi-build
|
||||
start_build_objectname: mdapi-build
|
||||
|
||||
- role: openshift/object
|
||||
object_app: mdapi
|
||||
|
|
|
@ -132,8 +132,8 @@
|
|||
object_objectname: buildconfig.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: messaging-bridges
|
||||
buildname: messaging-bridges-build
|
||||
start_build_app: messaging-bridges
|
||||
start_build_buildname: messaging-bridges-build
|
||||
|
||||
- role: openshift/object
|
||||
object_app: messaging-bridges
|
||||
|
|
|
@ -165,8 +165,8 @@
|
|||
object_objectname: cron-primary-mirror.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: mirrormanager
|
||||
buildname: mm
|
||||
start_build_app: mirrormanager
|
||||
start_build_buildname: mm
|
||||
tags:
|
||||
- never
|
||||
- build
|
||||
|
|
|
@ -80,9 +80,9 @@
|
|||
object_objectname: deploymentconfig.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: monitor-gating
|
||||
buildname: monitor-gating-build
|
||||
objectname: monitor-gating-build
|
||||
start_build_app: monitor-gating
|
||||
start_build_buildname: monitor-gating-build
|
||||
start_build_objectname: monitor-gating-build
|
||||
tags:
|
||||
- build
|
||||
|
||||
|
|
|
@ -80,8 +80,9 @@
|
|||
haproxy.router.openshift.io/set-forwarded-headers: append
|
||||
|
||||
- role: openshift/start-build
|
||||
buildname: mote
|
||||
objectname: mote
|
||||
start_build_app: mote
|
||||
start_build_buildname: mote
|
||||
start_build_objectname: mote
|
||||
|
||||
#
|
||||
###############################################
|
||||
|
|
|
@ -107,8 +107,8 @@
|
|||
object_objectname: deploymentconfig.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: noggin-centos
|
||||
buildname: noggin
|
||||
start_build_app: noggin-centos
|
||||
start_build_buildname: noggin
|
||||
tags:
|
||||
- never
|
||||
- build
|
||||
|
|
|
@ -102,8 +102,8 @@
|
|||
object_objectname: deploymentconfig.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: noggin
|
||||
buildname: noggin
|
||||
start_build_app: noggin
|
||||
start_build_buildname: noggin
|
||||
tags:
|
||||
- never
|
||||
- build
|
||||
|
|
|
@ -59,7 +59,8 @@
|
|||
object_objectname: deployment.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
buildname: openvpn
|
||||
start_build_app: openvpn
|
||||
start_build_buildname: openvpn
|
||||
|
||||
###############################################
|
||||
# actions to delete the project from OpenShift
|
||||
|
|
|
@ -123,6 +123,6 @@
|
|||
haproxy.router.openshift.io/set-forwarded-headers: append
|
||||
|
||||
- role: openshift/start-build
|
||||
app: oraculum
|
||||
buildname: packager-dashboard-build
|
||||
objectname: packager-dashboard-build
|
||||
start_build_app: oraculum
|
||||
start_build_buildname: packager-dashboard-build
|
||||
start_build_objectname: packager-dashboard-build
|
||||
|
|
|
@ -43,8 +43,8 @@
|
|||
object_template: buildconfig.yml
|
||||
object_objectname: buildconfig.yml
|
||||
- role: openshift/start-build
|
||||
app: release-monitoring
|
||||
buildname: release-monitoring-web-build
|
||||
start_build_app: release-monitoring
|
||||
start_build_buildname: release-monitoring-web-build
|
||||
- role: openshift/object
|
||||
object_app: release-monitoring
|
||||
object_template: configmap.yml
|
||||
|
|
|
@ -34,8 +34,8 @@
|
|||
object_template: pvc.yml
|
||||
object_objectname: pvc.yml
|
||||
- role: openshift/start-build
|
||||
app: review-stats
|
||||
buildname: builder-build
|
||||
start_build_app: review-stats
|
||||
start_build_buildname: builder-build
|
||||
- role: openshift/object
|
||||
object_app: review-stats
|
||||
object_template: cron.yml
|
||||
|
|
|
@ -100,6 +100,6 @@
|
|||
route_servicename: testdays
|
||||
|
||||
- role: openshift/start-build
|
||||
app: testdays
|
||||
buildname: testdays-build
|
||||
objectname: testdays-build
|
||||
start_build_app: testdays
|
||||
start_build_buildname: testdays-build
|
||||
start_build_objectname: testdays-build
|
||||
|
|
|
@ -84,9 +84,9 @@
|
|||
object_objectname: configmap.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: the-new-hotness
|
||||
buildname: the-new-hotness-build
|
||||
objectname: the-new-hotness-build
|
||||
start_build_app: the-new-hotness
|
||||
start_build_buildname: the-new-hotness-build
|
||||
start_build_objectname: the-new-hotness-build
|
||||
|
||||
- role: openshift/object
|
||||
object_app: the-new-hotness
|
||||
|
|
|
@ -115,6 +115,6 @@
|
|||
object_objectname: imagestream.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: toddlers
|
||||
buildname: toddlers-build
|
||||
objectname: toddlers-build
|
||||
start_build_app: toddlers
|
||||
start_build_buildname: toddlers-build
|
||||
start_build_objectname: toddlers-build
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
object_template: buildconfig.yml
|
||||
object_objectname: buildconfig.yml
|
||||
- role: openshift/start-build
|
||||
app: transtats
|
||||
buildname: transtats-build
|
||||
start_build_app: transtats
|
||||
start_build_buildname: transtats-build
|
||||
- role: openshift/object
|
||||
object_app: transtats
|
||||
object_file: service.yml
|
||||
|
|
|
@ -114,8 +114,8 @@
|
|||
object_objectname: deploymentconfig.yml
|
||||
|
||||
# - role: openshift/start-build
|
||||
# app: webhook2fedmsg
|
||||
# buildname: webhook2fedmsg
|
||||
# start_build_app: webhook2fedmsg
|
||||
# start_build_buildname: webhook2fedmsg
|
||||
# tags:
|
||||
# - never
|
||||
# - build
|
||||
|
|
|
@ -36,9 +36,9 @@
|
|||
object_objectname: fedora-websites-bc.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: websites
|
||||
buildname: fedora-websites
|
||||
objectname: fedora-websites
|
||||
start_build_app: websites
|
||||
start_build_buildname: fedora-websites
|
||||
start_build_objectname: fedora-websites
|
||||
|
||||
- role: openshift/object
|
||||
object_app: websites
|
||||
|
@ -56,9 +56,9 @@
|
|||
object_objectname: buildconfig.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: websites
|
||||
buildname: websites-build
|
||||
objectname: websites-build
|
||||
start_build_app: websites
|
||||
start_build_buildname: websites-build
|
||||
start_build_objectname: websites-build
|
||||
|
||||
- role: openshift/object
|
||||
object_app: websites
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
object_objectname: buildconfig.yml
|
||||
object_file: buildconfig.yml
|
||||
- role: openshift/start-build
|
||||
app: zezere
|
||||
buildname: zezere-build
|
||||
start_build_app: zezere
|
||||
start_build_buildname: zezere-build
|
||||
- role: openshift/object
|
||||
object_app: zezere
|
||||
object_file: service.yml
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
- name: Run `oc start-build`
|
||||
shell: oc -n {{app}} start-build {{buildname}}
|
||||
shell: oc -n {{start_build_app}} start-build {{start_build_buildname}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue