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

refactor: add ability to test against tools from source #532

Merged
merged 3 commits into from
Sep 21, 2023

Conversation

thesayyn
Copy link
Member

@thesayyn thesayyn commented Sep 20, 2023

Type of change

  • Refactor (a code change that neither fixes a bug or adds a new feature)

Test plan

  • New test cases added

This effectively solves the two-release problem we have by consuming the tools from the source at root/main workspace, making our tests always run against the source version of tools. Additionally, it introduces the automatic generation of versions.bzl file for all tools, with tests in place to prevent wrong version information from being stamped.

Copy link
Member

@alexeagle alexeagle left a comment

Choose a reason for hiding this comment

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

This is great! Can you roll this change to GoogleContainerTools/container-structure-test as well?

.github/workflows/release.yml Outdated Show resolved Hide resolved
tools/versions.bzl Show resolved Hide resolved
@thesayyn
Copy link
Member Author

This is great! Can you roll this change to GoogleContainerTools/container-structure-test as well?

Yes, after cutting a release here.

@thesayyn thesayyn merged commit 719b8f3 into main Sep 21, 2023
50 checks passed
@thesayyn thesayyn deleted the source_toolchain branch September 21, 2023 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants