Commit Graph

881 Commits

Author SHA1 Message Date
Zuul
adca21ef30 Merge "fix nits" 2021-03-16 09:18:29 +00:00
d6820ceb0a Create ovb 2.0 release and cut stable/2.0 branch
Last tag was created more than 2 years ago since
then master have included couple of features and
bug fixes. It would be good to get a tag release
for current master and also a stable/2.0 to backport
fixes into it.

Add stable-branch-type: upstream to allow
naming scheme apart from openstack release names.

Also add seperate release type for openstack-virtual-baremetal
as it's not publishing other pypi or tarball artifacts.

Change-Id: Ia8c9c5e8ad577f6ec1796591e77fddaffa62f008
2021-03-10 19:34:09 +05:30
Hervé Beraud
60f7b61406 fix nits
Change-Id: I7e543ad3265f81f51bd7edbcd1e780991b849c98
2021-03-05 17:32:09 +01:00
Zuul
c9e96c9c20 Merge "Adding a tool to catch projects that missed branching" 2021-03-05 14:20:39 +00:00
Hervé Beraud
c42fa88865 Adding a tool to catch projects that missed branching
This tool will be used in doc addition around the branching period
to ensure that we don't miss to create stable branches for project.

Also this tooling should be used around each trailing deadline to ensure
to not forget a trailing projects. Trailing projects are those who can
easily meet the conditions that lead to forget to branch them.

Adding usage of this tooling in our process to ensure to check that
point once a time at each new series.

Change-Id: I2a8bd25ecfe5bb1bde5af16b08f897a5bdc11cb7
2021-03-03 13:51:12 +01:00
Hervé Beraud
80652b5232 Ensure that we can build sdist from requested tags
Adding validation check to ensure that we are able to build sdist from
the latest tag.

This will allow us to detect sooner when we will try to add a tag to a branch
which is older than another tag already on that branch/in that branch's history

Indeed we recently experienced similar issue [1] with os-collect-config and
tripleo-ipsec where projects hadn't been branched for ussuri [2] and where
we tried to create a new ussuri release [3] on the same hash that an
existing wallaby tag.

Projects have been branched [3] after tags creation [2].

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/020112.html
[2] 688914aa29
[3] ihttps://review.opendev.org/c/openstack/releases/+/772047

Change-Id: Ie2d055f171418e2d35db697dfb1aa17cd449bea9
2021-02-17 17:17:25 +01:00
Hervé Beraud
8d61d2482b Allow to tag projects as "last" on EM branches
For testing for Extended Maintenance branches with branchless
Tempest and Tempest plugins, we need to release the new tag
for Tempest and its plugins as last compatible version for that
Extended Maintenance branches.

This commits adds the documentation and validation machinery changes about
that tag $series-last which will be used for branchless testing tooling.

Change-Id: I799e8e637a54a46fd7ca74dd568ea2c7506fa32d
Depends-On: https://review.opendev.org/c/openstack/project-team-guide/+/769821
2021-01-12 11:56:50 +01:00
Hervé Beraud
003eb35717 Adding a tool to track project who need to drop eol branches
Since transition from the EOL model to the EM model eol branches
are no longer removed and this step is no longer in the release team
process.

Keep stale branches can be an issue in some situation especially with
zuul and our gates. To avoid this situation the release team propose
to reintroduce regular checks to ensure that we remove stale branches
that have been tagged eol previously.

As discussed during our previous meetings soon it will be possible to design
a new job and to trigger it to remove eol branches automatically.
This will possible when the infra would have been updated and when all
the needed pieces will be in place.

Change-Id: I53aeb3211bb3251a3278472a514a39afe825cdd2
2020-11-12 10:57:39 +00:00
Zuul
e8cd9543de Merge "add tooling to list em series from data" 2020-11-05 10:35:46 +00:00
Hervé Beraud
d8aba0991d add tooling to list em series from data
Change-Id: I114f08c0c1c38a31f34d798562dd530910bcd3d5
2020-11-04 16:53:14 +01:00
Zuul
543785f218 Merge "init-series: Skip unrelease comment for trailing" 2020-10-26 13:04:26 +00:00
Zuul
98b91d9b25 Merge "Allow to consume projects without the openstack prefix" 2020-10-19 16:25:29 +00:00
Sean McGinnis
0c265869aa
init-series: Skip unrelease comment for trailing
Cycle trailing deliverables are often not released by the time we
initialize the next series. We add a comment to deliverable files during
their creation to note if they were not released in the last cycle to
help highlight orphaned deliverables. This can be misleading for cycle
trailing deliverables, since usually they do end up being released, but
after we've created the file and included the comment.

To make this comment more useful, this removes its inclusion for
trailing projects.

Change-Id: I010dadc2ca9026248e7f9dfc89d257afdf97be72
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-10-19 10:36:42 -05:00
Hervé Beraud
9e527f9e0e Mark Victoria as released
Change-Id: I5ffa9113d70e3d73c409d595bbe3e43035468416
Co-Authored-By: Sébastien Boyron <sboyron@redhat.com>
2020-10-14 14:23:25 +02:00
Hervé Beraud
9c4f3c4303 Allow to consume projects without the openstack prefix
Change-Id: Idbf382d83a9af05b17b8def7154c7390b6a7a5b0
2020-10-06 11:46:09 +02:00
Doug Hellmann
6fe3672660
add reno semver-next to the list-changes output
Use `reno semver-next` to check the proposed version against the types
of changes described in the release notes.

Change-Id: I9ac52ff524440670366ebeceb11dc04a446e876c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2020-09-03 08:34:49 -04:00
Riccardo Pittau
e53454c494 Add intermediate-branch arg to new-release script
This allows the projects with a cycle-with-intermediary release model
to be able to automatically generate the yaml file with the correct
new branch.

Change-Id: I003e5d3d39cbb8961822b3fd2a384bf3c9f66f5e
2020-08-12 17:16:26 +02:00
Zuul
92545dacb0 Merge "Update to latest hacking for pep8 checks" 2020-08-03 14:01:38 +00:00
Sean McGinnis
493b7bf33a
Update to latest hacking for pep8 checks
This updates the version of hacking we are using for our linting and
addresses various issues that the latest version flags.

Change-Id: I95ed73411e96451bc447e1b5858b0466fb8f10a9
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-07-27 16:33:03 -05:00
Hervé Beraud
d63b38783a Fix a bug on list_unreleased_changes during tag retrieving
Indeed `gitutils.gitutils.stable_branch_exists` is waiting for a branch
name not prefixed with `stable/`. This was not an issue with the
previous shell version. These changes fix that.

Without these changes the master branch will be analyzed and stable
branches will be ignored.

Change-Id: I61542508e8566eb797b0e304a6914d25e3b07e14
2020-07-27 22:04:08 +02:00
Hervé Beraud
85d8c3eb31 Add some whitespaces on helps to fix rendering.
Change-Id: I444fc8f48d5d17437814b7a31f7c5b90775e3543
2020-07-27 11:23:02 +02:00
Ben Nemec
d0bd6e76f3 Add newline between projects in std output format
Without this it is very difficult to visually distinguish between
the project outputs.

Change-Id: I452aa5500bda1bf607ba11baa92be3377945a4ab
2020-07-24 19:12:45 +02:00
Zuul
421c7d69f3 Merge "Fix list_unreleased_changes when repo doesn't exist or haven't been released" 2020-07-24 14:36:41 +00:00
zhaoleilc
46e30e8196 Correct a typo of an annotation
This patch changes 'begining' to 'beginning'
in an annotation of the _redirections.py

Change-Id: Ic29e3e924b1f59fb44f7fd64d9fbc960948b72ce
2020-07-23 14:26:21 +08:00
Hervé Beraud
9e0b82d820 Fix list_unreleased_changes when repo doesn't exist or haven't been released
Indeed during my previous implementation of this script, I missed to handle
the cases where repo is not found or has not yet been released when users
ask for a standard output. For yaml and json is not an issue as we dump
raw dict at the asked format (json or yaml).

These changes fix that.

Also to stay closer of the previous implementation of this tools (the
shell version), these changes add:
- colored outputs
- compared revisions (even when no diff are found,
  like in the previous shell version).

Change-Id: I74f0f8c7071fbf2c8272fc002f28b793ff8e672d
2020-07-22 17:36:43 +02:00
Ben Nemec
1a08f4b439 Fix output format default in list_unreleased_changes
"standard" is not one of the valid values and it results in the
command erroring because no output is returned. The correct default
for this opt seems to be "std".

Change-Id: I7df3feb98877b2a846f7239fb741ae84e35b59d5
2020-07-21 15:36:02 +00:00
Hervé Beraud
4912f7d5d0 Allow list_unreleased_changes to format results at json & yaml formats
Rewrite list_unreleased_changes as python format and add new features.

By default it will behave as the previous version of this command (the
shell script).

Few new feature have been added in these changes to allow us to more
easily handle outputs in scripts.

Features added:
- allow user to retrieve results in json format
- allow user to retrieve results in yaml format
- allow user to ignore project not yet released

The shell script entry-point (tools) is still there but it will call
the python command in a venv instead of directly implement features.

Also the python version allow us to more surround this tools with unit tests.

Change-Id: Iaf86ecb1589c40102acb621b23ea12d71ed453bb
2020-07-07 19:07:25 +02:00
Sean McGinnis
d593479b0b
Test bugfix branching with release-test
This does a new release with release-test to see if everything is
covered to allow branches to have a bugfix/* prefix.

Change-Id: I7869cf412524d7352249f02f7449b2fddf401d2c
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-06-29 15:40:12 -05:00
Thierry Carrez
aa2199de25 Improves releases.o.o index page
Clarify language used in the page.
Only list teams with active deliverables (current or still
under maintenance) in the Teams section. This allows to stop
mentioning long-gone teams like Astara or Cue or Fuel.

Change-Id: Ic41020606febf69769825f904255c915784791a1
2020-06-17 16:06:49 +02:00
Thierry Carrez
8a9f755cb9 Trailing is a deliverable type, not a release model
Cycle-trailing deliverables are regular cycle-following deliverables,
using RCs or not not using RCs -- they just have a different deadline.

Rather than using a release model, those deadline variants are better
described using deliverable types, in much the same way 'library'
deliverables have a specific deadline too.

This simplifies the list of models significantly, and allows to have
proposer validation of trailing deliverables that use RCs or not use
RCs.

For compatibility in old branches, setting 'cycle-trailing' is still
supported, it will just overload the type to 'trailing' if specified.

Change-Id: Ifce88ef3e5dd406f45f25214699f16e736ad5377
2020-06-16 16:18:30 +02:00
Thierry Carrez
50fbc33845 propose-library-branches: remove unused --all option
The --all option was copypasted from propose-final-releases but
ignored afterwards.

Change-Id: I1023c659506b12d833d856f16b604c8ba24c11f5
2020-06-15 13:49:52 +02:00
Sean McGinnis
804e560832
Add std-with-versions stable-branch-type
This adds a new std-with-versions branch type. This is used to control
validation logic when branching to allow the Ironic team to create
intermediary stable branches based on major.minor version numbers in
addition to our normal expected stable/$series branches.

https://specs.openstack.org/openstack/ironic-specs/specs/not-implemented/new-release-model.html

Change-Id: Ic482c77a2c177162ffe37643a455ac1724a658b3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-06-02 14:34:32 -05:00
Zuul
4b9898b2bd Merge "Add retries to sending emails" 2020-05-25 17:23:34 +00:00
Zuul
67228ca836 Merge "[fix] list-deliverables when branch type is undefined" 2020-05-20 11:54:54 +00:00
Hervé Beraud
6f599fe5be [fix] list-deliverables when branch type is undefined
These changes fix the `list-deliverables --no-stable-branch` command when
`stable-branch-type` is `none`.

Previously projects with `stable-branch-type: none` was returned in
results.

Project with this type of stable branch should be ignored when we
looking for projects with no stable branche (`no-stable-branch`).

Change-Id: I05c0e7e153e9ddbe5bc3632de9bfdde411ab580d
2020-05-18 13:24:53 +02:00
Zuul
7cc9684f3d Merge "Update missing cmd to follow redirects" 2020-05-14 16:03:55 +00:00
Sean McGinnis
31ab82a2ed
Mark Ussuri as released
Change-Id: I7fed7a8ac7dfe3387a77fd6de8eb025ea9dcd9ba
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-05-13 08:30:20 -05:00
Sean McGinnis
d403ccf5fa
Update missing cmd to follow redirects
Handles redirection in the link checking for artifacts.

Also drops looking for py2 wheels since we now only have py3.

Change-Id: I34b201902faa60795dae44ebf059af0f2f9242c6
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-05-13 07:19:35 -05:00
Sean McGinnis
f402cde902
Pass full environ copy to sdist subprocess
In order to tell pbr not to build release notes and create CHANGELOG and
AUTHORS files, we need to pass flags in as environment variables. We
can't just pass these flags though, as that will exclude the rest of the
normal environment set in. So copy the current environment, append our
updates, and pass that in explicitly to the subprocess call.

Change-Id: Ia47e73b51b3216572d51399338e95bd4269a8d1d
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-05-11 17:09:19 -05:00
Sean McGinnis
c75a909d1f
Drop PBR environment flags from sdist build
Change-Id: Ia36d9eab7d9f3e29d8804b592210ab6fb5e06148
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-05-11 10:26:34 -05:00
Sean McGinnis
854d9e270b
Speed up sdist build
We have a couple validations that need to build an sdist now. But once
it has been built in our temporary pristine clone, we don't need to
build it again. Because we create a clean clone, we also don't need to
worry about any stale dist builds. This adds a check to the sdist build
logic to recognize if an sdist has already been built and skip it.

There are also a few extra steps in the build process that are not
needed for our purposes. The biggest is the new(ish) pbr behavior of
building all release notes in the git tree if reno is present. This adds
an environment variable flag to tell pbr not to do that. While we're at
it, we don't need AUTHORS or CHANGELOG created either, so set the flags
telling pbr to skip those as well.

Change-Id: I15be9a12ff6684729980c40afae9625a8b8e550a
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-05-10 17:42:35 -05:00
Hervé Beraud
7b0057f5f3 [feat] Add final release canary mode
Add the canary mode feature to propose_final_releases.py to allow
us to test final release with a pseudo workflow based on
the real process.

Change-Id: I27f604eb52563b04f5bb8a24e096b9fec4a14dbd
2020-05-04 16:46:55 +02:00
Sean McGinnis
c5545ee077
Add retries to sending emails
We have occasional release announcement job failures due to network
issues or other SMTP errors sending the announcement. Most of these
appear to be temporary failures that would be resolved with another
attempt.

This patch adds exponential backoff retries to the sending process to
try to get around these failures.

Change-Id: I70bb470639385caecee7ccfc0e449449bfc9b871
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-27 11:23:28 -05:00
Andreas Jaeger
0c31414677 Update docs building, Python 3 cleanup
Update docs building:
* Remove unneeded doc sections from setup.cfg
* Change constraints to use published document, use
  new variable
* Import mock from unittest, remove imports from future

Change-Id: I8f33d4c0bf5fcba203d410cd021c548219a757ec
2020-04-20 11:16:46 +02:00
Sean McGinnis
371cc47754
Update etherpad URL link
Change-Id: I456e5e3a741355907489bdb398f3ce9ada76c755
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-13 11:54:40 -05:00
Sean McGinnis
b4040e44b5
Drop email content weekly link from tracking template
Change-Id: Idd69efc4370114a1af9a51a7d380273b17787092
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-08 09:54:09 -05:00
Mark Goddard
21b5834257 Create stable/1.0 branch for Tenks 1.0.x
This will allow us to create releases with Python 2 support, while
moving forward with the Python 2 drop on master.

Change-Id: Ie7a8f36c3b88f5451c44c5a37f1ac3543a942e6e
2020-04-07 12:08:28 -05:00
Jeremy Stanley
7936adc658 Bust import caching of xstatic package namespaces
When iterating over xstatic packages which haven't had the benefit
of pip install creating explicit namespace packages for them, we
reset the implicit namespaces which may linger from earlier imports.

Change-Id: Ie6fe282c9d06f0147e37bbe2cf6de9d9c3f0eb39
2020-03-26 21:08:08 +00:00
Zuul
0e9caee0f1 Merge "Don't allow tagging em or eol with no branch" 2020-03-09 12:45:37 +00:00
Zuul
b60faac494 Merge "Make sure -em tag is on last release" 2020-03-09 12:42:40 +00:00