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>
We're in the process of adding jobs to test our base job on different
distributions and ensure there's no regressions.
These are openstack-specific so let's move them from zuul-jobs.
Change-Id: Ic04c48d7a0e15459632b91bce81e777d12622222
Depends-On: Ie29ee24b631f659f3330f5c631e2850f6b8cb463
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>
There are some things that want to release to PyPI but do not want to
generate OpenStack release emails or upper-constraints bumps. Make a
template for them too.
While we're in here, add a description to publish-to-pypi as well.
Change-Id: I75850f8f6e3a4b7eb796afa4f5ea947dfce347f8
Zuul v3 config is spread across a bunch of repos, so figuring out where
somethig is defined may be daunting for a newcommer. Add a comment
to the top of the file pointing people at other repos they should be
aware of.
Also remove self-referencing roles declaration since job repos
automatically get their own roles now.
Change-Id: Ib9f966ff96f6617e8a7ce3b1e9aa4862f9e12a75
With the settings in site-variables now, we don't need them here.
Although these jobs are openstack specific, there's still no need to
duplicate ourselves.
Change-Id: I1270639344044567a7960d5f8d98afffe69cf092
Depends-On: I94dfe8e6aab9c2da1283590be5e26f7d8c35dcad
This one is refreshingly easy.
We also have all the jobs needed now, so add a project-template
that matches the v2 publish-to-pypi template.
Depends-On: I901331a6b2dd7d269d5e356e76674ef9635924b5
Change-Id: Id9e346aefd6e783a184f3a4bb5d4b256a7448799
So that folks can gate on their tarballs working properly.
Also make sure tox is around in pre-run not run.
Change-Id: Id167cdaa2c527637c35a68e86f936b77b27ca983
We'll be moving this into project-config
Change-Id: Ie577aa1c603158b1a71f8107113de51bddc1a771
Depends-On: I8ef01f14b2bde71c335017f0bbc8532b91f226b6
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
It is possible for a branch to be feature/zuulv3, as a result that
breaks our renaming process. Replace / with -.
Change-Id: I17aed5fc284e2a173d8e4853105a1ee30c28cad9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
These 2 jobs will be used to copy release / branch tarballs to
tarballs.o.o.
Branch tarballs will only copy *.tar.gz, while release jobs will copy
both *.tar.gz and *.whl files.
Change-Id: Ic879302a2006b737ee4364cea067a00ebe198951
Depends-On: Ia79802dd386dbf1287af16a59985ce99a7dd4899
Depends-On: Ic7fc31a372de29a3a97ef84539faf3b0a1d6e181
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
It is possible we are going to depend on roles in other repos (like
the next patch). Move this to using an environmental variable to make
it easier to depend on external roles.
Change-Id: Ia90ac5674188d38a6a749c92de957430d5a5403c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We are running zuulv3 under python3, so it make sense to ensure
ansible dependencies are also testing with python3.
Change-Id: I2d011d62c1d5192c0f309e37c2d30c8598cce359
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Add a new job for openstack projects that are using upper-constraints
from the requirements project.
Change-Id: Ib9f0a787998f34414c8072074113d29cdb8cdb59
Depends-On: Ic4a5644e79ca7000cbdaee40467619a6832c8332
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Using linters makes more sense, for playbooks / roles. Make the
switch.
Change-Id: Ib5a4f7409276aa832783f1d217530b5249313611
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Syntax check our playbooks / roles when we run pep8. This way we can
quickly tests if our playbooks are valid.
Change-Id: I2f4e3f617922c8578adb53e2c4a418488fcf230b
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
Define the tox-py35-on-zuul job here so that it's local only to
openstack's zuul config. We'll add it to the pipeline in project-config.
Change-Id: Icf40921e609e7f83518d6cbb15614203cf632b37
Depends-On: I43061135bafdd8946cbedac9cdf06811ff1d1c8e
These are defined in zuul-jobs now. Because the tox-docs in zuul-jobs is
a general purpose "run tox -edocs" job, we should call the openstack
variant that does other things something else.
Depends-On: I19fd6cb20b09b931873a0d9c85ebefabbf2c8373
Depends-On: Ife2b603710e8bdba7eac5fffe68dc41c97f336cf
Change-Id: I828e38d3efd4817146cc6b1fefaa7b5bab71fdf7
This is being moved to project-config because it needs to be
trusted.
Change-Id: I4151695c50253b73a021289ad94493a6b3d8f7ae
Depends-On: I6781923f08b39cfb6778ae581e0dea3b51ea31c4
This no longer makes sense in zuulv3.o.o. We actually want to publish
to logs.o.o, but we are missing SSH private keys currently. For now,
just delete this old code as it appears to be delaying jobs.
Change-Id: I2f4007c91f0f3131d7fc8e36a1d32cc38e686ec5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Otherwise, we get a deprecation warning:
[DEPRECATION WARNING]: Using comma separated values for a list has been
deprecated. You should instead use the correct YAML syntax for lists.
Change-Id: I59194aa420c449a5d557dfa087f7ab3ec6521afa
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We need to compile cryptography for ansible / ansible-lint
dependencies.
Change-Id: I266d71dbb1bff7b6a6bd0f506cb49d568e1a0466
Signed-off-by: Paul Belanger <pabelanger@redhat.com>