-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into schneems/output
- Loading branch information
Showing
49 changed files
with
402 additions
and
524 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,7 +62,7 @@ jobs: | |
- name: Rust Cache | ||
uses: Swatinem/[email protected] | ||
- name: Install Pack CLI | ||
uses: buildpacks/github-actions/[email protected].1 | ||
uses: buildpacks/github-actions/[email protected].2 | ||
- name: Run integration tests | ||
# Runs only tests annotated with the `ignore` attribute (which in this repo, are the integration tests). | ||
run: cargo test -- --ignored | ||
|
@@ -89,7 +89,8 @@ jobs: | |
run: cargo run --package libcnb-cargo -- libcnb package | ||
working-directory: ./examples/basics | ||
- name: Pack build using examples/basics | ||
# Uses a non-libc image to validate the static musl cross-compilation. | ||
# TODO: Switch this back to using the `alpine` tag once the stable Pack CLI release supports | ||
# image extensions (currently newer sample alpine images fail to build with stable Pack). | ||
run: pack build example-basics --builder cnbs/sample-builder@sha256:da5ff69191919f1ff30d5e28859affff8e39f23038137c7751e24a42e919c1ab --trust-builder --buildpack packaged/x86_64-unknown-linux-musl/debug/libcnb-examples_basics --path examples/ | ||
# TODO: This test previously used a non-libc builder to validate the static musl cross-compilation. | ||
# This image used the experimental image extensions feature which has to be explicitly enabled and doesn't | ||
# work with `--trust-builder`. To unblock CI, the builder has been changed to `heroku/builder:22`. As soon as | ||
# we can, we should use a non-libc builder again. | ||
run: pack build example-basics --force-color --builder heroku/builder:22 --trust-builder --buildpack packaged/x86_64-unknown-linux-musl/debug/libcnb-examples_basics --path examples/ |
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
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,6 @@ | ||
api = "0.9" | ||
api = "0.10" | ||
|
||
[buildpack] | ||
id = "libcnb-examples/basics" | ||
version = "0.1.0" | ||
name = "Example libcnb buildpack: basics" | ||
|
||
[[stacks]] | ||
id = "*" |
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,9 +1,6 @@ | ||
api = "0.9" | ||
api = "0.10" | ||
|
||
[buildpack] | ||
id = "libcnb-examples/execd" | ||
version = "0.1.0" | ||
name = "Example libcnb buildpack: execd" | ||
|
||
[[stacks]] | ||
id = "*" |
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 |
---|---|---|
|
@@ -3,6 +3,3 @@ api = "0.8" | |
[buildpack] | ||
id = "multiple-buildpacks/not-libcnb" | ||
version = "0.0.0" | ||
|
||
[[stacks]] | ||
id = "some-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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,3 @@ api = "0.8" | |
[buildpack] | ||
id = "multiple-buildpacks/one" | ||
version = "0.0.0" | ||
|
||
[[stacks]] | ||
id = "some-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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,3 @@ api = "0.8" | |
[buildpack] | ||
id = "multiple-buildpacks/two" | ||
version = "0.0.0" | ||
|
||
[[stacks]] | ||
id = "some-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
api = "0.8" | ||
api = "0.10" | ||
|
||
[buildpack] | ||
id = "single-buildpack" | ||
version = "0.0.0" | ||
|
||
[[stacks]] | ||
id = "some-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
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.