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
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
7b51bcd4ac
Merge pull request #4324 from dokku/dependabot/npm_and_yarn/tests/apps/dot-websocket.disabled/socket.io-3.1.0
...
chore(deps): bump socket.io from 3.0.5 to 3.1.0 in /tests/apps/.websocket.disabled
2021-01-17 14:40:57 -05:00
Jose Diaz-Gonzalez
c179958afc
Merge pull request #4311 from nisseknudsen/pr/allow_named_volume_mounts_in_regex
...
Allow named volume mounts in regex
2021-01-15 17:53:59 -05:00
nisseknudsen
a3ab4d1b68
Mounting new named volume after unmounting host directory
2021-01-15 22:40:52 +01:00
dependabot-preview[bot]
575ae84e68
chore(deps): bump socket.io in /tests/apps/.websocket.disabled
...
Bumps [socket.io](https://github.com/socketio/socket.io ) from 3.0.5 to 3.1.0.
- [Release notes](https://github.com/socketio/socket.io/releases )
- [Changelog](https://github.com/socketio/socket.io/blob/master/CHANGELOG.md )
- [Commits](https://github.com/socketio/socket.io/compare/3.0.5...3.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2021-01-15 06:56:31 +00:00
Jose Diaz-Gonzalez
0d7c4cd036
feat: update ruby dependencies in test app
...
These were not auto-upgraded by dependabot because of a hardcoded sinatra version.
2021-01-13 11:45:43 -05:00
dependabot-preview[bot]
b35a89c5a9
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 187 to 188.
- [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/v187...v188 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2021-01-11 06:54:23 +00:00
Jose Diaz-Gonzalez
a57680fbbf
feat: test vector commands
2021-01-07 01:54:04 -05:00
Jose Diaz-Gonzalez
f16a211b48
feat: add more tests for the logs plugin
2021-01-07 01:34:19 -05:00
Jose Diaz-Gonzalez
2eae6c25af
tests: add test for logs:help
2021-01-07 00:14:43 -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
21ff68f624
fix: correct unit test
2020-12-27 15:20:32 -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
d7b23b84f0
fix: allow renaming old applications to new format
...
0.22.0 changed allowed values for app names, making it more difficult for users to fix their app names - you need to either downgrade+rename or recreate the app. The `apps:rename` command can now rename these old applications to the new standard.
Also drop some app name verification from internal commands. Duplicate verification doesn't help much, and though it isn't excessively slow, it does prevent us from running commands against old apps that exist.
Refs #4267
2020-12-22 13:29:32 -05:00
Jose Diaz-Gonzalez
365356eb5f
fix: output is expected twice
2020-12-22 11:52:02 -05:00
Jose Diaz-Gonzalez
044cc4a618
fix: rename duplicate test
2020-12-22 01:30:16 -05:00
Jose Diaz-Gonzalez
2e4c886ab2
fix: correct app arg parsing and new test
2020-12-21 13:36:04 -05:00
Jose Diaz-Gonzalez
8240790381
fix: correct argument handling when setting the --app flag
...
When setting the `--app` flag, there was a special case for the config plugin. This plugin used to take the `--no-restart` flag as the first argument - and still did until this change - resulting in an invalid call to the plugin subcommands. What is worse is that this functionality carried over to all other plugins as they were rewritten in golang, and thus the issue spread without us knowing.
The fix is to support GNU flag parsing rules, which Golang does not do by default (Because Of Reasons™). Switching to `github.com/spf13/pflag` fixes this issue, and also allows positional arguments to be placed wherever, even in the middle of flags.
Closes #4255
2020-12-20 22:06:33 -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
13dd8aa224
feat: add ability to remove an ssh key by fingerprint
...
- add tests for ssh-keys:remove
- upgrade sshcommand
2020-12-20 04:15:53 -05:00
Chris W Jones
112ee88fe9
Allow symbolic links for certificate and key files
...
This corrects an issue where if a symbolic link was given to the
`certs:add` command, an error would be thrown even though the file was
valid.
Issue: #4251
2020-12-17 15:35:52 -05:00
Jose Diaz-Gonzalez
2301efa460
Merge pull request #4244 from dokku/dependabot/composer/tests/apps/php/monolog/monolog-1.26.0
...
chore(deps): bump monolog/monolog from 1.25.5 to 1.26.0 in /tests/apps/php
2020-12-15 14:04:14 -05:00
Jose Diaz-Gonzalez
36215828f1
feat: always initialize git repository
...
This fixes issues where alternative tools that don't trigger the init via sshcommand - such as git-http-backend - are not able to setup applications correctly.
Note that those apps could always manually trigger git:initialize if desired, but if the app already exists, then this should already _just work_ without that extra initialization.
2020-12-15 01:42:10 -05:00
dependabot-preview[bot]
0623af86d6
chore(deps): bump monolog/monolog in /tests/apps/php
...
Bumps [monolog/monolog](https://github.com/Seldaek/monolog ) from 1.25.5 to 1.26.0.
- [Release notes](https://github.com/Seldaek/monolog/releases )
- [Changelog](https://github.com/Seldaek/monolog/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Seldaek/monolog/compare/1.25.5...1.26.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-12-15 06:30:16 +00:00
Jose Diaz-Gonzalez
f2a3cfc0b4
tests: add unit test for label skipping
2020-12-12 16:33:39 -05:00
Jose Diaz-Gonzalez
de0a467c97
Merge pull request #4233 from dokku/4232-fix-release-command
...
Properly parse releease command when there is an entrypoint
2020-12-12 15:57:38 -05:00
Jose Diaz-Gonzalez
f536a05e06
fix: switch to bats --filter for running a single test
2020-12-11 11:45:15 -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
dependabot-preview[bot]
84ee5995f4
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 186 to 187.
- [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/v186...v187 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-12-10 06:21:51 +00:00
Jose Diaz-Gonzalez
91e9bb9670
Merge pull request #4225 from znz/accept-first-pushed-branch-as-deploy-branch
...
Accept first pushed branch as deploy-branch
2020-12-08 16:04:05 -05:00
Jose Diaz-Gonzalez
c6a8bd669f
Merge pull request #4223 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.0
...
chore(deps): bump jetty-servlet from 9.4.35.v20201120 to 11.0.0 in /tests/apps/java
2020-12-08 14:08:26 -05:00
Kazuhiro NISHIYAMA
98c81513aa
Accept first pushed branch as deploy-branch
...
And set to DOKKU_DEPLOY_BRANCH.
Idea from https://github.com/dokku/dokku/pull/4167#issuecomment-717607136
2020-12-08 23:15:11 +09:00
dependabot-preview[bot]
a7e5f2abdc
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 185 to 186.
- [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/v185...v186 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-12-08 07:14:57 +00:00
dependabot-preview[bot]
0aa0c884d3
chore(deps): bump jetty-servlet in /tests/apps/java
...
Bumps [jetty-servlet](https://github.com/eclipse/jetty.project ) from 9.4.35.v20201120 to 11.0.0.
- [Release notes](https://github.com/eclipse/jetty.project/releases )
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.35.v20201120...jetty-11.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-12-08 05:54:29 +00:00
Jose Diaz-Gonzalez
98f03c249b
Merge pull request #4203 from dokku/minor-logging-changes
...
Cleanup log output for failure case
2020-12-01 11:21:57 -05:00
Andrew Kane
c0581a0e37
feat: add ability to change the access log format
2020-11-30 21:59:36 -08:00
Jose Diaz-Gonzalez
7e45f1173f
fix: update tests for new logging output
2020-11-28 19:14:17 -05:00
dependabot-preview[bot]
77d7f63857
chore(deps): bump jetty-servlet in /tests/apps/java
...
Bumps [jetty-servlet](https://github.com/eclipse/jetty.project ) from 9.4.34.v20201102 to 9.4.35.v20201120.
- [Release notes](https://github.com/eclipse/jetty.project/releases )
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.34.v20201102...jetty-9.4.35.v20201120 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-11-24 05:47:30 +00:00
dependabot-preview[bot]
4ba7d4ea10
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 183 to 185.
- [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/v183...v185 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-11-23 06:49:27 +00:00
Jose Diaz-Gonzalez
ef083e6289
tests: add output and status
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
5d7b2a84f4
fix: set DATABASE_URL so dj-database-url properly configures a database config
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
9193b68854
hack: enable debug
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
85fafcf170
tests: update tests for new Procfile path
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
ab1d15216c
refactor: drop the last argument from procfile-get-command
...
No external plugin should need to know the internals of where processes are.
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
e7ee7a1781
refactor: implement most of ps plugin in golang
2020-11-21 20:57:33 -05:00