Prefix openshift/start-build

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-11-28 18:14:04 +01:00
parent 560a31ef5b
commit a36b40eec8
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
39 changed files with 97 additions and 95 deletions

View file

@ -164,8 +164,8 @@
- import_role: - import_role:
name: openshift/start-build name: openshift/start-build
vars: vars:
app: bodhi start_build_app: bodhi
buildname: bodhi-base start_build_buildname: bodhi-base
when: env != "staging" when: env != "staging"
post_tasks: post_tasks:

View file

@ -28,9 +28,9 @@
object_objectname: buildconfig.yml object_objectname: buildconfig.yml
- role: openshift/start-build - role: openshift/start-build
app: asknot start_build_app: asknot
buildname: asknot-build start_build_buildname: asknot-build
objectname: asknot-build start_build_objectname: asknot-build
- role: openshift/object - role: openshift/object
object_app: asknot object_app: asknot

View file

@ -195,8 +195,8 @@
object_objectname: cron-update-rules.yml object_objectname: cron-update-rules.yml
- role: openshift/start-build - role: openshift/start-build
app: badges start_build_app: badges
buildname: "{{ item }}" start_build_buildname: "{{ item }}"
loop: loop:
- fedbadges - fedbadges
- tahrir - tahrir

View file

@ -134,6 +134,6 @@
haproxy.router.openshift.io/set-forwarded-headers: append haproxy.router.openshift.io/set-forwarded-headers: append
- role: openshift/start-build - role: openshift/start-build
app: blockerbugs start_build_app: blockerbugs
buildname: blockerbugs-build start_build_buildname: blockerbugs-build
objectname: blockerbugs-build start_build_objectname: blockerbugs-build

View file

@ -106,8 +106,8 @@
object_template: buildconfig.yml object_template: buildconfig.yml
object_objectname: buildconfig.yml object_objectname: buildconfig.yml
- role: openshift/start-build - role: openshift/start-build
app: bodhi start_build_app: bodhi
buildname: bodhi-base start_build_buildname: bodhi-base
- role: openshift/object - role: openshift/object
object_app: bodhi object_app: bodhi
object_template_fullpath: "{{roles_path}}/bodhi2/base/templates/configmap.yml" object_template_fullpath: "{{roles_path}}/bodhi2/base/templates/configmap.yml"

View file

@ -122,9 +122,9 @@
object_objectname: container-secrets.yml object_objectname: container-secrets.yml
- role: openshift/start-build - role: openshift/start-build
app: cloud-image-uploader start_build_app: cloud-image-uploader
buildname: cloud-image-uploader-build start_build_buildname: cloud-image-uploader-build
objectname: cloud-image-uploader-build start_build_objectname: cloud-image-uploader-build
- role: openshift/object - role: openshift/object
object_app: cloud-image-uploader object_app: cloud-image-uploader

View file

@ -36,9 +36,9 @@
object_objectname: buildconfig.yml object_objectname: buildconfig.yml
- role: openshift/start-build - role: openshift/start-build
app: compose-tracker start_build_app: compose-tracker
buildname: compose-tracker-build start_build_buildname: compose-tracker-build
objectname: compose-tracker-build start_build_objectname: compose-tracker-build
- role: openshift/object - role: openshift/object
object_app: compose-tracker object_app: compose-tracker

View file

@ -50,9 +50,9 @@
object_objectname: buildconfig.yml object_objectname: buildconfig.yml
- role: openshift/start-build - role: openshift/start-build
app: coreos-koji-tagger start_build_app: coreos-koji-tagger
buildname: coreos-koji-tagger-build start_build_buildname: coreos-koji-tagger-build
objectname: coreos-koji-tagger-build start_build_objectname: coreos-koji-tagger-build
- role: openshift/object - role: openshift/object
object_app: coreos-koji-tagger object_app: coreos-koji-tagger

View file

@ -101,8 +101,8 @@
object_objectname: deploymentconfig.yml object_objectname: deploymentconfig.yml
# - role: openshift/start-build # - role: openshift/start-build
# app: datagrepper # start_build_app: datagrepper
# buildname: datagrepper # start_build_buildname: datagrepper
# - role: openshift/rollout # - role: openshift/rollout
# rollout_app: datagrepper # rollout_app: datagrepper

View file

@ -72,8 +72,8 @@
object_objectname: deploymentconfig.yml object_objectname: deploymentconfig.yml
# - role: openshift/start-build # - role: openshift/start-build
# app: discourse2fedmsg # start_build_app: discourse2fedmsg
# buildname: discourse2fedmsg # start_build_buildname: discourse2fedmsg
# tags: # tags:
# - never # - never
# - build # - build

View file

@ -38,8 +38,8 @@
object_template: buildconfig.yml object_template: buildconfig.yml
- role: openshift/start-build - role: openshift/start-build
app: docsbuilding start_build_app: docsbuilding
buildname: builder-build start_build_buildname: builder-build
- role: openshift/object - role: openshift/object
object_app: docsbuilding object_app: docsbuilding

View file

@ -43,7 +43,7 @@
ansible.builtin.include_role: ansible.builtin.include_role:
name: openshift/start-build name: openshift/start-build
vars: vars:
buildname: docstranslation-build start_build_buildname: docstranslation-build
- name: Define secrets - name: Define secrets
ansible.builtin.include_role: ansible.builtin.include_role:

View file

@ -93,9 +93,9 @@
object_objectname: configmap.yml object_objectname: configmap.yml
- role: openshift/start-build - role: openshift/start-build
app: elections start_build_app: elections
buildname: elections-build start_build_buildname: elections-build
objectname: elections-build start_build_objectname: elections-build
- role: openshift/object - role: openshift/object
object_app: elections object_app: elections

View file

@ -111,8 +111,8 @@
object_objectname: deploymentconfig.yml object_objectname: deploymentconfig.yml
# - role: openshift/start-build # - role: openshift/start-build
# app: fasjson # start_build_app: fasjson
# buildname: fasjson # start_build_buildname: fasjson
# - role: openshift/rollout # - role: openshift/rollout
# rollout_app: noggin # rollout_app: noggin

View file

@ -59,9 +59,9 @@
object_objectname: configmap.yml object_objectname: configmap.yml
- role: openshift/start-build - role: openshift/start-build
app: fedocal start_build_app: fedocal
buildname: fedocal-build start_build_buildname: fedocal-build
objectname: fedocal-build start_build_objectname: fedocal-build
- role: openshift/object - role: openshift/object
object_app: fedocal object_app: fedocal

View file

@ -38,9 +38,9 @@
object_objectname: configmap.yml object_objectname: configmap.yml
- role: openshift/start-build - role: openshift/start-build
app: fedora-packages-static start_build_app: fedora-packages-static
buildname: fedora-packages-static-build start_build_buildname: fedora-packages-static-build
objectname: fedora-packages-static-build start_build_objectname: fedora-packages-static-build
- role: openshift/object - role: openshift/object
object_app: fedora-packages-static object_app: fedora-packages-static

View file

@ -45,9 +45,9 @@
object_objectname: configmap.yml object_objectname: configmap.yml
- role: openshift/start-build - role: openshift/start-build
app: flatpak-indexer start_build_app: flatpak-indexer
# This will trigger the main build via a imageChange trigger # 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 - role: openshift/object
object_app: flatpak-indexer object_app: flatpak-indexer

View file

@ -124,6 +124,6 @@
route_servicename: kanban-web route_servicename: kanban-web
- role: openshift/start-build - role: openshift/start-build
app: kanban start_build_app: kanban
buildname: kanban-build start_build_buildname: kanban-build
objectname: kanban-build start_build_objectname: kanban-build

View file

@ -28,8 +28,8 @@
object_template: buildconfig.yml object_template: buildconfig.yml
- role: openshift/start-build - role: openshift/start-build
app: languages start_build_app: languages
buildname: build-latest start_build_buildname: build-latest
- role: openshift/object - role: openshift/object
object_app: languages object_app: languages

View file

@ -91,9 +91,9 @@
secret_file_privatefile: "rabbitmq/{{env}}/pki/ca.crt" secret_file_privatefile: "rabbitmq/{{env}}/pki/ca.crt"
- role: openshift/start-build - role: openshift/start-build
app: maubot start_build_app: maubot
buildname: maubot-build start_build_buildname: maubot-build
objectname: maubot-build start_build_objectname: maubot-build
- role: openshift/object - role: openshift/object
object_app: maubot object_app: maubot

View file

@ -67,9 +67,9 @@
- cron-job - cron-job
- role: openshift/start-build - role: openshift/start-build
app: mdapi start_build_app: mdapi
buildname: mdapi-build start_build_buildname: mdapi-build
objectname: mdapi-build start_build_objectname: mdapi-build
- role: openshift/object - role: openshift/object
object_app: mdapi object_app: mdapi

View file

@ -132,8 +132,8 @@
object_objectname: buildconfig.yml object_objectname: buildconfig.yml
- role: openshift/start-build - role: openshift/start-build
app: messaging-bridges start_build_app: messaging-bridges
buildname: messaging-bridges-build start_build_buildname: messaging-bridges-build
- role: openshift/object - role: openshift/object
object_app: messaging-bridges object_app: messaging-bridges

View file

@ -165,8 +165,8 @@
object_objectname: cron-primary-mirror.yml object_objectname: cron-primary-mirror.yml
- role: openshift/start-build - role: openshift/start-build
app: mirrormanager start_build_app: mirrormanager
buildname: mm start_build_buildname: mm
tags: tags:
- never - never
- build - build

View file

@ -80,9 +80,9 @@
object_objectname: deploymentconfig.yml object_objectname: deploymentconfig.yml
- role: openshift/start-build - role: openshift/start-build
app: monitor-gating start_build_app: monitor-gating
buildname: monitor-gating-build start_build_buildname: monitor-gating-build
objectname: monitor-gating-build start_build_objectname: monitor-gating-build
tags: tags:
- build - build

View file

@ -80,8 +80,9 @@
haproxy.router.openshift.io/set-forwarded-headers: append haproxy.router.openshift.io/set-forwarded-headers: append
- role: openshift/start-build - role: openshift/start-build
buildname: mote start_build_app: mote
objectname: mote start_build_buildname: mote
start_build_objectname: mote
# #
############################################### ###############################################

View file

@ -107,8 +107,8 @@
object_objectname: deploymentconfig.yml object_objectname: deploymentconfig.yml
- role: openshift/start-build - role: openshift/start-build
app: noggin-centos start_build_app: noggin-centos
buildname: noggin start_build_buildname: noggin
tags: tags:
- never - never
- build - build

View file

@ -102,8 +102,8 @@
object_objectname: deploymentconfig.yml object_objectname: deploymentconfig.yml
- role: openshift/start-build - role: openshift/start-build
app: noggin start_build_app: noggin
buildname: noggin start_build_buildname: noggin
tags: tags:
- never - never
- build - build

View file

@ -59,7 +59,8 @@
object_objectname: deployment.yml object_objectname: deployment.yml
- role: openshift/start-build - role: openshift/start-build
buildname: openvpn start_build_app: openvpn
start_build_buildname: openvpn
############################################### ###############################################
# actions to delete the project from OpenShift # actions to delete the project from OpenShift

View file

@ -123,6 +123,6 @@
haproxy.router.openshift.io/set-forwarded-headers: append haproxy.router.openshift.io/set-forwarded-headers: append
- role: openshift/start-build - role: openshift/start-build
app: oraculum start_build_app: oraculum
buildname: packager-dashboard-build start_build_buildname: packager-dashboard-build
objectname: packager-dashboard-build start_build_objectname: packager-dashboard-build

View file

@ -43,8 +43,8 @@
object_template: buildconfig.yml object_template: buildconfig.yml
object_objectname: buildconfig.yml object_objectname: buildconfig.yml
- role: openshift/start-build - role: openshift/start-build
app: release-monitoring start_build_app: release-monitoring
buildname: release-monitoring-web-build start_build_buildname: release-monitoring-web-build
- role: openshift/object - role: openshift/object
object_app: release-monitoring object_app: release-monitoring
object_template: configmap.yml object_template: configmap.yml

View file

@ -34,8 +34,8 @@
object_template: pvc.yml object_template: pvc.yml
object_objectname: pvc.yml object_objectname: pvc.yml
- role: openshift/start-build - role: openshift/start-build
app: review-stats start_build_app: review-stats
buildname: builder-build start_build_buildname: builder-build
- role: openshift/object - role: openshift/object
object_app: review-stats object_app: review-stats
object_template: cron.yml object_template: cron.yml

View file

@ -100,6 +100,6 @@
route_servicename: testdays route_servicename: testdays
- role: openshift/start-build - role: openshift/start-build
app: testdays start_build_app: testdays
buildname: testdays-build start_build_buildname: testdays-build
objectname: testdays-build start_build_objectname: testdays-build

View file

@ -84,9 +84,9 @@
object_objectname: configmap.yml object_objectname: configmap.yml
- role: openshift/start-build - role: openshift/start-build
app: the-new-hotness start_build_app: the-new-hotness
buildname: the-new-hotness-build start_build_buildname: the-new-hotness-build
objectname: the-new-hotness-build start_build_objectname: the-new-hotness-build
- role: openshift/object - role: openshift/object
object_app: the-new-hotness object_app: the-new-hotness

View file

@ -115,6 +115,6 @@
object_objectname: imagestream.yml object_objectname: imagestream.yml
- role: openshift/start-build - role: openshift/start-build
app: toddlers start_build_app: toddlers
buildname: toddlers-build start_build_buildname: toddlers-build
objectname: toddlers-build start_build_objectname: toddlers-build

View file

@ -27,8 +27,8 @@
object_template: buildconfig.yml object_template: buildconfig.yml
object_objectname: buildconfig.yml object_objectname: buildconfig.yml
- role: openshift/start-build - role: openshift/start-build
app: transtats start_build_app: transtats
buildname: transtats-build start_build_buildname: transtats-build
- role: openshift/object - role: openshift/object
object_app: transtats object_app: transtats
object_file: service.yml object_file: service.yml

View file

@ -114,8 +114,8 @@
object_objectname: deploymentconfig.yml object_objectname: deploymentconfig.yml
# - role: openshift/start-build # - role: openshift/start-build
# app: webhook2fedmsg # start_build_app: webhook2fedmsg
# buildname: webhook2fedmsg # start_build_buildname: webhook2fedmsg
# tags: # tags:
# - never # - never
# - build # - build

View file

@ -36,9 +36,9 @@
object_objectname: fedora-websites-bc.yml object_objectname: fedora-websites-bc.yml
- role: openshift/start-build - role: openshift/start-build
app: websites start_build_app: websites
buildname: fedora-websites start_build_buildname: fedora-websites
objectname: fedora-websites start_build_objectname: fedora-websites
- role: openshift/object - role: openshift/object
object_app: websites object_app: websites
@ -56,9 +56,9 @@
object_objectname: buildconfig.yml object_objectname: buildconfig.yml
- role: openshift/start-build - role: openshift/start-build
app: websites start_build_app: websites
buildname: websites-build start_build_buildname: websites-build
objectname: websites-build start_build_objectname: websites-build
- role: openshift/object - role: openshift/object
object_app: websites object_app: websites

View file

@ -23,8 +23,8 @@
object_objectname: buildconfig.yml object_objectname: buildconfig.yml
object_file: buildconfig.yml object_file: buildconfig.yml
- role: openshift/start-build - role: openshift/start-build
app: zezere start_build_app: zezere
buildname: zezere-build start_build_buildname: zezere-build
- role: openshift/object - role: openshift/object
object_app: zezere object_app: zezere
object_file: service.yml object_file: service.yml

View file

@ -1,3 +1,3 @@
--- ---
- name: Run `oc start-build` - name: Run `oc start-build`
shell: oc -n {{app}} start-build {{buildname}} shell: oc -n {{start_build_app}} start-build {{start_build_buildname}}