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

Add acceptance tests for cnb lifecycle #1136

Merged
merged 3 commits into from
Jun 4, 2024

Conversation

c0d1ngm0nk3y
Copy link
Contributor

@c0d1ngm0nk3y c0d1ngm0nk3y commented May 14, 2024

Are you submitting this PR against the develop branch?

All PR's to CATs should be submitted to develop and will be merged to main once they've passed acceptance.

What is this change about?

Describe the change and why it's needed.

Added acceptance tests using the new cloud native buildpack lifecycle.

Please provide contextual information.

Include any links to other PRs, stories, slack discussions, etc... that will help establish context.

What version of cf-deployment have you run this cf-acceptance-test change against?

  • A future version - see prerequisite 3

Please check all that apply for this PR:

  • introduces a new test --- Are you sure everyone should be running this test?
  • changes an existing test
  • requires an update to a CATs integration-config

Did you update the README as appropriate for this change?

  • YES
  • N/A

If you are introducing a new acceptance test, what is your rationale for including it CATs rather than your own acceptance test suite?

CATs should validate common operator workflows.
CATs is not a regression test suite.
CATs is run by every component team to validate their releases before promotion.

Same as for docker or buildpacks lifecycle. It is some basic functionality added to cf.

How many more (or fewer) seconds of runtime will this change introduce to CATs?

~ 70s

What is the level of urgency for publishing this change?

  • Urgent - unblocks current or future work
  • Slightly Less than Urgent

Tag your pair, your PM, and/or team!

It's helpful to tag a few other folks on your team or your team alias in case we need to follow up later.

@loewenstein-sap, @modulo11, @pbusko, @nicolasbender

modulo11 and others added 2 commits May 14, 2024 08:12
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
Co-authored-by: Nicolas Bender <nicolas.bender@sap.com>
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
Copy link
Member

@ctlong ctlong left a comment

Choose a reason for hiding this comment

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

The test LGTM!

Just a few documentation requests before I think this is ready for review.

helpers/config/config_struct.go Show resolved Hide resolved
helpers/config/config_struct.go Show resolved Hide resolved
cnb/cnb_lifecycle.go Outdated Show resolved Hide resolved
Co-authored-by: Johannes Dillmann <j.dillmann@sap.com>
@ctlong ctlong self-assigned this Jun 4, 2024
@ctlong ctlong merged commit bbdd829 into cloudfoundry:develop Jun 4, 2024
3 checks passed
@@ -157,6 +160,8 @@ func getDefaults() config {
defaults.RubyBuildpackName = ptrToString("ruby_buildpack")
defaults.StaticFileBuildpackName = ptrToString("staticfile_buildpack")

defaults.CNBNodejsBuildpackName = ptrToString("docker://gcr.io/paketo-buildpacks/nodejs:latest")
Copy link
Member

Choose a reason for hiding this comment

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

would this cause test flakiness when there are network issues?

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.

5 participants