Jose Diaz-Gonzalez
86795ddacc
tests: run mvdan/shfmt on test runs
...
While I do not agree with _every_ style change, this will force Dokku to have consistent formatting across all shell scripts, which is arguably a Good Thing™.
The command used to reprocess everything is:
```shell
shfmt -l -bn -ci -i 2 -w .
```
2019-01-07 01:25:55 -05:00
Jose Diaz-Gonzalez
ed190527ce
feat: allow overriding the scheduler globally
...
Being able to override globally is useful for cases where a user will _always_ want their applications to be globally distributed
2018-09-30 21:36:53 -04:00
Jose Diaz-Gonzalez
970b6806c7
fix: do not output error message twice
...
It was output twice because stderr is not silenced and `get_running_image_tag` was called _before_ `verify_app_name`.
2018-04-27 00:28:17 -04:00
Jose Diaz-Gonzalez
72f53f9f1b
refactor: use apps_exists helper where appropriate
...
This centralizes the logic around checking if an application exists.
2018-04-07 15:04:51 -04:00
Jose Diaz-Gonzalez
3f1de1fd10
refactor: drop all application-related docker code from apps plugin
2018-04-06 22:53:02 -04:00
Jose Diaz-Gonzalez
40b0bdd6e8
fix: ensure we call apps_create at all proper locations
2018-03-05 23:47:10 -05:00
Jose Diaz-Gonzalez
399073f77b
feat: add support for checking if an application exists
...
This is useful for creating review applications in CI/CD pipelines.
2018-02-28 02:27:29 -05:00
Jose Diaz-Gonzalez
16b8f2682b
fix: Validate that all application names are valid domain names
...
Invalid application names will need to be manually cleaned up by the user, and as such this is a bc-break.
Closes #3054
2018-02-17 17:26:06 -05:00
Michael Hobbs
cb9efa3322
implement docker stop timeout. closes #2126 ( #2148 )
2016-04-26 18:06:55 -07:00
Michael Hobbs
987c5cfb9c
use declare for description variable
2016-03-08 15:30:34 -05:00
Michael Hobbs
aa2415eeb8
more style/function tweaks
2016-03-03 22:11:35 -08:00
Michael S. Hobbs
89f289b433
subcommand restructure and bashstyle refactor. closes #1579
2016-03-03 22:11:35 -08:00
Michael Hobbs
d1b87bd7b7
cleanup shellcheck SC2086
2016-02-23 07:50:06 -08:00
Michael Hobbs
803ef7d9f3
ensure app name begins with lowercase. closes #1774
2015-12-22 12:02:18 -08:00
Jose Diaz-Gonzalez
8e9d04ae36
Add post-create hook
...
Note that this is invoked *before* the application is deployed, so it's usage is quite different than a potential post-successful-create hook.
2015-11-26 15:47:59 -05:00