Jose Diaz-Gonzalez
646fd467ab
use config_set function in domains and 00_dokku-standard
2015-09-01 00:55:05 -04:00
Jose Diaz-Gonzalez
7b5ea80ea4
Move get and set actions into functions
2015-09-01 00:52:40 -04:00
Jose Diaz-Gonzalez
a62f914646
Remove the need for temp files
2015-09-01 00:13:29 -04:00
Jose Diaz-Gonzalez
b01d371c46
Move all functions into config/functions
2015-08-31 23:08:28 -04:00
Jose Diaz-Gonzalez
59a80f7857
Move config_create into config/functions
2015-08-31 23:06:45 -04:00
Jose Diaz-Gonzalez
c32bf8f035
pass in ENV_FILE to config_create
2015-08-31 23:05:47 -04:00
Jose Diaz-Gonzalez
99f1f1b6d3
Move config arg parsing into config/functions
2015-08-31 23:03:52 -04:00
Jose Diaz-Gonzalez
e08f02aca7
Use a custom temporary directory for dokku-related files
...
Also fix the trap call
2015-08-31 15:17:04 -04:00
Jose Diaz-Gonzalez
fa5fe2efd6
Use a trap to remove the TMPFILE
2015-08-31 14:36:00 -04:00
Jose Diaz-Gonzalez
7979751d71
Use $DOKKU_ROOT/$APP/.dokku_config for tempfile path
2015-08-31 12:55:32 -04:00
Jose Diaz-Gonzalez
4e0fed18a6
Merge pull request #1421 from basicer/tar-plugin
...
First pass at tar plugin.
2015-08-31 12:52:35 -04:00
Jose Diaz-Gonzalez
5605863c79
Use config_export app $APP in documentation
...
[ci skip]
2015-08-31 11:01:22 -04:00
Jose Diaz-Gonzalez
e7c035e207
Use config_export function instead of calling dokku as a subcommand
2015-08-30 01:55:14 -04:00
Jose Diaz-Gonzalez
ae2e0bc57c
Merge pull request #1423 from progrium/1350-dyno-type-number
...
Set `DYNO_TYPE_NUMBER` environment variable for each container
2015-08-30 01:54:05 -04:00
Jose Diaz-Gonzalez
3580e16733
Merge pull request #1432 from progrium/josegonzalez-patch-2
...
Delete AUTHORS
2015-08-30 01:52:13 -04:00
Jose Diaz-Gonzalez
cddc4afcea
Remove last outer calls to ENV files in release command
2015-08-30 01:26:01 -04:00
Jose Diaz-Gonzalez
5d5c575251
Add deprecation notice for BUILD_ENV files
2015-08-30 01:23:56 -04:00
Jose Diaz-Gonzalez
d4c122c277
Use dokku config when building build-env
2015-08-30 01:23:56 -04:00
Jose Diaz-Gonzalez
66ad7d0985
Use dokku config to check if an env has output
2015-08-30 01:23:56 -04:00
Jose Diaz-Gonzalez
cc66905c6e
Use dokku config to export config for dockerfile builds
2015-08-30 01:23:56 -04:00
Jose Diaz-Gonzalez
12f97ee18e
Use config:get --globalto instead of grep to check for global curl config
2015-08-30 01:23:56 -04:00
Jose Diaz-Gonzalez
14f228b1b5
fix global config:set calls
2015-08-30 01:23:56 -04:00
Jose Diaz-Gonzalez
60c0f56724
Fix lint errors
2015-08-30 01:23:56 -04:00
Jose Diaz-Gonzalez
afe65a86fb
eval the output of "dokku config --export" to get env config
...
This should theoretically be safe, as "--export" forces the `dokku config` command to return 0 in all cases, and it should only output lines that are "valid" environment variables
2015-08-30 01:23:56 -04:00
Jose Diaz-Gonzalez
6566be04e5
Do not exit 1 when there is no env file and the --export flag is in use
2015-08-30 01:23:56 -04:00
Jose Diaz-Gonzalez
2de2151f58
Use config:set to set curl options
2015-08-30 01:23:56 -04:00
Jose Diaz-Gonzalez
c2626bf934
Add --export flag for producing export-compatible config output
2015-08-30 01:23:56 -04:00
Jose Diaz-Gonzalez
b2cc353166
Delete AUTHORS
...
This file isn't kept up to date and I add all contributors to the `HISTORY.md` file.
2015-08-29 21:16:03 -04:00
Jose Diaz-Gonzalez
770139d2ca
Merge pull request #1420 from progrium/1332-enter-plugin
...
Add `dokku enter` for connecting to an app container
2015-08-29 20:57:42 -04:00
Jose Diaz-Gonzalez
2bcb9caaf7
Merge pull request #1431 from progrium/josegonzalez-patch-2
...
Add helper function for inspecting the state of a container
2015-08-29 20:45:53 -04:00
Jose Diaz-Gonzalez
9055f90dcc
Add helper function for inspecting the state of a container
...
This function - `is_container_status` - can be used to inspect whether a container is any of the following:
- Dead
- OOMKilled
- Paused
- Restarting
- Running
It can be useful for deeper inspection as to plugin state
2015-08-29 02:31:03 -04:00
Rob Blanckaert
b687e3297d
Cygwin tar can sometimes make tarballs with permissions where the owner doesnt have read rights on the files. Thats obviously no good.
2015-08-29 00:34:37 -04:00
Jose Diaz-Gonzalez
3a3550e667
Merge pull request #1430 from lubert/master
...
Changed BOX_NAME to bento/ubuntu-14.04 [ci skip]
2015-08-29 00:19:12 -04:00
lubert
28288f70ed
Changed BOX_NAME to bento/ubuntu-14.04 [ci skip]
2015-08-28 21:10:28 -07:00
Jose Diaz-Gonzalez
7d28f751b7
Merge pull request #1428 from jimeh/use-plugin-path-env-var
...
Use `$PLUGIN_PATH` instead of `$(dirname $0)/..`
2015-08-28 10:35:06 -04:00
Jim Myhrberg
9637884861
Update docs with $PLUGIN_PATH instead of $(dirname $0)/..
2015-08-28 14:27:48 +01:00
Jim Myhrberg
d5df6a4190
Use $PLUGIN_PATH instead of $(dirname $0)/..
...
As briefly discussed in #1425 , source the `common/functions` file via an
absolute path, rather than determining the relative path by using
`dirname`. 3rd-party plugins should follow suit and use the new
`$PLUGIN_PATH` convention too.
2015-08-28 14:14:28 +01:00
Jose Diaz-Gonzalez
32a8c0307f
Merge pull request #1426 from henrik/patch-1
...
plugins.md: replace memcached link
2015-08-27 14:49:43 -04:00
Henrik Nyh
1372c426ef
plugins.md: replace memcached link
...
With a better-maintained fork.
2015-08-27 20:01:48 +02:00
Michael Hobbs
84fff1c2e2
Merge pull request #1419 from u2mejc/dokku-help-tty
...
Fix dokku ps <app> over ssh
2015-08-27 10:36:37 -07:00
Rob Blanckaert
5a51246007
- Strip prefix directories from tarball
2015-08-26 20:08:20 -04:00
Rob Blanckaert
712e1cada7
- Fixed shellcheck error
...
- Made test pass
2015-08-26 02:37:52 -04:00
Rob Blanckaert
0f1faf06a2
Write a unit test for the tar command.
2015-08-26 02:36:48 -04:00
Jose Diaz-Gonzalez
cd23310042
Surround in single quotes
2015-08-26 02:30:57 -04:00
Jose Diaz-Gonzalez
ebfcece620
Merge pull request #1422 from progrium/guard-domains-plugin
...
Guard against missing VHOST files
2015-08-26 00:48:46 -04:00
Jose Diaz-Gonzalez
b6ef5af3d1
Set DYNO_TYPE_NUMBER environment variable for each container
...
This will allow users to inspect the underlying environment and conditionally run different commands based upon the `DYNO_TYPE_NUMBER`. The values will be set in the following format:
web.1
web.2
worker.1
worker.2
clock.1
Users of process managing plugins and dockerfiles can check the `DYNO_TYPE_NUMBER` and set a specific command to run.
Closes #1350
2015-08-26 00:35:22 -04:00
Jose Diaz-Gonzalez
bd0803cf29
Merge pull request #1344 from AdamVig/master
...
Add better error checking on nginx:import-ssl
2015-08-26 00:26:07 -04:00
Jose Diaz-Gonzalez
a1e747f4ad
Guard against missing VHOST files
...
This can occur if the app isn't using vhosts but the user runs the command.
2015-08-26 00:15:09 -04:00
Rob Blanckaert
f3e0c63f68
First pass at tar plugin.
2015-08-26 00:08:42 -04:00
Jose Diaz-Gonzalez
771eaa33ee
Fix SC2125 violation
2015-08-25 23:31:53 -04:00