Jose Diaz-Gonzalez
5e7ea4217f
tests: install pack for app-json tests
2021-02-11 07:34:27 -05:00
Jose Diaz-Gonzalez
123fbea7c0
feat: add a deployment task test for cnb
2021-02-11 07:16:54 -05:00
Jose Diaz-Gonzalez
681fd6abf6
fix: install pack for tests
2021-02-11 04:04:25 -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
d7562d36e6
chore: drop unused destroy
2021-02-11 03:48:42 -05:00
Jose Diaz-Gonzalez
82afae6447
tests: add missing assertion
2021-02-11 02:21:29 -05:00
Jose Diaz-Gonzalez
25ab915883
refactor: standardize on using long-form and equal sign for docker arguments
2021-02-11 02:21:16 -05:00
Jose Diaz-Gonzalez
4448e60a8b
tests: run tests faster by not cloning the buildpack each time
...
This is now included in herokuish.
2021-02-08 11:17:14 -05:00
dependabot-preview[bot]
f9ebdae66d
chore(deps-dev): bump heroku/heroku-buildpack-php in /tests/apps/php
...
Bumps [heroku/heroku-buildpack-php](https://github.com/heroku/heroku-buildpack-php ) from 188 to 189.
- [Release notes](https://github.com/heroku/heroku-buildpack-php/releases )
- [Changelog](https://github.com/heroku/heroku-buildpack-php/blob/main/CHANGELOG.md )
- [Commits](https://github.com/heroku/heroku-buildpack-php/compare/v188...v189 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2021-02-08 06:53:06 +00:00
Jose Diaz-Gonzalez
55213e1045
Merge pull request #4388 from dokku/4376-handle-log-drivers
...
Do not inject max-size option when not using local or json-file log-drivers
2021-02-07 22:32:54 -05:00
Jose Diaz-Gonzalez
065f5e5922
fix: do not inject max-size option when not using local or json-file log drivers
...
Closes #4376
2021-02-07 22:10:06 -05:00
Jose Diaz-Gonzalez
c09dfb8ec8
feat: only warn if the vector container is stopped when fetching logs
...
Closes #4385
2021-02-07 21:03:21 -05:00
Jose Diaz-Gonzalez
87b90e96b6
Merge pull request #4372 from dokku/clear-individual-resource
...
Add ability to clear an individual resource
2021-02-07 20:57:33 -05:00
Jose Diaz-Gonzalez
e556be1a0d
feat: add ability to clear an individual resource
2021-02-07 20:32:43 -05:00
Jose Diaz-Gonzalez
be84325de1
feat: add support for injected cron entries
...
This allows alternative plugins - such as dokku-letsencrypt - to inject scheduled cron tasks into the cron system used by Dokku. Cron systems can choose to include or not include a cron task based on the specified scheduler, and can also optionally use a third parameter to store arbitrary information.
2021-02-07 16:45:34 -05:00
dependabot-preview[bot]
4f2c968daa
chore(deps): bump jinja2 in /tests/apps/python-flask
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 2.11.2 to 2.11.3.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/2.11.2...2.11.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2021-02-01 06:02:56 +00:00
Jose Diaz-Gonzalez
9306011f70
fix: do not retag images unnecessarily
...
This change minimizes the work needed to be done when tagging images. It edits the image manifest directly only when necessary, allowing restarts of an app to avoid having an extra layer.
This also additionally allows to deploy images with ONBUILD directives without running the ONBUILD directives.
Lastly, users building docker images that run Dokku will need to use a new sudoer wrapper for the `docker-image-labeler` binary to work correctly. A reference version has been placed in the `docker` skeleton directory.
Closes #3931
Refs #4226
2021-01-24 02:09:53 -05:00
Jose Diaz-Gonzalez
c1ff3d4652
tests: add a test for application renames
...
Also ensure the plugin:trigger calls are issued under the dokku user
2021-01-23 20:10:16 -05:00
Jose Diaz-Gonzalez
dfc98ecc0f
fix: allow underscores in vector schemes
...
Also unify tests for global and non-global logs:set calls
2021-01-23 19:00:33 -05:00
Jose Diaz-Gonzalez
5cac43fe55
refactor: fix computation test and remove the app-specific hsts value
...
The default for an app is empty, meaning it will fallback to the global value (which defaults to true). This will allow users to properly override the global value, regardless of what it is.
2021-01-23 15:49:40 -05:00
Aubrey Hewes
8cc92680c5
feat(nginx-proxy): allow disabling hsts globally and explicitly enabling it per app
...
https://github.com/dokku/dokku/pull/3843
2021-01-23 15:09:51 -05:00
Jose Diaz-Gonzalez
ccbe2c719a
fix: correct test check
2021-01-23 13:02:37 -05:00
Jose Diaz-Gonzalez
afe1e8b33c
refactor: use log:set for logs and add global support
2021-01-23 12:45:05 -05:00
Jose Diaz-Gonzalez
277e9691e1
feat: add ability to set client max body size via nginx:set
...
This simplifies increasing upload size by making it a property, and is backwards compatible with installations that have set that in a custom file.
2021-01-21 01:41:34 -05:00
Jose Diaz-Gonzalez
8efac2923b
tests: split tests up
2021-01-21 00:22:49 -05:00
Jose Diaz-Gonzalez
0bd7613da4
tests: add test for creation of crontab file
2021-01-20 15:45:48 -05:00
Jose Diaz-Gonzalez
f7ef14d737
feat: add initial scheduled task implementation
...
This functionality enables users to manage a global crontab for the Dokku user that contains all scheduled tasks across all apps. Alternative schedulers can implement cron tasks as desired.
2021-01-20 14:49:48 -05:00
Jose Diaz-Gonzalez
e00e498e50
chore: remove whitespace
2021-01-20 14:49:48 -05:00
Jose Diaz-Gonzalez
2deb575961
Merge pull request #4322 from dokku/github-actions
...
Switch to Github Actions for CI
2021-01-20 14:26:18 -05:00
Jose Diaz-Gonzalez
a7465f9d81
tests: use github actions instead of circleci for test running
2021-01-20 14:00:07 -05:00
Jose Diaz-Gonzalez
9d55e37687
Merge pull request #4297 from dokku/git-sync
...
Add support for cloning/syncing from a remote repository
2021-01-20 13:36:15 -05:00
Bjorn Post
a6062d4ab4
feat: make feature more generic, also add support for setting -port and -proto values via nginx:set, refs #4339
2021-01-19 21:40:47 +01:00
Bjorn Post
ca56fa1b8b
fix: revert doc deletion, revert test_helper change, refs #4339
2021-01-18 22:00:13 +01:00
Bjorn Post
7c818eda47
test: add tests for trust-x-forwarded-for, refs #4339
2021-01-18 21:59:36 +01:00
Bjorn Post
2cdfa1cae1
feat: trust proxy_add_x_forwarded_for iso resetting to remote_addr, refs #4339
2021-01-18 20:07:55 +01:00
Jose Diaz-Gonzalez
d459b4171d
Merge pull request #4335 from dokku/4313-plugin-update
...
Add error checking to plugin:install and plugin:update
2021-01-18 12:38:14 -05:00
Jose Diaz-Gonzalez
e4ec973a6e
Merge pull request #4329 from dokku/apt-no-install-recommends
...
Standardize apt-get usage
2021-01-18 12:12:11 -05:00
Jose Diaz-Gonzalez
e39a5663bf
fix: add error message for invalid flags
...
Closes #4193
2021-01-18 00:29:25 -05:00
Jose Diaz-Gonzalez
89cc896c27
fix: add error checking to plugin:update
...
Closes #4313
2021-01-17 22:23:04 -05:00
Jose Diaz-Gonzalez
ed84f21c08
refactor: standardize apt-get usage
...
- Always put flags in same location
- Always use apt-get
- Add --no-install-recommends where possible
2021-01-17 20:19:56 -05:00
Jose Diaz-Gonzalez
3f25514e1a
refactor: combine both clone and sync commands
...
Using a single command will allow users to not have to worry about the workflow they use to setup or update a given app.
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
e3d0f693a7
tests: add tests for fetch
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
97750f8b28
chore: minor updates to tests
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
89e92749a6
tests: handle non-existent app
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
e877a996be
tests: split out tests and use a slimer smoke-test-app to speed up builds
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
6bfbe0bb66
fix: create app for build test
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
d728237697
chore: split tests
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
279a706f78
feat: add tests for git:clone
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
1a66102e30
feat: add tests for allow-host and public-key commands
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
8c0380beec
tests: add missing run statement
2021-01-17 17:00:33 -05:00