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

fix: add tests #4

Merged
merged 2 commits into from
Jun 22, 2023
Merged

fix: add tests #4

merged 2 commits into from
Jun 22, 2023

Conversation

mhdawson
Copy link
Member

@mhdawson mhdawson commented Jun 9, 2023

Summary

Use Cases

Checklist

  • I have viewed, signed, and submitted the Contributor License Agreement.
  • I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
  • I have added an integration test, if necessary.
  • I have reviewed the styleguide for guidance on my code quality.
  • I'm happy with the commit history on this PR (I have rebased/squashed as needed).

Signed-off-by: Michael Dawson <mdawson@devrus.com>
scripts/test.sh Outdated Show resolved Hide resolved
Comment on lines +67 to +72
_, err = fmt.Fprintf(builderConfigFile, `
[stack]
build-image = "%s:latest"
id = "io.buildpacks.stacks.ubi8"
run-image = "%s:latest"
`,
Copy link
Member

Choose a reason for hiding this comment

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

it seems like this test is only gong to test out the basic run image scenario. Are you planning to add any sort of test for the other run images?

Copy link
Member Author

Choose a reason for hiding this comment

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

I left that out of this initial set of testing as I think we likely want some testing of the runtime in the run images (in the initial case of the Node.js runtime), but that requires us having a working published extension, which in turn requires this stack to be published.

I could add the basic testing which is done for the default build/run but I was thinking it would be better to wait until we can do a test that validates the basic functionality of the runtime in the run images.

Copy link
Member

Choose a reason for hiding this comment

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

@mhdawson can we capture this in an issue?

Copy link
Member Author

Choose a reason for hiding this comment

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

@sophiewigmore created here - #6

Co-authored-by: Sophie Wigmore <sophiemwigmore@gmail.com>
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.

2 participants