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
- Easy configuration with
releases_buildpack.configfile - Easy configuration with
GIGALIXIR_RELEASES_BUILDPACK_CONFIGenvironment variable. - Support for umbrella app compilation through
app_relative_pathconfiguration. - Support for adding files to the release through
.gigalixir/releases/includes.txtfile.
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:
- buildpack defaults
distillery_buildpack.configfrom your repo (for backwards compatibility)releases_buildpack.configfrom your repoGIGALIXIR_RELEASES_BUILDPACK_CONFIGenvironment variable
To add files to the release, create a .gigalixir/releases/includes.txt.
The file follows the rsync --include-from syntax.
For example:
# include a specific file
/priv/ssl_certificate.pem
# include all files in a directory
/priv/dir/*
# include all files in a directory and its subdirectories
/priv/tree/**
Matching files will be available in the /app folder at runtime.
Empty directories will be pruned.
Tests are available in the test directory.
To run all tests, use for tst in test/*; do $tst; done.