8 Commits

Author SHA1 Message Date
Andreas Jaeger
cdc4871cae Fix typo in playbooks/yaml2ical/post.yaml
Fix:
  rsync: mkdir "/src/yaml2ical/calendars" failed: No such file or directory (2)

It's /srv, not /src as a few lines above.

Change-Id: I86326fa7de68a0db7e6893e8ab291ba33fe6018d
2020-05-02 16:36:47 +02:00
Andreas Jaeger
2808da5bad Fix irc-meetings publishing
The periodic job fails, example:
https://zuul.opendev.org/t/openstack/build/85f380fb6dde462e85a09bc9b5105ba9/

error is:
rsync: change_dir "/home/zuul//src/opendev.org/openstack/project-config/output" failed: No such file or directory (2)

Problem is that the output directory is in the irc-meetings directory
instead.

Use correct path.

Change-Id: I8e15cbfc9a0c01066de68730709c8c30b234c5f5
2020-05-02 09:24:50 +02:00
Monty Taylor
295224c41b Use zuul deployment keys for yaml2ical
We're currently adding the private key of a jenkins user. But we
don't use jenkins, so this is lame. Use the zuul deploy key for
project-config instead.

This needs to run as project-config so that per-project deploy
keys work. To do that, shift it from being triggered by irc-meetings
to being triggered hourly by project-config.

As a followup, we should probably convert this to just publish to
AFS and serve the content from there.

Depends-On: https://review.opendev.org/721098
Change-Id: I7874ef46a616e8fd68cf8d95afc3928d3440ba51
2020-04-21 12:40:25 -05:00
Thierry Carrez
9b3d276dd1 Fix publication of IRC meetings ICS files
During transition to Zuulv3, an error was introduced in the ICS
files publication post-job, resulting in the "calendars" directory
itself to be copied to $path/calendars, instead of the ICS files
present in the directory. ICS files were were therefore being
published to $path/calendars/calendars. This commit restores
publication to $path/calendars.

Change-Id: Ifebd883826341b4d4f21f2f114b0a87582845ab3
2017-11-29 11:56:35 +01:00
Jens Harbott
b971ba3f8f Fix yaml2ical publishing
Only copy content from the output directory, not the directory itself.

Change-Id: I0820f83f541bd1448200608a2768bae8e009b478
2017-11-03 05:36:37 +00:00
Monty Taylor
fb68fc9d7b
Align other tox-based project-config publish jobs
Make all of the tox-based project-config publish jobs set tox_envlist in
the job definition and use the shared run playbook. Ensure all of them
are set final: true.

Put the git changed check into tox.ini rather than the job
config.

Move the fetching if ical data into the post playbook, not the run playbook.

Change-Id: Icc69781a50bf3e131baa20f0d4ef9cb95929a390
2017-10-05 14:37:21 -05:00
Monty Taylor
441d8d2a2f
Create static publication base job
This is for projects that need to publish something to
static.openstack.org. It publishes to
 /srv/static/{{ zuul.project.short_name }}
so that it's safe to use wherever.

There are four others that will need their own jobs since they need to
publish to somewhere other than zuul.project.short_name.

Also, fix yaml2ical publication since copy-pasta-ing from it discovered a bug.

Change-Id: Ie73bbb0c808c2e99f450dc0bbed4b0c4aa2b9fd4
2017-10-02 21:55:45 -05:00
Monty Taylor
eaf81e3ab1
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
2017-09-20 16:24:06 -05:00