Skip to content

Conversation

@wking
Copy link
Member

@wking wking commented Sep 3, 2021

When we have a GitHub token, we checkout a branch and create a pull request for each promotion. When we don't have a token, we used to just log the changes that needed to happen. With this commit, a token-less call will now edit the local files to perform all appropriate promotions. That allows this script (which understands about tombstones and filters and other promotion criteria) to be used to backfill channels when we expand filters (e.g. allowing 4.(y-1) in fast-4.y after 4.y GAs, or allowing 4.(y-1) in stable-4.y after we feel comfortable with the fast behavior. That should make things like 8da5782 (#947)'s accidental promotion of the tombstoned 4.7.10 and similar less likely. More on that in 4c53c7b (#1035).

Drop the old backfill script from 2a02325 (#549), now that this new functionality makes it obsolete.

When we have a GitHub token, we checkout a branch and create a pull
request for each promotion.  When we don't have a token, we used to
just log the changes that needed to happen.  With this commit, a
token-less call will now edit the local files to perform all
appropriate promotions.  That allows this script (which understands
about tombstones and filters and other promotion criteria) to be used
to backfill channels when we expand filters (e.g. allowing 4.(y-1) in
fast-4.y after 4.y GAs, or allowing 4.(y-1) in stable-4.y after we
feel comfortable with the fast behavior.  That should make things like
8da5782 (4.8 GA -- Fill in 4.7.z into fast-4.8, 2021-07-26, openshift#947)'s
accidental promotion of the tombstoned 4.7.10 and similar less likely.
More on that in 4c53c7b (Blocking all the incoming edges to 4.7.10,
4.7.14, 4.7.15, 4.7.20, 2021-09-03, openshift#1035).

Drop the old backfill script from 2a02325 (hack/backfill: Add a
backfilling script, 2020-11-12, openshift#549), now that this new functionality
makes it obsolete.
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 3, 2021
wking added a commit to wking/cincinnati-graph-data that referenced this pull request Sep 20, 2021
Generated with:

  $ sed -i '/^  filter: /d' channels/stable-4.8.yaml
  $ hack/stabilization-changes.py

but using the still-in-flight version of that script from [1] to
include the promotions in this commit, so the stabilization bot
doesn't follow up with a whole bunch of parallel promotion pull
requests.

We've been cooking in fast-4.8 long enough that we feel fairly
confident that major 4.7 -> 4.8 issues will have surfaced by now.

[1]: openshift#1039
Copy link
Member

@LalatenduMohanty LalatenduMohanty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@LalatenduMohanty
Copy link
Member

/test validate-blocked-edges

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 26, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 26, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LalatenduMohanty, wking

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [LalatenduMohanty,wking]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit f1a90de into openshift:master Oct 26, 2021
@wking wking deleted the local-stabilization-changes branch October 27, 2021 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants