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
000f404426
fix: use correct alias for non-initial-network connect calls
2023-02-08 12:08:26 -05:00
Jose Diaz-Gonzalez
99da896e8f
fix: always use the network alias
2023-02-08 12:06:57 -05:00
Jose Diaz-Gonzalez
7a5cbb1602
fix: set correct alias for wait container when not using an initial network
2023-02-08 11:53:45 -05:00
Jose Diaz-Gonzalez
795643381a
feat: use service name as hostname
2023-02-08 11:01:02 -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
josegonzalez
a8179e25db
Merge pull request #160 from dokku/network-flags
...
feat: add support for network related flags on create, clone, and upgrade
2023-02-08 10:25:48 -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
e53af55146
chore: remove extra newline
2023-02-08 01:44:22 -05:00
Jose Diaz-Gonzalez
93015e0971
fix: correct imports
2023-02-08 01:42:06 -05:00
Jose Diaz-Gonzalez
66c12193cf
feat: add service container log output on failure to start
2023-02-08 01:21:00 -05:00
Jose Diaz-Gonzalez
8e0b6e0d5e
fix: add -N flag to getopts
2023-02-08 00:54:23 -05:00
Jose Diaz-Gonzalez
a54c288485
tests: fix :set tests
2023-02-08 00:41:10 -05:00
Jose Diaz-Gonzalez
280a5903a7
tests: stop running workflows on push
...
Also remove unnecessary strategy block from jobs.
2023-02-08 00:38:21 -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
99686d642b
docs: regenerate README
2023-02-08 00:13:39 -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
ab7a0369c8
fix: add missing source calls
2023-02-07 22:38:51 -05:00
Jose Diaz-Gonzalez
e5fd55f736
fix: ensure properties are setup on plugin install
2023-02-07 22:25:43 -05:00
Jose Diaz-Gonzalez
6abdc6217f
fix: suppress output only if there are no errors
2023-02-07 22:22:24 -05:00
josegonzalez
08c798a94d
Merge pull request #155 from dokku/191-network-support
...
Add custom network support
2023-02-07 19:51:59 -05:00
Jose Diaz-Gonzalez
93cb96f11a
feat: add network properties to :info output
2023-02-07 18:24:55 -05:00
Jose Diaz-Gonzalez
58948380b2
docs: add example for multiple networks
2023-02-07 18:24:55 -05:00
Jose Diaz-Gonzalez
6e318813bc
feat: add ability to set multiple, comma-delimited post-create and post-start networks
2023-02-07 18:24:55 -05:00
Jose Diaz-Gonzalez
c12c33d1ce
feat: add support for attaching to networks after service container creation and start
2023-02-07 18:24:55 -05:00
Jose Diaz-Gonzalez
3f40d5476d
refactor: directly write out the cid file when creating the service container
2023-02-07 18:24:55 -05:00
Jose Diaz-Gonzalez
c5d2a6804c
fix: correct error message for valid/invalid properties
2023-02-07 18:24:55 -05:00
Jose Diaz-Gonzalez
8ca3b8f988
fix: actually call the :set function and ensure we write properties to the correct namespace
2023-02-07 18:24:55 -05:00
Jose Diaz-Gonzalez
53927c93db
fix: correct issue with checking if the service container is ready when using an initial-network
2023-02-07 18:24:55 -05:00
Jose Diaz-Gonzalez
a3a2183ec8
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:55 -05:00
josegonzalez
a42c69c765
Merge pull request #159 from dokku/dependabot/github_actions/actions/upload-artifact-3
...
chore(deps): bump actions/upload-artifact from 2 to 3
2023-02-07 18:11:59 -05:00
josegonzalez
fbe7d0e1ff
Merge pull request #158 from dokku/dependabot/github_actions/actions/checkout-3
...
chore(deps): bump actions/checkout from 2 to 3
2023-02-07 18:11:45 -05:00
josegonzalez
bfa9a09ae2
Merge pull request #157 from dokku/dependabot/github_actions/actions/setup-python-4
...
chore(deps): bump actions/setup-python from 2 to 4
2023-02-07 18:11:13 -05:00
dependabot[bot]
c1aa251020
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:19 +00:00
dependabot[bot]
00df0368d8
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:13 +00:00
dependabot[bot]
c6440a9c17
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:09 +00:00
Jose Diaz-Gonzalez
f2ef1249e9
feat: upgrade github actions automatically
2023-02-07 17:01:15 -05:00
josegonzalez
f25088fe07
Merge pull request #156 from dokku/upgrade-test-os
...
feat: upgrade test os to ubuntu 20.04
2023-02-07 16:51:25 -05:00
Jose Diaz-Gonzalez
824ba0d4a2
feat: upgrade test os to ubuntu 20.04
2023-02-07 16:19:10 -05:00
Jose Diaz-Gonzalez
64804eb00c
Release 1.27.0
1.27.0
2023-02-07 08:19:42 -05:00
josegonzalez
8559bc670e
Merge pull request #154 from dokku/fix-upgrades
...
fix: properly support new image and image-version values during plugin upgrades
2023-02-07 07:32:24 -05:00
Jose Diaz-Gonzalez
149e4e753a
fix: properly support new image and image-version values during plugin upgrades
...
Closes dokku/dokku-mongo#143
Closes dokku/dokku-redis#193
Closes dokku/dokku-redis#195
2023-02-07 06:53:40 -05:00
josegonzalez
e4d092b2d7
Merge pull request #153 from dokku/update-docker-commands
...
Update docker commands to use DOCKER_BIN
2023-02-07 04:44:37 -05:00
Jose Diaz-Gonzalez
223aab449b
refactor: use DOCKER_BIN env var instead of calling docker directly
...
This will allow us to alias the docker binary with podman for most actions - other than updating running containers.
2023-02-07 03:53:08 -05:00
Jose Diaz-Gonzalez
9b21d136d3
refactor: use namespaced docker commands for interacting with the docker binary
2023-02-07 03:39:42 -05:00
Jose Diaz-Gonzalez
4ba816e0a7
refactor: namespace all docker commands in common-functions
2023-02-07 03:31:50 -05:00