Commit Graph

285 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
f1f5aaaaf7 fix: correct test check 2018-02-26 00:07:13 -05:00
Jose Diaz-Gonzalez
f8c732ec22 feat: default to help output when no subcommand specified
Refs dokku/dokku-redis#95
2018-02-25 22:52:33 -05:00
Jose Diaz-Gonzalez
8b267aebb2 fix: correct docs 2018-02-25 15:41:17 -05:00
Dheeraj Panyam
f92d6c2120 Update functions 2018-02-18 12:28:04 +05:30
Dheeraj Panyam
397a349b23 service_import ( change user from mysql to root)
change user from mysql to root
2018-02-18 10:26:50 +05:30
Dheeraj Panyam
b3e7735d0d service_import()
service_import() {
  local SERVICE="$1"
  SERVICE_ROOT="$PLUGIN_DATA_ROOT/$SERVICE"
  SERVICE_NAME="$(get_service_name "$SERVICE")"
  ROOTPASSWORD="$(cat "$SERVICE_ROOT/ROOTPASSWORD")"

  if [[ -t 0 ]]; then
    dokku_log_fail "No data provided on stdin."
  fi
  docker exec -i "$SERVICE_NAME" mysql --user=mysql --password="$ROOTPASSWORD" "$SERVICE"
}
2018-02-17 23:42:50 +05:30
Jose Diaz-Gonzalez
2a2f8a7723 fix: correct tests for 0.7.0 2018-01-12 12:30:05 -05:00
Jose Diaz-Gonzalez
26be34feb7 feat: allow checking if a service exists 2018-01-12 12:26:34 -05:00
Jose Diaz-Gonzalez
0eeb17823c fix: set proper check_value for docker-options:report 2018-01-12 12:05:06 -05:00
Jose Diaz-Gonzalez
f03cba90a5 fix: use correct branch 2018-01-12 11:47:11 -05:00
Jose Diaz-Gonzalez
5f03b39aef fix: call options correctly 2018-01-12 10:42:32 -05:00
Jose Diaz-Gonzalez
c6f38b2c1b fix: Properly handle updated config functions
Closes dokku/dokku-redis#90
2018-01-12 06:11:53 -05:00
Jose Diaz-Gonzalez
65e2999f31 feat: allow checking if a service is linked to an app 2018-01-12 01:53:53 -05:00
Jose Diaz-Gonzalez
6775daa8d4 fix: allow unlinking a service regardless of config status
Closes dokku/dokku-redis#92
2018-01-11 22:55:42 -05:00
Jose Diaz-Gonzalez
83df40711c fix: ensure we create the config directory 2017-09-11 07:13:46 -04:00
Jose Diaz-Gonzalez
e03975062a feat: prepare ground for config directory changes 2017-09-11 03:52:56 -04:00
Jose Diaz-Gonzalez
c98c202398 fix: add missing TMPDIR variable 2017-09-11 03:12:27 -04:00
Jose Diaz-Gonzalez
8339240672 Merge pull request #82 from dokku/expanded-help
feat: add support for enhanced help output
2017-09-11 03:12:20 -04:00
Jose Diaz-Gonzalez
e5bead2f82 feat: add support for enhanced help output 2017-09-11 01:25:25 -04:00
Jose Diaz-Gonzalez
6684ff4f31 feat: add support for -u flag as alias for --use-iam 2017-09-10 19:14:33 -04:00
Jose Diaz-Gonzalez
f7de4c08b6 feat: support alternate flags for destroying services 2017-09-10 03:54:40 -04:00
Jose Diaz-Gonzalez
f362031318 feat: add support for --tail 2017-09-10 01:20:45 -04:00
Jose Diaz-Gonzalez
21203f60e9 feat: Adds possibility to set encryption for s3 2017-09-09 14:29:58 -04:00
Jose Diaz-Gonzalez
1a11a8fbd7 feat: add OPTIONAL_PARAMETERS to backup-auth 2017-09-09 02:53:25 -04:00
Jose Diaz-Gonzalez
df7ed7040a Update README.md 2017-09-09 02:45:35 -04:00
Jose Diaz-Gonzalez
62f4f96da4 fix: correct shellcheck error 2017-08-28 11:45:48 -04:00
Jose Diaz-Gonzalez
ee669c68e2 fix: skip removing the ambassador container when it isn't running. Closes dokku/dokku-mongo#90 2017-08-27 18:55:23 -04:00
Jose Diaz-Gonzalez
110c7088b9 docs: destroy help now shows that data will be deleted 2017-08-27 18:43:19 -04:00
Jose Diaz-Gonzalez
874a0f6ce6 docs: clarify that data is deleted on destroy. Closes dokku/dokku-redis#72 2017-08-26 18:39:00 -04:00
Jose Diaz-Gonzalez
afcfc0253c feat: add ability to specify custom flags on clone/create
Refs dokku/dokku-redis#64
2017-08-26 18:10:31 -04:00
Jose Diaz-Gonzalez
464354506b fix: remove extra whitespace 2017-08-26 05:40:29 -04:00
Jose Diaz-Gonzalez
fdba96b523 fix: use gnu readlink to make tests pass on os x 2017-08-26 05:38:21 -04:00
Jose Diaz-Gonzalez
6de352e646 fix: preserve the service version on clone 2017-08-26 05:30:58 -04:00
Jose Diaz-Gonzalez
4105e9042e fix: add missing argument to backup subcommand help output 2017-08-26 05:21:21 -04:00
Jose Diaz-Gonzalez
a0baeaedac docs: clarify configuration 2017-08-26 05:15:19 -04:00
Jose Diaz-Gonzalez
ab73db4c81 fix: call -rf in the proper order 2017-08-26 05:04:47 -04:00
Jose Diaz-Gonzalez
478de27464 feat: Add a --use-iam flag to backup subcommand 2017-08-26 04:23:13 -04:00
Jose Diaz-Gonzalez
0143c34af6 feat: upgrade plugn 2017-08-26 04:19:35 -04:00
Jose Diaz-Gonzalez
9e27f4928a Adds parameters to backup-auth for region support and non AWS endpoint support
Refs dokku/dokku-mariadb#61
2017-08-26 00:06:36 -04:00
Jose Diaz-Gonzalez
65abf70101 fix: use updated dokkupaas/s3backup image to fix backup issues. Closes dokku/dokku-postgres#109 2017-04-13 19:56:26 -06:00
Jose Diaz-Gonzalez
f97d06f05a feat: enable uploading backups to any region 2017-04-11 09:50:34 -06:00
Jose Diaz-Gonzalez
362453589d Merge pull request #70 from soham2008xyz/patch-1
Fix error in backup scheduling
2017-03-19 17:52:05 -06:00
Jose Diaz-Gonzalez
41d8abef6c Fixed temp dir cleanup in service_backup() 2017-03-19 17:50:27 -06:00
Jose Diaz-Gonzalez
b14dec5e61 Merge pull request #74 from yourivdlans/suppress-mysql-dump-error
Suppress mysqldump password error.
2017-03-14 10:41:20 -06:00
Youri van der Lans
db956c3bbf Suppress mysqldump password error. 2017-03-14 14:50:43 +01:00
Soham Banerjee
f85af35e7e Fix error in backup scheduling
When trying to schedule a backup, the command fails with the error:
```
Sorry, user dokku is not allowed to execute '/bin/chmod 644 /etc/cron.d/dokku-mysql-database-name' as root on dokku-host-name
```
This commit takes care of it.
2017-01-17 02:23:37 +05:30
Jose Diaz-Gonzalez
ac17961a65 feat: ensure permissions are set properly on cron files 2017-01-12 01:53:47 -07:00
Jose Diaz-Gonzalez
4d170e8f71 docs: add note regarding setting the cron-schedule 2016-11-24 16:08:16 -07:00
Jose Diaz-Gonzalez
31ac65e7da Use blockquote 2016-11-06 14:31:13 -07:00
Jose Diaz-Gonzalez
d26d05b059 Make username a link 2016-11-06 14:29:47 -07:00