Skip to content

Install buildpacks based on order on config#4981

Open
tomkennedy513 wants to merge 1 commit intocloudfoundry:mainfrom
tomkennedy513:deterministic-buildpack-install
Open

Install buildpacks based on order on config#4981
tomkennedy513 wants to merge 1 commit intocloudfoundry:mainfrom
tomkennedy513:deterministic-buildpack-install

Conversation

@tomkennedy513
Copy link
Copy Markdown
Contributor

  • A short explanation of the proposed change:
    This change will install buildpacks in the same order as they are specified in the config without modifying the order of existing buildpacks. The buildpacks index in the config is passed to the install job that will shift the buildpack the final position.

  • An explanation of the use cases your change solves
    This resolves Cloud Controller should install new buildpacks in a more deterministic order #3798

  • Links to any other associated PRs

  • 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

- Account for existing system buildpacks by offsetting the install position
- Skip index for buildpacks with explicit position in config

resolves cloudfoundry#3798
@tomkennedy513 tomkennedy513 force-pushed the deterministic-buildpack-install branch from 8b9f4ec to b309377 Compare March 30, 2026 19:12
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.

Cloud Controller should install new buildpacks in a more deterministic order

1 participant