Since the job will have to run on the Zuul executor, it needs to
only rely on stdlib, yaml and requests (which are already installed
on the executor).
Change-Id: Id4e5a88d352e95402d0899deceade6fed8146619
This is the first step into automating PTL/liaison approval.
This tool will check that PTL/liaisons either authored the change or
approved it.
Change-Id: I1bbb371997e9e92f39eff47adb4d3d176af35de7
Per best practices, explicitly use the python3 executable rather than
assuming the platform with have a "python" executable that maps to
python3.
https://www.python.org/dev/peps/pep-0394/
Change-Id: I39b8a1013a891f4570f374d8faa3cfa2ecaf3347
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This updates the instructions for client and non-client lib freeze to
make sure all changes are captured in a final release. Also adds a
helper tool to separate out the two types of libs since they have
different deadlines.
Change-Id: I29ea73bcc5a9649d7d9c502ebc0a05c840e41484
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Running our default tox environments locally, the bashate tests fail
with several errors due to line length and indentation levels.
Change-Id: I15ec6a9cb1dbdb2200294c5aa2d2eb6074f00a25
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
There are many references to review.openstack.org, and while the
redirect should work, we can also go ahead and fix them.
Change-Id: I0d46b1a4e00c1775ea5e38d39e87bed99f6bbb2e
Probably mostly useful for extended maintenance, but this adds a script
that can add a $series-em tag to all deliverables of a series as we
claimed we would do in the extended maintenance policy changes [0].
[0] https://docs.openstack.org/project-team-guide/stable-branches.html#extended-maintenance
Change-Id: Ibeec88bf4e81b97c523f416669e07a10aa86a53b
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Simplify the instructions by providing a special script and then
update the instructions to refer to it.
Change-Id: Ibbcd422c06dc4aeb3df503f3c0f084b39d3bf0f7
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Our announce email included a few errors in the paths provided. If the
git remote.origin.url ended with ".git" the tarball path was wrong. We
were also using the package name for git and doc paths incorrectly. This
fixes the name used so the resulting links are correct.
Story: #2005279
Task: #30131
Change-Id: I7a64761778b7391c0f3188b1177f03a7e712bd2a
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I648dbeadf4ff11e3d9f23521be530b36186927d9
Teams come and go, so we want to iterate over the set of teams in the
branch that we are scanning for unreleased changes instead of assuming
the group from ocata is correct.
Change-Id: Iacf3933cbfc14f9a3e7b404171247108c27083f3
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
With this script now the txt files with the lists are stored under
<releas>-<date>-<time> directory.
Also small modification to show the links and commit messages of the
open changes in one line.
Change-Id: I3563445e7693448b3308ef4df8739532d1fc3f99
If running with tox venv, the python version (where all the
requirements are installed) might be different than /usr/bin/python.
We should use the one in the env.
Change-Id: Ic69282b289fefeafa5a63b6da284f44c4b3c4b15
Introduce the flag `--url` who allow user to generate urls
for the given result.
Introduce the option `--distgit` to allow user to specify
the base url to use to generate urls.
Change-Id: I10d4f92f64a68f283c70c2c880c27a069f123762
Leverage the newly-introduced 'release-management' key from
projects.yaml to skip repositories in deliverables that are
not handled by the release-management team.
No longer maintain a local list of repository exceptions.
Change-Id: I0e5eab7a2aeb3bd09acf7bf01356a9f664530b0f
Allow users to format output results to the yaml format
by using the flag --yaml.
Passing this flag prefixing each results with dash in the stdout.
Change-Id: I460c17704c5311d6fb422d5e56be8080344ab986
This script will compute a list of deliverables present in
governance but unknown to release management, for manual
processing.
Change-Id: Ibebf777911416d978ecea5ba8d7b25b211e7ae52
This updates commands and tools to work with the cycle-with-rc model.
Change-Id: I8df85df1c84ae6d8fb37a5206e155f84f8fac947
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This script helps to check unreleased and open changes of every teams
(and every repositories that has stable:follow-policy tag) for doing a
'final release' before moving the projects to Extended Maintenance
state.
Change-Id: Ifc0099a2392f85f16e76aaa416c6fd8abe9a26af
The gate keeps a local cache of repos that will not reflect things like
the manual deletion of refs such as incorrect branches. In order for the
validation to pass before the cache is rebuilt, we need to prune the
repo to pick up those deletions.
Change-Id: I25848275f90ec440e85765f87a23cd1413aab6cb
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This code was using the remove iteritems() call. Updated to just call
items() instead.
Change-Id: I29bff1a6a4e9be8e11d5411de227da0c3fa83447
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Change I3cc38afd80eb41200c7269a3039e87f01156eaab switched this tool to
generate a yaml file for driving the release schedule page. That also
removed the ability to generate an etherpad formatted output, but the
option was not removed. This cleans up the unused option.
Change-Id: I2e1b8dcb92239e891ac27af8a503f901c835c808
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
A few errors were causing the bashate job to fail. This corrects those
errors and also addresses the reported warnings for a clean build.
Change-Id: Ibc5c4f006d264e2f0a4c1b8186b5e313d2905561
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
The clone_repo script clones the repo if needed and then checks out the
commit, branch, or master. If a previous checkout has left untracked
files, this will fail to protect those files from being overwritten.
In our automation we do not need to care about untracked files and need
to make sure we have the right point in the tree, so force the checkout
to make sure these untracked files are ignored.
Change-Id: Ia1ec2869aa7a899e987ef43a11f0af627efeea65
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
ACLs are being updated for rally, so we can stop
including them as an exception for acl checks.
Depends-on: https://review.openstack.org/575130
Change-Id: I13abbf1e4d75afcc540d3e82904cbc0391154b4a
By default, the tool should report ACL violations rather than
fix them in place. Add a --patch option to explicitly ask to
fix the ACL files in place.
Rename tool to aclissues.py to better reflect what it does by
default (report issues instead of fixing them).
Change-Id: I04744746b6492a1f3ab0790ebb565235f292caf9
Deliverables under TC governance should have their release
process handled by the Release Management team. However, there
are a number of exceptions to the rule: deployment tools may
have their artifacts released using an ecosystem-specific
toolchain. Some teams might be in the process of leaving TC
governance and adjusting their ACLS would be counter-productive.
Change-Id: Ia304de2eea2364a990b17343879fe26b904706e1
Once the depends-on mergesm we no longer need an exception
for tripleo-ci and dib-utils repositories.
Depends-On: https://review.openstack.org/573728
Change-Id: Ia9ec0027cd9a4e9671f86c4bed53496d61909793
ACLs are being updated for dragonflow, so we can stop
including them as an exception for acl checks.
Depends-on: https://review.openstack.org/573772
Change-Id: I3ca69f604533f4b3746b7c412c9f1a1ccb6a8646
ACL for PowerStackers was fixed.
ACL for yaql is fixed in the Depends-On.
Depends-On: https://review.openstack.org/572065
Change-Id: Id03dfef052a88c161fb043b81907e51041649156
aclfixer.py keeps track of ACL fixes we still need to do.
Since last check, EC2API was fixed.
A new violation was detected in puppet-pacemaker but is
fixed in the Depends-On.
Depends-On: https://review.openstack.org/571770
Change-Id: I8701e4fdbb6578912ebf6fdb8d75ba3189be31fb