Commit Graph

612 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
acd623401d fix: use network alias when linking to wait container 2023-02-08 23:59:22 -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
6814405ce9 fix: use correct alias for non-initial-network connect calls 2023-02-08 12:08:26 -05:00
Jose Diaz-Gonzalez
18d1256d5e fix: always use the network alias 2023-02-08 12:06:57 -05:00
Jose Diaz-Gonzalez
960a499864 fix: set correct alias for wait container when not using an initial network 2023-02-08 11:53:45 -05:00
Jose Diaz-Gonzalez
0de0971810 feat: use service name as hostname 2023-02-08 11:01:02 -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
josegonzalez
b26c936259 Merge pull request #174 from dokku/network-flags
feat: add support for network related flags on create, clone, and upgrade
2023-02-08 10:25:45 -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
d1a33a6e18 chore: remove extra newline 2023-02-08 04:12:43 -05:00
Jose Diaz-Gonzalez
87889957ff fix: correct imports 2023-02-08 04:12:43 -05:00
Jose Diaz-Gonzalez
8081de8258 feat: add service container log output on failure to start 2023-02-08 04:12:43 -05:00
Jose Diaz-Gonzalez
1f9407fc19 fix: add -N flag to getopts 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
7144e34b0f tests: stop running workflows on push
Also remove unnecessary strategy block from jobs.
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
a265bc62fc docs: regenerate README 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
josegonzalez
59644c11ed Merge pull request #176 from dokku/josegonzalez-patch-1
refactor: use mongosh and --eval flag to run database user creation
2023-02-08 04:12:27 -05:00
josegonzalez
46bbb1ca32 refactor: use mongosh and --eval flag to run database user creation 2023-02-08 03:52:16 -05:00
josegonzalez
eaf2ed7ce3 Merge pull request #175 from dokku/josegonzalez-patch-1
Use env vars to setup the initial admin user
2023-02-08 03:49:17 -05:00
josegonzalez
fb13823d98 refactor: use env vars to setup the initial admin user 2023-02-08 03:31:48 -05:00
Jose Diaz-Gonzalez
a6d560614a fix: add missing source calls 2023-02-07 22:38:51 -05:00
Jose Diaz-Gonzalez
10d1314459 fix: ensure properties are setup on plugin install 2023-02-07 22:25:43 -05:00
Jose Diaz-Gonzalez
6e787bc6b3 fix: suppress output only if there are no errors 2023-02-07 22:22:24 -05:00
josegonzalez
6f596f7228 Merge pull request #169 from dokku/191-network-support
Add custom network support
2023-02-07 19:51:56 -05:00
Jose Diaz-Gonzalez
b7b6e071e1 feat: add network properties to :info output 2023-02-07 18:24:54 -05:00
Jose Diaz-Gonzalez
440c098bb3 docs: add example for multiple networks 2023-02-07 18:24:54 -05:00
Jose Diaz-Gonzalez
4d79bc27bb feat: add ability to set multiple, comma-delimited post-create and post-start networks 2023-02-07 18:24:54 -05:00
Jose Diaz-Gonzalez
d0c8f46f18 feat: add support for attaching to networks after service container creation and start 2023-02-07 18:24:54 -05:00
Jose Diaz-Gonzalez
88bf4ac2cc refactor: directly write out the cid file when creating the service container 2023-02-07 18:24:54 -05:00
Jose Diaz-Gonzalez
90021e326e fix: correct error message for valid/invalid properties 2023-02-07 18:24:54 -05:00
Jose Diaz-Gonzalez
31e4c43f98 fix: actually call the :set function and ensure we write properties to the correct namespace 2023-02-07 18:24:54 -05:00
Jose Diaz-Gonzalez
47c5f8e44a fix: correct issue with checking if the service container is ready when using an initial-network 2023-02-07 18:24:54 -05:00
Jose Diaz-Gonzalez
0dca37d8a1 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:24:54 -05:00
josegonzalez
caa5a0ff6b Merge pull request #173 from dokku/dependabot/github_actions/actions/upload-artifact-3
chore(deps): bump actions/upload-artifact from 2 to 3
2023-02-07 18:10:48 -05:00
josegonzalez
046153a64d Merge pull request #172 from dokku/dependabot/github_actions/actions/setup-python-4
chore(deps): bump actions/setup-python from 2 to 4
2023-02-07 18:10:35 -05:00
josegonzalez
79dc4ecbb4 Merge pull request #171 from dokku/dependabot/github_actions/actions/checkout-3
chore(deps): bump actions/checkout from 2 to 3
2023-02-07 17:56:39 -05:00
dependabot[bot]
712248d1c7 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:08 +00:00
dependabot[bot]
975e66985b 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:05 +00:00
dependabot[bot]
0cb3385edb 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:02 +00:00
Jose Diaz-Gonzalez
9168b29ce1 feat: upgrade github actions automatically 2023-02-07 17:01:15 -05:00
josegonzalez
ca4dfec23e Merge pull request #170 from dokku/upgrade-test-os
feat: upgrade test os to ubuntu 20.04
2023-02-07 16:51:29 -05:00