Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to buildpack API version that removes stacks #639

Merged
merged 3 commits into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/docs/app-developer-guide/using-inline-buildpacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ version = "1.0"
id = "me/rake-tasks"

[io.buildpacks.group.script]
api = "0.6"
api = "0.10"
inline = "rake package"
```

Expand All @@ -38,7 +38,7 @@ Inline buildpacks aren't constrained to a single command, however. You can defin
id = "me/cleanup"

[io.buildpacks.group.script]
api = "0.9"
api = "0.10"
inline = """
set -e
source scripts/utils.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ First, annotate the `buildpack.toml` to specify that it emits CycloneDX:
<!-- test:file=node-js-buildpack/buildpack.toml -->
```toml
# Buildpack API version
api = "0.8"
api = "0.10"

# Buildpack ID and metadata
[buildpack]
Expand Down Expand Up @@ -144,7 +144,7 @@ EOL
cat >> "${CNB_LAYERS_DIR}/launch.toml" << EOL
[[processes]]
type = "web"
command = "node app.js"
command = ["node", "app.js"]
default = true
EOL

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Example:
<!-- test:exec -->
```bash
pack buildpack new examples/node-js \
--api 0.8 \
--api 0.10 \
--path node-js-buildpack \
--version 0.0.1 \
--stacks io.buildpacks.samples.stacks.jammy
Expand All @@ -40,7 +40,7 @@ You will have `node-js-buildpack/buildpack.toml`<!--+"{{open}}"+--> in your buil
<!-- test:file=node-js-buildpack/buildpack.toml -->
```toml
# Buildpack API version
api = "0.8"
api = "0.10"

# Buildpack ID and metadata
[buildpack]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ cat > "${CNB_LAYERS_DIR}/launch.toml" << EOL
# our web process
[[processes]]
type = "web"
command = "node app.js"
command = ["node", "app.js"]
default = true

# our debug process
[[processes]]
type = "debug"
command = "node --inspect app.js"
command = ["node", "--inspect", "app.js"]
EOL
```

Expand Down Expand Up @@ -121,7 +121,7 @@ EOL
cat >> "${CNB_LAYERS_DIR}/launch.toml" << EOL
[[processes]]
type = "web"
command = "node app.js"
command = ["node", "app.js"]
default = true
EOL
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To make your app runnable, a default start command must be set. You'll need to a
cat > "${CNB_LAYERS_DIR}/launch.toml" << EOL
[[processes]]
type = "web"
command = "node app.js"
command = ["node", "app.js"]
default = true
EOL

Expand Down Expand Up @@ -48,7 +48,7 @@ echo -e '[types]\nlaunch = true' > "${CNB_LAYERS_DIR}/node-js.toml"
cat > "${CNB_LAYERS_DIR}/launch.toml" << EOL
[[processes]]
type = "web"
command = "node app.js"
command = ["node", "app.js"]
default = true
EOL
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ EOL
cat >> "${CNB_LAYERS_DIR}/launch.toml" << EOL
[[processes]]
type = "web"
command = "node app.js"
command = ["node", "app.js"]
default = true
EOL
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ cat > "${CNB_LAYERS_DIR}/launch.toml" << EOL
# our web process
[[processes]]
type = "web"
command = "node app.js"
command = ["node", "app.js"]
default = true

# our debug process
[[processes]]
type = "worker"
command = "node --inspect app.js"
command = ["node", "--inspect", "app.js"]
EOL

# ...
Expand Down Expand Up @@ -58,13 +58,13 @@ cat > "${CNB_LAYERS_DIR}/launch.toml" << EOL
# our web process
[[processes]]
type = "web"
command = "node app.js"
command = ["node", "app.js"]
default = true

# our debug process
[[processes]]
type = "debug"
command = "node --inspect app.js"
command = ["node", "--inspect", "app.js"]
EOL
```

Expand Down
Loading