Jose Diaz-Gonzalez
cd33ec2f02
fix: remove trace mode
2021-11-03 14:40:21 -04:00
Jose Diaz-Gonzalez
a756786f93
fix: ensure we respect quotes and dollar signs in config vars
...
Due to various changes in how containers are started, these keys were set incorrectly for apps. Since we can use the short-hand --env=ENV format for setting env vars on docker containers, lets do so.
Closes #4895
Closes #4896
2021-11-03 12:13:52 -04:00
Jose Diaz-Gonzalez
a637ffc848
tests: skip test when in remote vscode container and also ensure the docker daemon config is valid
2021-10-24 20:21:03 -04:00
Jose Diaz-Gonzalez
d1a16717b3
chore: remove deprecated tar plugin
...
This plugin was deprecated in 0.24.0 in favor of git:from-archive. Users should migrate to the new command.
2021-10-09 18:43:53 -04:00
Jose Diaz-Gonzalez
e893ac2aaa
chore: remove deprecated tags plugin
...
This plugin was deprecated in 0.24.0 in favor of git:from-image. Users should migrate to the new command.
2021-10-09 18:34:01 -04:00
Jose Diaz-Gonzalez
3c6396fbca
feat: implement the scheduler plugin
...
This also performs a one-time migration of the DOKKU_SCHEDULER values the scheduler plugin properties.
Closes #4739
2021-10-09 18:31:59 -04:00
Jose Diaz-Gonzalez
4d0ff4a834
Merge pull request #4810 from dokku/4804-skip-udp-port
...
Handle udp ports when fetching network config
2021-10-03 17:59:48 -04:00
Jose Diaz-Gonzalez
d9eea74f18
feat: implement storage:ensure-directory command
...
Closes #4805
2021-09-29 11:36:02 -04:00
Jose Diaz-Gonzalez
82dfcc01e2
fix: handle udp ports when fetching network config
...
When an app only has UDP ports exposed, deploys will fail as we expect there to be a single TCP port.
While we _should_ support both, the easier fix is to ignore things and move on. Users can manually expose UDP ports as necessary via the -p flag (or by not specifying the port as a UDP port).
One quirk discovered during tests is that disabling zero-downtime deploys results in odd output, but also a deploy can succeed even if one of the processes that skipped zero-downtime fails. We should fix this in another PR, but this is documented in tests for now.
Closes #4804
2021-09-29 00:37:38 -04:00
Jose Diaz-Gonzalez
2d180f5e0f
tests: remove extra call to list apps
2021-09-16 00:26:11 -04:00
Jose Diaz-Gonzalez
d83471bd46
fix: do not delete devcontainers when running tests in a docker container
2021-09-16 00:26:11 -04:00
Jose Diaz-Gonzalez
0997fd3347
fix: add support for url-encoded vector-sink config values
...
We additionally force-replace \u0026 with an ampersand to ensure we properly support & in config values (such as for URIs).
2021-09-10 23:04:41 -04:00
Jose Diaz-Gonzalez
faf53aa479
fix: install pack for run tests
2021-08-12 22:59:33 -04:00
Jose Diaz-Gonzalez
d9204083f7
fix: install pack
...
Also move the installation into a helper method.
2021-08-12 22:07:53 -04:00
Jose Diaz-Gonzalez
997cc4f466
tests: shore up test checks
2021-08-12 21:12:15 -04:00
Jose Diaz-Gonzalez
a825e2678c
fix: ensure env vars are injected for all run containers
...
CNB containers would otherwise not have them injected.
2021-08-12 21:12:01 -04:00
Jose Diaz-Gonzalez
620a36be82
tests: enhance release tests to check global secrets
2021-08-12 17:36:01 -04:00
Jose Diaz-Gonzalez
10f6d00e04
tests: add test to ensure herokuish respects the env vars during the release process
2021-08-12 16:16:08 -04:00
Jose Diaz-Gonzalez
a1c768b9b3
refactor: drop web installer in favor of setup via cli
...
This makes the installation a bit more secure by ensuring a user does not accidentally expose a way for unauthorized users to add new ssh keys to the system.
Additionally, this removes the extra HOSTNAME file to make the initial install process easier (that file was not modifiable by any dokku commands.
Closes #2247
2021-08-07 16:36:41 -04:00
Jose Diaz-Gonzalez
534a5f0898
Merge pull request #4719 from dokku/4665-route-internal
...
Add support for routing an app to a specified host:port
2021-08-06 11:11:41 -04:00
Jose Diaz-Gonzalez
e0a513650e
Merge pull request #4715 from dokku/2574-use-sslip
...
Switch from xip.io to sslip.io
2021-08-06 02:15:53 -04:00
Jose Diaz-Gonzalez
9ecfa843f0
feat: add support for routing an app to a specified host:port
...
This is useful when there is a service not managed by Dokku but should be exposed via the Dokku routing layer. As an example, some binaries (consul, nomad, vault) expose web uis, and are traditionally run on the host directly vs in a container.
Closes #4665
2021-08-06 01:29:25 -04:00
Jose Diaz-Gonzalez
ecb8a02356
feat: switch from xip.io to sslip.io
...
xip.io appears to be unsupported after an exodus at basecamp. Switching to sslip.io seems like a decent move.
Refs #2574
2021-08-05 23:30:58 -04:00
Jose Diaz-Gonzalez
f0a125f070
fix: remove the test-app:2 image
...
The dokku-retire call needs two passes because a later image was a child image of test-app:2.
2021-08-05 18:58:33 -04:00
Jose Diaz-Gonzalez
d4ec8d3ab5
tests: add tests for registry plugin
2021-08-05 04:20:22 -04:00
Jose Diaz-Gonzalez
4967cc1d1c
fix: do not manually create an app during tests
...
This will cause weird things to happen due to not initializing the app correctly.
2021-08-01 20:13:50 -04:00
Jose Diaz-Gonzalez
401683a305
refactor: write DOKKU_SCALE contents to scale property
...
- remove extraction of DOKKU_SCALE
- migrate to property system
- rewrite internals to use a FormationSlice instead of a map
2021-08-01 17:47:04 -04:00
Jose Diaz-Gonzalez
1bdedf1e28
tests: fix for instant run container removal
2021-07-27 13:26:37 -04:00
Jose Diaz-Gonzalez
350a84d253
refactor: deprecate the --detach flag in favor of run:detached
2021-07-27 02:58:44 -04:00
Jose Diaz-Gonzalez
618158a0f3
refactor: deprecate the --rm and --rm-container flags
...
These flags are not commonly invoked by users, causing issues when cleaning up old containers. Rather than instruct users to use some random flag, just change the default to what is likely to be more common.
2021-07-27 02:58:19 -04:00
Jose Diaz-Gonzalez
dbc3d82017
refactor: move run command to it's own plugin
2021-07-27 02:56:39 -04:00
Jose Diaz-Gonzalez
7292eaefc3
tests: add test for builder-pack:set projectoml-path
2021-07-10 15:32:59 -04:00
Jose Diaz-Gonzalez
135e78c868
tests: add test for procfile-path
2021-07-10 14:57:59 -04:00
Jose Diaz-Gonzalez
a4b024d6f9
tests: add a test for dockerfile-path
2021-07-10 14:57:58 -04:00
Jose Diaz-Gonzalez
d4016223d5
tests: add tests for build-dir
2021-07-10 14:57:58 -04:00
Jose Diaz-Gonzalez
2580ad305c
tests: ensure app deploys successfully by default in appjson-path test
2021-07-10 14:57:58 -04:00
Jose Diaz-Gonzalez
441d1c2676
tests: add test for non-existent file
2021-07-10 14:57:58 -04:00
Jose Diaz-Gonzalez
0ab135b034
tests: add test for app-json:set
2021-07-10 14:57:58 -04:00
Jose Diaz-Gonzalez
e8a4a4c89e
tests: always delete the initial-network in tests
2021-07-09 21:14:18 -04:00
Jose Diaz-Gonzalez
3ed019d708
tests: add test for initial network
2021-07-09 20:30:09 -04:00
dy3l
30dac07817
Fix case style
2021-06-24 22:42:02 +01:00
Jose Diaz-Gonzalez
5fdae7dc1e
tests: fix sorting of output
2021-06-09 00:46:36 -04:00
Jose Diaz-Gonzalez
2757f4157e
debug: check the trace output to see what is leaving a lock
2021-06-08 23:02:58 -04:00
Jose Diaz-Gonzalez
ae8a12a4b4
tests: fix sorting of output
2021-06-08 23:02:42 -04:00
Jose Diaz-Gonzalez
634c8b48d1
fix: ensure the python app has a requirements.txt file
...
Without this, detection will fail on the heroku/python buildpack.
2021-05-31 16:02:09 -04:00
Jose Diaz-Gonzalez
0532cae666
fix: correct failing repo test
...
The previous version grepped for the number 0, which is now output in the repo cache line count. We should check for the exact value instead.
2021-05-22 19:28:06 -04:00
Jose Diaz-Gonzalez
8660d58eb0
fix: inject alternate label when building from an image
...
This label is otherwise missing, causing tooling that might want to know about it's pre-existing labels - specifically, docker-image-labeler - to fail to run as expected.
2021-04-16 12:28:56 -04:00
Jose Diaz-Gonzalez
9de027167d
tests: make test a bit clearer
2021-04-16 12:28:56 -04:00
Milan Vit
65095fa4f7
💚 Alter tests further
2021-04-16 12:28:56 -04:00
Milan Vit
f07f489ef6
💚 Break test by fixing it
2021-04-16 12:28:56 -04:00