We have already created the root-marker above, so need to move it from
html directory.
Change-Id: I621c8ced3df456395853657ae8ba50dc604fa5e0
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We need to be running out shell commands within the proper git src.
Change-Id: I9bb6bb85b1fc68cd475eddef38ed6bd11ee0f9dc
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We'll use this role for unified openstack docs publishing.
Change-Id: I879d42cd04ab051b91c0b636856470cd4126b6f2
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
The existing code in branch made a directory for build/{{ branch.tag |
dirname }} but then moved things to build/{{ branch.tag | basename }}
which produced:
html/
html/feature
html/zuulv3
Fix that. While we're in there, go ahead and change this into individual
ansible tasks.
Change-Id: Ib757d1f8bf76012d2d436565913e750c4a5d52a7
The prepare-docs-for-afs role was using zuulv2 variables,
but these don't exist in zuulv3. Update to using the variables
that do exist. Add a flag to take the place of $2 in the original
script which was called by the docs-tags-only-env builder.
When we migrate, we can just add that variable to the
openstack-doc-build entry in the pipelines of bindep, git-restack and
git-review which are the only three projects which use that flag.
Change-Id: Ib998f83135a4fcb796a205e52c435ab29b7cab7b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We can leverate tox role from tox-docs for running out python setup.py
build_sphinx command. This just leaves 'run-docs' role with openstack
specific rename logic. The next patch in the series will refactor
this another fitting name.
Change-Id: Ic45541089391cea1d0b787a48be002d645cd28ea
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
So, we need to break the dependency on jenkins/scripts, to do that,
first import the current shell script so we can start ansiblefy it.
Change-Id: I3e58da365badb450977e4ad5438d7612d1074a02
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Did didn't have ansible-lint setup properly, as a results our roles
weren't actually linted properly.
Switch run-docs to command task, since we are not using any shell
variables.
Ignore ANSIBLE0012 for now.
Change-Id: Id184f7eb5dd67117e7dde9c8eb38a3a8af9dd892
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This job still needs to be updated to replace the jenkins script
with ansible. But so that we can go ahead and remove the
zuul_workspace_root variable from everywhere, replace it with
the variables that we use for the tox jobs in zuul-jobs.
Change-Id: I991dc6c60fb7290be40e8d89ab2cdeb7ab8879c4