Jose Diaz-Gonzalez
9d3c856afd
Merge pull request #1727 from louisbl/enable-redeploy-service
...
Enable dokku-redeploy systemd service.
2015-12-02 14:07:49 -05:00
Michael Hobbs
606036a50f
[ci skip] use ps:restore on instance boot
2015-12-01 11:54:36 -08:00
Michael Hobbs
a86119ddb6
do not chown file that doesn't exist. closes #1729
2015-12-01 09:01:59 -08:00
louisbl
2f95fa0a95
Fix #1726 . Enable dokku-redeploy systemd service.
2015-11-29 22:26:40 +01: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
Jose Diaz-Gonzalez
f11459faad
Avoid using the PPA for ubuntu versions 15.10 and higher
...
As of 15.10, we are graced with a relatively recent version of nginx, and thus no longer need access to the ppa. Assuming this is the only such issue, this should also allow us to support Ubuntu 16.04 without any future changes.
2015-11-25 18:59:59 -05:00
Michael Hobbs
2c34a60a8d
filter incompatible docker option when building dockerfile vs herokuish apps. closes #1609
2015-11-25 09:09:11 -08:00
Jose Diaz-Gonzalez
0e205b8133
Merge pull request #1708 from progrium/1705_mh-secure-tls
...
ensure permissions are locked down on tls folder and contents
2015-11-19 14:12:41 -05:00
Michael Hobbs
6a51ec0f64
Merge pull request #1709 from progrium/1614_mh-wildcard-domains
...
fix Must specify DOMAIN error over ssh (supercedes #1691 )
2015-11-19 14:10:20 -05:00
Michael Hobbs
aa1ffd1aab
Merge pull request #1707 from Flink/fix-named-container-filter-match
...
Do a perfect match on the container name
2015-11-19 12:09:33 -05:00
Michael Hobbs
11d396e6ef
Merge pull request #1706 from progrium/1704_mh-rm-container
...
app/global override for DOKKU_RM_CONTAINER
2015-11-19 12:09:20 -05:00
Michael Hobbs
a2ccbcbbfb
Merge pull request #1701 from progrium/mh-dont-call-nginx-build-twice
...
don't call nginx_build_config twice
2015-11-19 12:09:02 -05:00
Michael Hobbs
4b2a777425
add test for wildcard domain. don't match domain substring. closes #1614
2015-11-19 12:03:31 -05:00
Michael Hobbs
091c1acf15
ensure permissions are locked down on tls folder and contents. fixes #1705
2015-11-19 11:03:21 -05:00
Michael Hobbs
2ed0424860
app/global override for DOKKU_RM_CONTAINER. closes #1704
2015-11-19 10:40:14 -05:00
Loïc Guitaut
ad4a945941
Do a perfect match on the container name
...
This way we avoid to match every container that begins with the same
name.
2015-11-19 16:40:00 +01:00
Michael Hobbs
498d52ecdf
don't call nginx_build_config twice and make ip regex functions globally accessible
2015-11-19 09:10:04 -05:00
Jose Diaz-Gonzalez
6cd1b768ff
Fix casing on help output
...
[ci skip]
2015-11-19 03:14:48 -05:00
Jose Diaz-Gonzalez
939feb62eb
Remove extra whitespace in command output
...
[ci skip]
2015-11-19 03:13:25 -05:00
Michael Hobbs
3e466917fd
Merge pull request #1700 from progrium/1697_mh-copy-nginx-ssl-template-from-container
...
copy nginx.ssl.template from app container
2015-11-18 19:26:49 -05:00
Jose Diaz-Gonzalez
650dcd2538
Merge pull request #1671 from progrium/user-auth
...
User Auth plugin trigger
2015-11-18 19:23:47 -05:00
Michael Hobbs
09aa97f9e5
copy nginx.ssl.template from app container. fixes #1697
2015-11-18 17:36:02 -05:00
Michael Hobbs
e57d9dac3b
print where we find DOKKU_SCALE when we find it. closes #1685
2015-11-18 16:10:29 -05:00
Marc Diethelm
200d1128a1
Update docker-options plugin help for consistency with help docs
2015-11-15 22:50:24 +01:00
Justin Clark
59912d43f1
fix Must specify DOMAIN error over ssh
2015-11-13 18:02:07 -08:00
Justin Clark
ef7d49bafc
Fix App tls has not been deployed error
2015-11-13 16:40:22 -08:00
Justin Clark
8a1f7fb900
Cause certs:remove to return non zero on error
...
This was caught when writing the certs.bats. This patch will return
non zero on error instead of zero which can casue false negatives
in testing.
2015-11-11 18:18:06 -08:00
Michael Hobbs
75b8953799
set nullglob when looking for PORT files. closes #1678
2015-11-11 12:01:56 -08:00
Jose Diaz-Gonzalez
ffbb2f3c42
Merge pull request #1667 from u2mejc/u2mejc-certs
...
Fix dokku certs:add file input bug
2015-11-10 20:16:54 -05:00
Michael Hobbs
0853850f7a
revert dokku group changes and add dokku user to adm group. closes #1572
2015-11-10 09:21:09 -08:00
Jose Diaz-Gonzalez
fc125d41e8
Add user-auth plugin trigger
...
This plugin trigger should allow users to pair down the available commands for a given user. While this does not affect help output - or any output at all - this is a good first step in allowing administrative access to certain commands while still allowing users to deploy/manage given applications.
Note that because of how dokku works, all parsing of commands must be done within the pluginhook, and we cannot give visibility into the actual command or application that will be affected by a given run.
2015-11-08 15:36:04 -05:00
Justin Clark
b7fbd9aea0
Fix dokku certs:add file input bug
...
- fixes issue #1658
- add better output for argument files missing
- don't delete (move) the certs passed in
2015-11-06 16:47:19 -08:00
Jose Diaz-Gonzalez
5dbb31cf8a
Merge pull request #1612 from Flink/logs-options
...
Add multiple options to the logs plugin
2015-11-06 00:32:32 -05:00
Jose Diaz-Gonzalez
c2fc3141a9
Merge pull request #1643 from Flink/fix-no-vhost
...
Fix generated nginx config when NO_VHOST=1
2015-11-06 00:06:08 -05:00
Jose Diaz-Gonzalez
de832c596a
Merge pull request #1644 from mmerickel/watch-events-logrotate
...
watch dokku events through a logrotate
2015-11-05 22:01:19 -05:00
Jose Diaz-Gonzalez
49a07e5210
Merge pull request #1664 from progrium/mh-add-rev-to-pre-receive-app
...
add $REV to pre-receive-app call
2015-11-05 21:59:25 -05:00
Jose Diaz-Gonzalez
a1983e0131
Merge pull request #1653 from callahad/SC2145
...
Resolve SC2145: 'Argument mixes string and array.'
2015-11-05 21:57:02 -05:00
Michael Hobbs
455033703a
add $REV to pre-receive-app call
2015-11-05 17:18:44 -08:00
Mirko Geissler
f85775b870
Only return users of group 'adm'
...
This fixes the issue where all groups starting with 'adm' are returned which broke the installation.
2015-11-05 11:51:29 +01:00
Jose Diaz-Gonzalez
d50f3cd151
Merge pull request #1655 from callahad/SC2162
...
Resolve SC2162: 'read without -r mangles backslashes'
2015-11-05 00:36:48 -05:00
Dan Callahan
ff07842dc5
Resolve SC2001: 'See if you can use ${var//search/replace} instead'
...
https://github.com/koalaman/shellcheck/wiki/SC2001
2015-11-04 20:43:41 -06:00
Dan Callahan
c389b213b5
Resolve SC2162: 'read without -r mangles backslashes'
...
More information:
https://github.com/koalaman/shellcheck/wiki/SC2162
http://wiki.bash-hackers.org/commands/builtin/read
2015-11-04 20:40:42 -06:00
Dan Callahan
84c0988fd8
Resolve SC2145: 'Argument mixes string and array.'
...
https://github.com/koalaman/shellcheck/wiki/SC2145
2015-11-04 11:30:49 -06:00
Dan Callahan
8ed0193b1d
Resolve SC2115: 'Use "${var:?}" to ensure this never expands to /'
...
https://github.com/koalaman/shellcheck/wiki/SC2115
2015-11-03 22:00:05 -06:00
Raphaël Valyi
2b64fe4666
a git repo can be accessed via ssh
2015-11-03 01:11:12 -02:00
Michael Merickel
2d109a20c5
watch dokku events through a logrotate
2015-11-02 14:20:55 -06:00
Loïc Guitaut
804c822ace
Fix generated nginx config when NO_VHOST=1
...
Fixes #1625
2015-11-02 19:08:41 +01:00
Loïc Guitaut
7f5c2caed6
Add multiple options to the logs plugin
...
New version of the logs plugin broke compatibility (as reported in #1534 ).
So options have been added to handle display:
* -t/--tail to tail logs (already existed)
* -n/--num NUM to display only this number of lines
* -p/--ps PS to display logs only from provided process
* -q/--quiet to display raw logs without color, time and names
This should close #1534
2015-11-02 15:31:17 +01:00
Michael Hobbs
e28c75e56a
move RESTORE variable to DOKKU_APP namespace
2015-10-29 07:55:09 -07:00
Jose Diaz-Gonzalez
f13796fa57
Merge pull request #1613 from kdomanski/restore
...
add ps:restore to start applications which weren't manually stopped
2015-10-28 14:15:57 -04:00