Jose Diaz-Gonzalez
ec4e5b4a43
fix: correct the validation message
2019-03-09 16:39:35 -05:00
Jose Diaz-Gonzalez
233a261a3f
fix: Strictly validate service names
...
We previously allowed a wide range of service names. As the service name is sometimes used to name databases, the name was actually more restricted than any character, resulting in services that wouldn't start. Going forward, only alphanumeric and underscore characters are allowed.
This only impacts service creation. Any services with invalid names should be migrated to a new service, with the data exported and imported as normal.
Closes dokku/dokku-redis#99
Closes dokku/dokku-mysql#47
Closes dokku/dokku-mongo#86
Closes dokku/dokku-redis#81
2019-03-09 15:54:23 -05:00
Jose Diaz-Gonzalez
195a96de65
fix: correct ID check
...
It may be true in tests because we mock docker itself...
2019-03-09 15:24:20 -05:00
Jose Diaz-Gonzalez
52f95594c0
fix: correct check to see if service is running
...
This sometimes bizarrely returned a value of 'true' when it wasn't....
2019-03-09 15:09:14 -05:00
Jose Diaz-Gonzalez
6ed6db2b3f
fix: correct issues where docker ps is truncated
...
This should actually be refactored to avoid the grep call completely, but the current fix will correct the issue for now.
Refs dokku/dokku-postgres#131
2018-12-02 05:21:10 -05:00
ilopatin
c276507d3b
fix: remove dokkupaas/s3backup container after backup
2018-10-18 11:30:47 +03:00
Jose Diaz-Gonzalez
1542a9556f
fix: correct issues in upgrade and fix tests
2018-10-11 14:16:47 -04:00
Jose Diaz-Gonzalez
86a032a32f
feat: allow removal of header from :list subcommand
2018-10-10 23:54:08 -04:00
Jose Diaz-Gonzalez
8823baf480
feat: add support for restarting containers to ensure links continue to work properly when the application has resolved dns of the link
2018-10-10 23:14:45 -04:00
Jose Diaz-Gonzalez
d470ade7a7
fix: handle case where container being removed does not exist
2018-10-10 22:03:44 -04:00
Jose Diaz-Gonzalez
902545bdb4
chore: correct verbiage around upgrades
2018-10-10 02:54:34 -04:00
Jose Diaz-Gonzalez
9010e1551f
fix: correct check for existing image
2018-10-10 02:42:43 -04:00
Jose Diaz-Gonzalez
59d285f2f1
feat: add ability to upgrade service image and image-version
2018-10-10 00:14:08 -04:00
Jose Diaz-Gonzalez
57554f6288
feat: add command to list linked services for a given app
2018-07-21 16:32:00 -04:00
Jose Diaz-Gonzalez
f30db928fb
fix: properly set SERVICE_ALIAS
2018-04-24 15:05:55 -04:00
Jose Diaz-Gonzalez
0cb8bd5f9a
feat: properly handle custom aliases and error states for alias usage when calling link subcommand. Refs dokku/dokku-redis#64
2018-04-24 03:22:02 -04:00
Jose Diaz-Gonzalez
ad62febd59
refactor: make variable as dns hostname more clear
2018-04-24 02:54:52 -04:00
Jose Diaz-Gonzalez
7b5ed48a5f
fix: remove an infinite loop. Refs dokku/dokku-redis#64
2018-04-24 02:18:32 -04:00
Jose Diaz-Gonzalez
527b3bc54b
feat: implement link querystring flags. Refs dokku/dokku-redis#64
2018-04-24 01:40:27 -04:00
Jose Diaz-Gonzalez
a2b1fbb737
refactor: move unimplemented command detection into config file
2018-04-24 00:27:22 -04:00
Jose Diaz-Gonzalez
0750d93858
fix: set SERVICE_ROOT variable for backups
2018-04-23 18:11:35 -04:00
Jose Diaz-Gonzalez
55ccf14e62
fix: set ID variable for backups
2018-04-23 18:08:40 -04:00
Jose Diaz-Gonzalez
fe9cd93736
chore: standardize on single method of setting backup root. Refs dokku/dokku-redis#91
2018-04-23 17:36:58 -04:00
Jose Diaz-Gonzalez
6a32161049
fix: properly handle use-iam flag. Closes dokku/dokku-redis#88
2018-04-23 17:11:50 -04:00
Jose Diaz-Gonzalez
a29039ecd2
fix: silence errors when a container does not exist. Closes dokku/dokku-redis#85
2018-04-23 15:52:17 -04:00
Jimmy Lin
537667c722
Add backup-schedule-info to cat the CRONFILE
2018-04-23 08:58:38 -04:00
Jose Diaz-Gonzalez
5b03672708
feat: implement exists and linked subcommands
2018-02-25 15:41:27 -05:00
Jose Diaz-Gonzalez
2e79f89912
fix: allow unlinking a service regardless of config status
...
Closes dokku/dokku-redis#92
2018-01-11 22:56:11 -05:00
Jose Diaz-Gonzalez
15a4a0d4c1
fix: ensure we create the config directory
2017-09-11 07:13:54 -04:00
Jose Diaz-Gonzalez
bad012bde2
feat: add support for -u flag as alias for --use-iam
2017-09-10 19:14:51 -04:00
Jose Diaz-Gonzalez
64a4340037
feat: add support for --tail
2017-09-10 01:20:58 -04:00
Jose Diaz-Gonzalez
8a598e3c15
feat: Adds possibility to set encryption for s3
2017-09-09 14:29:09 -04:00
Jose Diaz-Gonzalez
e83398614c
fix: correct shellcheck error
2017-08-28 11:45:50 -04:00
Jose Diaz-Gonzalez
565fa86c3d
fix: skip removing the ambassador container when it isn't running. Closes dokku/dokku-mongo#90
2017-08-27 18:55:25 -04:00
Jose Diaz-Gonzalez
e7802ca80e
feat: add ability to specify custom flags on clone/create
...
Refs dokku/dokku-redis#64
2017-08-26 18:10:21 -04:00
Jose Diaz-Gonzalez
15c38e9578
Merge branch 'master' into master
2017-08-26 03:46:47 -04:00
Jose Diaz-Gonzalez
40db029130
Adds parameters to backup-auth for region support and non AWS endpoint support
...
Refs dokku/dokku-mariadb#61
2017-08-26 00:10:42 -04:00
Jordan Sitkin
0a9d80e344
add --use-iam flag to backup
2017-05-01 16:31:54 -07:00
Jose Diaz-Gonzalez
3038d575c8
fix: use updated dokkupaas/s3backup image to fix backup issues. Closes #109
2017-04-13 19:03:47 -06:00
Jose Diaz-Gonzalez
16aed86478
feat: enable uploading backups to any region
2017-04-11 09:51:29 -06:00
Marcin Lewandowski
080c1dc312
Fixed temp dir cleanup in service_backup()
...
Fixes #97
2017-01-24 08:41:11 +01:00
Marcin Lewandowski
c08b049c03
Call chmod 644 on cron jobs created for scheduled backups
...
Fixes #93
2017-01-11 13:39:18 +01:00
Jose Diaz-Gonzalez
cba4a7f0cd
feat: add s3 backup support
2016-10-31 11:39:31 -06:00
Jose Diaz-Gonzalez
02316598de
Add the ability to enter a running container
2016-08-29 08:19:56 -04:00
Jose Diaz-Gonzalez
e569843acd
Add --service-root flag to info command
2016-08-29 05:53:51 -04:00
Jose Diaz-Gonzalez
93be7d1df4
Alphabetize functions
2016-08-29 05:12:43 -04:00
Jose Diaz-Gonzalez
2d53447056
Add a description to all common functions
2016-08-29 04:10:48 -04:00
Jose Diaz-Gonzalez
18e6d81aa8
Rename promote function to service_promote
2016-08-29 02:55:47 -04:00
Jose Diaz-Gonzalez
1f31cd82c5
Refactor common functions into separate file
2016-08-29 02:36:17 -04:00