Remove publish-irc-meetings job

The irc-meetings are now published to AFS
(I6f3a9970d907f2ae1420e1523cdf8a7c50647235) and served statically from
there.

Depends-On: https://review.opendev.org/c/opendev/system-config/+/794089
Change-Id: Ib852eac630f5aedcb4cd1d240fee63405d50188e
This commit is contained in:
Ian Wienand 2021-06-02 13:44:21 +10:00
parent 9d99079f0c
commit aaf59df628
4 changed files with 0 additions and 62 deletions

View File

@ -1,40 +0,0 @@
- hosts: all
tasks:
- name: Collect yaml2ical output
synchronize:
dest: "{{ zuul.executor.work_root }}/yaml2ical"
mode: pull
src: "{{ zuul.projects['opendev.org/opendev/irc-meetings'].src_dir }}/output/"
verify_host: true
- hosts: localhost
tasks:
- name: Add eavesdrop.o.o to inventory
add_host:
name: eavesdrop.openstack.org
ansible_python_interpreter: python3
ansible_user: zuul
- hosts: localhost
tasks:
- name: Add eavesdrop.o.o hostkey to known hosts
known_hosts:
name: eavesdrop.openstack.org
key: "eavesdrop.openstack.org ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDldndjk19Adb9KJECZrR5UdZc/h1kbpO8UlxC1a12Sh3LcIQPUW+VUPvzqne2mV27E75phI7CFW60xrS1f6YM8Yxb36541x26OZMeMU1XitACvrbXXUCgws+a8ikoCqNnqkIA/ObLXnCb2gX2yvRTndbNXbCZmvHyoQ2TDN3J9irRoWU42N56O6Pw4BHJ9h/mwAWFDvxmUxVaHivg9gA5ytXn1dgw5tJo1SoX97gajQ6CfbRThfXrqNlJyLHT/+FlW+JFqyRmsuH1Nu7tXD73uXKe4nm+K0Sum289jhHaVO1BNu6TIguQOR2o5psBE//u4DzhpEEdrgIe1v80fx51P"
- hosts: eavesdrop.openstack.org
gather_facts: False
tasks:
- name: Upload index files
copy:
src: "{{ zuul.executor.work_root }}/yaml2ical/{{ item }}"
dest: "/srv/yaml2ical/{{ item }}"
with_items:
- index.html
- irc-meetings.ical
- name: Copy calendars
synchronize:
src: "{{ zuul.executor.work_root }}/yaml2ical/calendars/"
dest: "/srv/yaml2ical/calendars"

View File

@ -1,5 +0,0 @@
- hosts: all
roles:
- bindep
- ensure-tox
- revoke-sudo

View File

@ -415,20 +415,6 @@
vars:
release_python: python3
- job:
name: publish-irc-meetings
description: |
Publish the IRC meeting calendars to eavesdrop.openstack.org.
final: true
pre-run: playbooks/yaml2ical/pre.yaml
run: playbooks/project-config/run-tox.yaml
post-run: playbooks/yaml2ical/post.yaml
required-projects:
- opendev/irc-meetings
vars:
tox_envlist: ical
zuul_work_dir: src/opendev.org/opendev/irc-meetings
# AFS sync issues happen when multiple publish jobs run at the same time
# so we make it synchronous to avoid job failures
- semaphore:

View File

@ -4522,9 +4522,6 @@
jobs:
- propose-project-config-update
- maintain-github-openstack-mirror
opendev-prod-hourly:
jobs:
- publish-irc-meetings
templates:
- official-openstack-repo-jobs