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
Jose Diaz-Gonzalez
848373def5
chore: remove all deprecated commands
...
This change removes all deprecated commands. In many cases, users have been warned for a number of releases before the commands have been removed. All commands that were removed have existing alternatives.
2020-02-12 02:03:03 -05:00
Michael Hobbs
c4d69b662f
add is_image_herokuish_based tests
2019-11-19 15:09:54 -07:00
Jody McIntyre
592b10122d
Add test of DOKKU_SCALE update
2019-10-04 14:36:54 -04:00
Nicholas Ghobrial
dfda7d63f4
Escape $
2019-07-13 01:25:55 -04:00
Nicholas Ghobrial
05bdda036f
Remove all uses of
...
proxy_set_header Connection "upgrade"
2019-07-13 01:18:29 -04:00
Jose Diaz-Gonzalez
d3d426a8d9
tests: add functional tests for buildpacks plugin
2019-03-05 21:41:23 -05:00
Jose Diaz-Gonzalez
67ae374e60
lint: remove whitespaces before redirect
2019-02-02 13:49:24 -05:00
Jose Diaz-Gonzalez
86795ddacc
tests: run mvdan/shfmt on test runs
...
While I do not agree with _every_ style change, this will force Dokku to have consistent formatting across all shell scripts, which is arguably a Good Thing™.
The command used to reprocess everything is:
```shell
shfmt -l -bn -ci -i 2 -w .
```
2019-01-07 01:25:55 -05:00
Jose Diaz-Gonzalez
dec181be6e
tests: allow tests to be run from any directory
...
They previously required being run from repository root.
2018-12-29 07:33:59 -05:00
Jose Diaz-Gonzalez
a7c5e74c91
Merge pull request #3341 from baikunz/single-ipadress
...
Select only default dokku network IP
2018-12-27 19:37:49 -05:00
dorian
47462fcb6f
WIP add tests
2018-12-27 23:32:28 +01:00
Jose Diaz-Gonzalez
3656651cb9
refactor: wrap all 'run dokku' calls in /bin/bash calls
2018-12-27 09:02:26 -05:00
Jose Diaz-Gonzalez
df834f41f3
feat: add a test to prove that tls breaks app renames
2018-07-28 01:20:03 -04:00
Alexis Tyler
85a7956876
add last PROXY conversions
2018-04-02 00:24:43 -04:00