Skip to content

Commit

Permalink
Removes jam
Browse files Browse the repository at this point in the history
- Removes `jam` from `cargo`
- Removes `scripts` directory as the only scripts was a packaging script
for `jam`
- Removes `jam` packaging from release workflow

Co-authored-by: Ryan Moran <155736+ryanmoran@users.noreply.github.com>
  • Loading branch information
2 people authored and Ubuntu committed Aug 23, 2021
1 parent ec2ff10 commit 3541ef0
Show file tree
Hide file tree
Showing 50 changed files with 8 additions and 8,786 deletions.
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"
}
]
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/tag/v1.0.0).

---
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

0 comments on commit 3541ef0

Please sign in to comment.