-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #459 from buildpacks/fix/430-dedup-buildpacks
Fix create-builder with multiple buildpacks of same id
- Loading branch information
Showing
17 changed files
with
220 additions
and
540 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
acceptance/testdata/mock_buildpacks/0.2/noop-buildpack-2/bin/build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "---> NOOP (later version) Buildpack" |
3 changes: 3 additions & 0 deletions
3
acceptance/testdata/mock_buildpacks/0.2/noop-buildpack-2/bin/detect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
## always detect |
9 changes: 9 additions & 0 deletions
9
acceptance/testdata/mock_buildpacks/0.2/noop-buildpack-2/buildpack.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
api = "0.2" | ||
|
||
[buildpack] | ||
id = "noop.buildpack" | ||
version = "noop.buildpack.later-version" | ||
name = "NOOP Buildpack" | ||
|
||
[[stacks]] | ||
id = "pack.test.stack" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
acceptance/testdata/pack_fixtures/inspect_0.6.0_builder_output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
Inspecting builder: '{{.builder_name}}' | ||
|
||
REMOTE: | ||
|
||
Created By: | ||
Name: Pack CLI | ||
Version: {{.pack_version}} | ||
|
||
Stack: | ||
ID: pack.test.stack | ||
Mixins: | ||
mixinA | ||
netcat | ||
mixin3 | ||
build:mixinTwo | ||
|
||
Lifecycle: | ||
Version: {{.lifecycle_version}} | ||
Buildpack API: {{.buildpack_api_version}} | ||
Platform API: {{.platform_api_version}} | ||
|
||
Run Images: | ||
some-registry.com/pack-test/run1 (user-configured) | ||
pack-test/run | ||
{{.run_image_mirror}} | ||
|
||
Buildpacks: | ||
ID VERSION | ||
read/env read-env-version | ||
noop.buildpack noop.buildpack.version | ||
simple/layers simple-layers-version | ||
|
||
Detection Order: | ||
Group #1: | ||
simple/layers | ||
read/env@read-env-version (optional) | ||
|
||
LOCAL: | ||
|
||
Created By: | ||
Name: Pack CLI | ||
Version: {{.pack_version}} | ||
|
||
Stack: | ||
ID: pack.test.stack | ||
Mixins: | ||
mixinA | ||
netcat | ||
mixin3 | ||
build:mixinTwo | ||
|
||
Lifecycle: | ||
Version: {{.lifecycle_version}} | ||
Buildpack API: {{.buildpack_api_version}} | ||
Platform API: {{.platform_api_version}} | ||
|
||
Run Images: | ||
some-registry.com/pack-test/run1 (user-configured) | ||
pack-test/run | ||
{{.run_image_mirror}} | ||
|
||
Buildpacks: | ||
ID VERSION | ||
read/env read-env-version | ||
noop.buildpack noop.buildpack.version | ||
simple/layers simple-layers-version | ||
|
||
Detection Order: | ||
Group #1: | ||
simple/layers | ||
read/env@read-env-version (optional) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
acceptance/testdata/pack_previous_fixtures_overrides/inspect_0.7.0_builder_output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
Inspecting builder: '{{.builder_name}}' | ||
|
||
REMOTE: | ||
|
||
Created By: | ||
Name: Pack CLI | ||
Version: {{.pack_version}} | ||
|
||
Stack: | ||
ID: pack.test.stack | ||
Mixins: | ||
mixinA | ||
netcat | ||
mixin3 | ||
build:mixinTwo | ||
|
||
Lifecycle: | ||
Version: {{.lifecycle_version}} | ||
Buildpack API: {{.buildpack_api_version}} | ||
Platform API: {{.platform_api_version}} | ||
|
||
Run Images: | ||
some-registry.com/pack-test/run1 (user-configured) | ||
pack-test/run | ||
{{.run_image_mirror}} | ||
|
||
Buildpacks: | ||
ID VERSION | ||
read/env read-env-version | ||
noop.buildpack noop.buildpack.version | ||
noop.buildpack noop.buildpack.later-version | ||
simple/layers simple-layers-version | ||
|
||
Detection Order: | ||
Group #1: | ||
simple/layers | ||
read/env@read-env-version (optional) | ||
|
||
LOCAL: | ||
|
||
Created By: | ||
Name: Pack CLI | ||
Version: {{.pack_version}} | ||
|
||
Stack: | ||
ID: pack.test.stack | ||
Mixins: | ||
mixinA | ||
netcat | ||
mixin3 | ||
build:mixinTwo | ||
|
||
Lifecycle: | ||
Version: {{.lifecycle_version}} | ||
Buildpack API: {{.buildpack_api_version}} | ||
Platform API: {{.platform_api_version}} | ||
|
||
Run Images: | ||
some-registry.com/pack-test/run1 (user-configured) | ||
pack-test/run | ||
{{.run_image_mirror}} | ||
|
||
Buildpacks: | ||
ID VERSION | ||
read/env read-env-version | ||
noop.buildpack noop.buildpack.version | ||
noop.buildpack noop.buildpack.later-version | ||
simple/layers simple-layers-version | ||
|
||
Detection Order: | ||
Group #1: | ||
simple/layers | ||
read/env@read-env-version (optional) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.