Make yaml2ical publication job
We have a yaml2ical publisher special for these. This is the last job that isn't covered by the migration script. Change-Id: I9262f0c146427df758672e7822dbb7a6fc148dda
This commit is contained in:
parent
c422720f05
commit
eaf81e3ab1
21
playbooks/yaml2ical/post.yaml
Normal file
21
playbooks/yaml2ical/post.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: add-fileserver
|
||||
fileserver: "{{ eavesdrop_ssh_key }}"
|
||||
|
||||
- hosts: "{{ fileserver.fqdn }}"
|
||||
gather_facts: False
|
||||
tasks:
|
||||
|
||||
- name: Upload index files
|
||||
copy:
|
||||
src: "{{ zuul.executor.work_root }}/yaml2ical/{{ item }}"
|
||||
dest: "{{ fileserver.path }}/{{ item }}"
|
||||
with_items:
|
||||
- index.html
|
||||
- irc-meetings.ical
|
||||
|
||||
- name: Copy calendars
|
||||
synchronize:
|
||||
src: "{{ zuul.executor.work_root }}/yaml2ical/calendars"
|
||||
dest: "{{ fileserver.path }}/calendars/"
|
7
playbooks/yaml2ical/pre.yaml
Normal file
7
playbooks/yaml2ical/pre.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- role: bindep
|
||||
bindep_profile: test
|
||||
bindep_dir: "src/{{ zuul.project.canonical_name }}"
|
||||
- ensure-tox
|
||||
- revoke-sudo
|
13
playbooks/yaml2ical/run.yaml
Normal file
13
playbooks/yaml2ical/run.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- role: tox
|
||||
tox_envlist: ical
|
||||
|
||||
post_tasks:
|
||||
|
||||
- name: Collect yaml2ical output
|
||||
synchronize:
|
||||
dest: "{{ zuul.executor.work_root }}/yaml2ical"
|
||||
mode: pull
|
||||
src: "src/{{ zuul.project.canonical_name }}/output"
|
||||
verify_host: true
|
61
zuul.yaml
61
zuul.yaml
@ -515,6 +515,17 @@
|
||||
run: playbooks/python-tarball/run
|
||||
post-run: playbooks/python-branch-tarball/post
|
||||
|
||||
- job:
|
||||
name: publish-irc-meetings
|
||||
description: |
|
||||
Publish the IRC meeting calendars to eavesdrop.openstack.org.
|
||||
final: True
|
||||
pre-run: playbooks/yaml2ical/pre
|
||||
run: playbooks/yaml2ical/run
|
||||
post-run: playbooks/yaml2ical/post
|
||||
secrets:
|
||||
- eavesdrop_ssh_key
|
||||
|
||||
- job:
|
||||
name: propose-updates
|
||||
pre-run: playbooks/proposal/pre
|
||||
@ -984,6 +995,56 @@
|
||||
12xUZTwqfGpxmA3fPsrTckJJ1XX/KWr0DBcqkYnok5eFECg7YVPO7ektMy3sBhloNeZ+G
|
||||
SsB7moteKXGnyIFTw5wYUerJUg5qgmV4vp/QIToROJV2kMdIztWchUAILh7ICk=
|
||||
|
||||
- secret:
|
||||
name: eavesdrop_ssh_key
|
||||
data:
|
||||
fqdn: eavesdrop.openstack.org
|
||||
path: '/srv/yaml2ical'
|
||||
ssh_username: 'jenkins'
|
||||
ssh_known_hosts: |
|
||||
eavesdrop.openstack.org,2001:4800:7818:101:be76:4eff:fe05:31bf ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBYnHbYizq+kmYZB8NprCSPc9oJ/mvCY7nKpH/k5EnCaJ+K0vnVM4s327/MnCbxls4cbftJNHiL92JiS6W4EWRLvRMVWg85OkNI9ieF5nZcVXNrkU0KmqqpZesDJ6RnEbbzQOQXmEtW0vJTl/EG3N11Gzz6znGo23+q4ywFibNbiz0FOAlkd8WSD7EHWLLg1DQ34UD9cT5wS2524CfSXvLSWiFOktNX8XA808lWPk2d6w58bpGM33ODBdNm+xWp5btbzqn+yng/UnAOj3H7kkL4JuyE9hH6CdCSbQfv2eqBjdzq7K4sA5yRuZT4EL9a3RxtWig3tViDmbB55YwjNXh
|
||||
ssh_private_key: !encrypted/pkcs1-oaep
|
||||
- EXxau7y1LlFTeWEKWTyG8o6gJgFVVKmOdGBQ4lnX1wvpwlN15S/6fJUKUDHSRtmZOW3bO
|
||||
BGhaw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aXlyzndXr4jY0aVVq9Q=
|
||||
- RK+0kz+42ZRmDsaP8yjlScm0O3O8Btz1+KAwycPZh1OY+PFHMKunbTkdywPMz80R2NTt/
|
||||
C1B97OVC/3pB38P3i1w5PrR0p+Bn1ilSsdbd3FwaGkRLFPM4omWFgXsJ21KnVniL3tfyb
|
||||
olYUcvMymadwY8F0YHrfU48fks86WoAxUsmfu08gdJLh533lLvL9D+MAoV9PiHREX2Eu+
|
||||
+JSS6Tn5Mp9BaVPN43XjwtTovaNsVVJ+QRD39zmrq8kqiMXfA1nxsMZ/X4cg/JokbdU53
|
||||
ZNGZ5hTidgzlQCIE37b4tEvhi78H+GonX/K5nrwCk4yzD+hRPBQOHqsx/XMy8J++M3+Ov
|
||||
LYKVwQn9lmga9OPnxDrTvYKbwYLDRULPd+PjgZ+vQEHQlQrJnFImbJDrW/qUfRMtPR3gT
|
||||
+dEIYY9NGaa6gxRDdsYpgrH4+/feg5bR4ipeNAX4jkGkO554PWAtHgW6vNuBxTr+2VmjG
|
||||
18M/asI7l7VLJJaU/nHc2NQi4crxI0QvIHewLyif3WVX85O3YyDQFO2s+6QkWQLoKCYjl
|
||||
9kkHvqbEHIRH9JIA+zDhUQtlKdCZh38b6HxCXDwEQkdgqXL8EIbs8keGjCfZ2Dwek1A4f
|
||||
CguysIGwpjQNlothKe+JpCaZRvbk/YXKAHap5pl6OwqRLkxR4zWLh9163MeSp8=
|
||||
|
||||
- secret:
|
||||
name: lp_creds
|
||||
data:
|
||||
|
@ -122,6 +122,9 @@ job-mapping:
|
||||
- old: xstatic-check-version
|
||||
new: xstatic-check-version
|
||||
|
||||
- old: irc-meetings-publish
|
||||
new: publish-irc-meetings
|
||||
|
||||
# List of project-template mapping data. In each entry:
|
||||
# old
|
||||
# v2 project-template name. If a template is listed here, the old template
|
||||
|
Loading…
Reference in New Issue
Block a user