Skip to content

Conversation

@wking
Copy link
Member

@wking wking commented Apr 7, 2021

564e6ff (#15179) removed our existing release-branch block without adding us to a different release-branch block. Here is where we are today:

$ yaml2json <core-services/prow/02_config/_config.yaml | jq -r '.tide.queries[] | {labels, includedBranches, excludedBranches, repos: [(.repos // [])[] | select(contains("openshift/cincinnati"))]} | select((.repos | length) > 0)'
{
  "labels": [
    "lgtm",
    "approved"
  ],
  "includedBranches": [
    "master",
    "main"
  ],
  "excludedBranches": null,
  "repos": [
    "openshift/cincinnati",
    "openshift/cincinnati-operator"
  ]
}
{
  "labels": [
    "lgtm",
    "approved",
    "bugzilla/valid-bug",
    "group-lead-approved"
  ],
  "includedBranches": [
    "release-4.8",
    "openshift-4.8"
  ],
  "excludedBranches": null,
  "repos": [
    "openshift/cincinnati",
    "openshift/cincinnati-operator"
  ]
}
{
  "labels": [
    "lgtm",
    "approved"
  ],
  "includedBranches": null,
  "excludedBranches": [
    "release-3.11",
    "release-4.0",
    "release-4.1",
    "release-4.2",
    "release-4.3",
    "release-4.4",
    "release-4.5",
    "release-4.6",
    "release-4.7",
    "release-4.8",
    "openshift-4.1",
    "openshift-4.2",
    "openshift-4.3",
    "openshift-4.4",
    "openshift-4.5",
    "openshift-4.6",
    "openshift-4.7",
    "openshift-4.8",
    "feature-es6x",
    "feature-prom-connector",
    "master",
    "main"
  ],
  "repos": [
    "openshift/cincinnati",
    "openshift/cincinnati-operator"
  ]
}
{
  "labels": [
    "lgtm",
    "approved"
  ],
  "includedBranches": null,
  "excludedBranches": null,
  "repos": [
    "openshift/cincinnati-graph-data"
  ]
}

So cincinnati and cincinnati-operator had:

  • lgtm and approved for master and main (great)
  • lgtm, approved, valid-bug, and group-lead-approved for 4.8 (not what we want)
  • lgtm and approved for unrecognized branches (who cares?)
  • no Tide config for older release branches (not what we want).

With this commit, I'm moving all of the Cincinnati entries under the "lgtm and approved for all branches" block.

I'm not sure why we only have the one openshift-priv entry. It's originally from 4e4cd48 (#8553). In this commit, I'm just manually moving it alongside the other entries.

…nches

564e6ff (We do not need patch manager approval for cherry picks for
Cincinnati, 2020-01-22, openshift#15179) removed our existing release-branch
block without adding us to a different release-branch block.  Here is
where we are today:

  $ yaml2json <core-services/prow/02_config/_config.yaml | jq -r '.tide.queries[] | {labels, includedBranches, excludedBranches, repos: [(.repos // [])[] | select(contains("openshift/cincinnati"))]} | select((.repos | length) > 0)'
  {
    "labels": [
      "lgtm",
      "approved"
    ],
    "includedBranches": [
      "master",
      "main"
    ],
    "excludedBranches": null,
    "repos": [
      "openshift/cincinnati",
      "openshift/cincinnati-operator"
    ]
  }
  {
    "labels": [
      "lgtm",
      "approved",
      "bugzilla/valid-bug",
      "group-lead-approved"
    ],
    "includedBranches": [
      "release-4.8",
      "openshift-4.8"
    ],
    "excludedBranches": null,
    "repos": [
      "openshift/cincinnati",
      "openshift/cincinnati-operator"
    ]
  }
  {
    "labels": [
      "lgtm",
      "approved"
    ],
    "includedBranches": null,
    "excludedBranches": [
      "release-3.11",
      "release-4.0",
      "release-4.1",
      "release-4.2",
      "release-4.3",
      "release-4.4",
      "release-4.5",
      "release-4.6",
      "release-4.7",
      "release-4.8",
      "openshift-4.1",
      "openshift-4.2",
      "openshift-4.3",
      "openshift-4.4",
      "openshift-4.5",
      "openshift-4.6",
      "openshift-4.7",
      "openshift-4.8",
      "feature-es6x",
      "feature-prom-connector",
      "master",
      "main"
    ],
    "repos": [
      "openshift/cincinnati",
      "openshift/cincinnati-operator"
    ]
  }
  {
    "labels": [
      "lgtm",
      "approved"
    ],
    "includedBranches": null,
    "excludedBranches": null,
    "repos": [
      "openshift/cincinnati-graph-data"
    ]
  }

So cincinnati and cincinnati-operator had:

* lgtm and approved for master and main (great)
* lgtm, approved, valid-bug, and group-lead-approved for 4.8 (not what
  we want)
* lgtm and approved for unrecognized branches (who cares?)
* no Tide config for older release branches (not what we want).

With this commit, I'm moving all of the Cincinnati entries under the
"lgtm and approved for all branches" block.

I'm not sure why we only have the one openshift-priv entry.  It's
originally from 4e4cd48 (private-prow-configs-mirror
--release-repo-path, 2020-04-24, openshift#8553).  In this commit, I'm just
manually moving it alongside the other entries.
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 7, 2021
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

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 7, 2021
@openshift-ci-robot
Copy link
Contributor

[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:

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 df7b102 into openshift:master Apr 7, 2021
@openshift-ci-robot
Copy link
Contributor

@wking: Updated the config configmap in namespace ci at cluster app.ci using the following files:

  • key config.yaml using file core-services/prow/02_config/_config.yaml
Details

In response to this:

564e6ff (#15179) removed our existing release-branch block without adding us to a different release-branch block. Here is where we are today:

$ yaml2json <core-services/prow/02_config/_config.yaml | jq -r '.tide.queries[] | {labels, includedBranches, excludedBranches, repos: [(.repos // [])[] | select(contains("openshift/cincinnati"))]} | select((.repos | length) > 0)'
{
 "labels": [
   "lgtm",
   "approved"
 ],
 "includedBranches": [
   "master",
   "main"
 ],
 "excludedBranches": null,
 "repos": [
   "openshift/cincinnati",
   "openshift/cincinnati-operator"
 ]
}
{
 "labels": [
   "lgtm",
   "approved",
   "bugzilla/valid-bug",
   "group-lead-approved"
 ],
 "includedBranches": [
   "release-4.8",
   "openshift-4.8"
 ],
 "excludedBranches": null,
 "repos": [
   "openshift/cincinnati",
   "openshift/cincinnati-operator"
 ]
}
{
 "labels": [
   "lgtm",
   "approved"
 ],
 "includedBranches": null,
 "excludedBranches": [
   "release-3.11",
   "release-4.0",
   "release-4.1",
   "release-4.2",
   "release-4.3",
   "release-4.4",
   "release-4.5",
   "release-4.6",
   "release-4.7",
   "release-4.8",
   "openshift-4.1",
   "openshift-4.2",
   "openshift-4.3",
   "openshift-4.4",
   "openshift-4.5",
   "openshift-4.6",
   "openshift-4.7",
   "openshift-4.8",
   "feature-es6x",
   "feature-prom-connector",
   "master",
   "main"
 ],
 "repos": [
   "openshift/cincinnati",
   "openshift/cincinnati-operator"
 ]
}
{
 "labels": [
   "lgtm",
   "approved"
 ],
 "includedBranches": null,
 "excludedBranches": null,
 "repos": [
   "openshift/cincinnati-graph-data"
 ]
}

So cincinnati and cincinnati-operator had:

  • lgtm and approved for master and main (great)
  • lgtm, approved, valid-bug, and group-lead-approved for 4.8 (not what we want)
  • lgtm and approved for unrecognized branches (who cares?)
  • no Tide config for older release branches (not what we want).

With this commit, I'm moving all of the Cincinnati entries under the "lgtm and approved for all branches" block.

I'm not sure why we only have the one openshift-priv entry. It's originally from 4e4cd48 (#8553). In this commit, I'm just manually moving it alongside the other entries.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@wking wking deleted the restore-tide-for-cincinnati-release-branches branch September 21, 2021 02:30
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.

4 participants