Michael Hobbs
983e0910b1
implement certs:remove. spit out csr on certs:generate
2015-09-03 22:35:00 -04:00
Michael Hobbs
aec138ef32
heroku-like certs:info output
2015-09-03 22:35:00 -04:00
Michael Hobbs
f9da2d5c25
initial pass at cert plugin functionality
2015-09-03 22:35:00 -04:00
Michael Hobbs
a983456030
remove magic additions to VHOST based on SSL cert. fixes #1368
2015-09-03 22:35:00 -04:00
Michael Hobbs
9eb30d9e33
make local consistent in functions
2015-09-03 18:55:52 -07:00
Michael Hobbs
5f7c4426b7
rename tag to tags. make verbs more consistent
2015-09-03 18:26:02 -07:00
Michael Hobbs
9c37069a6a
create get_app_image_repo() to define our app image pattern and use it
2015-09-03 17:21:22 -07:00
Michael Hobbs
433db65635
use PLUGIN_PATH
2015-09-03 16:52:35 -07:00
Michael Hobbs
14acb8af1a
move tag_image() to shared functions. explicitly set IMAGE
2015-09-03 16:52:23 -07:00
Michael Hobbs
495b1d2ba0
refactor to explicitly set IMAGE via get_app_image_name()
2015-09-03 16:12:36 -07:00
Michael Hobbs
8be5c874ec
errant use of local. derp
2015-09-02 11:59:50 -07:00
Michael Hobbs
d696013fe2
use get_running_image_tag in new enter plugin
2015-09-02 11:19:46 -07:00
Michael Hobbs
5be7641f87
call tag-add and tag-remove pluginhooks
2015-09-02 11:19:20 -07:00
Michael Hobbs
04a4da7fc5
allow tagging and deployment of tagged app images
2015-09-02 11:18:01 -07:00
Jose Diaz-Gonzalez
06b2347486
Merge pull request #1402 from progrium/jg-consolidate-config
...
Consolidate config
2015-09-01 16:39:33 -04:00
Jose Diaz-Gonzalez
7db481fe36
move last actions into functions
2015-09-01 14:30:32 -04:00
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
e7c035e207
Use config_export function instead of calling dokku as a subcommand
2015-08-30 01:55:14 -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
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
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
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
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
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
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