Skip to content

gigalixir/gigalixir-buildpack-releases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elixir Releases Buildpack

Buildpack for gigalixir app's that use Elixir Core releases.

For mix, see https://github.com/gigalixir/gigalixir-buildpack-mix

For distillery, see https://github.com/gigalixir/gigalixir-buildpack-distillery

To use this, see https://gigalixir.readthedocs.io/en/latest/modify-app/releases.html#specify-buildpacks-optional

Features

  • Easy configuration with releases_buildpack.config file
  • Easy configuration with GIGALIXIR_RELEASES_BUILDPACK_CONFIG environment variable.
  • Support for umbrella app compilation through app_relative_path configuration.

Configuration

Create a releases_buildpack.config file in your app's root dir if you want to override the defaults. The file's syntax is bash.

Alternatively add your config to GIGALIXIR_RELEASES_BUILDPACK_CONFIG. For example:

gigalixir config:set GIGALIXIR_RELEASES_BUILDPACK_CONFIG='app_relative_path="./apps/my_umbrella"'

If you don't specify a configuration, then the defaults are loaded from the buildpack's releases_buildpack.config file.

Configuration options are applied in the following order:

  1. buildpack defaults
  2. distillery_buildpack.config from your repo (for backwards compatibility)
  3. releases_buildpack.config from your repo
  4. GIGALIXIR_RELEASES_BUILDPACK_CONFIG environment variable

Tests

Tests are available in the test directory. To run all tests, use for tst in test/*; do $tst; done.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages