This script only generates the commands as a convenience, we still
need someone with infra-root privileges to run them.
Change-Id: I9870230509ad9f532f486b0682786d136ded798a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
ACL files changes are now checked for normalization.
Fix aclmanager so that it inserts the stable specific
section at the right place in the file.
Change-Id: Ieeb226645616d7db108336084022eb18347f1409
The openstack/release-test repository ACL gets picked up by
aclmanager when it updates ACL. Add it to the exceptions list,
and make sure that the list is actually used.
Change-Id: I7735898f53eafca15a8b4bb19459c576dc254d4e
Exit with an error if the pipeline produces an error and run the correct
command rather than the part of the command name used for the output
filename.
Change-Id: I0754ab219983cad3eb8dae327a5435d094f8cf85
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Adjust the tox log wrapper so it works with the full path to the
script for running yamllint, then add it to the step for running
yamllint so the results are logged to a separate file.
Change-Id: I98561e17e4fa76aeee9adfd57d9e71a7f229e536
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Do not show set -x output by default, but provide an option to enable
it.
Change-Id: Idba91c635ce179ce07945a6dc519e72e667b9463
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Having the rather complex output of list-changes mixed in with the
main job log can make it difficult to read. Continue to include the
data in the main log file but also write it to a separate file that is
easier to consume.
Change-Id: If4d3b56c76b2bf513b2d44ffedf5825f562f4bfb
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Behavior change from set -e causes attempt to checkout an invalid
branch to fail. Explicitly fall back to master if the requested
branch name checkout fails.
Change-Id: I5d1f6a997375743bb3498e7fae1fbad19c307d33
git fetch and git remote update do the same work, and there is no need
to do it twice. Keep the fetch command since we can explicitly tell it
to pull down tags.
Change-Id: Iac1602ebe7a1a67ad5fecb599cde21f2a312fff4
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
The old logic was passing "master" as the series to list-deliverables,
which is wrong because the series name for the master branch will
always be a release series and not "master".
Change-Id: I3e595ac84332e0903941deed23d3a19dd23f2f93
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Under zuulv3 the behavior has changed significantly to now require
specifying which repositories need to be cloned for each job, and
zuul-cloner only copies the repositories that are already
available. As soon as zuulv3 is released, our jobs relying on the old
fallback behavior of checking out from a cache when present but using
the upstream server in other situations will fail.
The new script tools/clone_repo.sh handles the cases we have in the
tools and jobs within this repository, and should also be usable from
the tag-releases job.
zuul is removed from the list of requirements so it is no longer
installed when jobs run under tox.
list_unreleased_changes.sh is updated to drop the use of the
virtualenv, which was only present for zuul-cloner.
The other updates in the patch are to change the tools to use the new
script.
Change-Id: Ic559d27881a9a89fb0dcb5295a4d7ed7c578112f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Refactor edit-deliverable to use sub-commands and then add one for
adding the stable branch to a deliverable based on the version.
Change-Id: I939592591ddbf54bc4a2ef239912a09fd5c42d7e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
We don't need to run the linter over every single old deliverable file
every time. Just check the "modern" series that are most likely to
be open, and the _independent projects.
Change-Id: I5207600838c37b241d0ab178080be75a8f31a725
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Update the tool for importing existing repositories so it knows when the
pike release is.
Change-Id: Ie41ba303d53f819d924567baf2f3700e134c0218
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
There is no need to initialize gerrit related stuff, and 'git review -s'
uses ssh way to connect gerrit, which doesn't work for some users. So
just drop it.
Change-Id: I68a8f32569d8d41cd9b413a5c5a2e5577b5fdbd0
When patching ACL files, rather than just add a section for
stable/$newseries, we should also delete old stable/$series
sections. Otherwise around $newseries release time,
stable/$series would be owned by release managers again.
Change-Id: I1fdc8e370f0f56df54ba27736046d7d6893ca240
The only reason we have a dependency on launchpadlib and
lazr.restfulclient is for the old tool that imported project history
from launchpad. We no longer need the tool, so we can remove it and the
dependency as part of our python 3 port.
Change-Id: Ie87e6172c953df10cb70d34c9bc23ad30e97ce4d
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
If we get a validation error, report it and skip the version.
Change-Id: Id2117405d10efaaa74cf23faa8720e9f66c5eb00
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
When importing history for an independant project currently
tag_history_from_git will create the file in
deliverables/UNKNOWN/$project.yaml. Add a series argument so the file
can be created in the correct directory.
Change-Id: I22c840d1b46624bfdef8add09718c4dc4e489917
If the existing link matches the expected link, leave it in place
regardless of where it is in the file.
If the link needs to be updated, try to insert the link after the
"team" entry, assuming that will be closer to the top of the file
than "releases" and avoiding the need to figure out if "branches" comes
before or after "releases".
Change-Id: I4161bb048deba91ccf8170ea5f0b7208bd9a80a3
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
The script creates a separate output file for each team because
combining all of the data into one makes it to big to post on a
pastebin.
Change-Id: Ie5bfb0df225378e658ebb3c5d57d55d0dff7aca6
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Use a version of list_unreleased_changes.sh that does not rely on the
release-notes command from the release-tools directory.
Change-Id: Ifab8585a3707927d224ee223a551167cced05261
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
We had at one case where the release validation logic failed to catch a
release from master after the stable/ocata branch was created for
mox3. This script looks at the other "late" releases, created after a
branch, and verifies that they are all on the correct branch.
Change-Id: Ie148a34efa029e6715db099f7e5c9575ed94238d
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Print the names of the files we expect to be updating for each project
as they are found, since some repositories may use the same file for
permission settings.
Change-Id: I1a18d6916b99c6c5ce55306a6d9d13ecac4973bd
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Instead of requiring the series argument, look at the default that the
rest of the scripts use. There is still a command line option for
overriding the default.
Change-Id: I7168b4786ac8f275da1ff0cd177268b3a4c20c17
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Update the portion of aclmanager that modifies the gerrit groups to pull
the list of repositories properly.
Change-Id: Ib4b78de738517e9d6bd9176a9e4ad61203f22036
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
The aclmanager script needs to be able to get a list of repositories
with the cycle-with-milestone release model, and the data for that lives
in this repository now instead of the governance repository. Rather than
having a tool that relies on this data live in release-tools, move it
here.
Change-Id: I7c2c54c4949829aea92e569e3ac9ec9007d932ed
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Instead of building the RST table, build a YAML input data file to be
used with the new schedule rendering template. The results will have to
be edited by hand, but we at least get the dates and fixed events
included for free.
Change-Id: I3cc38afd80eb41200c7269a3039e87f01156eaab
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Find the versions for which the stable branches were created and update
the deliverable files with the historical info.
Change-Id: Idb233e0ec78f2b7ea0f07d596d6452786f725315
Signed-off-by: Doug Hellmann <doug@doughellmann.com>