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

Removes jam #208

Merged
merged 3 commits into from
Aug 25, 2021
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
21 changes: 0 additions & 21 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ jobs:
uses: paketo-buildpacks/github-config/actions/tag/increment-tag@main
with:
current_version: ${{ steps.reset.outputs.current_version }}
- name: Package Jam
run : ./scripts/package.sh
- name: Create Draft Release
uses: paketo-buildpacks/github-config/actions/release/create@main
with:
Expand All @@ -53,22 +51,3 @@ jobs:
target_commitish: ${{ github.sha }}
name: v${{ steps.tag.outputs.tag }}
draft: true
assets: |
[
{
"path": "build/jam-darwin",
"name": "jam-darwin",
"content_type": "application/octet-stream"
},
{
"path": "build/jam-linux",
"name": "jam-linux",
"content_type": "application/octet-stream"
},
{
"path": "build/jam-windows.exe",
"name": "jam-windows.exe",
"content_type": "application/octet-stream"
}
]

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
.DS_Store
.idea
/build
32 changes: 4 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# packit

Checkout the Go Docs for details on how to use the sub-packages within packit:
[![GoDoc](https://img.shields.io/badge/pkg.go.dev-doc-blue)](http://pkg.go.dev/github.com/paketo-buildpacks/packit)

Package packit provides primitives for implementing a Cloud Native Buildpack
Expand All @@ -9,7 +8,7 @@ according to the specification:

## Buildpack Interface

According to the CNB specification, the buildpack interface is composed of both
According to the specification, the buildpack interface is composed of both
a detect and build phase. Each of these phases has a corresponding set of
packit primitives enable developers to easily implement a buildpack.

Expand Down Expand Up @@ -126,7 +125,6 @@ func main() {
if err != nil {
return packit.BuildResult{}, err
}

layer.Build = true
layer.Launch = true

Expand Down Expand Up @@ -207,7 +205,7 @@ the types and functions declared herein.

* [chronos](./chronos): Package chronos provides clock functionality that can be useful when developing and testing Cloud Native Buildpacks.

* [draft](./draft): Package draft provides a mechanism for combining Buildpack Plan entries for a dependency into an single entry. The entry has layer metadata that meets all of the entries' specifications. Its version constraint is based on a user-provided prioritized list of version sources. Useful during the build phase. See [the CNB Buildpacks specification](https://github.com/buildpacks/spec/blob/main/buildpack.md#purpose-2) for context.
* [draft](./draft): Package draft provides a service for resolving the priority of buildpack plan entries as well as consilidating build and launch requirements.

* [fakes](./fakes)

Expand All @@ -225,29 +223,7 @@ the types and functions declared herein.

## `jam` CLI

The `packit` library comes with a command-line tool called `jam` that can be
used to create buildpack tarball artifacts. The `jam` name is simply a play on
the idea of "packaging" or "packing" a buildpack.

`jam` comes with the following commands:
* help : Help about any command
* pack : package buildpack
* summarize : summarize buildpackage
* update-builder : update builder
* update-buildpack : update buildpack
* update-dependencies : update all depdendencies in a buildpack.toml according to metadata.constraints

The `jam` executable can be installed by downloading the latest version from
the [Releases](../../releases) page. Once downloaded, buildpacks can be created from
a source repository using the `pack` command like this:

```sh
jam pack \
--buildpack ./buildpack.toml \
--stack io.paketo.stacks.tiny \
--version 1.2.3 \
--offline \
--output ./buildpack.tgz
```
The `jam` CLI has been moved into its [own dedicated repository](https://github.com/paketo-buildpacks/jam). For new `jam` releases, please visit the `jam` repositories [release page](https://github.com/paketo-buildpacks/jam/releases).

---
Readme created from Go doc with [goreadme](https://github.com/posener/goreadme)
128 changes: 0 additions & 128 deletions cargo/jam/commands/pack.go

This file was deleted.

13 changes: 0 additions & 13 deletions cargo/jam/commands/root.go

This file was deleted.

57 changes: 0 additions & 57 deletions cargo/jam/commands/summarize.go

This file was deleted.

90 changes: 0 additions & 90 deletions cargo/jam/commands/update_builder.go

This file was deleted.

Loading