Commit Graph

10429 Commits

Author SHA1 Message Date
dependabot[bot]
602169e4e0 chore(deps): bump express in /tests/apps/.websocket.disabled
Bumps [express](https://github.com/expressjs/express) from 4.18.3 to 4.19.1.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.3...4.19.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 13:10:15 +00:00
Jose Diaz-Gonzalez
731181f14b Merge pull request #6741 from dokku/dependabot/go_modules/plugins/common/github.com/onsi/gomega-1.32.0
chore(deps): bump github.com/onsi/gomega from 1.31.1 to 1.32.0 in /plugins/common
2024-03-19 12:44:27 -04:00
Jose Diaz-Gonzalez
37e5855620 Merge pull request #6742 from dokku/josegonzalez-patch-1
Remove trailing whitespace from history doc
2024-03-19 12:43:15 -04:00
Jose Diaz-Gonzalez
3664ee75ea Merge pull request #6740 from dokku/dependabot/go_modules/plugins/config/github.com/onsi/gomega-1.32.0
chore(deps): bump github.com/onsi/gomega from 1.31.1 to 1.32.0 in /plugins/config
2024-03-19 12:43:04 -04:00
Jose Diaz-Gonzalez
6b5cbc4a43 docs: remove trailing whitespace from history doc 2024-03-19 12:40:29 -04:00
dependabot[bot]
f5c1fa56e5 chore(deps): bump github.com/onsi/gomega in /plugins/common
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.31.1 to 1.32.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.31.1...v1.32.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 13:35:04 +00:00
dependabot[bot]
9247331d5d chore(deps): bump github.com/onsi/gomega in /plugins/config
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.31.1 to 1.32.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.31.1...v1.32.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 13:11:04 +00:00
Dokku Bot
ca312fe8f7 Release 0.34.0
# History

## 0.34.0

Install/update via the bootstrap script:

```shell
wget -NP . https://dokku.com/install/v0.34.0/bootstrap.sh
sudo DOKKU_TAG=v0.34.0 bash bootstrap.sh
```

See the [0.34.0 migration guide](/docs/appendices/0.34.0-migration-guide.md) for more information on migrating to 0.34.0.

### Bug Fixes

- #6724: @josegonzalez Correctly check if a repository has code or not in git plugin
- #6721: @josegonzalez Correct issue where cron properties cannot be retrieved if global
- #6720: @josegonzalez Add nginx-property binary to gitignore
- #6708: @josegonzalez Correctly handle quoted spaces over ssh
- #6707: @josegonzalez Correct issue where removing by index failed due to incorrect input validation
- #6705: @josegonzalez Ensure we cleanup the data directory on app deletion
- #6703: @josegonzalez Use copytruncate in logrotate commands

### New Features

- #6725: @josegonzalez Warn when publish ports if scaling up or zero downtime is enabled
- #6719: @josegonzalez Add a make target to copy the dokku binary over
- #6717: @josegonzalez Add ability to only build synced repo if there are changes
- #6715: @josegonzalez Add disk utilization to report output
- #6704: @josegonzalez Switch the default k3s routing layer from traefik to nginx

### Removals

- #6700: @josegonzalez Remove priority property from traefik plugin

### Refactors

- #6714: @josegonzalez Use CallPlugnTrigger instead of PlugnTriggerSetup
- #6713: @josegonzalez Use CallPlugnTrigger instead of PlugnTrigger
- #6712: @josegonzalez Use CallPlugnTrigger instead of PlugnTriggerOutput
- #6711: @josegonzalez Use CallPlugnTrigger instead of PlugnTriggerOutputAsString
- #6681: @josegonzalez Migrate to single ingress per app/domain combination when using nginx for k3s proxying
- #6156: @josegonzalez Migrate the app deploy lock to the data directory

### Documentation

- #6738: @josegonzalez Update migration guide for 0.34.x
- #6731: @strugee Clarify alternate proxy support status

### Dependencies

- #6736: @dependabot[bot] chore(deps): bump mkdocs-material from 9.5.13 to 9.5.14 in /docs/_build
- #6729: @dependabot[bot] chore(deps): update markdown requirement from <3.6,>=3.2.1 to >=3.2.1,<3.7 in /docs/_build
- #6728: @dependabot[bot] chore(deps): bump zipp from 3.17.0 to 3.18.1 in /docs/_build
- #6727: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 42.1.0 to 43.0.0
- #6723: @dependabot[bot] chore(deps): bump zipp from 3.17.0 to 3.18.0 in /docs/_build
- #6722: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 42.1.0 to 43.0.0
- #6710: @dependabot[bot] chore(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /plugins/scheduler-k3s
- #6709: @dependabot[bot] chore(deps): bump zipp from 3.17.0 to 3.18.0 in /docs/_build

### Other

- #6718: @josegonzalez Write current process id to all acquired lock files
- #6706: @josegonzalez Remove git:unlock command
- #6650: @bastianh Do not expose all containers via traefik by default
- #6632: @josegonzalez Simplify file ownership in the container by setting the process ownership during the build process
- #6630: @josegonzalez Remove unused code for copying cache directories
v0.34.0
2024-03-18 20:16:12 +00:00
Jose Diaz-Gonzalez
df8dd766b6 Merge pull request #6738 from dokku/josegonzalez-patch-1
Update migration guide for 0.34.x
2024-03-18 15:58:05 -04:00
Jose Diaz-Gonzalez
565f736a14 docs: update migration guide for 0.34.x 2024-03-18 15:57:40 -04:00
Jose Diaz-Gonzalez
79d9076383 Merge pull request #6736 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.5.14
chore(deps): bump mkdocs-material from 9.5.13 to 9.5.14 in /docs/_build
2024-03-18 15:49:29 -04:00
dependabot[bot]
e1d67f795d chore(deps): bump mkdocs-material from 9.5.13 to 9.5.14 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.13 to 9.5.14.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.13...9.5.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 19:48:53 +00:00
Jose Diaz-Gonzalez
32f13dcc9b Merge pull request #6701 from dokku/0.34-release
Release 0.34.0
2024-03-18 15:48:08 -04:00
Jose Diaz-Gonzalez
2274eeafda Merge pull request #6731 from strugee/patch-1
Clarify alternate proxy support status
2024-03-18 14:29:43 -04:00
AJ Jordan
4d22ccda78 Clarify alternate proxy support status 2024-03-17 16:34:30 -04:00
Jose Diaz-Gonzalez
c533700f73 Merge pull request #6728 from dokku/dependabot/pip/docs/_build/zipp-3.18.1
chore(deps): bump zipp from 3.17.0 to 3.18.1 in /docs/_build
2024-03-15 11:39:11 -04:00
Jose Diaz-Gonzalez
f42596ad5d Merge branch '0.34-release' into dependabot/pip/docs/_build/zipp-3.18.1 2024-03-15 11:38:58 -04:00
Jose Diaz-Gonzalez
0c5887cc64 Merge pull request #6729 from dokku/dependabot/pip/docs/_build/markdown-gte-3.2.1-and-lt-3.7
chore(deps): update markdown requirement from <3.6,>=3.2.1 to >=3.2.1,<3.7 in /docs/_build
2024-03-15 11:38:43 -04:00
Jose Diaz-Gonzalez
2119268ebc Merge pull request #6727 from dokku/dependabot/github_actions/tj-actions/changed-files-43.0.0
chore(deps): bump tj-actions/changed-files from 42.1.0 to 43.0.0
2024-03-15 11:38:38 -04:00
Jose Diaz-Gonzalez
be9a608d3f Merge pull request #6725 from dokku/4662-warn-on-published-port 2024-03-15 09:43:55 -04:00
dependabot[bot]
ca893cdc4d chore(deps): update markdown requirement in /docs/_build
Updates the requirements on [markdown](https://github.com/Python-Markdown/markdown) to permit the latest version.
- [Release notes](https://github.com/Python-Markdown/markdown/releases)
- [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md)
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.2.1...3.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-15 13:28:18 +00:00
dependabot[bot]
0ab4e2bc99 chore(deps): bump zipp from 3.17.0 to 3.18.1 in /docs/_build
Bumps [zipp](https://github.com/jaraco/zipp) from 3.17.0 to 3.18.1.
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
- [Commits](https://github.com/jaraco/zipp/compare/v3.17.0...v3.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-15 13:28:06 +00:00
dependabot[bot]
9a7c8cdaf6 chore(deps): bump tj-actions/changed-files from 42.1.0 to 43.0.0
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 42.1.0 to 43.0.0.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v42.1.0...v43.0.0)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-15 13:08:19 +00:00
Jose Diaz-Gonzalez
c9b9c2ab25 chore: run shfmt 2024-03-14 15:02:57 -04:00
Jose Diaz-Gonzalez
6e3631afeb fix: correct warning placement and update tests to account for parallel's behavior 2024-03-14 14:59:49 -04:00
Jose Diaz-Gonzalez
36ade1ecd0 tests: add test for port publishing warning 2024-03-14 14:07:15 -04:00
Jose Diaz-Gonzalez
43c255436d feat: warn when publish ports if scaling up or zero downtime is enabled
Closes #4662
2024-03-14 11:53:57 -04:00
Jose Diaz-Gonzalez
a759b03739 Merge pull request #6724 from dokku/git-fix-empty-repo-check
Correctly check if a repository has code or not in git plugin
2024-03-14 10:52:17 -04:00
Jose Diaz-Gonzalez
4b0699023c Merge pull request #6718 from dokku/bashpid-in-cron
Write current process id to all acquired lock files
2024-03-14 10:21:32 -04:00
Jose Diaz-Gonzalez
991b6fdae0 Merge pull request #6723 from dokku/dependabot/pip/docs/_build/zipp-3.18.0
chore(deps): bump zipp from 3.17.0 to 3.18.0 in /docs/_build
2024-03-14 10:13:15 -04:00
Jose Diaz-Gonzalez
159b01e5f8 Merge pull request #6722 from dokku/dependabot/github_actions/tj-actions/changed-files-43.0.0
chore(deps): bump tj-actions/changed-files from 42.1.0 to 43.0.0
2024-03-14 10:12:48 -04:00
Jose Diaz-Gonzalez
efc35ab104 fix: correctly check if a repository has code or not in git plugin 2024-03-14 10:09:14 -04:00
dependabot[bot]
8c6736824d chore(deps): bump zipp from 3.17.0 to 3.18.0 in /docs/_build
Bumps [zipp](https://github.com/jaraco/zipp) from 3.17.0 to 3.18.0.
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
- [Commits](https://github.com/jaraco/zipp/compare/v3.17.0...v3.18.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-14 13:29:19 +00:00
dependabot[bot]
dcd85f577e chore(deps): bump tj-actions/changed-files from 42.1.0 to 43.0.0
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 42.1.0 to 43.0.0.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v42.1.0...v43.0.0)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-14 13:24:12 +00:00
Jose Diaz-Gonzalez
89cff8957f fix: do not unset variables unless re-running as dokku user 2024-03-14 08:18:48 -04:00
Jose Diaz-Gonzalez
83b89453a5 feat: write current process id to all acquired lock files
This allows us to check on what process created a lock.

Additionally, we now always have a DOKKU_PID value, even when running in cron (which does not have access to BASH_PID.
2024-03-14 08:18:35 -04:00
Jose Diaz-Gonzalez
5553da1be1 Merge pull request #6721 from dokku/cron-fix-global
Correct issue where cron properties cannot be retrieved if global
2024-03-14 08:17:33 -04:00
Jose Diaz-Gonzalez
41b0898db9 fix: correct issue where cron properties cannot be retrieved if global 2024-03-14 08:16:55 -04:00
Jose Diaz-Gonzalez
5a5531bce3 Merge pull request #6720 from dokku/nginx-gitignore
Add nginx-property binary to gitignore
2024-03-14 08:16:23 -04:00
Jose Diaz-Gonzalez
54e1b973a6 fix: add nginx-property binary to gitignore 2024-03-14 08:15:40 -04:00
Jose Diaz-Gonzalez
9597943b6b Merge pull request #6719 from dokku/copydokku
feat: add a make target to copy the dokku binary over
2024-03-14 08:06:14 -04:00
Jose Diaz-Gonzalez
e98cbe93cf feat: add a make target to copy the dokku binary over
This is helpful when in local development. While rare, sometimes the dokku binary needs to have some changes applied.
2024-03-14 08:05:50 -04:00
Jose Diaz-Gonzalez
2f2d4f5dd6 Merge pull request #6717 from dokku/6242-git-sync-build-if-changes
Add ability to only build synced repo if there are changes
2024-03-14 07:28:35 -04:00
Jose Diaz-Gonzalez
5d24b10144 chore: run shfmt 2024-03-14 06:10:52 -04:00
Jose Diaz-Gonzalez
58772984cd tests: check that the ref has been updated to the correct value 2024-03-14 05:28:37 -04:00
Jose Diaz-Gonzalez
4de97a1094 feat: add ability to only build synced repo if there are changes
Closes #6242
2024-03-14 04:42:28 -04:00
Jose Diaz-Gonzalez
e470a880f9 Merge pull request #6713 from dokku/6422-remove-plugin-trigger
Use CallPlugnTrigger instead of PlugnTrigger
2024-03-14 04:41:21 -04:00
Jose Diaz-Gonzalez
4bae815f82 chore: remove codeskyblue/go-sh
It has been replaced with alexellis/go-execute.
2024-03-14 03:14:22 -04:00
Jose Diaz-Gonzalez
005eb2e11b fix: detect the error twice
How the output is streamed changed a bit so we need to change the bats test

This will go back to zero if we ever re-implement how the container up starts for the docker-local scheduler.
2024-03-14 03:13:06 -04:00
Jose Diaz-Gonzalez
bb5ab0a777 refactor: use CallPlugnTrigger instead of PlugnTrigger
Refs #6422
2024-03-14 03:11:37 -04:00