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
Milan Vit
15f4e94b4f
✅ Add (hopefully) failing test for image labeling
2021-04-16 12:28:56 -04:00
Jose Diaz-Gonzalez
4cccaebac5
fix: do not insert log max-size when log-driver is set at daemon-level
...
Closes #4519
2021-04-16 01:54:44 -04:00
Jose Diaz-Gonzalez
c5c3b3928e
Merge pull request #4526 from dokku/4515-docker-options-parsing
...
Do not cut off builder arguments that have a 'v-' substring
2021-03-30 22:53:39 -04:00
Jose Diaz-Gonzalez
5a0823baed
fix: do not cut off builder arguments that have a 'v-' substring
...
Closes #4515
2021-03-25 21:38:11 -04:00
Jose Diaz-Gonzalez
356ed6f9eb
feat: modify the deployment task if the detected entrypoint is tini
...
Closes #4522
2021-03-25 20:17:16 -04:00
Jose Diaz-Gonzalez
38910c7c48
tests: split app-json tests into two files
...
This should decrease the test matrix runtime.
2021-03-25 20:13:30 -04:00
Jose Diaz-Gonzalez
97aa934343
feat: do not reinstall pack during bats tests
2021-03-25 20:12:39 -04:00
Jose Diaz-Gonzalez
6787b82ec0
fix: reformat existing buildpacks files
...
Previously, the shorthand was not properly supported. While this _should_ be the domain of the gliderlabs/herokuish repository, we do it here as a courtesy to Dokku users.
Additionally, support the heroku-community => heroku mapping.
Closes #4452
2021-03-22 16:46:18 -04:00
Jose Diaz-Gonzalez
06bc6b9012
fix: ensure existing apps are initialized before modifying with code
...
Prior to 0.24.0, not all applications would have their repositories initialized. This was especially the case for tags and tarball deploys.
This state is now correctly detected and the repository is initialized as expected.
Closes #4485
2021-03-21 01:32:31 -04:00