-
Notifications
You must be signed in to change notification settings - Fork 297
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
Removing validation of deprecated io.buildpacks.stack.id #2295
base: main
Are you sure you want to change the base?
Conversation
acceptance/acceptance_test.go
Outdated
@@ -2181,19 +2185,16 @@ func testAcceptance( | |||
imageManager.CleanupImages(runImageName) | |||
}) | |||
|
|||
it("fails with a message", func() { | |||
it("succeeds with a warning", func() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is failing when running the acceptance tests because in the previous pack
release we were expecting the error message.
--- FAIL: TestAcceptance/acceptance_suite/p_previous_cb_current_lc_current/stack_is_created/builder_is_created/build/builder_is_trusted_(and_set_as_default)/--run-image/the_run_image_has_the_wrong_stack_ID/succeeds_with_a_warning (3.02s)
Usually, when a new behavior, we add a Support flag and use SkipIf with previous pack versions to avoid running that test.
In this case, maybe we can do the following:
- Add a new Support flag, valid from versions greater or equal to
0.37.0
- Keep the current test, skip if the version is greater or equal to
0.37.0
- Add the new test and skip it if the version is less than 0.37.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds great can do!
7632a24
to
2946153
Compare
Signed-off-by: Joey Brown <[email protected]>
Signed-off-by: Joey Brown <[email protected]>
Signed-off-by: Joey Brown <[email protected]>
abe421e
to
e8ba441
Compare
Signed-off-by: Joey Brown <[email protected]>
944ca8d
to
7bf3e01
Compare
Signed-off-by: Joey Brown <[email protected]>
0a491e4
to
fee6dcb
Compare
Summary
This PR picks up where #2119 left off.
Output
Before
After
Related
Resolves #2104