Add the run playbook for releasenotes and fix afs stamping

We were totally missing a run playbook.

For the post playbook we need to not run prepare-docs-for-afs but
instead just do the AFS stamp. Releasenotes are always built from
master.

Change-Id: I7d796f46aa30605ec722e5b442096b0ffd79bcda
This commit is contained in:
Monty Taylor
2017-10-05 11:59:01 -05:00
parent 5dc258d467
commit f445955b93
2 changed files with 12 additions and 1 deletions

View File

@@ -1,6 +1,14 @@
- hosts: all
tasks:
# TODO(mordred) We should really extract this into a role, but that's a
# refactor for a different day.
- name: Write marker text
copy:
dest: "{{ zuul.project.src_dir }}/html/.root-marker"
content: "Project: {{ zuul.project.name }} Branch: {{ zuul.branch }} Build: {{ zuul.build }} Revision: {{ zuul.ref }}"
- hosts: localhost
roles:
- prepare-docs-for-afs
- role: fetch-tox-output
tox_envlist: releasenotes
- role: fetch-sphinx-output

View File

@@ -0,0 +1,3 @@
- hosts: all
roles:
- build-releasenotes