Hexoku.API.Builds
A build represents the process of transforming a code tarball into a slug
Attributes
- id
- unique identifier of item generated by Heroku
- slug
- slug created by this build
- slug:id
- unique identifier of slug
- source_blob:url
- URL where gzipped tar archive of source code for build was downloaded.
- source_blob:version
- Version of the gzipped tarball.
- status
- status of build. ["failed", "pending", "succeeded"]
- user:email
- email address of account
- user:id
- unique identifier of user
- created_at
- when item was created
- updated_at
- when item was last modified
For more info read the Heroku API Reference
Summary
| create(client, app, url, version) | Create a new build |
| info(client, app, build) | Info for existing build |
| list(client, app) | List existing builds |
Functions
Specs:
- create(Hexoku.Client.t, binary, binary, binary) :: Map.t
Create a new build
Examples
client |> Hexoku.API.Builds.create(
"myapp",
"https://example.com/source.tgz?token=xyz",
"v1.3.0"
)