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

Adds run_rootfs_image and build_rootfs_image stack properties to API output #3330

Merged
merged 11 commits into from
Jul 18, 2023

Conversation

geofffranks
Copy link
Contributor

@geofffranks geofffranks commented Jun 29, 2023

Thanks for contributing to cloud_controller_ng. To speed up the process of reviewing your pull request please provide us with:

  • A short explanation of the proposed change:

Adds the run_rootfs_image and build_rootfs_image properties to API output in the /v3/stacks endpoint.

  • An explanation of the use cases your change solves

Allows API users to see what specific stack images are being used with different stacks when building/staging, and running LRPs/tasks.

  • Links to any other associated PRs

This branch was built off of the #3328 and shares most of its commits with it. We can rebase off of main after that's merged if desired. You should be able to look specifically at this commit's changes for this PR though.

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

These tests really validate what happens when the CC config is missing these values, not what happens when the stack is 'nonexistent'
There were two ways off accessing the stack name provided by the lifecycle_data -- 'lifecycle_stack' and '@stack'. Decided to get rid of one
@geofffranks geofffranks marked this pull request as ready for review June 29, 2023 20:55
@moleske
Copy link
Member

moleske commented Jul 7, 2023

closing and reopening to see if easycla gets happier

@moleske moleske closed this Jul 7, 2023
@moleske moleske reopened this Jul 7, 2023
@sethboyles sethboyles merged commit 9b783b0 into cloudfoundry:main Jul 18, 2023
12 checks passed
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