Commit Graph

650 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
c0e8b7afb8 fix: set correct alias for wait container when not using an initial network 2023-02-08 11:53:45 -05:00
Jose Diaz-Gonzalez
3aa2c03834 feat: use service name as hostname 2023-02-08 11:01:02 -05:00
Jose Diaz-Gonzalez
b664ce6411 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
josegonzalez
ad2509d3ec Merge pull request #207 from dokku/network-flags
feat: add support for network related flags on create, clone, and upgrade
2023-02-08 10:26:07 -05:00
Jose Diaz-Gonzalez
f055182cca refactor: use actual database dump for redis import tests 2023-02-08 04:04:04 -05:00
Jose Diaz-Gonzalez
68b7e33a07 fix: remove old dump before writing it from the host 2023-02-08 03:12:31 -05:00
Jose Diaz-Gonzalez
8b9a03aa66 refactor: write rdb file outside of docker container command 2023-02-08 02:54:35 -05:00
Jose Diaz-Gonzalez
b845d6fb43 tests: ignore case where app is already deleted 2023-02-08 02:22:08 -05:00
Jose Diaz-Gonzalez
bba2f1384f 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
a4520a74e2 chore: drop trace from output 2023-02-08 01:46:00 -05:00
Jose Diaz-Gonzalez
8eb25a93d1 chore: remove extra newline 2023-02-08 01:44:22 -05:00
Jose Diaz-Gonzalez
c3b51a064d fix: correct imports 2023-02-08 01:42:07 -05:00
Jose Diaz-Gonzalez
61c0ad851f feat: add service container log output on failure to start 2023-02-08 01:21:00 -05:00
Jose Diaz-Gonzalez
2e241f9ae6 fix: add -N flag to getopts 2023-02-08 00:54:23 -05:00
Jose Diaz-Gonzalez
f6b6bd87f0 tests: fix :set tests 2023-02-08 00:41:10 -05:00
Jose Diaz-Gonzalez
e23f15ca7f tests: stop running workflows on push
Also remove unnecessary strategy block from jobs.
2023-02-08 00:38:21 -05:00
Jose Diaz-Gonzalez
8478b5cebe tests: also force destroy the lsa service 2023-02-08 00:26:56 -05:00
Jose Diaz-Gonzalez
0734692b2d tests: output the contents of the run command in tests 2023-02-08 00:26:32 -05:00
Jose Diaz-Gonzalez
09d58a815e docs: regenerate README 2023-02-08 00:13:39 -05:00
Jose Diaz-Gonzalez
43d0987322 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
059ece5173 fix: add missing source calls 2023-02-07 22:38:51 -05:00
Jose Diaz-Gonzalez
c0ab76da8b fix: ensure properties are setup on plugin install 2023-02-07 22:25:43 -05:00
josegonzalez
33c99f0425 Merge pull request #202 from dokku/191-network-support
Add custom network support
2023-02-07 22:10:23 -05:00
josegonzalez
1e33752ea0 chore: drop debugging code 2023-02-07 21:57:19 -05:00
josegonzalez
02b6c50bb2 chore: drop extra ls 2023-02-07 21:56:25 -05:00
Jose Diaz-Gonzalez
cdb062fed1 debug 2023-02-07 21:46:24 -05:00
josegonzalez
76a5fbd9cb feat: more debugging 2023-02-07 21:18:32 -05:00
josegonzalez
2f4d5dfe38 feat: add more debug information 2023-02-07 20:46:54 -05:00
Jose Diaz-Gonzalez
acaaaf586b refactor: use direct functions instead of subcommands 2023-02-07 20:30:48 -05:00
josegonzalez
49949f24cb debug: check why the commands are failing 2023-02-07 20:17:15 -05:00
Jose Diaz-Gonzalez
fe378009d8 feat: add network properties to :info output 2023-02-07 18:25:04 -05:00
Jose Diaz-Gonzalez
ab0d871347 docs: add example for multiple networks 2023-02-07 18:25:04 -05:00
Jose Diaz-Gonzalez
c0a393a7af feat: add ability to set multiple, comma-delimited post-create and post-start networks 2023-02-07 18:25:04 -05:00
Jose Diaz-Gonzalez
ea2a23b0b9 feat: add support for attaching to networks after service container creation and start 2023-02-07 18:25:04 -05:00
Jose Diaz-Gonzalez
ddfbbd6694 refactor: directly write out the cid file when creating the service container 2023-02-07 18:25:04 -05:00
Jose Diaz-Gonzalez
cd13edd30d fix: correct error message for valid/invalid properties 2023-02-07 18:25:04 -05:00
Jose Diaz-Gonzalez
1d6654943b fix: actually call the :set function and ensure we write properties to the correct namespace 2023-02-07 18:25:04 -05:00
Jose Diaz-Gonzalez
1a942e0484 fix: correct issue with checking if the service container is ready when using an initial-network 2023-02-07 18:25:04 -05:00
Jose Diaz-Gonzalez
b6ccd491fd feat: add support for specifying an initial-network property
This network is the network that is associated with the container on creation. If specified, then the bridge network is not attached to the service.

Only a single initial network can be specified at this time.
2023-02-07 18:25:04 -05:00
josegonzalez
fbc5380a12 Merge pull request #206 from dokku/dependabot/github_actions/actions/checkout-3
chore(deps): bump actions/checkout from 2 to 3
2023-02-07 18:16:02 -05:00
josegonzalez
de6f3d36d1 Merge pull request #205 from dokku/dependabot/github_actions/actions/setup-python-4
chore(deps): bump actions/setup-python from 2 to 4
2023-02-07 18:15:56 -05:00
josegonzalez
bfef36d1a6 Merge pull request #204 from dokku/dependabot/github_actions/actions/upload-artifact-3
chore(deps): bump actions/upload-artifact from 2 to 3
2023-02-07 17:57:16 -05:00
dependabot[bot]
85302b5040 chore(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 22:02:22 +00:00
dependabot[bot]
09ca02a1ad chore(deps): bump actions/setup-python from 2 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 22:02:19 +00:00
dependabot[bot]
1de6476ff2 chore(deps): bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 22:02:15 +00:00
Jose Diaz-Gonzalez
1acb937676 feat: upgrade github actions automatically 2023-02-07 17:01:15 -05:00
josegonzalez
3f22a06649 Merge pull request #203 from dokku/upgrade-test-os
feat: upgrade test os to ubuntu 20.04
2023-02-07 16:50:49 -05:00
Jose Diaz-Gonzalez
2bcbae8915 feat: upgrade test os to ubuntu 20.04 2023-02-07 16:19:10 -05:00
Jose Diaz-Gonzalez
14ac26d1fc Release 1.28.0 1.28.0 2023-02-07 08:19:56 -05:00
josegonzalez
5679ded638 Merge pull request #201 from dokku/fix-upgrades
fix: properly support new image and image-version values during plugin upgrades
2023-02-07 07:13:48 -05:00