From f445955b9320a17a8dea5695e3d67585756c2143 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 5 Oct 2017 11:59:01 -0500 Subject: [PATCH] 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 --- playbooks/publish/releasenotes.yaml | 10 +++++++++- playbooks/releasenotes/run.yaml | 3 +++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 playbooks/releasenotes/run.yaml diff --git a/playbooks/publish/releasenotes.yaml b/playbooks/publish/releasenotes.yaml index 23813b102c..9fc703c82c 100644 --- a/playbooks/publish/releasenotes.yaml +++ b/playbooks/publish/releasenotes.yaml @@ -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 diff --git a/playbooks/releasenotes/run.yaml b/playbooks/releasenotes/run.yaml new file mode 100644 index 0000000000..116c6888df --- /dev/null +++ b/playbooks/releasenotes/run.yaml @@ -0,0 +1,3 @@ +- hosts: all + roles: + - build-releasenotes