Commit Graph

119 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
0e9ffbbc0c tests: exclude SC1091 from shellcheck rules 2024-06-29 03:44:55 -04:00
Jose Diaz-Gonzalez
39cc395cdf 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
5eac5448e6 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
db188ed9b5 tests: link service before unlinking 2023-02-25 00:47:25 -05:00
Jose Diaz-Gonzalez
acdaf553df chore: remove extra newline 2023-02-21 00:49:17 -05:00
Jose Diaz-Gonzalez
c86a482415 fix: update tests to properly handle case where app is not running 2023-02-21 00:48:22 -05:00
Jose Diaz-Gonzalez
df8b454fd6 tests: add output/status and flesh out restart tests a bit more 2023-02-21 00:08:53 -05:00
Jose Diaz-Gonzalez
df6a78660d tests: add test for --no-restart to link tests 2023-02-20 23:51:27 -05:00
Jose Diaz-Gonzalez
d49f80f06e tests: add test for --no-restart to unlink tests 2023-02-20 23:47:03 -05:00
Jose Diaz-Gonzalez
bbef0173a2 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
22de4506d2 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
8636a6dd39 fix: drop extra check and always use the same network alias 2023-02-08 18:30:12 -05:00
Jose Diaz-Gonzalez
75ce3385fa 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
fb86f97d4b tests: drop extra alias 2023-02-08 12:41:09 -05:00
Jose Diaz-Gonzalez
49690af006 tests: correct the app name in use 2023-02-08 12:24:20 -05:00
Jose Diaz-Gonzalez
fdda1b47f9 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
9a639cd36a chore: drop debugging 2023-02-08 05:12:47 -05:00
Jose Diaz-Gonzalez
d4cfd94bc7 tests: ignore case where app is already deleted 2023-02-08 04:12:43 -05:00
Jose Diaz-Gonzalez
36cccdf231 tests: fix issue where the test app wasn't being removed on test teardown 2023-02-08 04:12:43 -05:00
Jose Diaz-Gonzalez
f8a245f5f8 debug: add trace output 2023-02-08 04:12:43 -05:00
Jose Diaz-Gonzalez
1cc451435c tests: fix :set tests 2023-02-08 04:12:43 -05:00
Jose Diaz-Gonzalez
8163a43f6b tests: also force destroy the lsa service 2023-02-08 04:12:43 -05:00
Jose Diaz-Gonzalez
fec9f76d27 tests: output the contents of the run command in tests 2023-02-08 04:12:43 -05:00
Jose Diaz-Gonzalez
837f74d169 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 04:12:43 -05:00
Jose Diaz-Gonzalez
e2a72610c8 feat: add :pause subcommand and make :stop subcommand actually remove the container 2022-12-26 17:39:49 -05:00
Jose Diaz-Gonzalez
f7ba17a685 chore: run shfmt 2022-07-25 01:15:32 -04:00
Jose Diaz-Gonzalez
c0d7e08c0d fix: update clone test 2022-07-25 00:36:42 -04:00
Jose Diaz-Gonzalez
2b03f18580 fix: use updated python shebang 2021-09-12 22:18:00 -04:00
Jose Diaz-Gonzalez
7a0b20aed6 fix: copy any existing templates and drop unnecessary interactivity 2021-09-12 00:40:12 -04:00
Jose Diaz-Gonzalez
cdfe98a4e1 fix: use correct path 2021-09-11 23:45:00 -04:00
Jose Diaz-Gonzalez
cfeff3e168 fix: copy templates if they exist 2021-09-11 23:18:28 -04:00
Jose Diaz-Gonzalez
fefed14b39 tests: skip tests that require tty for github actions 2021-04-25 00:35:42 -04:00
Jose Diaz-Gonzalez
4d6972fd4b tests: refactor source again 2021-02-26 00:45:09 -05:00
Jose Diaz-Gonzalez
b97b7ce2e6 tests: use dash instead of underscore 2021-02-25 20:32:57 -05:00
Jose Diaz-Gonzalez
b3f28d3496 feat: speed up tests by dropping dhparam generation 2020-04-04 21:27:43 -04:00
Jose Diaz-Gonzalez
56832abe7d feat: update shellcheck excludes 2020-04-04 13:38:33 -04:00
Jose Diaz-Gonzalez
75dc0c925d fix: use non-deprecated method of fetching docker-options 2020-04-04 13:36:27 -04:00
Jose Diaz-Gonzalez
5156079c19 fix: correct test case for :list command 2020-03-20 14:58:06 -04:00
Jose Diaz-Gonzalez
432894e297 fix: ignore the keyfile install for tests 2020-03-20 11:14:27 -04:00
Jose Diaz-Gonzalez
a99902a39e fix: correct shellcheck issue 2020-03-20 11:05:44 -04:00
Jose Diaz-Gonzalez
fdd9ec0ee4 feat: update patch release of mongo 2019-11-22 19:20:04 -05:00
Jose Diaz-Gonzalez
9aa09b3a3f fix: install updated gpg key and nginx apt repository 2019-09-19 13:30:46 -04:00
Jose Diaz-Gonzalez
07c47e10d3 fix: add missing ampersands 2019-07-30 10:51:51 -04:00
Jose Diaz-Gonzalez
bd809017f2 chore: create scripts directory as necessary 2019-07-30 10:46:00 -04:00
Jose Diaz-Gonzalez
1b1c409369 feat: skip subcommand copy if no subcommands directory exists 2019-07-29 22:03:01 -04:00
Jose Diaz-Gonzalez
c36d9d37b9 feat: upgrade to 3.6.13 2019-07-11 13:25:30 -07:00
Jose Diaz-Gonzalez
f494f1edbb Merge pull request #122 from dokku/allow-dash-in-name
feat: re-allow dashes in names
2019-06-08 14:54:54 +02:00
Jose Diaz-Gonzalez
80daa5d741 Merge pull request #119 from dokku/121-fix-alias
fix: correct issue where aliases were being generated incorrectly
2019-06-08 14:54:42 +02:00
Jose Diaz-Gonzalez
ade8b44569 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
238f09dae0 chore: run shfmt 2019-05-30 11:06:25 -04:00