A later version of ansible-lint enforces names on blocks. This is
generally a good rule; fix a few missing blocks here.
Change-Id: Ia87a0c21ec0ed1662e37cbc9e17a0df344b54e57
- Use zuul_return fake module to make ansible lint happy, this allows
to remove Zuul import.
- While ansible-lint 4.2.0 is now able to detect playbooks/roles, this
is broken, so don't use it
- move its config out of tox.ini so it can be used by any tools, or
without tox
Change-Id: Ie8935f47db855647e19ae091044e5ac1871f1551
Co-Authored-By: Sorin Sbarnea <ssbarnea@redhat.com>
Co-Authored-By: Andreas Jaeger <aj@suse.com>
There are at least two problems here. The first is we can't create an
afs token because we don't have access to the afs secret. The old ssh
based secret was removed by:
https://review.opendev.org/#/c/706734/2/zuul.d/jobs.yaml
Fix that by adding the new opendev tarballs secret to the job.
Next we need to prefix translation sources with translation-source/ in
the filesystem path. This requires us to write out to a different afs
path than normal. To address that we add a new playbook that is aware of
this different path.
Change-Id: I8b49e4d91600377c98e003b806a13fc89d2614ec
Horizon no longer support python2 as it has dropped Django 1.11
support which is the last version with python 2.7 support.
However, the translation jobs still require python2, so the translation
jobs are failing after horizon dropped python2 support.
It is time to ensure python3 in the translation jobs.
Change-Id: Id78484bf5366601b11547e80b772a0eec03622d0
The translation jobs check out horizon directly, let's add it to
required-projects instead so that we can use the on-disk copy.
Pass the location of the horizon directory to the scripts.
Needed-By: https://review.opendev.org/682809
Change-Id: If56a3f4c6a20414fdacb5c6395e9f0efd7eb8395
The prep-zanata role has been moved to openstack-zuul-jobs and renamed
to prepare-zanata-client, use it now and remove the now obsolete role.
Change-Id: I1351d586d8c4211677300eb2e606ef6007ca816b
Depends-On: https://review.openstack.org/525760
The run job ended and did not upload the subunit file in case of
failure.
Move the subunit upload into it's own post-run script so that it runs
everytime.
Change-Id: I42c3f52e995e8c3c47efbf07c48eaaf66dbfa59b
Create new role for copying common scripts, this includes for now only
common.sh. Use this for proposal and translation jobs.
In the past we duplicated the file, this allows to have one definition
only.
Change-Id: I72c14341f511fdaa2c67a3758387afc9445869cc
The role name is misleading. It's not fetching stestr output, it's
fetching subunit output.
Add a note to the README explaining what it does and that it's not using
fetch-subunit-output on purpose.
Use "{{ zuul.project.src_dir }}" instead of
"src/{{ zuul.project.canonical_name }}".
Change-Id: I1b5ab65f9697ec184969ca7899fb40294cdb853c
We made an ensure-babel role. Use it instead of the shell script.
From doing that, remove references in the translation update
scripts and instead source the activate script. Ensure-babel currently
installs into a venv, but may want to just do pip install --user in the
future.
Change-Id: I0ea86040b91c1c3de4f5b315183974548e51b5fa
Depends-On: I1334ff1f469061884b222dd99e72a989d72c68be
The show up in openstack-health, we need to publish the subunit file.
The file is written by the subunit files, so only publish it.
Change-Id: Ia2a4060c7e6ae3a5f9b8a8e8540c1d2c331850b1
The translation scripts need sudo, we cannot use the release notes
pre.yaml which revokes sudo. Instead, create our own pre script and use
it.
Use .venv/bin for sphinx-build since that's where the current role in
openstack-zuul-jobs puts the content.
Depends-On: I23ae1ed7abe7f36d46aae3d72293210ca2a8c0e6
Change-Id: Ia7427bef0408bc5138b6f2a0eb30713ce8fd379d
Add upstream_translation_update and propose_translation_update jobs.
They are close enough to put them both in the same commit.
Adds a legacy role to prep the upper-constraints file for tox.
Eventually this should work like the tox role, as an env variable passed
along for tox to read.
Adds a role to prep zanata client on the node in order to use the client
to interact with the Zanata server.
Change-Id: If736642860c5b0d1523215f90c64e858387d4254
Depends-On: I014d559c330803213105ce1bf83a41a3c157df9c
Signed-off-by: Jesse Keating <omgjlk@us.ibm.com>