Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

e2e: add multiversion flag to generator #9829

Merged
merged 4 commits into from
Dec 6, 2022
Merged

Conversation

williambanfield
Copy link
Contributor

This pull request should be the last changes made directly to the Go e2e code. This adds a multi-version flag to the e2e test generator. When set with --multi-version <version-number> the e2e generator will create manifests with with <version-number> specified as the node version.

The final piece of this group of changes will be setting this flag in the v0.34.x branch's invocation of the generator tool. The flag will be set dynamically by querying git for the latest v0.34.* tag.

PR checklist

  • Tests written/updated, or no tests needed
  • CHANGELOG_PENDING.md updated, or no changelog entry needed
  • Updated relevant documentation (docs/) and code comments, or no
    documentation updates needed

@williambanfield williambanfield marked this pull request as ready for review December 2, 2022 20:07
@williambanfield williambanfield requested a review from a team December 2, 2022 20:07
@thanethomson
Copy link
Contributor

This pull request should be the last changes made directly to the Go e2e code.

Do you mean this should be merged after all the other PRs you have open that're related to the E2E code?

Copy link
Contributor

@thanethomson thanethomson left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@williambanfield
Copy link
Contributor Author

Do you mean this should be merged after all the other PRs you have open that're related to the E2E code?

I mean that in terms of the multi-version feature, I don't foresee needing to make other changes to the Go code. The other e2e changes in my head are separate from this one and may require more changes to the Go.

@williambanfield williambanfield added S:backport-to-v0.34.x Tell mergify to backport the PR to v0.34.x S:backport-to-v0.37.x Tell mergify to backport the PR to v0.37.x labels Dec 5, 2022
@williambanfield williambanfield merged commit ac48630 into main Dec 6, 2022
@williambanfield williambanfield deleted the wb/generate-version branch December 6, 2022 16:17
mergify bot pushed a commit that referenced this pull request Dec 6, 2022
* add multiversion flag to generator

* clarify flag comment

(cherry picked from commit ac48630)
mergify bot pushed a commit that referenced this pull request Dec 6, 2022
* add multiversion flag to generator

* clarify flag comment

(cherry picked from commit ac48630)

# Conflicts:
#	test/e2e/generator/main.go
williambanfield added a commit that referenced this pull request Dec 6, 2022
* add multiversion flag to generator

* clarify flag comment

(cherry picked from commit ac48630)

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
williambanfield added a commit that referenced this pull request Dec 7, 2022
* add multiversion flag to generator

* clarify flag comment

(cherry picked from commit ac48630)
williambanfield added a commit that referenced this pull request Dec 8, 2022
* add multiversion flag to generator

* clarify flag comment

(cherry picked from commit ac48630)

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S:backport-to-v0.34.x Tell mergify to backport the PR to v0.34.x S:backport-to-v0.37.x Tell mergify to backport the PR to v0.37.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants