-
Notifications
You must be signed in to change notification settings - Fork 6
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 acceptance tests for nodejs Stack #35
Adding acceptance tests for nodejs Stack #35
Conversation
Is there a reason to move |
@pacostas Can you confirm that the updates in scripts/.util/tools.sh are just to bring it up to date with the template shared version of that? |
I think keep in the simple go test might also make sense. If we ever have to temparily disable the Node.js tests it would still be good to have that basic test in place. |
@mhdawson They named the file |
My main concern is that we can share as much as possible with the generic files like test.sh as possible. If they run something called X then ideally we should have something called X instead of a differently located/named file. Having said that, if we have X and it calls runs/tests that are in other files that is good as well. In this case I thing other stacks had a file called |
Aligned also with what exists on jammy implementation, in terms of file structure. |
@mhdawson Ive finished with the review fixes, I think I've covered all suggestions. Can you have a fresh look and see if something is missing, or if the structure is consistent enough? |
Related issue to close after merging this PR #2 |
@mhdawson I also added a |
Thanks, just sounds like an oversight on my part. |
@pacostas it still seems to differ in the top level name of the integration test. In the jammy base stack:buildpack_integration_test.go verus being changed to |
I'm not sure removing the npm buildpack is good. We likely want to be testing that our run images include both the |
@pacostas did another run through and left a few more comments |
Yes, I did that intentionally to separate the nodejs stacks from the java stacks or any other stacks that are going to be added in the future, I thought is nice to have them in a separate file. Also I thought the name is little bit misleading as we are not testing buildpacks nor extensions but stacks. This doesnt affect how the integration tests are being called, as they are under the same namespace package acceptance_test. We can also sync about that on todays' meeting. |
I think is better to sync on that on todays' call, as for some reason the extension does not work without the build plan. |
Ok understand based on discussion today, tests are run based on package versus the name so naming this way is good. |
Based on todays discussion, I'll add the buildpacks we usually use to build an app, as we dont want to have unexpected errors coming from extension/buildpack combinations that we are not fully aware. |
f6a306f
to
064faf1
Compare
…onfig updates on tools.sh
bd40203
to
7616df9
Compare
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
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
Merge After
Related issues
Summary
This PR adds acceptance tests for Node stacks. That way we ensure before each release, that stacks work properly with ubi-nodejs-extension.
Use Cases
Checklist