aboutsummaryrefslogtreecommitdiffstats
path: root/test/rlx_release_SUITE.erl
AgeCommit message (Collapse)Author
2019-08-17Keep expected overlay behaviour - make API overlays the lesser authorityGuilherme Andrade
2019-08-15Allow for API callers to define arbitrary overlay variablesGuilherme Andrade
2019-08-13Merge pull request #747 from arcusfelis/template-redefined-variableTristan Sloughter
Correctly render redefined variable
2019-08-13support including the version in name of release to extendTristan Sloughter
2019-08-12Correctly render redefined variableMikhail Uvarov
Rendering of variables behaves differently for already defined variables. Values of such variables are rendered in the wrong order, ignoring any variables above from the same file.
2019-08-11drop timetrapsTristan Sloughter
2019-05-20Merge pull request #667 from ElectronicRU/overlay-wildcardsTristan Sloughter
Support wildcards for copy/link to a directory.
2019-05-20Merge branch 'master' into goals_optionTristan Sloughter
2019-05-20Merge pull request #676 from velimir/providers-apiTristan Sloughter
allow specify additional providers via api and cli calls
2019-05-14increase timetrapTristan Sloughter
2018-11-04allow specify additional providers via api and cli callsGrigory Starinkin
2018-10-05support tuples in overlay_vars so rebar3 can pass variables (#672)v3.27.0Tristan Sloughter
2018-07-31Make {goals, ...} option add goals to release depsolver.AlexSedov
Additionally, provides parsing for in-config goals, and better goal merging. Closes #571. This reverts commit 0ffe8cd1a2a4e039a48d1096fc250b3f6bd3dcd1.
2018-07-27Support wildcards for copy/link to a directory.AlexSedov
Additionally, removes a lot of unnecessary conversions to binary in relx_prv_overlay (binary and string in Erlang are two different beasts for filenames), and factors out some common code.
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.