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

melange bump: optional flag to modify git-checkout pipeline expected-… #367

Merged
merged 1 commit into from
Apr 3, 2023

Conversation

rawlingsj
Copy link
Member

…commit value

@rawlingsj rawlingsj requested a review from a team as a code owner April 3, 2023 07:39
…commit value

Signed-off-by: James Rawlings <jrawlings@chainguard.dev>
newVersion string
expectedCommit string
}{
{name: "expected_commit.yaml", newVersion: "7.0.1", expectedCommit: "dbd7bc96fd6cd383b8e895dc4a928d808541bb17"},
Copy link
Member

Choose a reason for hiding this comment

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

Can this just be a single test that starts with what's currently at like 79? If there's only one case here, it's probably not worth the table-driven scaffolding.

Copy link
Member Author

Choose a reason for hiding this comment

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

the test was generated from the IDE and does make it easier for folks adding new cases but TBH I don't mind either way. Happy to switch it to a single test if you prefer. FWIW as this is merged I have opened a second PR to discuss as I did noticed that the test data meant the test didn't actually verify the new sha was correct. #368

@rawlingsj rawlingsj merged commit a011419 into chainguard-dev:main Apr 3, 2023
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.

3 participants