2021-10-21 14:43:48 +11:00
|
|
|
# NOTE: job dependencies keep this running in parallel and are defined
|
|
|
|
# in projects.yaml because it's easier to keep an overall view of
|
|
|
|
# what's happening in there.
|
|
|
|
|
2020-05-07 12:37:26 -07:00
|
|
|
# Make sure only one run of a system-config playbook happens at a time
|
|
|
|
- semaphore:
|
|
|
|
name: infra-prod-playbook
|
|
|
|
max: 1
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-playbook
|
2020-07-24 09:03:36 -07:00
|
|
|
parent: opendev-infra-prod-base
|
2020-05-07 12:37:26 -07:00
|
|
|
description: |
|
|
|
|
Run specified playbook against productions hosts.
|
|
|
|
|
|
|
|
This is a parent job designed to be inherited to enabled
|
|
|
|
CD deployment of our infrastructure. Set playbook_name to
|
|
|
|
specify the playbook relative to
|
|
|
|
/home/zuul/src/opendev.org/opendev/system-config/playbooks
|
2022-09-20 15:27:15 +10:00
|
|
|
on the bastion host.
|
2020-05-07 12:37:26 -07:00
|
|
|
abstract: true
|
2021-06-24 13:20:29 -07:00
|
|
|
semaphores: infra-prod-playbook
|
2020-05-07 12:37:26 -07:00
|
|
|
run: playbooks/zuul/run-production-playbook.yaml
|
2022-07-14 16:32:58 +10:00
|
|
|
post-run: playbooks/zuul/run-production-playbook-post.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
required-projects:
|
|
|
|
- opendev/system-config
|
|
|
|
vars:
|
2021-05-14 12:14:15 -07:00
|
|
|
infra_prod_ansible_forks: 10
|
2020-05-07 12:37:26 -07:00
|
|
|
infra_prod_playbook_collect_log: false
|
2022-02-24 09:57:55 +11:00
|
|
|
infra_prod_playbook_encrypt_log: true
|
2020-05-07 12:37:26 -07:00
|
|
|
nodeset:
|
|
|
|
nodes: []
|
|
|
|
|
|
|
|
- job:
|
2021-12-03 11:32:31 +11:00
|
|
|
name: infra-prod-bootstrap-bridge
|
2022-10-13 16:41:07 +11:00
|
|
|
parent: opendev-infra-prod-setup-keys
|
2021-12-03 11:32:31 +11:00
|
|
|
description: |
|
|
|
|
Configure the bastion host (bridge)
|
|
|
|
|
|
|
|
This job does minimal configuration on the bastion host
|
|
|
|
(bridge.openstack.org) to allow it to run system-config
|
2022-10-13 16:41:07 +11:00
|
|
|
playbooks against our production hosts. It sets up Ansible
|
|
|
|
and root keys on the host.
|
2021-12-03 11:32:31 +11:00
|
|
|
|
|
|
|
Note that this is separate to infra-prod-service-bridge;
|
|
|
|
bridge in it's role as the bastion host actaully runs that
|
|
|
|
against itself; it includes things not strictly needed to make
|
|
|
|
the host able to deploy system-config.
|
2022-10-19 11:10:21 +11:00
|
|
|
run: playbooks/zuul/run-production-bootstrap-bridge.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
files:
|
2021-12-03 11:32:31 +11:00
|
|
|
- playbooks/bootstrap-bridge.yaml
|
2022-10-13 16:41:07 +11:00
|
|
|
- playbooks/zuul/run-production-bootstrap-bridge.yaml
|
|
|
|
- playbooks/zuul/run-production-bootstrap-bridge-add-rootkey.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/install-ansible/
|
|
|
|
- playbooks/roles/root-keys/
|
2022-11-29 20:48:23 +00:00
|
|
|
- inventory/base/hosts.yaml
|
2022-09-20 11:57:22 +10:00
|
|
|
- inventory/service/group_vars/bastion.yaml
|
2023-08-17 09:59:09 -07:00
|
|
|
nodeset:
|
|
|
|
nodes: []
|
2020-05-07 12:37:26 -07:00
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-base
|
|
|
|
parent: infra-prod-playbook
|
|
|
|
description: Run the base playbook everywhere.
|
|
|
|
vars:
|
|
|
|
playbook_name: base.yaml
|
|
|
|
infra_prod_ansible_forks: 50
|
|
|
|
files:
|
|
|
|
- inventory/
|
2020-05-26 15:46:41 -05:00
|
|
|
- inventory/service/host_vars/
|
|
|
|
- inventory/service/group_vars/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/base.yaml
|
2020-05-26 14:24:20 -05:00
|
|
|
- playbooks/roles/base/
|
2020-05-07 12:37:26 -07:00
|
|
|
|
|
|
|
- job:
|
2020-05-28 16:43:14 -05:00
|
|
|
name: infra-prod-letsencrypt
|
2020-05-07 12:37:26 -07:00
|
|
|
parent: infra-prod-playbook
|
2020-05-28 16:43:14 -05:00
|
|
|
description: Run letsencrypt.yaml playbook.
|
2020-05-07 12:37:26 -07:00
|
|
|
vars:
|
2020-05-28 16:43:14 -05:00
|
|
|
playbook_name: letsencrypt.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
files:
|
|
|
|
- inventory/
|
2020-05-28 16:43:14 -05:00
|
|
|
- playbooks/letsencrypt.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
# Any touching of host_vars or group_vars can substantively
|
|
|
|
# change the certs we're doing, so be greedy here.
|
2020-05-26 15:46:41 -05:00
|
|
|
- inventory/service/host_vars/
|
|
|
|
- inventory/service/group_vars/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/letsencrypt
|
|
|
|
- playbooks/roles/logrotate/
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-manage-projects
|
|
|
|
parent: infra-prod-playbook
|
2021-04-16 14:10:34 -07:00
|
|
|
timeout: 4800
|
2020-05-07 12:37:26 -07:00
|
|
|
description: |
|
|
|
|
Create and update projects in gerrit and gitea.
|
|
|
|
allowed-projects:
|
|
|
|
- opendev/system-config
|
|
|
|
- openstack/project-config
|
|
|
|
required-projects:
|
|
|
|
- opendev/system-config
|
|
|
|
- openstack/project-config
|
|
|
|
vars:
|
|
|
|
playbook_name: manage-projects.yaml
|
|
|
|
infra_prod_ansible_forks: 10
|
|
|
|
infra_prod_playbook_collect_log: true
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-service-base
|
|
|
|
parent: infra-prod-playbook
|
|
|
|
description: Base job for most service playbooks.
|
|
|
|
abstract: true
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-service-bridge
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-bridge.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-bridge.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/service-bridge.yaml
|
2022-09-20 11:57:22 +10:00
|
|
|
- inventory/service/group_vars/bastion.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/logrotate/
|
|
|
|
- playbooks/roles/edit-secrets-script/
|
|
|
|
- playbooks/roles/install-kubectl/
|
2020-05-26 15:46:41 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/configure-kubectl/
|
|
|
|
- playbooks/roles/configure-openstacksdk/
|
|
|
|
- playbooks/templates/clouds/bridge_all_clouds.yaml.j2
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-service-gitea-lb
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-gitea-lb.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-gitea-lb.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/service-gitea-lb.yaml
|
2020-05-26 15:46:41 -05:00
|
|
|
- inventory/service/group_vars/gitea-lb.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/pip3/
|
2020-05-26 17:41:54 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/install-docker/
|
|
|
|
- playbooks/roles/haproxy/
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-service-nameserver
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-nameserver.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-nameserver.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/service-nameserver.yaml
|
2020-05-26 15:46:41 -05:00
|
|
|
- inventory/service/group_vars/adns.yaml
|
2023-03-09 15:01:45 +11:00
|
|
|
- inventory/service/group_vars/adns-primary.yaml
|
|
|
|
- inventory/service/group_vars/adns-secondary.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/master-nameserver/
|
|
|
|
- playbooks/roles/nameserver/
|
2020-05-26 17:41:54 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-05-07 12:37:26 -07:00
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-service-nodepool
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-nodepool.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-nodepool.yaml
|
|
|
|
required-projects:
|
|
|
|
- opendev/system-config
|
|
|
|
- openstack/project-config
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/service-nodepool.yaml
|
2020-05-26 15:46:41 -05:00
|
|
|
- inventory/service/host_vars/nb
|
|
|
|
- inventory/service/host_vars/nl
|
|
|
|
- inventory/service/group_vars/nodepool
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/configure-kubectl/
|
|
|
|
- playbooks/roles/configure-openstacksdk/
|
|
|
|
- playbooks/roles/install-docker/
|
2020-05-26 17:41:54 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/nodepool
|
|
|
|
- playbooks/templates/clouds/nodepool_
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-service-etherpad
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-etherpad.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-etherpad.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/service-etherpad.yaml
|
2023-04-03 14:56:17 -07:00
|
|
|
- inventory/service/group_vars/etherpad.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/install-docker/
|
|
|
|
- playbooks/roles/pip3/
|
|
|
|
- playbooks/roles/etherpad
|
|
|
|
- playbooks/roles/logrotate
|
2020-05-26 17:41:54 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-07-17 13:20:48 -07:00
|
|
|
- docker/etherpad/
|
2020-05-07 12:37:26 -07:00
|
|
|
|
2021-11-30 13:03:12 -08:00
|
|
|
- job:
|
|
|
|
name: infra-prod-service-keycloak
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-keycloak.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-keycloak.yaml
|
|
|
|
files:
|
|
|
|
- inventory/base
|
|
|
|
- playbooks/service-keycloak.yaml
|
2024-01-29 19:23:13 +00:00
|
|
|
- inventory/service/group_vars/keycloak.yaml
|
2021-11-30 13:03:12 -08:00
|
|
|
- playbooks/roles/keycloak/
|
|
|
|
- playbooks/roles/install-docker/
|
|
|
|
- playbooks/roles/iptables/
|
|
|
|
|
2020-05-07 12:37:26 -07:00
|
|
|
- job:
|
|
|
|
name: infra-prod-service-meetpad
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-meetpad.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-meetpad.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/service-meetpad.yaml
|
2020-05-26 15:46:41 -05:00
|
|
|
- inventory/service/host_vars/meetpad01.opendev.org.yaml
|
|
|
|
- inventory/service/group_vars/meetpad.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/pip3/
|
|
|
|
- playbooks/roles/install-docker/
|
2020-05-26 17:41:54 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/jitsi-meet/
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-service-mirror-update
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-mirror-update.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-mirror-update.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
|
|
|
- inventory/service/group_vars/mirror.yaml
|
|
|
|
- inventory/service/host_vars/mirror
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/service-mirror-update.yaml
|
|
|
|
- playbooks/roles/mirror-update/
|
2020-10-27 16:29:48 +11:00
|
|
|
- playbooks/roles/reprepro/
|
2020-05-26 17:41:54 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/logrotate/
|
2021-03-03 13:41:56 +11:00
|
|
|
- roles/kerberos-client/
|
|
|
|
- roles/openafs-client/
|
2020-05-07 12:37:26 -07:00
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-service-mirror
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-mirror.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-mirror.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/service-mirror.yaml
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/service/host_vars/mirror
|
2020-05-26 15:46:41 -05:00
|
|
|
- inventory/service/group_vars/mirror.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/mirror/
|
|
|
|
- playbooks/roles/afs-release/
|
|
|
|
- playbooks/roles/afsmon/
|
2020-05-26 17:41:54 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/logrotate/
|
2021-03-03 13:41:56 +11:00
|
|
|
- roles/openafs-client/
|
2020-05-07 12:37:26 -07:00
|
|
|
|
2021-06-29 11:57:10 +10:00
|
|
|
- job:
|
|
|
|
name: infra-prod-service-paste
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-paste.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-paste.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2021-06-29 11:57:10 +10:00
|
|
|
- playbooks/service-paste.yaml
|
2022-07-07 10:58:50 +10:00
|
|
|
- inventory/service/group_vars/paste.yaml
|
2021-06-29 11:57:10 +10:00
|
|
|
- playbooks/roles/install-docker/
|
|
|
|
- playbooks/roles/pip3/
|
|
|
|
- playbooks/roles/lodgeit/
|
|
|
|
- playbooks/roles/iptables/
|
|
|
|
|
2020-05-07 12:37:26 -07:00
|
|
|
- job:
|
|
|
|
name: infra-prod-service-static
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-static.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-static.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/service-static.yaml
|
2020-05-26 15:46:41 -05:00
|
|
|
- inventory/service/group_vars/static.yaml
|
2023-05-02 10:16:29 -07:00
|
|
|
- playbooks/roles/apache-ua-filter/
|
2020-05-26 17:41:54 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/static/
|
|
|
|
- playbooks/roles/zuul-user/
|
2021-03-03 13:41:56 +11:00
|
|
|
- roles/openafs-client/
|
2020-05-07 12:37:26 -07:00
|
|
|
|
2022-09-05 13:42:18 -07:00
|
|
|
- job:
|
|
|
|
name: infra-prod-service-tracing
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-tracing.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-tracing.yaml
|
|
|
|
files:
|
|
|
|
- inventory/base
|
|
|
|
- playbooks/service-tracing.yaml
|
|
|
|
- inventory/service/group_vars/tracing.yaml
|
|
|
|
- playbooks/roles/jaeger/
|
|
|
|
- playbooks/roles/install-docker/
|
|
|
|
- playbooks/roles/iptables/
|
|
|
|
|
2020-07-16 13:43:18 +10:00
|
|
|
- job:
|
|
|
|
name: infra-prod-service-borg-backup
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-borg-backup.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-borg-backup.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-07-16 13:43:18 +10:00
|
|
|
- playbooks/service-borg-backup.yaml
|
2020-10-12 13:06:10 +11:00
|
|
|
- playbooks/roles/install-borg/
|
2020-07-16 13:43:18 +10:00
|
|
|
- playbooks/roles/borg-backup/
|
|
|
|
- playbooks/roles/borg-backup-server/
|
|
|
|
- playbooks/roles/iptables/
|
|
|
|
|
2020-05-07 12:37:26 -07:00
|
|
|
- job:
|
|
|
|
name: infra-prod-service-registry
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-registry.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-registry.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/service-registry.yaml
|
2020-05-26 15:46:41 -05:00
|
|
|
- inventory/service/group_vars/registry.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/pip3/
|
|
|
|
- playbooks/roles/install-docker/
|
2020-05-26 17:41:54 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/registry/
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-service-zuul-preview
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-zuul-preview.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-zuul-preview.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/service-zuul-preview.yaml
|
2020-05-26 15:46:41 -05:00
|
|
|
- inventory/service/group_vars/zuul-preview.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/pip3/
|
|
|
|
- playbooks/roles/install-docker/
|
2020-05-26 17:41:54 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/zuul-preview/
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-service-zookeeper
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-zookeeper.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-zookeeper.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-05-26 15:46:41 -05:00
|
|
|
- inventory/service/group_vars/zookeeper.yaml
|
|
|
|
- ^inventory/service/host_vars/zk\d+\..*
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/pip3/
|
|
|
|
- playbooks/roles/install-docker/
|
2020-05-26 17:41:54 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/zookeeper/
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-service-zuul
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: |
|
|
|
|
Run service-zuul.yaml playbook.
|
|
|
|
|
|
|
|
This configures the main Zuul cluster. It will perform a
|
|
|
|
smart-reconfigure of the scheduler if the tenant configuration
|
|
|
|
is changed.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-zuul.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/service-zuul.yaml
|
2020-05-26 15:46:41 -05:00
|
|
|
- inventory/service/group_vars/zuul
|
|
|
|
- inventory/service/group_vars/zookeeper.yaml
|
|
|
|
- inventory/service/host_vars/zk\d+
|
2022-03-04 12:31:47 -08:00
|
|
|
- inventory/service/host_vars/zuul\d+.opendev.org
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/install-docker/
|
2020-05-26 17:41:54 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/zookeeper/
|
|
|
|
- playbooks/roles/zuul
|
2021-03-03 13:41:56 +11:00
|
|
|
- roles/kerberos-client/
|
|
|
|
- roles/openafs-client/
|
2020-05-07 12:37:26 -07:00
|
|
|
|
2024-04-04 09:07:19 -07:00
|
|
|
- job:
|
|
|
|
name: infra-prod-service-zuul-db
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-zuul-db.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-zuul-db.yaml
|
|
|
|
files:
|
|
|
|
- inventory/base
|
|
|
|
- playbooks/service-zuul-db.yaml
|
|
|
|
- inventory/service/group_vars/zuul-db.yaml
|
|
|
|
- playbooks/roles/iptables/
|
|
|
|
- playbooks/roles/install-docker/
|
|
|
|
- playbooks/roles/mariadb/
|
|
|
|
|
2022-02-10 09:28:46 -08:00
|
|
|
- job:
|
|
|
|
name: infra-prod-service-zuul-lb
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-zuul-lb.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-zuul-lb.yaml
|
|
|
|
files:
|
|
|
|
- inventory/base
|
|
|
|
- playbooks/service-zuul-lb.yaml
|
|
|
|
- inventory/service/group_vars/zuul-lb.yaml
|
|
|
|
- playbooks/roles/pip3/
|
|
|
|
- playbooks/roles/iptables/
|
|
|
|
- playbooks/roles/install-docker/
|
|
|
|
- playbooks/roles/haproxy/
|
|
|
|
|
2020-05-07 12:37:26 -07:00
|
|
|
- job:
|
|
|
|
name: infra-prod-service-review
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-review.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-review.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/service-review.yaml
|
2021-10-11 13:22:50 -07:00
|
|
|
- inventory/service/group_vars/review.yaml
|
2023-03-03 11:47:02 -08:00
|
|
|
- inventory/service/host_vars/review02.opendev.org.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/pip3/
|
|
|
|
- playbooks/roles/install-docker/
|
2020-05-26 17:41:54 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/gerrit/
|
2023-11-29 09:59:30 -08:00
|
|
|
- zuul.d/docker-images/gerrit.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
|
2021-02-09 16:15:08 +11:00
|
|
|
- job:
|
|
|
|
name: infra-prod-service-refstack
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-refstack.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-refstack.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2021-02-09 16:15:08 +11:00
|
|
|
- playbooks/service-refstack.yaml
|
2022-03-04 15:30:47 -08:00
|
|
|
- inventory/service/group_vars/refstack.yaml
|
2021-02-09 16:15:08 +11:00
|
|
|
- inventory/service/host_vars/refstack[0-9][0-9]
|
|
|
|
- playbooks/roles/install-docker/
|
|
|
|
- playbooks/roles/pip3/
|
2021-02-11 10:37:31 +11:00
|
|
|
- playbooks/roles/refstack/
|
2021-02-09 16:15:08 +11:00
|
|
|
- playbooks/roles/iptables/
|
|
|
|
- playbooks/roles/logrotate/
|
|
|
|
- docker/refstack
|
|
|
|
- docker/python-base/
|
|
|
|
|
2020-05-07 12:37:26 -07:00
|
|
|
- job:
|
|
|
|
name: infra-prod-service-gitea
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-gitea.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-gitea.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/service-gitea.yaml
|
2020-05-26 15:46:41 -05:00
|
|
|
- inventory/service/group_vars/gitea.yaml
|
|
|
|
- inventory/service/host_vars/gitea[0-9][0-9]
|
2023-05-02 10:16:29 -07:00
|
|
|
- playbooks/roles/apache-ua-filter/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/install-docker/
|
|
|
|
- playbooks/roles/pip3/
|
|
|
|
- playbooks/roles/gitea/
|
2020-05-26 17:41:54 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/logrotate/
|
|
|
|
- docker/gitea/
|
|
|
|
- docker/gitea-init/
|
|
|
|
- docker/jinja-init/
|
|
|
|
- docker/python-base/
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-service-eavesdrop
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-eavesdrop.yaml playbook.
|
|
|
|
required-projects:
|
|
|
|
- opendev/system-config
|
|
|
|
- openstack/project-config
|
|
|
|
vars:
|
|
|
|
playbook_name: service-eavesdrop.yaml
|
|
|
|
files: &infra_prod_eavesdrop_files
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/service-eavesdrop.yaml
|
|
|
|
- playbooks/run-accessbot.yaml
|
2020-05-26 15:46:41 -05:00
|
|
|
- inventory/service/group_vars/eavesdrop.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/install-docker
|
2020-05-26 17:41:54 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/accessbot
|
2021-06-11 23:23:20 +10:00
|
|
|
- playbooks/roles/limnoria
|
2021-08-02 03:43:25 -07:00
|
|
|
- playbooks/roles/ptgbot
|
2021-06-11 23:23:20 +10:00
|
|
|
- playbooks/roles/statusbot
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/logrotate
|
2021-07-09 18:39:59 -07:00
|
|
|
- playbooks/roles/matrix-eavesdrop
|
2021-07-12 13:54:18 +00:00
|
|
|
- playbooks/roles/matrix-gerritbot
|
2021-07-09 18:39:59 -07:00
|
|
|
- playbooks/zuul/templates/group_vars/eavesdrop.yaml.j2
|
2020-05-07 12:37:26 -07:00
|
|
|
- docker/accessbot/
|
2021-06-11 23:23:20 +10:00
|
|
|
- docker/ircbot
|
2021-07-09 18:39:59 -07:00
|
|
|
- docker/matrix-eavesdrop
|
2020-05-07 12:37:26 -07:00
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-run-accessbot
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run run-accessbot.yaml playbook.
|
|
|
|
required-projects:
|
|
|
|
- opendev/system-config
|
|
|
|
- openstack/project-config
|
|
|
|
vars:
|
|
|
|
playbook_name: run-accessbot.yaml
|
2020-05-08 08:12:37 -05:00
|
|
|
files:
|
|
|
|
- accessbot/channels.yaml
|
|
|
|
- playbooks/run-accessbot.yaml
|
|
|
|
- playbooks/roles/accessbot
|
|
|
|
- docker/accessbot/
|
2020-05-07 12:37:26 -07:00
|
|
|
|
2020-11-17 17:13:46 +11:00
|
|
|
- job:
|
|
|
|
name: infra-prod-service-codesearch
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-codesearch.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-codesearch.yaml
|
|
|
|
files:
|
|
|
|
- docker/hound/
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-11-17 17:13:46 +11:00
|
|
|
- playbooks/service-codesearch.yaml
|
|
|
|
- inventory/service/host_vars/codesearch01.opendev.yaml
|
|
|
|
- inventory/service/group_vars/codesearch
|
|
|
|
- playbooks/roles/install-docker/
|
|
|
|
- playbooks/roles/pip3/
|
|
|
|
- playbooks/roles/codesearch
|
|
|
|
- playbooks/roles/logrotate
|
|
|
|
- playbooks/roles/iptables
|
|
|
|
|
2020-06-23 11:41:27 +10:00
|
|
|
- job:
|
|
|
|
name: infra-prod-service-grafana
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-grafana.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-grafana.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-06-23 11:41:27 +10:00
|
|
|
- playbooks/service-grafana.yaml
|
|
|
|
- inventory/service/host_vars/grafana01.org.yaml
|
|
|
|
- inventory/service/group_vars/grafana
|
|
|
|
- playbooks/roles/install-docker/
|
|
|
|
- playbooks/roles/pip3/
|
|
|
|
- playbooks/roles/grafana
|
|
|
|
- playbooks/roles/logrotate
|
|
|
|
- playbooks/roles/iptables/
|
|
|
|
|
2020-06-26 10:23:16 +10:00
|
|
|
- job:
|
|
|
|
name: infra-prod-service-graphite
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-graphite.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-graphite.yaml
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2020-06-26 10:23:16 +10:00
|
|
|
- playbooks/service-graphite.yaml
|
|
|
|
- inventory/service/host_vars/graphite02.opendev.org.yaml
|
|
|
|
- inventory/service/group_vars/graphite
|
|
|
|
- playbooks/roles/install-docker/
|
|
|
|
- playbooks/roles/pip3/
|
|
|
|
- playbooks/roles/graphite/
|
|
|
|
- playbooks/roles/iptables/
|
|
|
|
|
2022-07-27 11:35:41 -07:00
|
|
|
- job:
|
|
|
|
name: infra-prod-service-lists3
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run service-lists3.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-lists3.yaml
|
|
|
|
files:
|
2023-08-25 16:33:34 +00:00
|
|
|
- docker/mailman
|
2022-07-27 11:35:41 -07:00
|
|
|
- inventory/base
|
2023-10-15 19:52:01 -07:00
|
|
|
- inventory/service/group_vars/mailman3.yaml
|
2022-07-27 11:35:41 -07:00
|
|
|
- playbooks/roles/iptables/
|
|
|
|
- playbooks/roles/base/exim
|
|
|
|
- playbooks/roles/mailman3/
|
|
|
|
- playbooks/service-lists3.yaml
|
|
|
|
|
2020-05-07 12:37:26 -07:00
|
|
|
# Run AFS changes separately so we can make sure to only do one at a time
|
|
|
|
# (turns out quorum is nice to have)
|
|
|
|
- job:
|
2021-01-18 15:30:35 +11:00
|
|
|
name: infra-prod-service-afs
|
2020-05-07 12:37:26 -07:00
|
|
|
parent: infra-prod-service-base
|
2021-01-18 15:30:35 +11:00
|
|
|
description: Run AFS playbook.
|
2020-05-07 12:37:26 -07:00
|
|
|
vars:
|
2021-01-18 15:30:35 +11:00
|
|
|
playbook_name: service-afs.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
infra_prod_ansible_forks: 1
|
|
|
|
required-projects:
|
|
|
|
- opendev/system-config
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2021-01-18 15:30:35 +11:00
|
|
|
- playbooks/service-afs.yaml
|
2020-05-26 15:46:41 -05:00
|
|
|
- inventory/service/group_vars/afs
|
|
|
|
- inventory/service/group_vars/mirror-update
|
2020-05-26 17:41:54 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/vos-release/
|
2021-01-18 15:30:35 +11:00
|
|
|
- playbooks/roles/openafs-server/
|
2020-05-07 12:37:26 -07:00
|
|
|
- modules/
|
|
|
|
- manifests/
|
2021-03-03 13:41:56 +11:00
|
|
|
- roles/kerberos-client/
|
|
|
|
- roles/openafs-client/
|
2020-05-07 12:37:26 -07:00
|
|
|
|
2021-03-05 16:10:01 +11:00
|
|
|
- job:
|
|
|
|
name: infra-prod-service-kerberos
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run Kerberos playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: service-kerberos.yaml
|
|
|
|
infra_prod_ansible_forks: 1
|
|
|
|
required-projects:
|
|
|
|
- opendev/system-config
|
|
|
|
files:
|
2021-08-21 12:12:33 -05:00
|
|
|
- inventory/base
|
2021-03-05 16:10:01 +11:00
|
|
|
- playbooks/service-kerberos.yaml
|
|
|
|
- inventory/service/group_vars/kerberos-kdc.yaml
|
|
|
|
- playbooks/roles/kerberos-kdc/
|
|
|
|
- roles/kerberos-client/
|
|
|
|
- playbooks/roles/iptables/
|
|
|
|
|
2020-05-07 12:37:26 -07:00
|
|
|
- job:
|
|
|
|
name: infra-prod-remote-puppet-else
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run remote-puppet-else.yaml playbook.
|
|
|
|
vars:
|
|
|
|
playbook_name: remote_puppet_else.yaml
|
|
|
|
infra_prod_ansible_forks: 50
|
|
|
|
required-projects:
|
|
|
|
- opendev/ansible-role-puppet
|
|
|
|
- opendev/system-config
|
|
|
|
files:
|
2021-08-17 15:54:38 -07:00
|
|
|
- Gemfile
|
|
|
|
- Rakefile
|
|
|
|
- modules.env
|
|
|
|
- install_modules.sh
|
2020-05-07 12:37:26 -07:00
|
|
|
- hiera/
|
|
|
|
- inventory/
|
2021-08-17 15:54:38 -07:00
|
|
|
- roles/puppet-install/
|
|
|
|
- playbooks/install_puppet.yaml
|
|
|
|
- playbooks/update_puppet_version.yaml
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/remote_puppet_else.yaml
|
2021-08-17 15:54:38 -07:00
|
|
|
- playbooks/roles/puppet-run/
|
2020-05-07 12:37:26 -07:00
|
|
|
- playbooks/roles/install-ansible-roles/
|
|
|
|
- playbooks/roles/disable-puppet-agent/
|
2021-08-17 15:54:38 -07:00
|
|
|
- playbooks/roles/puppet-setup-ansible/
|
2020-05-26 17:41:54 -05:00
|
|
|
- playbooks/roles/iptables/
|
2020-05-07 12:37:26 -07:00
|
|
|
- modules/
|
|
|
|
- manifests/
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-run-cloud-launcher
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run cloud launcher playbook
|
|
|
|
vars:
|
|
|
|
playbook_name: run_cloud_launcher.yaml
|
|
|
|
infra_prod_ansible_forks: 1
|
|
|
|
required-projects:
|
|
|
|
- opendev/ansible-role-cloud-launcher
|
|
|
|
- opendev/system-config
|
|
|
|
files:
|
|
|
|
- playbooks/run_cloud_launcher.yaml
|
2022-09-20 11:57:22 +10:00
|
|
|
- inventory/service/group_vars/bastion.yaml
|
infra-prod: run job against linaro
We have access to manage the linaro cloud, but we don't want to
completely own the host as it has been configured with kolla-ansible;
so we don't want to take over things like name resolution, iptables
rules, docker installation, etc.
But we would like to manage some parts of it, like rolling out our
root users, some cron jobs, etc. While we could just log in and do
these things, it doesn't feel very openinfra.
This allows us to have a group "unmanaged" that skips the base jobs.
The base playbook is updated to skip these hosts.
For now, we add a cloud-linaro prod job that just does nothing so we
can validate the whole thing. When it's working, I plan to add a few
things as discussed above.
Change-Id: Ie8de70cbac7ffb9d727a06a349c3d2a3b3aa0b40
2023-03-15 12:00:25 +11:00
|
|
|
|
|
|
|
- job:
|
|
|
|
name: infra-prod-cloud-linaro
|
|
|
|
parent: infra-prod-service-base
|
|
|
|
description: Run management tasks against Linaro
|
|
|
|
vars:
|
|
|
|
playbook_name: service-cloud-linaro.yaml
|
|
|
|
required-projects:
|
|
|
|
- opendev/system-config
|
|
|
|
files:
|
|
|
|
- playbooks/service-cloud-linaro.yaml
|