aboutsummaryrefslogtreecommitdiffstats
path: root/test/rlx_extended_bin_SUITE.erl
AgeCommit message (Collapse)Author
2019-08-19Merge pull request #745 from evanmcc/fix-hardcoded-timeoutTristan Sloughter
add configurable timeouts to nodetool
2019-08-11drop timetrapsTristan Sloughter
2019-08-10fix typo; add testEvan Vigil-McClanahan
2019-05-20Merge pull request #667 from ElectronicRU/overlay-wildcardsTristan Sloughter
Support wildcards for copy/link to a directory.
2019-05-17increase timetrap for otp 22try-cirrusTristan Sloughter
2019-05-14increase timetrapTristan Sloughter
2019-05-13see if others pass without this oneTristan Sloughter
2019-05-13try to fix failing testTristan Sloughter
2019-04-01have travis only run 17 and osx. add circleci badge (#703)Tristan Sloughter
* have travis only run 17 and osx. add circleci badge * use localhost for shortname nodes in tests
2019-03-31try circleci for CI (#701)Tristan Sloughter
2019-02-21Attempt at a fix for vm.args usage (#688)v3.29.0Anthony Molinaro
* Attempt at a fix for vm.args usage * bump sleep time to see if it fixes tests on travis
2018-10-11Prevent double hook invocation on 'start' commandLuis Rascao
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
2018-05-30Add unused variables on replace OS vars test (#628)Luis Rascão
To prevent further regressions such as the one found in erlware/relx#627.
2018-05-30Add remote console using shortname test coverage (#643)Luis Rascão
2018-03-22Extend adding extra args from vm.args to install_upgrade.escriptkonyaris
2018-02-15Add extra args from vm.args into escripts and erlAlexander Petrovsky
2018-01-02Clarify that extension scripts shall exitLuca Favatella
2017-10-30Add test that demonstrates that fixes preserve an argument that contains ↵Luke Bakken
both double quotes and a space character
2017-10-18Start script extensions (#613)Luis Rascão
* Extended start script command extensions Provide a mechanism that allows for the application to extend the list of commands available to be invoked from the start script. An application may be able to define a 'foo' extension that is associated with a 'foo_script' written and maintained by the applicationr, (this association is kept in rebar.config), upon invocation of bin/<release_name> foo the 'foo_script' will then be invoked. * Add test coverage for extension script * Ensure extended script usage argument
2017-10-17added tests for args_file checksJan Uhlig
tests now include if: - start succeeds when the node name is given in a different args file than vm.args - start fails when no node name given - start fails when multiple node names given - start fails when referenced args_file does not exist - start fails when a referenced args_file is not readable - start fails when an args_file is referenced via a relative path - start fails when there are circular dependencies between args_files
2017-07-24Don't use builtin status hook as defaultLuis Rascao
Let people define their own when they want to.
2017-05-15Add custom status hook to extended scriptLuis Rascao
Provide a status command to start script which, by default, runs a builtin hook that simply prints which applications are running in the node. This hook can then be customized to print whatever the user wants by adding {status, [{custom, "path/to/hook"}]} to already existing extended_start_script_hooks.
2017-03-11Only use multi-node sys.config if requested when replacing OS varsLuis Rascao
When replacing OS vars only create multi-node sys.config files (ie. filenames containing the node name) only if explicitly requested. This is necessary because inclusion of other config files inside of sys.config is only allowed if the file is actually called sys.config and nothing else.
2017-01-03Add test coverage for long node name releasesLuis Rascao
2016-12-18Obtain release node name from Erlang VM instead of OSLuis Rascao
2016-11-12Add support for new relx directive that provides start/stop shell script hooksLuis Rascao
New 'extended_start_script_hooks' directive that allows the developer to define six different hook shell scripts to be invoked at pre/post start/stop/install upgrade phases. Besides these custom defined scripts, other types of builtin scripts are also available, these offer pre-packaged functionality that can be used directly, they are: pid - writes the beam pid to a configurable file location (/var/run/<rel_name>.pid by default). wait_for_vm_start - waits for the vm to start (ie. when it responds to pings) wait_for_process - waits for a configurable name to appear in the erlang process registry The hook scripts are invoked with the 'source' command, therefore they have access to all the variables in the start script.
2016-11-09Remove name collisions of replaced files in multi-node setupsSerge Aleynikov
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-09-27Add test coverage for the extended bin scriptLuis Rascao