-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump pack version in CI Update to pack 0.36.0 Signed-off-by: Aidan Delaney <[email protected]> * Update tools to latest pack Do not require an older dependency Signed-off-by: Aidan Delaney <[email protected]> --------- Signed-off-by: Aidan Delaney <[email protected]>
- Loading branch information
1 parent
a1d3032
commit 7d29075
Showing
10 changed files
with
25 additions
and
28 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 |
---|---|---|
|
@@ -922,15 +922,14 @@ <h2 id="using-the-pack-cli">Using the Pack CLI</h2> | |
</span></span></span><span class="line"><span class="cl"><span class="se"></span> --api 0.10 <span class="se">\ | ||
</span></span></span><span class="line"><span class="cl"><span class="se"></span> --path node-js-buildpack <span class="se">\ | ||
</span></span></span><span class="line"><span class="cl"><span class="se"></span> --version 0.0.1 <span class="se">\ | ||
</span></span></span><span class="line"><span class="cl"><span class="se"></span> --stacks io.buildpacks.samples.stacks.noble | ||
</span></span></span><span class="line"><span class="cl"><span class="se"></span> --targets <span class="s2">"linux/amd64"</span> | ||
</span></span></code></pre></div><!--+- "{{execute}}"+--> | ||
<p>This command will create <code>node-js-buildpack</code> directory which contains <code>buildpack.toml</code>, <code>bin/build</code>, <code>bin/detect</code> files.</p> | ||
<h3 id="additional-parameters">Additional Parameters</h3> | ||
<ul> | ||
<li><code>-a, --api</code> Buildpack API compatibility of the generated buildpack</li> | ||
<li><code>-h, --help</code> Help for ’new'</li> | ||
<li><code>--path</code> the location on the filesystem to generate the artifacts</li> | ||
<li><code>--stacks</code> Stacks (deprecated) the buildpack will work with</li> | ||
<li><code>-V, --version</code> the version of the buildpack in buildpack.toml</li> | ||
</ul> | ||
<h3 id="buildpacktoml">buildpack.toml</h3> | ||
|
@@ -947,10 +946,7 @@ <h3 id="buildpacktoml">buildpack.toml</h3> | |
</span></span><span class="line"><span class="cl"><span class="c"># Targets the buildpack will work with</span> | ||
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">targets</span><span class="p">]]</span> | ||
</span></span><span class="line"><span class="cl"><span class="nx">os</span> <span class="p">=</span> <span class="s2">"linux"</span> | ||
</span></span><span class="line"><span class="cl"> | ||
</span></span><span class="line"><span class="cl"><span class="c"># Stacks (deprecated) the buildpack will work with</span> | ||
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">stacks</span><span class="p">]]</span> | ||
</span></span><span class="line"><span class="cl"> <span class="nx">id</span> <span class="p">=</span> <span class="s2">"io.buildpacks.samples.stacks.noble"</span> | ||
</span></span><span class="line"><span class="cl"><span class="nx">architecture</span> <span class="p">=</span> <span class="s2">"amd64"</span> | ||
</span></span></code></pre></div><p>The buildpack ID is the way you will reference the buildpack when you create buildpack groups, builders, etc. | ||
<a href="/docs/for-buildpack-authors/concepts/targets/">Targets</a> identifies the kind of build and run base images the buildpack will work with. | ||
The stack ID (deprecated) uniquely identifies a build and run image configuration the buildpack will work with. This example can be run on Ubuntu Noble.</p> | ||
|
@@ -989,9 +985,9 @@ <h3 id="using-your-buildpack-with-pack">Using your buildpack with <code>pack</co | |
<!-- test:assert=contains;ignore-lines=... --> | ||
<pre tabindex="0"><code>===> 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 | ||
</code></pre><!--+ if false+--> | ||
<hr> | ||
|
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
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.