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
Jose Diaz-Gonzalez
66833f12a0
Ensure we have sudo installed when installing dokku debian packages
...
Refs #976
2015-10-24 23:15:03 -04:00
Jose Diaz-Gonzalez
19f66f69ee
Add docker-engine-cs as docker-engine alternative
...
docker-engine-cs is the commercially supported version of docker, and therefore should be fully compatible.
2015-10-07 11:16:30 -04:00
Jose Diaz-Gonzalez
0f14e9652f
Release 0.4.0
2015-09-20 16:49:13 -04:00
Jose Diaz-Gonzalez
30aa89ce8a
Allow installation with lxc-docker
...
This will allow developers to run an `upgrade` on existing installations without breaking because docker-engine isn't yet in their apt lists...
[ci skip]
2015-09-16 15:53:08 -07:00
Jose Diaz-Gonzalez
1e479c63bd
Upgrade dokku installation to use docker-engine
...
Also simplify deb-based installation everywhere.
Closes #1295
Closes #1461
2015-09-15 13:35:45 -07:00
Michael Hobbs
bef51a1c6b
initial pass at converting deb to plugn
2015-09-15 02:17:28 -07:00
Michael Hobbs
18d234a925
move plugin-* to plugin: namespace
2015-09-15 02:17:28 -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
4f25392d9b
Use cgroupfs-mount as alternative package to cgroup-lite
...
This should allow installation of the dokku packages on debian jessie. Upstream docker created this package in response to an issue where `cgroup-bin` could not be installed at the same time as lxc.
Closes #1236
Refs #1076
[ci skip]
2015-08-25 12:33:47 -04:00
Michael Hobbs
6d71c164f0
Merge pull request #1128 from progrium/1091_mh-switch-to-herokuish
...
switching to herokuish. closes #1091
2015-08-24 12:11:05 -07:00
Jose Diaz-Gonzalez
55d4fb788e
Revert "Remove dokku plugins-install from postinst hook"
...
This reverts commit 1bf30bdcb1 .
Commit was reverted as this breaks installs of core plugins. It is also a hack around broken plugins that don't use the `dependencies` pluginhook.
2015-08-19 21:45:10 -04:00
Jose Diaz-Gonzalez
d3361d21d8
Remove provides statement from control file
2015-08-19 20:22:19 -04:00
Jose Diaz-Gonzalez
1bf30bdcb1
Remove dokku plugins-install from postinst hook
...
All core plugins that require debian packages already have those packages specified in the `depends` stanza of the `control` file, so no need to respecify them here.
2015-08-19 11:12:28 -04:00
Michael Hobbs
0840d8fd1f
initial pass at switching to herokuish. closes #1091
2015-07-06 12:41:54 -07:00
Jose Diaz-Gonzalez
74fa016bc1
Pin to 1.6.2
...
Refs #1263
[ci skip]
2015-06-30 16:59:37 -04:00
Jose Diaz-Gonzalez
7e1e0ebb80
Require lxc-docker <= 1.6.2
...
1.7.0 Has issues with `docker ps` output, breaking all plugins
[ci-skip]
2015-06-30 14:06:01 -04:00
Jose Diaz-Gonzalez
626cd958a5
Fallback to using /etc/init.d/nginx reload directly to restart nginx. Closes #1165 . Refs #1247
2015-06-25 10:38:47 -04:00
Michael Hobbs
140f5a4939
fix lintball from #1198
2015-05-19 09:39:27 -07:00
3onyc
c2c18af425
Check web_config before key_file ( Fixes #1196 )
2015-05-19 15:11:06 +02:00
3onyc
d9a989d6b0
Use debconf to allow for command-line or unattended installation
2015-05-15 17:43:40 +02:00
Jose Diaz-Gonzalez
077b7cee6e
Set dokku version during post installation
2015-03-19 20:04:48 -04:00
Jose Diaz-Gonzalez
859e400587
[ci skip] Add apparmor and cgroup-lite as pre-dependencies for dokku
...
Certain operating systems do not have these packages by default and they are required by lxc-docker
2015-02-16 23:02:02 -05:00
David Jelic
d5ceda6da7
handle upgrade in debian/preinst script
2015-02-10 11:47:20 +01:00
Jose Diaz-Gonzalez
4656e80ab8
Move dokku-installer start to postinst
...
Performing the start in preinst meant that the required dokku-installer.rb file was not yet in position.
2015-01-16 16:52:50 -05:00
Jose Diaz-Gonzalez
20bb7caef4
Change dokku-installer.rb path to the contrib directory
...
This should avoid issues when testing via vagrant where the /root/dokku directory is not yet mounted. This is also more correct for cloud-installs
2015-01-16 16:52:50 -05:00
Jose Diaz-Gonzalez
d9026a9974
Remove configuration files if they already exist
2015-01-16 16:52:50 -05:00
Jose Diaz-Gonzalez
3fdc1d20b6
Only start the dokku-installer if it's not already running
...
Upgrades from previous - fresh - dokku versions will fail if the dokku-installer is already running.
2015-01-16 16:52:50 -05:00
Jose Diaz-Gonzalez
0fcc541e4f
Force remove sites-enabled directory, even when empty
2015-01-16 16:52:50 -05:00
Jose Diaz-Gonzalez
b6767f8efc
Add new make targets to build and install dokku debian packages
2015-01-16 16:52:50 -05:00