Skip to content

tools: update our release scripts#7493

Merged
alyssawilk merged 4 commits intoenvoyproxy:masterfrom
alyssawilk:script
Jul 11, 2019
Merged

tools: update our release scripts#7493
alyssawilk merged 4 commits intoenvoyproxy:masterfrom
alyssawilk:script

Conversation

@alyssawilk
Copy link
Copy Markdown
Contributor

Functionally this

  • removes the script which filed bugs to remove old config (per plan of record in Stable Envoy API versions #6271)
  • adds a script which files bugs to remove old code (cleanup of runtime guarded features)
  • updates our release process

In practice, this just hot swaps what our deprecation script does and updates the docs.

Risk Level: n/a (tooling + comment)
Testing: manual testing. Will do one more manual test with actual bug filing just before submitting.
Docs Changes: updated
Release Notes: n/a
Fixes #6472

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
# grep source code looking for reloadable features which are true to find the
# PR they were added.
grep_output = subprocess.check_output(
'grep -r "envoy.reloadable_features\." source/*', shell=True)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

no need /* at end of grep

import github
from git import Repo

try:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

did we move completely to python3 on this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I thought we'd switched our tools to 3 by default, and I handled a bunch of string-bytestring compat issues I think were Python 3, and it seems to work without this try phrase. I can add it back if that's not enough?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

From https://github.com/envoyproxy/envoy/blob/master/tools/deprecate_version/deprecate_version.sh I don't think it is forced to run under Python 3? Python 2 input is interpreting the input as python script, (i.e. eval(raw_input())), so if not sure let's keep this. Or force Python 3 in the shell script as this one is likely only run by maintainer.

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

runtime feature guarding deprecation

2 participants