-
Notifications
You must be signed in to change notification settings - Fork 11
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
Adding builder-ubi-buildpackless-base on integration tests #448
Adding builder-ubi-buildpackless-base on integration tests #448
Conversation
WithBuildpacks( | ||
settings.Buildpacks.Yarn.Online, | ||
settings.Buildpacks.BuildPlan.Online, | ||
). |
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.
Asked @pacostas about this change, it was done to be consistent with all of the other buildpack integration tests.
Execute(name, source) | ||
Expect(err).ToNot(HaveOccurred(), logs.String) | ||
|
||
// Ensure yarn is installed correctly | ||
|
||
container, err = docker.Container.Run.WithCommand("which yarn").Execute(image.ID) | ||
container, err = docker.Container.Run.WithCommand("command -v yarn").Execute(image.ID) |
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.
I asked @pacostas about this, we don't install which by default in the ubi stack, this allows the test to run for both ubi and jammy
@@ -155,8 +166,13 @@ func testDefault(t *testing.T, context spec.G, it spec.S) { | |||
) | |||
|
|||
image, logs, err = pack.WithNoColor().Build. | |||
WithPullPolicy("never"). | |||
WithBuildpacks(buildpack, buildPlanBuildpack). | |||
WithExtensions( |
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.
Similar change to previous for consistenccy with other buildpack integration tests.
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.
LGTM
0dc16e8
to
fcd93be
Compare
@mhdawson I added this change https://github.com/paketo-buildpacks/yarn/compare/0dc16e8f1274486fc2de415091428f0a2b097f48..fcd93be671c8ca8a1ce4adef9e24201562a5ac51 Practically is skipping the offline tests, as we cant support them at the moment. Can you LGTM that too? |
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.
LGTM again
…egration tests enabling experimental feature in pack before running integration tests refactor: changing the structure of settings to similar what other buildpacks have fixing the integration tests fix: removing comment
fcd93be
to
52a35b5
Compare
Summary
This PR adds the
builder-ubi-buildpackless-base
builder to run against all the integration tests of yarn.Checklist