aboutsummaryrefslogtreecommitdiffstats
path: root/test/rlx_release_SUITE.erl
AgeCommit message (Collapse)Author
2018-06-12support for OTP21's sys.config.src file in releases (#647)Tristan Sloughter
* support for OTP21's sys.config.src file in releases * always replace os vars in .src files if found * support vm_args_src to be consistent with sys_config_src * add newlines after warning logs * improve sys and vm src config tests
2017-10-18Add `erts_dir` overlay var (#614)Luis Rascão
Useful for copying custom files from an erts build such as a .kerl.config file.
2017-04-09Only ensure kernel,stdlib for empty dep appsLuis Rascao
Do not try and ensure them for every app, there are some OTP apps that only require kernel and there's really no point in rewriting those.
2017-03-20Ensure stdlib,kernel as application dependenciesLuis Rascao
Make this dependency explicit as it was causing apps with empty application lists to not be included in the generated release.
2016-11-21Provide a new config directive that allows per-app module exclusionLuis Rascao
By introducing a new entry in the config file allow excluding specific modules from a given app, they will not be copied onto the final release and their reference removed from the .app file. The new entry takes on the following form: {exclude_modules, [ {App :: atom(), [Module :: atom()]} ]}
2016-10-27Fix replace os vars functionalityLuis Rascao
The first run would correctly replace the environment variables, however it would also overwrite the original vm.args and sys.config thus preventing any further substitution in subsequent runs. Dev mode runs were also broken, all runs after the first were required to also define the RELX_REPLACE_OS_VARS variable in order not to overwrite the current vm.args with the original one, this prevented simply attaching to an already running node that was started this way. Add tests to exercise this functionality.
2016-10-25Always include nodetool when generating extended start scriptLuis Rascao
Remove redundant check for extended_start_script. Add tests that enforce this invariant.
2016-10-03Don't include erts src when user requests src not be includedLuis Rascao
Using the include_src option
2016-09-25Increase test coverageLuis Rascao
2016-03-15Fixed template args order bugKozlov Yakov
2016-01-23replacing OS vars: use .orig files to prevent overwritingerlanger
2016-01-11use priv_dir for generated test dataTristan Sloughter
2015-07-08don't do release discovery unless needed -- like for relupsTristan Sloughter
2015-06-17Fixing test for windows, changing symlink to symlink_or_copyDaniel Widgren
2015-05-16fix add_providers config option for newest providers depTristan Sloughter
2015-05-08use mustache instead of erlydtl for overlaysTristan Sloughter
2015-02-19support overlay file inclusionLuis Rascao
allow overlay inclusion of other files, similarly to what OTP already does in sys.config files
2015-01-31don't overdo it with generated apps that are there to be ignoredTristan Sloughter
2015-01-31add support for excluding applications from the releaseTristan Sloughter
2015-01-30add config script funcionalityLuis Rascao
similar to rebar's config script, append a .script suffix to the provided relx config that is evaluated and can possibly change values in the original config
2015-01-10remove system libs from tarball if set to falseTristan Sloughter
2014-12-13render overlay filenames for tar archiveTristan Sloughter
2014-11-20Merge pull request #268 from tsloughter/no_def_error_msgJordan Wilberding
fix for error message output for no default release
2014-11-17add back _rel to app discovery, fix relup tests to noticeTristan Sloughter
2014-11-17fix for error message output for no default releaseTristan Sloughter
2014-10-11provider task dependenciesTristan Sloughter
2014-05-14refactor tar and relup commands to own providersTristan Sloughter
2014-05-14refactor cli args and config file var mergingTristan Sloughter
2014-05-09breaking change: output release to <output_dir>/<release_name>/Tristan Sloughter
2014-01-21properly handle config files and switching on/off dev_modeTristan Sloughter
2013-11-22Merge pull request #95 from josevalim/jv-default-releasev0.5.2Eric Merritt
Properly detect the default release and fail on conflicts
2013-11-22Properly detect the default release and fail on conflictsJosé Valim
Closes #93
2013-11-18Support wildcards in lib dirsJosé Valim
Wildcards are supported in both lib_dirs in config files as well via the -l command line option.
2013-10-18add extend to release definition. This closes #16Tristan Sloughter
2013-10-16fix load overlay to support filename not in a list. This closes #74Tristan Sloughter
2013-10-15add a dev mode that symlinks the release instead of copying itEric
This should only ever be used for development, however it makes it very, very nice to be able to simple recompile a project without recopying it to try new things.
2013-10-12support list of overlay_vars files. This closes #4Tristan Sloughter
2013-09-28warn, not error, on bad app during discovery providerTristan Sloughter
2013-09-16keep application type of none for rel fileTristan Sloughter
2013-09-16Check presence of each beam listed in .appAlexander V. Nikolaev
This allow to build riak, because one of riak deps (node_package) have stuff in priv/ and valid node_package.app, but no one .beam files.
2013-09-13support copying full directories in overlaysTristan Sloughter
2013-09-11allow multiple actions, including new action tarTristan Sloughter
2013-05-10internal rename completion of all relcool to relx callsEric
2013-05-09Basic file rename from rcl to rlxEric