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: platform vars #367

Merged
merged 3 commits into from
Aug 1, 2023
Merged

Fix: platform vars #367

merged 3 commits into from
Aug 1, 2023

Conversation

natalieparellano
Copy link
Member

Related discussion: #330 (comment)

…acks

Signed-off-by: Natalie Arellano <narellano@vmware.com>
@natalieparellano natalieparellano requested a review from a team as a code owner July 24, 2023 17:19
@natalieparellano natalieparellano changed the base branch from main to platform/0.12 July 24, 2023 17:20
@hone
Copy link
Member

hone commented Jul 31, 2023

@natalieparellano so does that mean if a buildpack modifies an env var, does a subsequent buildpack always get what the user provided?

@natalieparellano natalieparellano force-pushed the fix/platform-vars branch 2 times, most recently from dd65575 to a4a1ee5 Compare August 1, 2023 14:04
Signed-off-by: Natalie Arellano <narellano@vmware.com>
@natalieparellano
Copy link
Member Author

@hone I went back to the code to confirm my understanding, and it's even more subtle than what I originally wrote. You can see it here: https://github.com/buildpacks/lifecycle/blob/f8b3419877ceab27f46af0621ec6d9d80650df44/env/env.go#L84-L91

As far as I can tell, this is how it has always worked. So we are just updating the language in the spec to reflect what has been happening all along.

@natalieparellano natalieparellano merged commit a65feb7 into platform/0.12 Aug 1, 2023
1 check passed
@natalieparellano natalieparellano deleted the fix/platform-vars branch August 1, 2023 16:56
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.

None yet

2 participants