[ansible-lint] prefix variable names for openshift/project role
ansible-lint requires that variables for roles are prefixed with the name of the role. This commit prefixes the rvariables for the openshift/project role with project_ as required by ansible-lint Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
parent
c3ef59647d
commit
01ace51513
68 changed files with 227 additions and 227 deletions
|
@ -12,9 +12,9 @@
|
|||
roles:
|
||||
# oc new-project application-monitoring
|
||||
- role: openshift/project
|
||||
app: application-monitoring
|
||||
description: Hosts the application monitoring operator
|
||||
appowners:
|
||||
project_app: application-monitoring
|
||||
project_description: Hosts the application monitoring operator
|
||||
project_appowners:
|
||||
- asaleh
|
||||
- siddharthvipul1
|
||||
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: asknot
|
||||
description: What can I do for Fedora
|
||||
appowners:
|
||||
project_app: asknot
|
||||
project_description: What can I do for Fedora
|
||||
project_appowners:
|
||||
- zlopez
|
||||
- kevin
|
||||
|
||||
|
|
|
@ -84,9 +84,9 @@
|
|||
- rabbitmq_cluster
|
||||
|
||||
- role: openshift/project
|
||||
app: badges
|
||||
description: "Badges"
|
||||
appowners:
|
||||
project_app: badges
|
||||
project_description: "Badges"
|
||||
project_appowners:
|
||||
- abompard
|
||||
- nphilipp
|
||||
- ryanlerch
|
||||
|
|
|
@ -76,12 +76,12 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: blockerbugs
|
||||
description: Blockerbugs
|
||||
appowners:
|
||||
project_app: blockerbugs
|
||||
project_description: Blockerbugs
|
||||
project_appowners:
|
||||
- frantisekz
|
||||
- adamwill
|
||||
alert_users:
|
||||
project_alert_users:
|
||||
- frantisekz
|
||||
tags:
|
||||
- appowners
|
||||
|
|
|
@ -42,9 +42,9 @@
|
|||
sent_topics: "{{ bodhi_sent_topics }}"
|
||||
|
||||
- role: openshift/project
|
||||
app: bodhi
|
||||
description: bodhi
|
||||
appowners:
|
||||
project_app: bodhi
|
||||
project_description: bodhi
|
||||
project_appowners:
|
||||
- abompard
|
||||
- mattia
|
||||
- patrikp
|
||||
|
@ -55,9 +55,9 @@
|
|||
- apply-appowners
|
||||
when: env == "production"
|
||||
- role: openshift/project
|
||||
app: bodhi
|
||||
description: bodhi
|
||||
appowners:
|
||||
project_app: bodhi
|
||||
project_description: bodhi
|
||||
project_appowners:
|
||||
- abompard
|
||||
- ryanlerch
|
||||
- mattia
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
sent_topics: ^org\.fedoraproject\.{{ env_short }}\.bugzilla\..*
|
||||
|
||||
- role: openshift/project
|
||||
app: bugzilla2fedmsg
|
||||
description: bugzilla2fedmsg
|
||||
appowners:
|
||||
project_app: bugzilla2fedmsg
|
||||
project_description: bugzilla2fedmsg
|
||||
project_appowners:
|
||||
- abompard
|
||||
- kevin
|
||||
tags:
|
||||
|
|
|
@ -24,9 +24,9 @@
|
|||
critical: 50
|
||||
|
||||
- role: openshift/project
|
||||
app: cloud-image-uploader
|
||||
description: AMQP consumer that uploads Cloud images to cloud providers
|
||||
appowners:
|
||||
project_app: cloud-image-uploader
|
||||
project_description: AMQP consumer that uploads Cloud images to cloud providers
|
||||
project_appowners:
|
||||
- jcline
|
||||
|
||||
- role: openshift/object
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: compose-tracker
|
||||
description: Opens issues for failed Composes against https://pagure.io/releng/failed-composes/
|
||||
appowners:
|
||||
project_app: compose-tracker
|
||||
project_description: Opens issues for failed Composes against https://pagure.io/releng/failed-composes/
|
||||
project_appowners:
|
||||
- dustymabe
|
||||
- mizdebsk
|
||||
- humaton
|
||||
|
|
|
@ -22,9 +22,9 @@
|
|||
# to run: sudo rbac-playbook -l os_control_stg openshift-apps/coreos-cincinnati.yml
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: coreos-cincinnati
|
||||
description: Fedora CoreOS Cincinnati backend
|
||||
appowners:
|
||||
project_app: coreos-cincinnati
|
||||
project_description: Fedora CoreOS Cincinnati backend
|
||||
project_appowners:
|
||||
- jlebon
|
||||
- dustymabe
|
||||
- siosm
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
# to run: sudo rbac-playbook -l os_control_stg openshift-apps/coreos-koji-tagger.yml
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: coreos-koji-tagger
|
||||
description: Tags builds into koji tags within Fedora's Koji instance
|
||||
appowners:
|
||||
project_app: coreos-koji-tagger
|
||||
project_description: Tags builds into koji tags within Fedora's Koji instance
|
||||
project_appowners:
|
||||
- c4rt0
|
||||
- dustymabe
|
||||
- jlebon
|
||||
|
|
|
@ -35,9 +35,9 @@
|
|||
# to run: sudo rbac-playbook -l os_control_stg openshift-apps/coreos-ostree-importer.yml
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: coreos-ostree-importer
|
||||
description: Imports OSTree commits into Fedora from the Fedora CoreOS pipeline
|
||||
appowners:
|
||||
project_app: coreos-ostree-importer
|
||||
project_description: Imports OSTree commits into Fedora from the Fedora CoreOS pipeline
|
||||
project_appowners:
|
||||
- dustymabe
|
||||
- jlebon
|
||||
- kevin
|
||||
|
|
|
@ -38,9 +38,9 @@
|
|||
roles:
|
||||
|
||||
- role: openshift/project
|
||||
app: datagrepper
|
||||
description: "Query the message history"
|
||||
appowners:
|
||||
project_app: datagrepper
|
||||
project_description: "Query the message history"
|
||||
project_appowners:
|
||||
- abompard
|
||||
- ryanlerch
|
||||
- kevin
|
||||
|
@ -48,9 +48,9 @@
|
|||
- apply-appowners
|
||||
when: env == "production"
|
||||
- role: openshift/project
|
||||
app: datagrepper
|
||||
description: "Query the message history"
|
||||
appowners:
|
||||
project_app: datagrepper
|
||||
project_description: "Query the message history"
|
||||
project_appowners:
|
||||
- abompard
|
||||
- ryanlerch
|
||||
- james02135
|
||||
|
|
|
@ -22,9 +22,9 @@
|
|||
sent_topics: ^$
|
||||
|
||||
- role: openshift/project
|
||||
app: datanommer
|
||||
description: "Fedora messaging consumer"
|
||||
appowners:
|
||||
project_app: datanommer
|
||||
project_description: "Fedora messaging consumer"
|
||||
project_appowners:
|
||||
- abompard
|
||||
- ryanlerch
|
||||
- james02135
|
||||
|
@ -35,9 +35,9 @@
|
|||
when: env == "production"
|
||||
|
||||
- role: openshift/project
|
||||
app: datanommer
|
||||
description: "Fedora messaging consumer"
|
||||
appowners:
|
||||
project_app: datanommer
|
||||
project_description: "Fedora messaging consumer"
|
||||
project_appowners:
|
||||
- abompard
|
||||
- ryanlerch
|
||||
- james02135
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
sent_topics: ^org\.fedoraproject\.{{ env_short }}\.discourse\..*
|
||||
|
||||
- role: openshift/project
|
||||
app: discourse2fedmsg
|
||||
description: "Relay Discourse webhooks to Fedora Messaging"
|
||||
appowners:
|
||||
project_app: discourse2fedmsg
|
||||
project_description: "Relay Discourse webhooks to Fedora Messaging"
|
||||
project_appowners:
|
||||
- ryanlerch
|
||||
- abompard
|
||||
- kevin
|
||||
|
|
|
@ -11,16 +11,16 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: docsbuilding
|
||||
description: Documentation building
|
||||
alerting: true
|
||||
appowners:
|
||||
project_app: docsbuilding
|
||||
project_description: Documentation building
|
||||
project_alerting: true
|
||||
project_appowners:
|
||||
- asamalik
|
||||
- jibecfed
|
||||
- dustymabe
|
||||
- darknao
|
||||
- pbokoc
|
||||
alert_users:
|
||||
project_alert_users:
|
||||
- darknao
|
||||
- pbokoc
|
||||
- kevin
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
ansible.builtin.include_role:
|
||||
name: openshift/project
|
||||
vars:
|
||||
description: Documentation translation
|
||||
appowners:
|
||||
project_description: Documentation translation
|
||||
project_appowners:
|
||||
- asamalik
|
||||
- darknao
|
||||
- jibecfed
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: easyfix
|
||||
description: "Easyfixes"
|
||||
appowners:
|
||||
project_app: easyfix
|
||||
project_description: "Easyfixes"
|
||||
project_appowners:
|
||||
- abompard
|
||||
tags:
|
||||
- apply-appowners
|
||||
|
|
|
@ -37,9 +37,9 @@
|
|||
sent_topics: ^org\.fedoraproject\.{{ env_short }}\.fedora_elections\..*
|
||||
|
||||
- role: openshift/project
|
||||
app: elections
|
||||
description: Fedora Elections apps
|
||||
appowners:
|
||||
project_app: elections
|
||||
project_description: Fedora Elections apps
|
||||
project_appowners:
|
||||
- bcotton
|
||||
tags:
|
||||
- appowners
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: fasjson
|
||||
description: "Accounts API"
|
||||
appowners:
|
||||
project_app: fasjson
|
||||
project_description: "Accounts API"
|
||||
project_appowners:
|
||||
- abompard
|
||||
- nils
|
||||
- ryanlerch
|
||||
|
@ -24,9 +24,9 @@
|
|||
- apply-appowners
|
||||
when: env == "production"
|
||||
- role: openshift/project
|
||||
app: fasjson
|
||||
description: "Accounts API"
|
||||
appowners:
|
||||
project_app: fasjson
|
||||
project_description: "Accounts API"
|
||||
project_appowners:
|
||||
- abompard
|
||||
- nils
|
||||
- ryanlerch
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
sent_topics: ^org\.fedoraproject\.{{ env_short }}\.fedocal\..*
|
||||
|
||||
- role: openshift/project
|
||||
app: fedocal
|
||||
description: Fedora calendar apps
|
||||
appowners:
|
||||
project_app: fedocal
|
||||
project_description: Fedora calendar apps
|
||||
project_appowners:
|
||||
- kevin
|
||||
|
||||
- role: openshift/object
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
# to run: sudo rbac-playbook -l os_control_stg openshift-apps/fedora-ostree-pruner.yml
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: fedora-ostree-pruner
|
||||
description: Prunes OSTree repositories based on policy
|
||||
appowners:
|
||||
project_app: fedora-ostree-pruner
|
||||
project_description: Prunes OSTree repositories based on policy
|
||||
project_appowners:
|
||||
- dustymabe
|
||||
- jlebon
|
||||
- kevin
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: fedora-packages-static
|
||||
description: Fedora fedora-packages-static apps
|
||||
appowners:
|
||||
project_app: fedora-packages-static
|
||||
project_description: Fedora fedora-packages-static apps
|
||||
project_appowners:
|
||||
- mymindstorm
|
||||
- kevin
|
||||
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: flask-oidc-dev
|
||||
description: "Authentication testing"
|
||||
appowners:
|
||||
project_app: flask-oidc-dev
|
||||
project_description: "Authentication testing"
|
||||
project_appowners:
|
||||
- abompard
|
||||
- dkirwan
|
||||
- jamricha
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: flatpak-indexer
|
||||
description: Fedora Flatpak Indexer apps
|
||||
appowners:
|
||||
project_app: flatpak-indexer
|
||||
project_description: Fedora Flatpak Indexer apps
|
||||
project_appowners:
|
||||
- otaylor
|
||||
- kevin
|
||||
- kalev
|
||||
|
|
|
@ -114,9 +114,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: fmn
|
||||
description: "Fedora Messaging Notifications"
|
||||
appowners:
|
||||
project_app: fmn
|
||||
project_description: "Fedora Messaging Notifications"
|
||||
project_appowners:
|
||||
- abompard
|
||||
- ryanlerch
|
||||
- nphilipp
|
||||
|
|
|
@ -19,9 +19,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: greenwave
|
||||
description: greenwave
|
||||
appowners:
|
||||
project_app: greenwave
|
||||
project_description: greenwave
|
||||
project_appowners:
|
||||
- lholecek
|
||||
- vmaljulin
|
||||
- kevin
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: ipsilon-website
|
||||
description: "ipsilon-project.org"
|
||||
appowners:
|
||||
project_app: ipsilon-website
|
||||
project_description: "ipsilon-project.org"
|
||||
project_appowners:
|
||||
- abompard
|
||||
tags:
|
||||
- apply-appowners
|
||||
|
|
|
@ -76,12 +76,12 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: kanban
|
||||
description: kanban
|
||||
appowners:
|
||||
project_app: kanban
|
||||
project_description: kanban
|
||||
project_appowners:
|
||||
- frantisekz
|
||||
- jskladan
|
||||
alert_users:
|
||||
project_alert_users:
|
||||
- frantisekz
|
||||
tags:
|
||||
- apply-appowners
|
||||
|
|
|
@ -44,9 +44,9 @@
|
|||
sent_topics: ^org\.fedoraproject\.{{ env_short }}\.kerneltest\..*
|
||||
|
||||
- role: openshift/project
|
||||
app: kerneltest
|
||||
description: kerneltest
|
||||
appowners:
|
||||
project_app: kerneltest
|
||||
project_description: kerneltest
|
||||
project_appowners:
|
||||
- pingou
|
||||
- ryanlerch
|
||||
tags:
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: languages
|
||||
description: Localization measurement and tooling
|
||||
appowners:
|
||||
project_app: languages
|
||||
project_description: Localization measurement and tooling
|
||||
project_appowners:
|
||||
- darknao
|
||||
- jibecfed
|
||||
|
||||
|
|
|
@ -36,9 +36,9 @@
|
|||
sent_topics: ^org\.fedoraproject\.{{ env_short }}\.(meetbot|maubot)\..*
|
||||
|
||||
- role: openshift/project
|
||||
app: maubot
|
||||
description: Maubot
|
||||
appowners:
|
||||
project_app: maubot
|
||||
project_description: Maubot
|
||||
project_appowners:
|
||||
- ryanlerch
|
||||
- kevin
|
||||
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
sent_topics: ^org\.fedoraproject\.{{ env_short }}\.mdapi\..*
|
||||
|
||||
- role: openshift/project
|
||||
app: mdapi
|
||||
description: mdapi is a small API exposing the metadata contained in different RPM repositories.
|
||||
appowners:
|
||||
project_app: mdapi
|
||||
project_description: mdapi is a small API exposing the metadata contained in different RPM repositories.
|
||||
project_appowners:
|
||||
- t0xic0der
|
||||
- kevin
|
||||
|
||||
|
|
|
@ -87,9 +87,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: messaging-bridges
|
||||
description: "ZeroMQ <-> AMQP bridges"
|
||||
appowners:
|
||||
project_app: messaging-bridges
|
||||
project_description: "ZeroMQ <-> AMQP bridges"
|
||||
project_appowners:
|
||||
- abompard
|
||||
- kevin
|
||||
tags:
|
||||
|
|
|
@ -46,13 +46,13 @@
|
|||
- rabbitmq_cluster
|
||||
|
||||
- role: openshift/project
|
||||
app: mirrormanager
|
||||
description: "MirrorManager"
|
||||
appowners:
|
||||
project_app: mirrormanager
|
||||
project_description: "MirrorManager"
|
||||
project_appowners:
|
||||
- abompard
|
||||
- nphilipp
|
||||
- adrian
|
||||
allow_pod_creation: true
|
||||
project_allow_pod_creation: true
|
||||
tags:
|
||||
- apply-appowners
|
||||
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: monitor-dashboard
|
||||
description: POC for the dashboards
|
||||
appowners:
|
||||
project_app: monitor-dashboard
|
||||
project_description: POC for the dashboards
|
||||
project_appowners:
|
||||
- nphilipp
|
||||
- asaleh
|
||||
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: monitor-gating
|
||||
description: Monitor the packager and gating workflow
|
||||
appowners:
|
||||
project_app: monitor-gating
|
||||
project_description: Monitor the packager and gating workflow
|
||||
project_appowners:
|
||||
- nphilipp
|
||||
- zlopez
|
||||
- patrikp
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
description: Mote v2
|
||||
appowners:
|
||||
project_description: Mote v2
|
||||
project_appowners:
|
||||
- darknao
|
||||
- t0xic0der
|
||||
- ryanlerch
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
sent_topics: ^org\.fedoraproject\.{{ env_short }}\.fas\..*
|
||||
|
||||
- role: openshift/project
|
||||
app: noggin-centos
|
||||
description: "Self-service account portal"
|
||||
appowners:
|
||||
project_app: noggin-centos
|
||||
project_description: "Self-service account portal"
|
||||
project_appowners:
|
||||
- abompard
|
||||
- nils
|
||||
- ryanlerch
|
||||
|
@ -27,9 +27,9 @@
|
|||
- apply-appowners
|
||||
when: env == "production"
|
||||
- role: openshift/project
|
||||
app: noggin-centos
|
||||
description: "Self-service account portal"
|
||||
appowners:
|
||||
project_app: noggin-centos
|
||||
project_description: "Self-service account portal"
|
||||
project_appowners:
|
||||
- abompard
|
||||
- nils
|
||||
- ryanlerch
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
sent_topics: ^org\.fedoraproject\.{{ env_short }}\.fas\..*
|
||||
|
||||
- role: openshift/project
|
||||
app: noggin
|
||||
description: "Self-service account portal"
|
||||
appowners:
|
||||
project_app: noggin
|
||||
project_description: "Self-service account portal"
|
||||
project_appowners:
|
||||
- abompard
|
||||
- nils
|
||||
- ryanlerch
|
||||
|
@ -27,9 +27,9 @@
|
|||
- apply-appowners
|
||||
when: env == "production"
|
||||
- role: openshift/project
|
||||
app: noggin
|
||||
description: "Self-service account portal"
|
||||
appowners:
|
||||
project_app: noggin
|
||||
project_description: "Self-service account portal"
|
||||
project_appowners:
|
||||
- abompard
|
||||
- nils
|
||||
- ryanlerch
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: openscanhub
|
||||
description: openscanhub
|
||||
appowners:
|
||||
project_app: openscanhub
|
||||
project_description: openscanhub
|
||||
project_appowners:
|
||||
- praiskup
|
||||
- svashisht
|
||||
- kevin
|
||||
|
@ -32,9 +32,9 @@
|
|||
- apply-appowners
|
||||
when: env == "production"
|
||||
- role: openshift/project
|
||||
app: openscanhub
|
||||
description: openscanhub
|
||||
appowners:
|
||||
project_app: openscanhub
|
||||
project_description: openscanhub
|
||||
project_appowners:
|
||||
- praiskup
|
||||
- svashisht
|
||||
- kevin
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
description: Openvpn Client
|
||||
appowners:
|
||||
project_description: Openvpn Client
|
||||
project_appowners:
|
||||
- kevin
|
||||
tags:
|
||||
- apply-appowners
|
||||
|
|
|
@ -50,9 +50,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: oraculum
|
||||
description: Packager Dashboard
|
||||
appowners:
|
||||
project_app: oraculum
|
||||
project_description: Packager Dashboard
|
||||
project_appowners:
|
||||
- frantisekz
|
||||
- jskladan
|
||||
tags:
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: planet
|
||||
description: "Fedora Planet"
|
||||
appowners:
|
||||
project_app: planet
|
||||
project_description: "Fedora Planet"
|
||||
project_appowners:
|
||||
- phsmoura
|
||||
- kevin
|
||||
tags:
|
||||
|
|
|
@ -33,9 +33,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: poddlers
|
||||
description: Small fedora-messaging toddlers that keep running around in pods.
|
||||
appowners:
|
||||
project_app: poddlers
|
||||
project_description: Small fedora-messaging toddlers that keep running around in pods.
|
||||
project_appowners:
|
||||
- abompard
|
||||
- zlopez
|
||||
- kevin
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
username: "anitya{{ env_suffix }}"
|
||||
sent_topics: ^org\.release-monitoring\.{{ env_short }}\.anitya\..*
|
||||
- role: openshift/project
|
||||
app: release-monitoring
|
||||
description: release-monitoring
|
||||
appowners:
|
||||
project_app: release-monitoring
|
||||
project_description: release-monitoring
|
||||
project_appowners:
|
||||
- zlopez
|
||||
- role: openshift/secret-file
|
||||
app: release-monitoring
|
||||
|
|
|
@ -28,9 +28,9 @@
|
|||
# The openshift/project role breaks if the project already exists:
|
||||
# https://pagure.io/fedora-infrastructure/issue/6404
|
||||
- role: openshift/project
|
||||
app: resultsdb-ci-listener
|
||||
description: resultsdb-ci-listener
|
||||
appowners:
|
||||
project_app: resultsdb-ci-listener
|
||||
project_description: resultsdb-ci-listener
|
||||
project_appowners:
|
||||
- lholecek
|
||||
- vmaljulin
|
||||
- lrossett
|
||||
|
|
|
@ -45,9 +45,9 @@
|
|||
# The openshift/project role breaks if the project already exists:
|
||||
# https://pagure.io/fedora-infrastructure/issue/6404
|
||||
- role: openshift/project
|
||||
app: resultsdb
|
||||
description: resultsdb
|
||||
appowners:
|
||||
project_app: resultsdb
|
||||
project_description: resultsdb
|
||||
project_appowners:
|
||||
- lholecek
|
||||
- vmaljulin
|
||||
- lrossett
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: review-stats
|
||||
description: Generate HTML with statistics about Fedora review tickets
|
||||
appowners:
|
||||
project_app: review-stats
|
||||
project_description: Generate HTML with statistics about Fedora review tickets
|
||||
project_appowners:
|
||||
- mattia
|
||||
- kevin
|
||||
tags:
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: test-auth
|
||||
description: "Authentication testing"
|
||||
appowners:
|
||||
project_app: test-auth
|
||||
project_description: "Authentication testing"
|
||||
project_appowners:
|
||||
- abompard
|
||||
tags:
|
||||
- apply-appowners
|
||||
|
|
|
@ -64,9 +64,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: testdays
|
||||
description: The Fedora QE testdays application
|
||||
appowners:
|
||||
project_app: testdays
|
||||
project_description: The Fedora QE testdays application
|
||||
project_appowners:
|
||||
- frantisekz
|
||||
- jskladan
|
||||
tags:
|
||||
|
|
|
@ -24,9 +24,9 @@
|
|||
sent_topics: ^org\.fedoraproject\.{{ env_short }}\.hotness\..*
|
||||
|
||||
- role: openshift/project
|
||||
app: the-new-hotness
|
||||
description: Fedora-messaging consumer that listens to the-new-hotness.org and files bugzilla bugs in response.
|
||||
appowners:
|
||||
project_app: the-new-hotness
|
||||
project_description: Fedora-messaging consumer that listens to the-new-hotness.org and files bugzilla bugs in response.
|
||||
project_appowners:
|
||||
- zlopez
|
||||
|
||||
- role: openshift/keytab
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: toddlers
|
||||
description: Small fedora-messaging toddlers that keep running around
|
||||
appowners:
|
||||
project_app: toddlers
|
||||
project_description: Small fedora-messaging toddlers that keep running around
|
||||
project_appowners:
|
||||
- abompard
|
||||
- zlopez
|
||||
- kevin
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: transtats
|
||||
description: transtats
|
||||
appowners:
|
||||
project_app: transtats
|
||||
project_description: transtats
|
||||
project_appowners:
|
||||
- suanand
|
||||
- role: openshift/object
|
||||
app: transtats
|
||||
|
|
|
@ -48,9 +48,9 @@
|
|||
# The openshift/project role breaks if the project already exists:
|
||||
# https://pagure.io/fedora-infrastructure/issue/6404
|
||||
- role: openshift/project
|
||||
app: waiverdb
|
||||
description: waiverdb
|
||||
appowners:
|
||||
project_app: waiverdb
|
||||
project_description: waiverdb
|
||||
project_appowners:
|
||||
- lholecek
|
||||
- vmaljulin
|
||||
- kevin
|
||||
|
|
|
@ -39,9 +39,9 @@
|
|||
sent_topics: ^org\.fedoraproject\.{{ env_short }}\.(github|discourse)\..*
|
||||
|
||||
- role: openshift/project
|
||||
app: webhook2fedmsg
|
||||
description: "Relay webhooks to Fedora Messaging"
|
||||
appowners:
|
||||
project_app: webhook2fedmsg
|
||||
project_description: "Relay webhooks to Fedora Messaging"
|
||||
project_appowners:
|
||||
- ryanlerch
|
||||
- abompard
|
||||
- t0xic0der
|
||||
|
|
|
@ -12,10 +12,10 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: websites
|
||||
description: Fedora websites building
|
||||
alerting: true
|
||||
appowners:
|
||||
project_app: websites
|
||||
project_description: Fedora websites building
|
||||
project_alerting: true
|
||||
project_appowners:
|
||||
- ryanlerch
|
||||
- darknao
|
||||
- kevin
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
app: zezere
|
||||
description: Zezere provisioning service
|
||||
appowners:
|
||||
project_app: zezere
|
||||
project_description: Zezere provisioning service
|
||||
project_appowners:
|
||||
- pbrobinson
|
||||
- role: openshift/imagestream
|
||||
app: zezere
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
---
|
||||
allow_fas_db: false
|
||||
allow_iad2: true
|
||||
allow_pod_creation: false
|
||||
project_allow_fas_db: false
|
||||
project_allow_iad2: true
|
||||
project_allow_pod_creation: false
|
||||
|
||||
egress_policy_template: "{{roles_path}}/openshift/project/templates/egresspolicy.yml"
|
||||
|
||||
alerting: true
|
||||
alert_rules:
|
||||
project_alerting: true
|
||||
project_alert_rules:
|
||||
- pod
|
||||
- cronjob
|
||||
- buildconfig
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
---
|
||||
- name: Create project directory
|
||||
file:
|
||||
path: /etc/openshift_apps/{{app}}
|
||||
path: /etc/openshift_apps/{{project_app}}
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0750"
|
||||
|
||||
- name: Determine if project already exists
|
||||
command: oc get project {{app}}
|
||||
command: oc get project {{project_app}}
|
||||
register: project_exists
|
||||
failed_when: false
|
||||
changed_when: "'not found' in project_exists.stderr"
|
||||
|
@ -16,10 +16,10 @@
|
|||
- name: Copy project template
|
||||
template:
|
||||
src="{{roles_path}}/openshift/project/templates/project.yml"
|
||||
dest=/etc/openshift_apps/{{app}}/project.yml
|
||||
dest=/etc/openshift_apps/{{project_app}}/project.yml
|
||||
|
||||
- name: Create project
|
||||
shell: oc apply --validate=strict -f /etc/openshift_apps/{{app}}/project.yml
|
||||
shell: oc apply --validate=strict -f /etc/openshift_apps/{{project_app}}/project.yml
|
||||
when: "'not found' in project_exists.stderr"
|
||||
|
||||
- name: deployer.yml
|
||||
|
@ -70,4 +70,4 @@
|
|||
vars:
|
||||
objectname: prometheusRules.yml
|
||||
template_fullpath: "{{roles_path}}/openshift/project/templates/prometheusRules.yml"
|
||||
when: alerting
|
||||
when: project_alerting
|
||||
|
|
|
@ -3,12 +3,12 @@ apiVersion: monitoring.coreos.com/v1beta1
|
|||
kind: AlertmanagerConfig
|
||||
metadata:
|
||||
name: appowners-alerts
|
||||
namespace: "{{app}}"
|
||||
namespace: "{{project_app}}"
|
||||
spec:
|
||||
receivers:
|
||||
- emailConfigs:
|
||||
- sendResolved: true
|
||||
to: "{{ alert_users | default(appowners) | product(['fedoraproject.org']) | map('join', '@') | join(',') }}"
|
||||
to: "{{ project_alert_users | default(project_appowners) | product(['fedoraproject.org']) | map('join', '@') | join(',') }}"
|
||||
name: default
|
||||
route:
|
||||
groupBy:
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
apiVersion: authorization.openshift.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
namespace: "{{app}}"
|
||||
namespace: "{{project_app}}"
|
||||
name: appowners
|
||||
roleRef:
|
||||
name: appowner
|
||||
namespace: "{{app}}"
|
||||
namespace: "{{project_app}}"
|
||||
userNames:
|
||||
{% for owner in appowners %}
|
||||
{% for owner in project_appowners %}
|
||||
- {{ owner }}
|
||||
{% endfor %}
|
||||
|
|
|
@ -5,11 +5,11 @@ kind: RoleBinding
|
|||
metadata:
|
||||
creationTimestamp: null
|
||||
name: system:deployers
|
||||
namespace: "{{app}}"
|
||||
namespace: "{{project_app}}"
|
||||
roleRef:
|
||||
name: system:deployer
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: deployer
|
||||
userNames:
|
||||
- system:serviceaccount:{{app}}:deployer
|
||||
- system:serviceaccount:{{project_app}}:deployer
|
||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
name: default
|
||||
spec:
|
||||
egress:
|
||||
{% if not allow_fas_db %}
|
||||
{% if not project_allow_fas_db %}
|
||||
{% if env == "staging" %}
|
||||
- type: Deny
|
||||
to:
|
||||
|
@ -16,7 +16,7 @@ spec:
|
|||
cidrSelector: "10.3.163.42/32"
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if not allow_iad2 %}
|
||||
{% if not project_allow_iad2 %}
|
||||
- type: Deny
|
||||
to:
|
||||
cidrSelector: "10.0.0.0/8"
|
||||
|
|
|
@ -5,11 +5,11 @@ kind: RoleBinding
|
|||
metadata:
|
||||
creationTimestamp: null
|
||||
name: system:image-builders
|
||||
namespace: "{{app}}"
|
||||
namespace: "{{project_app}}"
|
||||
roleRef:
|
||||
name: system:image-builder
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: builder
|
||||
userNames:
|
||||
- system:serviceaccount:{{app}}:builder
|
||||
- system:serviceaccount:{{project_app}}:builder
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
---
|
||||
apiVersion: authorization.openshift.io/v1
|
||||
groupNames:
|
||||
- system:serviceaccounts:{{app}}
|
||||
- system:serviceaccounts:{{project_app}}
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: system:image-pullers
|
||||
namespace: "{{app}}"
|
||||
namespace: "{{project_app}}"
|
||||
roleRef:
|
||||
name: system:image-puller
|
||||
subjects:
|
||||
- kind: SystemGroup
|
||||
name: system:serviceaccounts:{{app}}
|
||||
name: system:serviceaccounts:{{project_app}}
|
||||
userNames: []
|
||||
|
|
|
@ -3,9 +3,9 @@ apiVersion: project.openshift.io/v1
|
|||
kind: Project
|
||||
metadata:
|
||||
annotations:
|
||||
openshift.io/description: "{{description}}"
|
||||
openshift.io/display-name: "{{app}}"
|
||||
openshift.io/description: "{{project_description}}"
|
||||
openshift.io/display-name: "{{project_app}}"
|
||||
creationTimestamp: null
|
||||
name: "{{app}}"
|
||||
name: "{{project_app}}"
|
||||
spec: {}
|
||||
status: {}
|
||||
|
|
|
@ -6,7 +6,7 @@ metadata:
|
|||
name: alerts
|
||||
spec:
|
||||
groups:
|
||||
{% if 'cronjob' in alert_rules %}
|
||||
{% if 'cronjob' in project_alert_rules %}
|
||||
- name: CronjobFailed
|
||||
rules:
|
||||
- alert: CronjobFailed
|
||||
|
@ -18,7 +18,7 @@ spec:
|
|||
labels:
|
||||
severity: warning
|
||||
{% endif %}
|
||||
{% if 'buildconfig' in alert_rules %}
|
||||
{% if 'buildconfig' in project_alert_rules %}
|
||||
- name: BuildFailed
|
||||
rules:
|
||||
- alert: BuildFailed
|
||||
|
@ -32,7 +32,7 @@ spec:
|
|||
labels:
|
||||
severity: warning
|
||||
{% endif %}
|
||||
{% if 'pod' in alert_rules %}
|
||||
{% if 'pod' in project_alert_rules %}
|
||||
- name: PodFailing
|
||||
rules:
|
||||
- alert: PodPending
|
||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
annotations:
|
||||
openshift.io/description: An application owner. Can view everything but ConfigMaps.
|
||||
name: appowner
|
||||
namespace: "{{ app }}"
|
||||
namespace: "{{ project_app }}"
|
||||
rules:
|
||||
{% if env == "staging" %}
|
||||
- apiGroups: ["monitoring.coreos.com"]
|
||||
|
@ -42,7 +42,7 @@ rules:
|
|||
- get
|
||||
- list
|
||||
- watch
|
||||
{% if env == "staging" or allow_pod_creation %}
|
||||
{% if env == "staging" or project_allow_pod_creation %}
|
||||
- create
|
||||
- delete
|
||||
- update
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue