Jose Diaz-Gonzalez
35c6d61a04
feat: test all compose-based proxy implementations with a dockerfile app
...
This allows the tests to run on arm systems.
2023-02-11 06:09:50 -05:00
Jose Diaz-Gonzalez
e103d9b11b
chore: suppress warnings about default branch
2023-01-16 01:39:59 -05:00
josegonzalez
fa34f89901
Merge pull request #5560 from dokku/drop-spdy
...
Drop SPDY support from nginx plugin
2023-01-15 11:43:32 -05:00
Jose Diaz-Gonzalez
eeb2e69044
fix: only create the test app if it doesn't exist for tls tests
2023-01-11 00:55:47 -05:00
Jose Diaz-Gonzalez
93279b884a
tests: create the app before extracting tls data during tests
2023-01-10 02:09:33 -05:00
Jose Diaz-Gonzalez
ca1ab188fe
chore: drop SPDY
...
This hasn't been supported by browsers in quite a while and nginx will set a warning as of Ubuntu 20.04 when the header is referenced.
2022-12-29 01:59:54 -05:00
Jose Diaz-Gonzalez
a2cc6b84d6
fix: use assert_output_contains so as not to worry about order
2022-12-02 10:47:40 -05:00
Jose Diaz-Gonzalez
edd6e476b3
refactor: simplify how url generation works
...
The URLS file is no longer necessary as urls are now generated directly from the app VHOST file.
This also moves all the url generation logic to the domains plugin.
2022-12-02 02:19:59 -05:00
Jose Diaz-Gonzalez
d18cb3766c
fix: correct tests for new domain initialization method
2022-12-01 22:39:38 -05:00
Jose Diaz-Gonzalez
4ef260f57a
fix: ignore https mappings when no ssl certificate exists
...
This fixes issues where users may somehow add an https mapping but are missing an ssl certificate, causing nginx to not load properly. We now ignore the mapping and warn users of the misconfiguration.
Closes #5368
2022-10-22 17:47:54 -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
d9204083f7
fix: install pack
...
Also move the installation into a helper method.
2021-08-12 22:07:53 -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
52a88d63ad
tests: fix postdeploy test
2021-02-28 14:39:16 -05:00
Jose Diaz-Gonzalez
f98e7702fb
feat: implement heroku's postdeploy deployment task
...
This occurs during the postdeploy on the first deploy of an app, mimicking heroku. It currently happens _after_ the `postdeploy` and `release` deploy tasks.
2021-02-28 04:51:42 -05:00
Jose Diaz-Gonzalez
669259eace
tests: just skip the issue
2021-02-13 05:05:57 -05:00
Jose Diaz-Gonzalez
45c543adde
tests: attempt to fix lint again
2021-02-13 04:20:49 -05:00
Jose Diaz-Gonzalez
627a6bf8a5
tests: fix issue with assert urls
2021-02-13 03:52:28 -05:00
Jose Diaz-Gonzalez
d7f3a2b003
fix: correct SC2124 issue
2021-02-13 02:41:46 -05:00
Jose Diaz-Gonzalez
9ce309bed9
fix: correct SC2206 issue
2021-02-13 02:36:36 -05:00
Jose Diaz-Gonzalez
b62264c275
tests: fix SC2124 issue
2021-02-13 02:32:17 -05:00
Jose Diaz-Gonzalez
59c45ea1d6
tests: fix SC1012 issue
2021-02-13 02:28:38 -05:00
Jose Diaz-Gonzalez
02a8409114
tests: fix shfmt issues
2021-02-13 02:05:44 -05:00
Jose Diaz-Gonzalez
812e34c6f5
feat: properly export env vars for cnb apps
...
They are not baked into the image like they are for herokuish, so we need to manually set them via --env. Additionally, due to newline constraints in docker, we need to use `--env=key` format to correctly pull the values into place.
2021-02-11 03:52:02 -05:00
Jose Diaz-Gonzalez
530066875d
tests: switch to using uuidgen for unique app names
...
/dev/urandom doesn't work on Github Actions. Prior to moving to github actions, lets ensure tests work on CircleCI as well.
2021-01-17 15:58:59 -05:00
Jose Diaz-Gonzalez
a57680fbbf
feat: test vector commands
2021-01-07 01:54:04 -05:00
Jose Diaz-Gonzalez
07e7988cdf
feat: add sigil templating to CHECKS files
...
This enables general templating capabilities, in addition to environment variable access.
Closes #3974 .
2021-01-05 00:16:55 -05:00
Jose Diaz-Gonzalez
59a81ad3be
fix: cleanup apps and containers before each test
...
- remove all nginx configurations since they may be faulty
- move cleanup commands to helper functions
- fix a few shellcheck violations
2020-12-22 13:29:32 -05:00
Jose Diaz-Gonzalez
18492ac83c
feat: add json format support to ssh-keys:list
2020-12-20 04:15:53 -05:00
Jose Diaz-Gonzalez
26b95854d4
fix: properly parse releease command when there is an entrypoint
...
Closes #4232
2020-12-11 11:44:13 -05:00
Roland van Laar
5f312d7347
Make make test pass on linting
2020-07-04 00:08:44 +02:00
Jose Diaz-Gonzalez
eaf0d9af55
feat: create proxy:build-config command
...
Closes #4024
2020-06-29 20:51:12 -04:00
Jose Diaz-Gonzalez
e75aadff15
fix: teardown apps and containers in global teardown
2020-06-21 17:12:24 -04:00
Jose Diaz-Gonzalez
d8cd5250a2
tests: delete old apps and ensure the test helper is quieter
2020-06-21 15:33:10 -04:00
Jose Diaz-Gonzalez
008b362751
feat: switch to null buildpack for performance
2020-06-20 17:02:27 -04:00
Jose Diaz-Gonzalez
9d747b7c82
chore: drop check
2020-06-20 01:09:52 -04:00
Jose Diaz-Gonzalez
3084ac098e
fix: correct quiet flag
2020-06-20 00:48:11 -04:00
Jose Diaz-Gonzalez
f083561ee7
feat: add test for remote ssh during deploy_app
2020-06-20 00:32:42 -04:00
Jose Diaz-Gonzalez
ae67f14f9b
chore: quieter test output
2020-06-20 00:29:58 -04:00
Jose Diaz-Gonzalez
676027caf6
debug: force container removal
2020-06-01 23:46:35 -04:00
Jose Diaz-Gonzalez
2588bedcfe
debug: delete all existing containers
2020-06-01 22:44:33 -04:00
Jose Diaz-Gonzalez
272c96b171
debug: check free memory
2020-06-01 22:43:26 -04:00
Jose Diaz-Gonzalez
a1935687a2
debug: output container ls to stdout
...
This will let us know if other containers are somehow leaking during test runs...
2020-05-30 02:08:08 -04:00
Jose Diaz-Gonzalez
62caa85423
feat: add ability to change or disable the access/error log path
...
Closes #3911
2020-04-01 12:21:52 -04:00
Jose Diaz-Gonzalez
c4b8bd8da9
test: ensure that the worker upstream exists
2020-03-13 12:42:42 -04:00
Jose Diaz-Gonzalez
38a13ecd39
feat: expose network listeners to nginx templates for all process types
...
This change allows users to specify a custom nginx.conf.sigil that can expose non-web process types to the outside world in addition to the web process type.
Closes #3258
2020-03-11 12:34:38 -04:00
Jose Diaz-Gonzalez
e19b52442b
fix: remove deprecated egrep calls from codebase
2020-02-17 05:59:52 -05:00
Jose Diaz-Gonzalez
04e1837e9e
fix: revert to old array arg
2020-02-17 04:44:25 -05:00
Jose Diaz-Gonzalez
ce275837ac
fix: properly check for app domains
2020-02-17 04:39:52 -05:00