Run gitea in zuul

Change-Id: Iaebcc1babcfc46c7765ab64f5e826f9e727a9298
This commit is contained in:
Monty Taylor 2020-04-02 10:03:57 -05:00
parent 6c2c31bcd5
commit 4641a79aec
2 changed files with 32 additions and 4 deletions

View File

@ -1770,6 +1770,36 @@
- playbooks/roles/install-docker/.*
- playbooks/roles/gerrit/.*
- job:
name: infra-prod-service-gitea
parent: infra-prod-service-base
description: Run service-gitea.yaml playbook
vars:
playbook_name: service-gitea.yaml
dependencies:
- name: infra-prod-update-system-config
- name: infra-prod-install-ansible
soft: true
- name: infra-prod-base
soft: true
- name: infra-prod-service-letsencrypt
soft: true
- name: system-config-promote-image-gitea-init
soft: true
- name: system-config-promote-image-gitea
soft: true
files:
- playbooks/service-gitea.yaml
- playbooks/group_vars/gitea.yaml
- playbooks/host_vars/gitea[0-9].*
- playbooks/roles/install-docker/.*
- playbooks/roles/gitea/.*
- playbooks/roles/logrotate/.*
- docker/gitea/.*
- docker/gitea-init/.*
- docker/jinja-init/.*
- docker/python-base/.*
- job:
name: system-config-goaccess-report
description: |
@ -2134,6 +2164,7 @@
- infra-prod-service-zuul-preview
- infra-prod-service-review
- infra-prod-service-review-dev
- infra-prod-service-gitea
periodic:
jobs:
- developer-openstack-goaccess-report
@ -2162,6 +2193,7 @@
- infra-prod-service-backup
- infra-prod-service-review
- infra-prod-service-review-dev
- infra-prod-service-gitea
opendev-prod-hourly:
jobs:
- infra-prod-update-system-config

View File

@ -72,10 +72,6 @@ set +e
# Run all the ansible playbooks under timeout to prevent them from getting
# stuck if they are oomkilled
start_timer
timeout -k 2m 30m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/service-gitea.yaml
send_timer nodepool
# Run AFS changes separately so we can make sure to only do one at a time
# (turns out quorum is nice to have)
start_timer