Commit Graph

254 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
9d09589942 fix: set SERVICE_ROOT variable for backups 2018-04-23 18:11:26 -04:00
Jose Diaz-Gonzalez
e05ea7c0bb Release 1.2.4 1.2.4 2018-04-23 18:08:31 -04:00
Jose Diaz-Gonzalez
6fe4c6527e fix: set ID variable for backups 2018-04-23 18:08:31 -04:00
Jose Diaz-Gonzalez
0c1b33bd8e Release 1.2.3 1.2.3 2018-04-23 17:36:48 -04:00
Jose Diaz-Gonzalez
2de0a04ba8 chore: standardize on single method of setting backup root. Refs dokku/dokku-redis#91 2018-04-23 17:36:48 -04:00
Jose Diaz-Gonzalez
22d0b5bd8b Release 1.2.2 1.2.2 2018-04-23 17:11:37 -04:00
Jose Diaz-Gonzalez
46d1ac785c fix: properly handle use-iam flag. Closes dokku/dokku-redis#88 2018-04-23 17:11:37 -04:00
Jose Diaz-Gonzalez
6b6f635386 Release 1.2.1 1.2.1 2018-04-23 15:52:07 -04:00
Jose Diaz-Gonzalez
cfb9e508da fix: silence errors when a container does not exist. Closes dokku/dokku-redis#85 2018-04-23 15:52:07 -04:00
Jose Diaz-Gonzalez
1d25c671bb Release 1.2.0 1.2.0 2018-04-23 14:39:27 -04:00
Jose Diaz-Gonzalez
77c64b4045 feat: create backup-schedule-cat subcommand 2018-04-23 14:39:26 -04:00
Jose Diaz-Gonzalez
30c4905d71 Release 1.1.1 1.1.1 2018-04-23 06:56:41 -04:00
Jose Diaz-Gonzalez
94221b71ce refactor: allow usage of the same variable to disable docker pulls 2018-04-23 06:56:41 -04:00
Jose Diaz-Gonzalez
bcc669f504 Release 1.1.0 1.1.0 2018-04-11 19:01:50 -04:00
Jose Diaz-Gonzalez
b7e36085e7 Merge pull request #95 from dokku/disable-pull
feat: use custom env var to disable pull actions
2018-04-11 16:32:26 -04:00
Jose Diaz-Gonzalez
606fc7f9be feat: use custom env var to disable pull actions 2018-04-11 15:11:39 -04:00
Jose Diaz-Gonzalez
07f630b545 Merge pull request #94 from dokku/different-data-root-for-docker-binds
feat: support a separate data root for Docker bind mounts
2018-04-11 00:45:03 -04:00
Jose Diaz-Gonzalez
793087097d feat: support a separate data root for Docker bind mounts
This does not fix the :backup subcommand, which uses a temporary directory mounted to /backup.
2018-04-10 23:22:30 -04:00
Jose Diaz-Gonzalez
7a18793103 Merge pull request #89 from dpanyam/patch-1
service_import()
2018-02-26 00:15:44 -05:00
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