Commit Graph

1718 Commits

Author SHA1 Message Date
Michael Hobbs
6c914173cb set PLUGIN_PATH on plugn calls 2015-09-15 02:16:40 -07:00
Michael Hobbs
c21aea00ad filter out toml files when linting 2015-09-15 02:16:40 -07:00
Michael Hobbs
7a545759f2 initial pass at switching to plugn 2015-09-15 02:16:40 -07:00
Loïc Guitaut
ac75c726ad Plugins management
We had an issue with third party plugins installing things via apt while
already installing dokku itself via apt.

To resolve this, `plugins-install` and `plugins-install-dependencies`
now can take a `--core` flag allowing to execute the install hook only
on core plugins and not on third party plugins.

Another feature with this modification is the ability to disable/enable
plugins. Two new commands now exist:

* `plugins:enable <name>` to enable a previously disabled plugin
* `plugins:disable <name>` to disable an installed plugin. This won’t
  work on core plugins.
2015-09-15 02:15:39 -07:00
Jose Diaz-Gonzalez
48c6460b45 Merge pull request #1408 from progrium/josegonzalez-patch-1
Add links to official dokku datastorage plugins
2015-09-15 02:09:38 -07:00
Jose Diaz-Gonzalez
dc6e1ea987 Merge pull request #1465 from progrium/1459-dyno
Set DYNO env var to heroku-compatible value
2015-09-14 21:21:26 -07:00
Jose Diaz-Gonzalez
2ba9809a7f Merge pull request #1445 from progrium/1435-josegonzalez
Create CONTRIBUTING.md
2015-09-14 20:44:25 -07:00
Jose Diaz-Gonzalez
1c48c9c1e9 Create CONTRIBUTING.md
Closes #1435

[ci skip]
2015-09-14 20:43:09 -07:00
Jose Diaz-Gonzalez
0ef3f71d8d Set DYNO env var to heroku-compatible value
Closes #1459
2015-09-14 20:30:57 -07:00
Jose Diaz-Gonzalez
cfe2663f61 Merge pull request #1460 from progrium/mh-bump-herokuish-version
bump herokuish version to 0.3.3
2015-09-14 20:20:46 -07:00
Jose Diaz-Gonzalez
ce2c1e3f1d Merge pull request #1464 from KernelMadness/master
limit amount of lines in "dokku logs -t"
2015-09-14 19:50:11 -04:00
KernelMadness
7eb8da5302 limit amount of lines in "dokku logs -t" 2015-09-14 23:59:19 +03:00
Jose Diaz-Gonzalez
d3cdef44d9 Merge pull request #1463 from progrium/josegonzalez-patch-3
Update `Xenify Distro` option
2015-09-11 16:38:21 -04:00
Jose Diaz-Gonzalez
59c8be210b Update Xenify Distro option
Refs #1226
2015-09-11 16:16:09 -04:00
Michael Hobbs
8b357b2805 bump herokuish version to 0.3.3 2015-09-10 20:18:02 -07:00
Michael Hobbs
51e8b540cc Merge pull request #1458 from progrium/mh-trace
set TRACE=true when DOKKU_TRACE is set
2015-09-10 14:36:33 -07:00
Michael Hobbs
01525e3164 set TRACE=true when DOKKU_TRACE is set 2015-09-10 14:07:07 -07:00
Jose Diaz-Gonzalez
9bc7f459ef Merge pull request #1457 from lukechilds/bashstyle
Bashstyle fixes
2015-09-10 16:38:21 -04:00
Luke Childs
2123917e9b Consistent spacing before do/then 2015-09-10 20:46:29 +01:00
Luke Childs
a7c0020ceb while and do on same line in dokku deploy 2015-09-10 20:43:48 +01:00
Luke Childs
299d530959 Use [[ instead of [ in dokku deploy 2015-09-10 20:33:10 +01:00
Jose Diaz-Gonzalez
1b5756ca54 Merge pull request #1447 from alanjds/fix-appname-detection
Fix: appname was not correctly detected
2015-09-10 12:45:41 -04:00
Jose Diaz-Gonzalez
9e98fe11e0 Merge pull request #1455 from progrium/1356_mh-safe-stop-kill-event
continue but log an event if/when container retirement fails
2015-09-10 12:45:25 -04:00
Michael Hobbs
b2949d2199 log when killing old app container(s) fails 2015-09-10 08:47:48 -07:00
Michael Hobbs
ff6de12196 Merge remote-tracking branch 'akatrevorjay/pull-req-0' into 1356_mh-safe-stop-kill-event 2015-09-10 08:30:50 -07:00
Alan Justino
b4b4e266b2 Hoping Travis to like it this time... 2015-09-10 00:18:34 -03:00
Jose Diaz-Gonzalez
c4766b7f8d Merge pull request #1451 from progrium/josegonzalez-patch-2
Revert change that whitelisted dokku-labeled containers
2015-09-08 14:35:07 -04:00
Jose Diaz-Gonzalez
88bd50abaf Revert change that whitelisted dokku-labeled containers
Rather than having a one-off hack for "blessed" containers, we should solve the issue properly. As that would take a bit more work, reverting to the previous state is preferred.

Better that we solve a problem problem than with a hack that we'll need to roll back in the future.

Refs #1220

[ci skip]
2015-09-08 14:35:00 -04:00
Jose Diaz-Gonzalez
39f09740b7 Merge pull request #1450 from progrium/mh-rename-events-hooks
rename event plugin buildstep hooks to buildpack
2015-09-08 11:52:27 -04:00
Jose Diaz-Gonzalez
dca4e87d31 Merge pull request #1449 from progrium/josegonzalez-patch-2
Match herokuish deb with released version number
2015-09-08 11:51:16 -04:00
Jose Diaz-Gonzalez
1265463dcf Match herokuish deb with released version number
[ci skip]
2015-09-08 11:50:59 -04:00
Michael Hobbs
b71f6f4660 rename buildstep hooks to buildpack 2015-09-08 08:50:17 -07:00
Jose Diaz-Gonzalez
56e7c09733 Merge pull request #1448 from progrium/josegonzalez-patch-2
Do not delete containers with the label dokku.service
2015-09-08 11:21:46 -04:00
Jose Diaz-Gonzalez
34c5b53857 Do not delete containers with the label dokku.service
[ci skip]
2015-09-08 11:21:38 -04:00
Alan Justino
ad9d331257 Fix: appname was not correctly detected 2015-09-08 11:24:03 -03:00
Jose Diaz-Gonzalez
a26602f3f2 Merge pull request #1446 from johnfraney/patch-1
Update nginx.md
2015-09-07 21:52:44 -04:00
John Franey
5fa167c408 Update nginx.md
Remove extra word in Nginx documentation
2015-09-07 22:50:59 -03:00
Jose Diaz-Gonzalez
5f17720d3f Update compatible version 2015-09-07 04:06:11 -04:00
Jose Diaz-Gonzalez
1de092d84e Merge pull request #1444 from progrium/docker-cleanup
Docker cleanup
2015-09-06 20:13:32 -04:00
Jose Diaz-Gonzalez
ba82b544f0 Proper spacing in dokku_log_warn 2015-09-06 19:40:44 -04:00
Jose Diaz-Gonzalez
d0c0ffc19c Do not remove any containers that have the label dokku. Closes #1220
This can be used to mark data containers as non-removable by the cleanup function
2015-09-06 19:23:15 -04:00
Jose Diaz-Gonzalez
342e9aa95b Move dokku cleanup into docker_cleanup function
This should slightly reduce DOKKU_TRACE output.
2015-09-06 19:21:12 -04:00
Jose Diaz-Gonzalez
7a1c080051 Merge pull request #1414 from progrium/1368_mh-certs-plugin
certs plugin
2015-09-04 13:26:43 -04:00
Jose Diaz-Gonzalez
d50db13065 Re-add old ssl docs while 0.4.0 is still not released
[ci skip]
2015-09-04 13:26:12 -04:00
Jose Diaz-Gonzalez
3c894fd130 Move version into place before running copyfiles
Otherwise `make addman` will fail during test runs
2015-09-04 12:52:15 -04:00
Michael Hobbs
515afa8d62 lintballs 2015-09-03 21:44:19 -07:00
Jose Diaz-Gonzalez
adfc3a8101 Use dokku_log_fail in favor of dokku_log_warn
If a command will exit because of invalid input, that isn't a warning, it's a failure.
2015-09-04 00:18:41 -04:00
Jose Diaz-Gonzalez
95161a2a9f Use dokku_log_fail in all cases where there is an exit 1 2015-09-04 00:17:45 -04:00
Jose Diaz-Gonzalez
76cf4d2969 Add support for certificate setting via files on disk (when on server)
This can be used as an alternative to importing via stdin, which may be preferred when working directly on a server, or via scripted installation/deployments.
2015-09-04 00:13:48 -04:00
Jose Diaz-Gonzalez
71ebf1e476 Add certs:update alias for certs:add 2015-09-04 00:00:07 -04:00