Skip to content

Commit

Permalink
Merge branch 'main' into fix-786/deprecate-stacks
Browse files Browse the repository at this point in the history
Signed-off-by: Aidan Delaney <[email protected]>
  • Loading branch information
AidanDelaney authored Dec 13, 2024
2 parents 1491ad1 + 4d81080 commit 851f6ec
Show file tree
Hide file tree
Showing 8 changed files with 307 additions and 314 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install pack
uses: buildpacks/github-actions/[email protected]
with:
pack-version: '0.31.0'
pack-version: '0.36.0'
- name: Test
run: make test
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ This command will create `node-js-buildpack` directory which contains `buildpack
- `-a, --api` Buildpack API compatibility of the generated buildpack
- `-h, --help` Help for 'new'
- `--path` the location on the filesystem to generate the artifacts
- `--stacks` Stacks (deprecated) the buildpack will work with
- `-V, --version` the version of the buildpack in buildpack.toml


Expand Down Expand Up @@ -131,9 +130,9 @@ After running the command, you should see that it failed to detect, as the `dete
```
===> DETECTING
...
err: examples/[email protected] (1)
ERROR: No buildpack groups passed detection.
ERROR: failed to detect: buildpack(s) failed with err
[detector] err: examples/[email protected] (1)
[detector] ERROR: No buildpack groups passed detection.
[detector] ERROR: failed to detect: buildpack(s) failed with err
ERROR: failed to build: executing lifecycle: failed with status code: 21
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ You will see the following output:
...
===> RESTORING
===> BUILDING
---> NodeJS Buildpack
---> Downloading and extracting NodeJS
[builder] ---> NodeJS Buildpack
[builder] ---> Downloading and extracting NodeJS
...
===> EXPORTING
...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ you will see the new caching logic at work during the `BUILDING` phase:
```text
===> BUILDING
...
---> NodeJS Buildpack
-----> Reusing NodeJS
[builder] ---> NodeJS Buildpack
[builder] -----> Reusing NodeJS
```

Next, let's see how buildpack users may be able to provide configuration to the buildpack.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ You will notice that version of NodeJS specified in the app's `.node-js-version`
```text
===> BUILDING
...
---> NodeJS Buildpack
-----> Downloading and extracting NodeJS 18.18.1
[builder] ---> NodeJS Buildpack
[builder] -----> Downloading and extracting NodeJS 18.18.1
```

## Going further
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Create the builder:
```bash
pack builder create localhost:5000/extensions-builder \
--config $PWD/samples/builders/alpine/builder.toml \
--target "linux/amd64" \
--publish
```

Expand Down
186 changes: 93 additions & 93 deletions tools/go.mod

Large diffs are not rendered by default.

413 changes: 203 additions & 210 deletions tools/go.sum

Large diffs are not rendered by default.

0 comments on commit 851f6ec

Please sign in to comment.