-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove deprecated buildpack APIs (#1148)
* Remove buildpack APIs 0.2-0.6 according to https://github.com/buildpacks/rfcs/blob/main/text/0110-deprecate-apis.md - Fix acceptance by updating fixtures to use newer Buildpack API version Signed-off-by: Natalie Arellano <narellano@vmware.com> * Remove backwards compatible glue for buildpacks missing API version Signed-off-by: Natalie Arellano <narellano@vmware.com> --------- Signed-off-by: Natalie Arellano <narellano@vmware.com>
- Loading branch information
1 parent
325676e
commit a12fbff
Showing
70 changed files
with
520 additions
and
1,564 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[[group]] | ||
id = "some-buildpack-id" | ||
version = "some-buildpack-version" | ||
api = "0.2" | ||
api = "0.10" |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[[group]] | ||
id = "some-other-buildpack-id" | ||
version = "some-other-buildpack-version" | ||
api = "0.3" | ||
api = "0.10" |
2 changes: 1 addition & 1 deletion
2
acceptance/testdata/analyzer/container/some-other-layers/group.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[[group]] | ||
id = "another-buildpack-id" | ||
version = "another-buildpack-version" | ||
api = "0.2" | ||
api = "0.10" |
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
2 changes: 1 addition & 1 deletion
2
acceptance/testdata/builder/container/cnb/buildpacks/hello_world/0.0.1/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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Buildpack API version | ||
api = "0.2" | ||
api = "0.10" | ||
|
||
# Buildpack ID and metadata | ||
[buildpack] | ||
|
2 changes: 1 addition & 1 deletion
2
acceptance/testdata/builder/container/cnb/buildpacks/hello_world_2/0.0.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Buildpack API version | ||
api = "0.2" | ||
api = "0.10" | ||
|
||
# Buildpack ID and metadata | ||
[buildpack] | ||
|
2 changes: 1 addition & 1 deletion
2
acceptance/testdata/builder/container/cnb/group_tomls/always_detect_group.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[[group]] | ||
api = "0.2" | ||
api = "0.10" | ||
id = "hello_world" | ||
version = "0.0.1" |
2 changes: 1 addition & 1 deletion
2
acceptance/testdata/builder/container/cnb/group_tomls/always_detect_group_buildpack2.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[[group]] | ||
api = "0.2" | ||
api = "0.10" | ||
id = "hello_world_2" | ||
version = "0.0.2" |
4 changes: 2 additions & 2 deletions
4
acceptance/testdata/builder/container/cnb/group_tomls/group_with_ext.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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
[[group]] | ||
api = "0.2" | ||
api = "0.10" | ||
id = "hello_world" | ||
version = "0.0.1" | ||
|
||
[[group-extensions]] | ||
api = "0.9" | ||
api = "0.10" | ||
id = "hello_world" | ||
version = "0.0.1" |
2 changes: 1 addition & 1 deletion
2
...r/container/env_folders/different_buildpack_dir_from_env/hello_world/0.0.1/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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Buildpack API version | ||
api = "0.2" | ||
api = "0.10" | ||
|
||
# Buildpack ID and metadata | ||
[buildpack] | ||
|
2 changes: 1 addition & 1 deletion
2
acceptance/testdata/builder/container/layers/different_layer_dir_from_env/group.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[[group]] | ||
api = "0.2" | ||
api = "0.10" | ||
id = "hello_world_2" | ||
version = "0.0.2" |
3 changes: 2 additions & 1 deletion
3
...ector/container/cnb/buildpacks/buildpack_for_ext/buildpack_for_ext_version/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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
api = "0.3" | ||
api = "0.10" | ||
|
||
[buildpack] | ||
id = "buildpack_for_ext" | ||
version = "buildpack_for_ext_version" | ||
|
3 changes: 2 additions & 1 deletion
3
...etector/container/cnb/buildpacks/simple_buildpack/simple_buildpack_version/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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
api = "0.3" | ||
api = "0.10" | ||
|
||
[buildpack] | ||
id = "simple_buildpack" | ||
version = "simple_buildpack_version" | ||
|
3 changes: 2 additions & 1 deletion
3
.../custom_buildpacks/always_detect_buildpack/always_detect_buildpack_version/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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
api = "0.6" | ||
api = "0.10" | ||
|
||
[buildpack] | ||
id = "always_detect_buildpack" | ||
version = "always_detect_buildpack_version" | ||
|
1 change: 1 addition & 0 deletions
1
acceptance/testdata/exporter/container/layers/cacher_buildpack/cached-layer.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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[types] | ||
build = false | ||
launch = false | ||
cache = true |
1 change: 1 addition & 0 deletions
1
acceptance/testdata/exporter/container/layers/cacher_buildpack/launch-layer.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 |
---|---|---|
@@ -1 +1,2 @@ | ||
[types] | ||
launch = true |
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
[[group]] | ||
id = "some-buildpack-id" | ||
version = "some-buildpack-version" | ||
api = "0.2" | ||
api = "0.7" | ||
|
||
[[group]] | ||
id = "cacher_buildpack" | ||
version = "cacher_v1" | ||
api = "0.3" | ||
api = "0.8" |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.