You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also read distro information from /etc/os-release when checking target compat (#1352)
* Reorder functions in file
Signed-off-by: Natalie Arellano <[email protected]>
* Also read distro information from /etc/os-release when checking target compat
#1347 reads the file when providing target env vars
to buildpacks during detect, but we also need to consider this info when deciding whether or not to run
detect for the buildpack
Signed-off-by: Natalie Arellano <[email protected]>
* Error if we don't find run image OS during analyze
And remove checks for missing OS later in the build, as it should always be there
Signed-off-by: Natalie Arellano <[email protected]>
---------
Signed-off-by: Natalie Arellano <[email protected]>
// note: per the spec only the ID field is optional, so I guess the others should always be set: https://github.com/buildpacks/rfcs/blob/main/text/0096-remove-stacks-mixins.md#runtime-metadata
Copy file name to clipboardexpand all lines: platform/target_data.go
+48-42
Original file line number
Diff line number
Diff line change
@@ -9,30 +9,6 @@ import (
9
9
"github.com/buildpacks/lifecycle/platform/files"
10
10
)
11
11
12
-
// EnvVarsFor fulfills the prophecy set forth in https://github.com/buildpacks/rfcs/blob/b8abe33f2bdc58792acf0bd094dc4ce3c8a54dbb/text/0096-remove-stacks-mixins.md?plain=1#L97
13
-
// by returning an array of "VARIABLE=value" strings suitable for inclusion in your environment or complete breakfast.
// EnvVarsFor fulfills the prophecy set forth in https://github.com/buildpacks/rfcs/blob/b8abe33f2bdc58792acf0bd094dc4ce3c8a54dbb/text/0096-remove-stacks-mixins.md?plain=1#L97
101
+
// by returning an array of "VARIABLE=value" strings suitable for inclusion in your environment or complete breakfast.
// TargetSatisfiedForRebase treats optional fields (ArchVariant and Distribution fields) as wildcards if empty, returns true if all populated fields match
0 commit comments