Commit Graph

7532 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
c3ee7ce886 fix: ensure buildx is available during the release process
Without this, we cannot build the docker image during a release.
2022-03-08 01:31:25 -05:00
Jose Diaz-Gonzalez
7c9bb238b9 Merge pull request #5064 from dokku/josegonzalez-patch-1
Upgrade docker image to ubuntu focal
2022-03-08 01:31:09 -05:00
Jose Diaz-Gonzalez
bc9e1bfe6c fix: use newer image that contains arm version 2022-03-08 00:48:54 -05:00
Jose Diaz-Gonzalez
dd8e76890c feat: upgrade docker image to ubuntu focal 2022-03-08 00:06:04 -05:00
Jose Diaz-Gonzalez
01bb930e97 Merge pull request #5062 from dokku/dependabot/pip/tests/apps/dockerfile-release/django-3.1.14
chore(deps): bump django from 3.1.13 to 3.1.14 in /tests/apps/dockerfile-release
2022-03-07 03:26:30 -05:00
dependabot[bot]
48adda4f53 chore(deps): bump django in /tests/apps/dockerfile-release
Bumps [django](https://github.com/django/django) from 3.1.13 to 3.1.14.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.1.13...3.1.14)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 07:40:03 +00:00
Jose Diaz-Gonzalez
add08321aa Merge pull request #5061 from dokku/josegonzalez-patch-1
Use correct token when publish unit test results
2022-03-06 18:39:40 -05:00
Jose Diaz-Gonzalez
30ab9ebb58 fix: use correct token when publish unit test results 2022-03-06 16:52:17 -05:00
Jose Diaz-Gonzalez
ee89c743bf Merge pull request #5057 from dokku/fix-wait
Ensure we use the correct variable for WAIT
2022-03-02 02:37:54 -05:00
Jose Diaz-Gonzalez
c665525e1b Merge pull request #5058 from dokku/shellcheckrc
Add .shellcheckrc
2022-03-02 02:10:25 -05:00
Jose Diaz-Gonzalez
3f6ccc34a0 feat: add .shellcheckrc
dquote>
dquote> This is a minimal config that can be used in conjunction with text editors to run linting during development. The initial rules are a subset of those we ignore across the codebase. A future update will add further rules as needed and cleanup the codebase.
2022-03-02 01:20:26 -05:00
Jose Diaz-Gonzalez
f0095fec2f fix: ensure we use the correct variable for WAIT
A previous refactor ended up disabling waits completely, potentially causing app downtime during deploys.
2022-03-02 01:18:41 -05:00
Jose Diaz-Gonzalez
d7baf8e014 Merge pull request #5056 from miku86/patch-1
Fix typo in port management docs
2022-03-01 10:49:50 -05:00
miku86
6b377fd80f Fix typo 2022-03-01 16:44:01 +01:00
Jose Diaz-Gonzalez
8f32e1b1a2 Merge pull request #5052 from dokku/5020-sudo-crontab
Run crontab under sudo to support rhel systems
2022-02-28 22:51:21 -05:00
Jose Diaz-Gonzalez
9eca7457ff Merge pull request #5055 from dokku/5054-raspbian-bullseye
Release dokku for 32-bit Raspbian Bullseye
2022-02-28 22:50:57 -05:00
Jose Diaz-Gonzalez
5ba274b605 feat: release dokku for 32-bit Raspbian Bullseye
Refs #5054
2022-02-28 17:12:58 -05:00
Jose Diaz-Gonzalez
0856b8d4af fix: correct the prefix check 2022-02-28 16:24:39 -05:00
Jose Diaz-Gonzalez
9e8bfa03d0 Merge pull request #5053 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-212
chore(deps-dev): bump heroku/heroku-buildpack-php from 211 to 212 in /tests/apps/php
2022-02-28 15:54:45 -05:00
dependabot[bot]
116add09ba 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 211 to 212.
- [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/v211...v212)

---
updated-dependencies:
- dependency-name: heroku/heroku-buildpack-php
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 13:14:52 +00:00
Jose Diaz-Gonzalez
39aa42440b Merge pull request #5051 from dokku/5044-sluggify-vector
Ensure vector component sources have valid names
2022-02-27 19:18:15 -05:00
Jose Diaz-Gonzalez
257baa1d46 refactor: run crontab under sudo to support rhel systems
RHEL blocks users from executing crontab as themselves Because Of Reasons so we need to use sudo instead.

Also refactors file writing to properly support writing the permissions on sudoers files going forward.

Closes #5020
2022-02-27 19:17:04 -05:00
Jose Diaz-Gonzalez
2e1df2578c fix: set correct permissions on sudoers files
RHEL validates 0600, while Debian systems expect 0440.
2022-02-27 19:10:33 -05:00
Jose Diaz-Gonzalez
2a02aa0b9b fix: ensure vector component sources have valid names
The dot (.) character is invalid.

Closes #5044
2022-02-27 18:20:44 -05:00
Jose Diaz-Gonzalez
860f4f458c Merge pull request #4921 from dokku/apps-filter
Add ability to filter returnable apps
2022-02-27 17:33:14 -05:00
Jose Diaz-Gonzalez
ea5431b088 chore: cleanup go.mod files again 2022-02-26 03:45:34 -05:00
Jose Diaz-Gonzalez
d5a3527059 test: set a dummy path for PLUGIN_ENABLED_PATH
Ideally we could use this to mock out different plugin paths with test implementations of user-auth-app, but for now setting something that won't generally fail is good enough.
2022-02-26 03:19:03 -05:00
Jose Diaz-Gonzalez
ac58b502c5 refactor: move app listing back to common
Without this, we'd need to duplicate some logic or make it more complex via a plugin trigger.
2022-02-26 02:55:34 -05:00
Jose Diaz-Gonzalez
90eb5462f7 chore: update two more calls to fetch all apps 2022-02-26 02:41:21 -05:00
Jose Diaz-Gonzalez
5eced46f22 fix: allow check to work for any trigger 2022-02-26 00:37:54 -05:00
Jose Diaz-Gonzalez
1a052969dc feat: app filtering to commands listing or iterating over apps
This increases the time to list apps from .05s to .2s~.3s on the simplest check, but the increased time is worth it for actually verifyng access to an app (should that need arise).

We'll also want to add the same to app existence checks.
2022-02-26 00:37:54 -05:00
Jose Diaz-Gonzalez
62a3eff5bb refactor: move apps listing from common plugin to apps plugin
This helps centralize app-related listing fetching.
2022-02-26 00:37:51 -05:00
Jose Diaz-Gonzalez
9d8de8a9db fix: add missing B suffix to list 2022-02-26 00:11:53 -05:00
Jose Diaz-Gonzalez
df811d7c02 Merge pull request #5050 from dokku/default-memory-units
Set the default memory unit type to megabytes
2022-02-26 00:09:26 -05:00
Jose Diaz-Gonzalez
16ff0328cd fix: also support KB, MB, GB, and B as valid suffixes 2022-02-25 23:23:59 -05:00
Jose Diaz-Gonzalez
068b3c9adb feat: set the default memory unit type to megabytes
This makes it easier to support all schedulers out of the box - all other schedulers assume megabytes when no unit is specified.
2022-02-25 22:20:59 -05:00
Jose Diaz-Gonzalez
2a11723496 Merge pull request #5038 from dokku/dependabot/pip/tests/apps/multi/flask-2.0.3
chore(deps): bump flask from 2.0.2 to 2.0.3 in /tests/apps/multi
2022-02-25 22:14:48 -05:00
Jose Diaz-Gonzalez
4a54d4097a Merge pull request #5048 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-211
chore(deps-dev): bump heroku/heroku-buildpack-php from 210 to 211 in /tests/apps/php
2022-02-25 22:14:38 -05:00
dependabot[bot]
b975beb3b9 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 210 to 211.
- [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/v210...v211)

---
updated-dependencies:
- dependency-name: heroku/heroku-buildpack-php
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-23 13:10:27 +00:00
dependabot[bot]
e1c5f3e545 chore(deps): bump flask from 2.0.2 to 2.0.3 in /tests/apps/multi
Bumps [flask](https://github.com/pallets/flask) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/2.0.2...2.0.3)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-22 20:25:20 +00:00
Jose Diaz-Gonzalez
335fe0dcfd Merge pull request #5039 from dokku/dependabot/bundler/tests/apps/ruby/sinatra-2.2.0
chore(deps): bump sinatra from 2.1.0 to 2.2.0 in /tests/apps/ruby
2022-02-22 15:23:32 -05:00
Jose Diaz-Gonzalez
f72e05ff09 Merge pull request #5037 from dokku/dependabot/pip/tests/apps/python-flask/flask-2.0.3
chore(deps): bump flask from 2.0.2 to 2.0.3 in /tests/apps/python-flask
2022-02-22 15:23:03 -05:00
Jose Diaz-Gonzalez
572d67d5e9 Merge pull request #5036 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-210
chore(deps-dev): bump heroku/heroku-buildpack-php from 207 to 210 in /tests/apps/php
2022-02-22 15:22:45 -05:00
Jose Diaz-Gonzalez
0baf7da87b Merge pull request #5035 from nerg4l/fix/log-help-flag
Fix help flag for logs command
2022-02-22 15:22:30 -05:00
dependabot[bot]
2d65e5fe1b chore(deps): bump sinatra from 2.1.0 to 2.2.0 in /tests/apps/ruby
Bumps [sinatra](https://github.com/sinatra/sinatra) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/sinatra/sinatra/releases)
- [Changelog](https://github.com/sinatra/sinatra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinatra/sinatra/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: sinatra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-16 13:04:14 +00:00
dependabot[bot]
eb032c6c81 chore(deps): bump flask from 2.0.2 to 2.0.3 in /tests/apps/python-flask
Bumps [flask](https://github.com/pallets/flask) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/2.0.2...2.0.3)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-15 13:11:47 +00:00
dependabot[bot]
b484abdb2f 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 207 to 210.
- [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/v207...v210)

---
updated-dependencies:
- dependency-name: heroku/heroku-buildpack-php
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 13:11:02 +00:00
László Görög
bc6130af4d fix: help flag 2022-02-14 11:04:09 +01:00
Jose Diaz-Gonzalez
2de86e7013 Merge pull request #5025 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.8
chore(deps): bump jetty-servlet from 11.0.7 to 11.0.8 in /tests/apps/java
2022-02-08 11:41:30 -05:00
Jose Diaz-Gonzalez
c34f2a6f9c Merge pull request #5026 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-2.0.3
chore(deps): bump werkzeug from 2.0.2 to 2.0.3 in /tests/apps/python-flask
2022-02-08 11:41:19 -05:00