109 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
ef6a5ed7d1 tests: exclude SC1091 from shellcheck rules 2024-06-29 03:44:56 -04:00
Jose Diaz-Gonzalez
4bc23d7556 fix: use .DNSNames instead of .Aliases in tests
Docker has changed their output in an unclear manner, but this is the correct way to check for what dns records are available for usage by apps.
2024-06-29 03:25:41 -04:00
Jose Diaz-Gonzalez
9dbbc876cf fix: show an error when an ambassador container already exists but we don't have expose configuration
Closes dokku/dokku-redis#200
2023-02-25 20:10:37 -05:00
Jose Diaz-Gonzalez
14997a2a45 tests: link service before unlinking 2023-02-25 00:47:25 -05:00
Jose Diaz-Gonzalez
d36e828e99 chore: remove extra newline 2023-02-21 00:49:17 -05:00
Jose Diaz-Gonzalez
e5cc090faa fix: update tests to properly handle case where app is not running 2023-02-21 00:48:22 -05:00
Jose Diaz-Gonzalez
303d1bc1a0 tests: add output/status and flesh out restart tests a bit more 2023-02-21 00:08:53 -05:00
Jose Diaz-Gonzalez
6bf57ef184 tests: add test for --no-restart to link tests 2023-02-20 23:51:27 -05:00
Jose Diaz-Gonzalez
ff570fb808 tests: add test for --no-restart to unlink tests 2023-02-20 23:47:03 -05:00
Jose Diaz-Gonzalez
d1475dba0d chore: make all the service names used in the service_unlink tests the same 2023-02-20 23:40:09 -05:00
Jose Diaz-Gonzalez
09c94e20f8 chore: make all the service names used in the service_link tests the same 2023-02-20 23:35:12 -05:00
Jose Diaz-Gonzalez
f08581d6c1 fix: drop extra check and always use the same network alias 2023-02-08 18:30:12 -05:00
Jose Diaz-Gonzalez
cb08375b28 refactor: use the same network alias as is used when running :link command
This allows for some degree of parity as the network will now resolve the same for both linked and networked containers.
2023-02-08 17:08:08 -05:00
Jose Diaz-Gonzalez
68dd7e31a2 tests: drop extra alias 2023-02-08 12:41:09 -05:00
Jose Diaz-Gonzalez
0d11076ad8 tests: correct the app name in use 2023-02-08 12:24:20 -05:00
Jose Diaz-Gonzalez
e9a3c165e2 feat: add network alias that is $SERVICE_NAME.$SERVICE_TYPE
This alias is in addition to the existing dokku.$SERVICE_TYPE.$SERVICE_NAME network alias that is derived from the hostname.
2023-02-08 11:00:01 -05:00
Jose Diaz-Gonzalez
0e1de70294 tests: ignore case where app is already deleted 2023-02-08 02:22:08 -05:00
Jose Diaz-Gonzalez
39a1a3d0eb tests: fix issue where the test app wasn't being removed on test teardown 2023-02-08 02:12:32 -05:00
Jose Diaz-Gonzalez
a54c288485 tests: fix :set tests 2023-02-08 00:41:10 -05:00
Jose Diaz-Gonzalez
a1a735913a tests: also force destroy the lsa service 2023-02-08 00:26:56 -05:00
Jose Diaz-Gonzalez
b5b0ca435e tests: output the contents of the run command in tests 2023-02-08 00:26:32 -05:00
Jose Diaz-Gonzalez
ffa72395f6 feat: add support for network related flags on create, clone, and upgrade
Also add some tests to cover all the network-related functionality.
2023-02-08 00:03:25 -05:00
Jose Diaz-Gonzalez
83a8871862 feat: add :pause subcommand and make :stop subcommand actually remove the container 2022-12-26 17:39:49 -05:00
Jose Diaz-Gonzalez
e3d30f51b3 chore: run shfmt 2022-07-25 01:15:32 -04:00
Jose Diaz-Gonzalez
50792d0b2c fix: update clone test 2022-07-25 00:36:53 -04:00
Jose Diaz-Gonzalez
b201c80f52 fix: use updated python shebang 2021-09-12 22:18:00 -04:00
Jose Diaz-Gonzalez
c11f1658e3 fix: copy any existing templates and drop unnecessary interactivity 2021-09-12 00:40:22 -04:00
Jose Diaz-Gonzalez
e2311100dd fix: use correct path 2021-09-11 23:45:01 -04:00
Jose Diaz-Gonzalez
f28a340403 fix: copy templates if they exist 2021-09-11 23:18:28 -04:00
Jose Diaz-Gonzalez
0dc36897ec tests: skip tests that require tty for github actions 2021-04-25 00:35:42 -04:00
Jose Diaz-Gonzalez
2d8a614c89 tests: refactor source again 2021-02-26 00:45:09 -05:00
Jose Diaz-Gonzalez
8365999a3f tests: use dash instead of underscore 2021-02-25 20:32:57 -05:00
Jose Diaz-Gonzalez
1aaed290a5 feat: speed up tests by dropping dhparam generation 2020-04-04 21:27:43 -04:00
Jose Diaz-Gonzalez
3f014b76b8 feat: update shellcheck excludes 2020-04-04 13:38:33 -04:00
Jose Diaz-Gonzalez
d19c32ce0a fix: use non-deprecated method of fetching docker-options 2020-04-04 13:36:27 -04:00
Jose Diaz-Gonzalez
38120ef23d fix: correct test case for :list command 2020-03-20 14:58:06 -04:00
Jose Diaz-Gonzalez
9e132e7712 fix: ignore the keyfile install for tests 2020-03-20 11:14:27 -04:00
Jose Diaz-Gonzalez
8312c39b40 fix: correct shellcheck issue 2020-03-20 11:05:44 -04:00
Jose Diaz-Gonzalez
d5004ccb9b feat: update patch release of mysql 2019-11-22 19:19:01 -05:00
Jose Diaz-Gonzalez
7fbf25ef2b fix: install updated gpg key and nginx apt repository 2019-09-19 13:30:46 -04:00
Jose Diaz-Gonzalez
d3a8821897 fix: add missing ampersands 2019-07-30 10:51:51 -04:00
Jose Diaz-Gonzalez
56c918342f chore: create scripts directory as necessary 2019-07-30 10:46:00 -04:00
Jose Diaz-Gonzalez
6c18d6740e feat: skip subcommand copy if no subcommands directory exists 2019-07-29 22:03:01 -04:00
Jose Diaz-Gonzalez
70fb9d8d1d feat: upgrade to 5.7.26 2019-07-11 13:24:12 -07:00
Jose Diaz-Gonzalez
ce916eb846 feat: re-allow dashes in names
This PR allows dashes in service names, while still sanitizing them before they are used as database names. If the datastore is pre-existing, the datatabase name is assumed to be the same as the service name, and returned appropriately.
2019-05-30 17:03:48 -04:00
Jose Diaz-Gonzalez
6fe30de9f2 chore: run shfmt 2019-05-30 11:06:25 -04:00
Jose Diaz-Gonzalez
c722fe244a feat: upgrade image version in use 2019-04-19 12:47:38 -04:00
Jose Diaz-Gonzalez
7788b2edd9 fix: correct issue where aliases were being generated incorrectly 2019-03-27 12:18:18 -04:00
Jose Diaz-Gonzalez
0948e2813a chore: unify with other plugins 2019-03-19 14:59:49 -04:00
Jose Diaz-Gonzalez
57d948e283 fix: correct import statement 2019-03-18 18:15:57 -04:00