Compare commits

...

2743 Commits

Author SHA1 Message Date
Dokku Bot
ba57919dfe Release 0.32.2
# History

## 0.32.2

Install/update via the bootstrap script:

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

### New Features

- #6324: @josegonzalez Update openresty image to 0.6.0

### Documentation

- #6316: @holamendi Fix docs app-exists plugin trigger description

### Dependencies

- #6307: @dependabot[bot] chore(deps): bump luizm/action-sh-checker from 0.7.0 to 0.8.0
- #6308: @dependabot[bot] chore(deps): bump werkzeug from 3.0.0 to 3.0.1 in /tests/apps/python-flask
- #6310: @dependabot[bot] chore(deps): bump github.com/onsi/gomega from 1.28.1 to 1.29.0 in /plugins/config
- #6311: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 39.2.4 to 40.0.0
2023-11-03 07:03:44 +00:00
Jose Diaz-Gonzalez
29f53da0bb Merge pull request #6324 from dokku/josegonzalez-patch-1
Update openresty image to 0.6.0
2023-11-03 03:02:12 -04:00
Jose Diaz-Gonzalez
9bcf9191fb chore: update openresty image to 0.6.0 2023-11-03 03:01:44 -04:00
Jose Diaz-Gonzalez
5f8b1e0ff0 Merge pull request #6316 from holamendi/docs-plugin-trigger-app-exists
Fix docs app-exists plugin trigger description
2023-10-28 23:56:34 +00:00
Pablo
7b209b01f0 docs: Fix app-exists plugin trigger description 2023-10-28 11:20:19 +02:00
Jose Diaz-Gonzalez
fb92be97a2 Merge pull request #6307 from dokku/dependabot/github_actions/luizm/action-sh-checker-0.8.0
chore(deps): bump luizm/action-sh-checker from 0.7.0 to 0.8.0
2023-10-27 23:57:27 +00:00
Jose Diaz-Gonzalez
c1fbe29803 Merge pull request #6308 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-3.0.1
chore(deps): bump werkzeug from 3.0.0 to 3.0.1 in /tests/apps/python-flask
2023-10-27 23:57:14 +00:00
Jose Diaz-Gonzalez
62a1e7c546 Merge pull request #6310 from dokku/dependabot/go_modules/plugins/config/github.com/onsi/gomega-1.29.0
chore(deps): bump github.com/onsi/gomega from 1.28.1 to 1.29.0 in /plugins/config
2023-10-27 23:57:05 +00:00
Jose Diaz-Gonzalez
0312203e01 Merge pull request #6311 from dokku/dependabot/github_actions/tj-actions/changed-files-40.0.0
chore(deps): bump tj-actions/changed-files from 39.2.4 to 40.0.0
2023-10-27 23:56:53 +00:00
dependabot[bot]
a408a01deb chore(deps): bump tj-actions/changed-files from 39.2.4 to 40.0.0
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 39.2.4 to 40.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/v39.2.4...v40.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>
2023-10-26 13:58:18 +00:00
dependabot[bot]
0822394c76 chore(deps): bump github.com/onsi/gomega in /plugins/config
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.28.1 to 1.29.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.28.1...v1.29.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>
2023-10-26 13:40:54 +00:00
Dokku Bot
99da35e6d2 Release 0.32.1
# History

## 0.32.1

Install/update via the bootstrap script:

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

### Bug Fixes

- #6286: @josegonzalez Remove trailing quote on openresty letsencrypt email
- #6287: @josegonzalez Recursively delete old custom openresty includes

### New Features

- #6303: @josegonzalez feat: add the ability to specify location-block includes

### Documentation

- #6288: @josegonzalez Add missing link to nixpacks builder

### Dependencies

- #6306: @dependabot[bot] chore(deps): bump org.apache.maven.plugins:maven-dependency-plugin from 3.6.0 to 3.6.1 in /tests/apps/java
- #6301: @dependabot[bot] chore(deps): bump github.com/onsi/gomega from 1.28.0 to 1.28.1 in /plugins/config
- #6304: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 39.2.3 to 39.2.4
- #6305: @dependabot[bot] chore(deps): bump actions/setup-node from 3 to 4
- #6297: @dependabot[bot] chore(deps): bump node from 20-alpine to 21-alpine in /tests/apps/dockerfile-procfile
- #6292: @dependabot[bot] chore(deps): bump node from 20-alpine to 21-alpine in /tests/apps/dockerfile-procfile-bad
- #6293: @dependabot[bot] chore(deps): bump node from 20-alpine to 21-alpine in /tests/apps/dockerfile
- #6294: @dependabot[bot] chore(deps): bump pymdown-extensions from 10.3 to 10.3.1 in /docs/_build
- #6295: @dependabot[bot] chore(deps): bump node from 20-alpine to 21-alpine in /tests/apps/dockerfile-app-json-formations
- #6296: @dependabot[bot] chore(deps): bump node from 20-alpine to 21-alpine in /tests/apps/dockerfile-noexpose
- #6289: @dependabot[bot] chore(deps): bump mkdocs-material-extensions from 1.2 to 1.3 in /docs/_build
- #6290: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 39.2.2 to 39.2.3
2023-10-25 18:08:12 +00:00
dependabot[bot]
c2675dc6a6 chore(deps): bump werkzeug in /tests/apps/python-flask
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/3.0.0...3.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-25 13:49:21 +00:00
dependabot[bot]
7b2c7ef598 chore(deps): bump luizm/action-sh-checker from 0.7.0 to 0.8.0
Bumps [luizm/action-sh-checker](https://github.com/luizm/action-sh-checker) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/luizm/action-sh-checker/releases)
- [Commits](76ab0b22e1...c6edb3de93)

---
updated-dependencies:
- dependency-name: luizm/action-sh-checker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-25 13:40:09 +00:00
Jose Diaz-Gonzalez
0cf6abe851 Merge pull request #6306 from dokku/dependabot/maven/tests/apps/java/org.apache.maven.plugins-maven-dependency-plugin-3.6.1
chore(deps): bump org.apache.maven.plugins:maven-dependency-plugin from 3.6.0 to 3.6.1 in /tests/apps/java
2023-10-24 23:52:27 +00:00
Jose Diaz-Gonzalez
fb15db11a7 Merge pull request #6301 from dokku/dependabot/go_modules/plugins/config/github.com/onsi/gomega-1.28.1
chore(deps): bump github.com/onsi/gomega from 1.28.0 to 1.28.1 in /plugins/config
2023-10-24 23:52:13 +00:00
Jose Diaz-Gonzalez
0c4d4ff7e2 Merge pull request #6304 from dokku/dependabot/github_actions/tj-actions/changed-files-39.2.4
chore(deps): bump tj-actions/changed-files from 39.2.3 to 39.2.4
2023-10-24 23:40:42 +00:00
Jose Diaz-Gonzalez
a4d1e7350a Merge pull request #6305 from dokku/dependabot/github_actions/actions/setup-node-4
chore(deps): bump actions/setup-node from 3 to 4
2023-10-24 23:39:36 +00:00
dependabot[bot]
ad152a5f8b chore(deps): bump org.apache.maven.plugins:maven-dependency-plugin
Bumps [org.apache.maven.plugins:maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.6.0 to 3.6.1.
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.6.0...maven-dependency-plugin-3.6.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-dependency-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 13:26:47 +00:00
dependabot[bot]
747e9fca12 chore(deps): bump actions/setup-node from 3 to 4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 13:18:43 +00:00
dependabot[bot]
43d86f7846 chore(deps): bump tj-actions/changed-files from 39.2.3 to 39.2.4
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 39.2.3 to 39.2.4.
- [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/v39.2.3...v39.2.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 13:18:36 +00:00
Jose Diaz-Gonzalez
0a9e0d18e9 Merge pull request #6303 from dokku/openresty-location-includes 2023-10-24 00:46:06 -04:00
Jose Diaz-Gonzalez
2ac0e1ee29 fix: properly pass p arg 2023-10-23 23:20:17 -04:00
Jose Diaz-Gonzalez
32d0390215 feat: add the ability to specify location-block includes 2023-10-23 20:11:40 -04:00
dependabot[bot]
c7f6597624 chore(deps): bump github.com/onsi/gomega in /plugins/config
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.28.0 to 1.28.1.
- [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.28.0...v1.28.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 14:14:56 +00:00
Jose Diaz-Gonzalez
a5319827c5 Merge pull request #6297 from dokku/dependabot/docker/tests/apps/dockerfile-procfile/node-21-alpine 2023-10-22 21:46:50 -04:00
Jose Diaz-Gonzalez
d0c4ce0a63 Merge pull request #6292 from dokku/dependabot/docker/tests/apps/dockerfile-procfile-bad/node-21-alpine 2023-10-22 21:46:33 -04:00
dependabot[bot]
75e1f72d8d chore(deps): bump node in /tests/apps/dockerfile-procfile
Bumps node from 20-alpine to 21-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 01:46:33 +00:00
Jose Diaz-Gonzalez
056e9301d6 Merge pull request #6293 from dokku/dependabot/docker/tests/apps/dockerfile/node-21-alpine 2023-10-22 21:46:24 -04:00
dependabot[bot]
9bcff32879 chore(deps): bump node in /tests/apps/dockerfile-procfile-bad
Bumps node from 20-alpine to 21-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 01:46:17 +00:00
Jose Diaz-Gonzalez
52cf42876c Merge pull request #6294 from dokku/dependabot/pip/docs/_build/pymdown-extensions-10.3.1 2023-10-22 21:46:13 -04:00
Jose Diaz-Gonzalez
b0bd00429c Merge pull request #6295 from dokku/dependabot/docker/tests/apps/dockerfile-app-json-formations/node-21-alpine 2023-10-22 21:45:53 -04:00
Jose Diaz-Gonzalez
8b829cf0f6 Merge pull request #6296 from dokku/dependabot/docker/tests/apps/dockerfile-noexpose/node-21-alpine 2023-10-22 21:45:43 -04:00
dependabot[bot]
cbadda53d1 chore(deps): bump node in /tests/apps/dockerfile-noexpose
Bumps node from 20-alpine to 21-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-20 13:37:14 +00:00
dependabot[bot]
412468b6eb chore(deps): bump node in /tests/apps/dockerfile-app-json-formations
Bumps node from 20-alpine to 21-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-20 13:34:24 +00:00
dependabot[bot]
16e06bbf33 chore(deps): bump pymdown-extensions from 10.3 to 10.3.1 in /docs/_build
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.3 to 10.3.1.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.3...10.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-20 13:25:48 +00:00
dependabot[bot]
c6c1d745c3 chore(deps): bump node in /tests/apps/dockerfile
Bumps node from 20-alpine to 21-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-20 13:17:35 +00:00
Jose Diaz-Gonzalez
a062f938f1 Merge pull request #6286 from dokku/josegonzalez-patch-1
Remove trailing slash on openresty letsencrypt email
2023-10-17 12:09:35 -04:00
Jose Diaz-Gonzalez
5a699dce08 Merge pull request #6287 from dokku/josegonzalez-patch-2
Recursively delete old custom openresty includes
2023-10-17 12:09:26 -04:00
Jose Diaz-Gonzalez
d8e4b7d8f8 Merge pull request #6288 from dokku/josegonzalez-patch-3
Add missing link to nixpacks builder
2023-10-17 12:09:12 -04:00
Jose Diaz-Gonzalez
92e7c76e7a Merge pull request #6289 from dokku/dependabot/pip/docs/_build/mkdocs-material-extensions-1.3
chore(deps): bump mkdocs-material-extensions from 1.2 to 1.3 in /docs/_build
2023-10-17 12:08:59 -04:00
Jose Diaz-Gonzalez
cededa6867 Merge pull request #6290 from dokku/dependabot/github_actions/tj-actions/changed-files-39.2.3
chore(deps): bump tj-actions/changed-files from 39.2.2 to 39.2.3
2023-10-17 12:08:44 -04:00
dependabot[bot]
bd4c201d1a chore(deps): bump tj-actions/changed-files from 39.2.2 to 39.2.3
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 39.2.2 to 39.2.3.
- [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/v39.2.2...v39.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-17 14:03:30 +00:00
dependabot[bot]
05659986cc chore(deps): bump mkdocs-material-extensions in /docs/_build
Bumps [mkdocs-material-extensions](https://github.com/facelessuser/mkdocs-material-extensions) from 1.2 to 1.3.
- [Release notes](https://github.com/facelessuser/mkdocs-material-extensions/releases)
- [Changelog](https://github.com/facelessuser/mkdocs-material-extensions/blob/master/changelog.md)
- [Commits](https://github.com/facelessuser/mkdocs-material-extensions/compare/1.2...1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-17 13:41:38 +00:00
Jose Diaz-Gonzalez
6037e1ea0b docs: add missing link to nixpacks builder 2023-10-17 08:53:23 -04:00
Jose Diaz-Gonzalez
cbdba71a8b fix: recursively delete old custom openresty includes
Without this, deploys would fail if there were any non-empty include directories
2023-10-17 08:50:47 -04:00
Jose Diaz-Gonzalez
718713ca13 fix: remove trailing slash on openresty letsencrypt email 2023-10-17 08:44:27 -04:00
Dokku Bot
5cfbef70b2 Release 0.32.0
# History

## 0.32.0

Install/update via the bootstrap script:

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

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

### New Features

- #6277: @josegonzalez Run ps:restore in parallel by default
- #6276: @josegonzalez Warn when incorrect interface/port in use for web processes
- #6132: @josegonzalez Add the ability to specify a custom mailto for all cron output
- #6124: @josegonzalez Add a shell function to check if a plugin trigger exists
- #5348: @josegonzalez Add nixpacks builder support

### Removals

- #6283: @josegonzalez Remove deprecated proxy-ports functions and and plugin subcommands

### Deprecations

- #6127: @josegonzalez Deprecate the builder-specific pre-release-* triggers in favor of a global pre-release-builder trigger
- #6126: @josegonzalez Deprecate the builder-specific post-build-* triggers in favor of a global post-build trigger
- #6125: @josegonzalez Deprecate the builder-specific pre-build-* triggers in favor of a global pre-build trigger

### Documentation

- #6284: @josegonzalez Document future removal of deprecated CHECKS file format
- #6123: @josegonzalez Add a migration guide for 0.32.x

### Dependencies

- #6285: @dependabot[bot] chore(deps): bump mkdocs-material from 9.4.5 to 9.4.6 in /docs/_build
- #6281: @josegonzalez Upgrade golang to 1.21

### Other

- #6155: @josegonzalez Remove ARM support
2023-10-17 04:58:22 +00:00
Jose Diaz-Gonzalez
0d3b33bfdf fix: set correct version for builder-nixpacks plugin 2023-10-17 00:56:47 -04:00
Jose Diaz-Gonzalez
4dbdcc0bea Merge pull request #6282 from dokku/0.32-release
Release 0.32.0
2023-10-17 00:55:30 -04:00
Jose Diaz-Gonzalez
b3e752c5bb Merge pull request #6285 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.4.6
chore(deps): bump mkdocs-material from 9.4.5 to 9.4.6 in /docs/_build
2023-10-16 16:39:11 -04:00
Jose Diaz-Gonzalez
5e72bfabad Merge pull request #6283 from dokku/remove-deprecated-proxy-code
Remove deprecated proxy-ports functions and and plugin subcommands
2023-10-16 16:38:30 -04:00
Jose Diaz-Gonzalez
8dfee06c31 Merge pull request #6281 from dokku/upgrade-golang
Upgrade golang to 1.21
2023-10-16 16:38:09 -04:00
dependabot[bot]
787829e263 chore(deps): bump mkdocs-material from 9.4.5 to 9.4.6 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.4.5 to 9.4.6.
- [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.4.5...9.4.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 13:53:54 +00:00
Jose Diaz-Gonzalez
30b8a25ced feat: upgrade golang to 1.21 2023-10-16 01:10:02 -04:00
Jose Diaz-Gonzalez
e23dcb4abe Merge pull request #6284 from dokku/checks-deprecation
Document future removal of deprecated CHECKS file format
2023-10-16 00:49:03 -04:00
Jose Diaz-Gonzalez
1adbcf7e2d docs: document future removal of deprecated CHECKS file format
This will be removed in the future in favor of defining healthchecks in the app.json file.
2023-10-16 00:21:16 -04:00
Jose Diaz-Gonzalez
126a3ed509 chore: remove deprecated proxy-ports functions and and plugin subcommands
These were deprecated in 0.31.0 in favor of the ports plugin.
2023-10-16 00:18:39 -04:00
Jose Diaz-Gonzalez
f33d7f129b feat: warn when incorrect interface/port in use for web processes
Users that misconfigure their process's listening interface or port will now see an additional healthcheck warning for web deploys. While only a single port is checked, this ensures that users at least have some context as to why their app isn't responding as expected.

Closes #4798
2023-10-15 20:25:09 -04:00
Jose Diaz-Gonzalez
ab8a957786 feat: run ps:restore in parallel by default
This will speed up restores in cases where app containers disappear on reboot or have new IPs, which primarily impacts the docker-local scheduler in conjunction with nginx.

Closes #4967
2023-10-15 20:25:09 -04:00
Jose Diaz-Gonzalez
fe6a0f796e feat: add support for nixpacks as a builder
Closes #5338
2023-10-15 20:25:09 -04:00
Jose Diaz-Gonzalez
76a979e139 chore: remove ARM support
Building/testing for ARM does not happen often - the only runtime environment is Raspberry PI, which supports ARM64 - and complicates support for a ton of features. Aside from that, CI runs are much longer for ARM Dokku images, often reaching 15-20 minutes or just timing out completely.

Rather than support an architecture that doesn't have much usage by maintainers and has a lot of maintenance burden, we're removing the platform.
2023-10-15 20:25:09 -04:00
Jose Diaz-Gonzalez
c23e878e7d feat: add the ability to specify a custom mailto for all cron output 2023-10-15 20:25:09 -04:00
Jose Diaz-Gonzalez
a433508fb1 chore: deprecate the builder-specific pre-build-* triggers in favor of a global pre-build trigger
The pre-build trigger takes a `BUILDER_TYPE` parameter, allowing folks to perform specific actions as needed.
2023-10-15 20:25:09 -04:00
Jose Diaz-Gonzalez
b19b409dd6 chore: deprecate the builder-specific post-build-* triggers in favor of a global post-build trigger
The pre-build trigger takes a `BUILDER_TYPE` parameter, allowing folks to perform specific actions as needed.
2023-10-15 20:25:09 -04:00
Jose Diaz-Gonzalez
cdd5698db9 chore: deprecate the builder-specific pre-release-* triggers in favor of a global pre-release-builder trigger
The pre-release-builder trigger takes a `BUILDER_TYPE` parameter, allowing folks to perform specific actions as needed.
2023-10-15 20:25:09 -04:00
Jose Diaz-Gonzalez
ffc64e7d8b feat: add a shell function to check if a plugin trigger exists 2023-10-15 20:25:08 -04:00
Jose Diaz-Gonzalez
4a43eeaaa8 docs: add a migration guide for 0.32.x 2023-10-15 20:25:08 -04:00
Jose Diaz-Gonzalez
c41cf0c4a3 Merge pull request #6280 from dokku/remove-more-bionic
Remove more references to ubuntu bionic
2023-10-15 20:23:05 -04:00
Jose Diaz-Gonzalez
859b87fadd fix: remove more references to ubuntu bionic 2023-10-15 20:21:44 -04:00
Dokku Bot
358da862c8 Release 0.31.5
# History

## 0.31.5

Install/update via the bootstrap script:

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

### Bug Fixes

- #6275: @josegonzalez Update message referencing CHECKS file usage to app.json
- #6273: @josegonzalez Clean up local build images immediately after an image is released

### New Features

- #6274: @josegonzalez Add more version output to dokku report command
- #6255: @josegonzalez Add ci concurrency to linting workflow
- #6253: @josegonzalez Add ci concurrency to doc building
- #6254: @josegonzalez Add ci concurrency to codeql analysis
- #6222: @josegonzalez Install docker-buildx-plugin to silence buildx warnings

### Refactors

- #6257: @josegonzalez Manage Dokku system dependencies in a single file

### Documentation

- #6271: @josegonzalez Update list of official, community, and deprecated plugins
- #6224: @joeyates Correct typo in example app.json for healthchecks
- #6207: @AlejandroAkbal Update port clearing command in Dockerfile deploy documentation

### Tests

- #6278: @josegonzalez Remove pack installation from builder-lambda tests

### Dependencies

- #6269: @dependabot[bot] chore(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 in /plugins/common
- #6270: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 39.2.1 to 39.2.2
- #6262: @dependabot[bot] chore(deps): bump golang from 1.21.2 to 1.21.3 in /tests/apps/zombies-dockerfile-no-tini
- #6263: @dependabot[bot] chore(deps): bump golang.org/x/net from 0.16.0 to 0.17.0 in /tests/apps/gogrpc
- #6264: @dependabot[bot] chore(deps): bump golang from 1.21.2 to 1.21.3 in /tests/apps/zombies-dockerfile-tini
- #6265: @dependabot[bot] chore(deps): bump golang from 1.21.2 to 1.21.3 in /tests/apps/go-fail-predeploy
- #6259: @dependabot[bot] chore(deps): bump org.eclipse.jetty:jetty-servlet from 11.0.16 to 11.0.17 in /tests/apps/java
- #6260: @dependabot[bot] chore(deps): bump mkdocs-material from 9.4.4 to 9.4.5 in /docs/_build
- #6261: @dependabot[bot] chore(deps): bump golang from 1.21.2 to 1.21.3 in /tests/apps/gogrpc
- #6266: @dependabot[bot] chore(deps): bump golang from 1.21.2 to 1.21.3 in /tests/apps/go-fail-postdeploy
- #6258: @dependabot[bot] chore(deps): update markdown requirement from <3.5,>=3.2.1 to >=3.2.1,<3.6 in /docs/_build
- #6256: @josegonzalez chore: bump github.com/otiai10/copy and golang.org/x/sync
- #6241: @dependabot[bot] chore(deps): bump python from 3.11.5-alpine to 3.12.0-alpine in /docs/_build
- #6252: @dependabot[bot] chore(deps): bump mkdocs-material from 9.4.2 to 9.4.4 in /docs/_build
- #6235: @dependabot[bot] chore(deps): bump packaging from 23.1 to 23.2 in /docs/_build
- #6232: @dependabot[bot] chore(deps): bump werkzeug from 2.3.7 to 3.0.0 in /tests/apps/python-flask
- #6231: @dependabot[bot] chore(deps): bump flask from 2.3.3 to 3.0.0 in /tests/apps/python-flask
- #6248: @dependabot[bot] chore(deps): bump golang from 1.21.1 to 1.21.2 in /tests/apps/gogrpc
- #6251: @dependabot[bot] chore(deps): bump golang from 1.21.1 to 1.21.2 in /tests/apps/zombies-dockerfile-tini
- #6250: @dependabot[bot] chore(deps): bump golang.org/x/net from 0.15.0 to 0.16.0 in /tests/apps/gogrpc
- #6249: @dependabot[bot] chore(deps): bump golang from 1.21.1 to 1.21.2 in /tests/apps/go-fail-predeploy
- #6247: @dependabot[bot] chore(deps): bump golang from 1.21.1 to 1.21.2 in /tests/apps/zombies-dockerfile-no-tini
- #6246: @dependabot[bot] chore(deps): bump golang from 1.21.1 to 1.21.2 in /tests/apps/go-fail-postdeploy
- #6245: @dependabot[bot] chore(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 in /plugins/scheduler-docker-local
- #6233: @dependabot[bot] chore(deps): bump flask from 2.3.3 to 3.0.0 in /tests/apps/multi
- #6239: @dependabot[bot] chore(deps): bump github.com/otiai10/copy from 1.12.0 to 1.14.0 in /plugins/ps
- #6234: @dependabot[bot] chore(deps): bump github.com/otiai10/copy from 1.12.0 to 1.14.0 in /plugins/builder
- #6240: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 39.2.0 to 39.2.1
- #6228: @josegonzalez Update all go modules and ensure all are tracked in dependabot
- #6227: @dependabot[bot] chore(deps): bump github.com/onsi/gomega from 1.27.10 to 1.28.0 in /plugins/common
- #6216: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 39.1.2 to 39.2.0
- #6217: @dependabot[bot] chore(deps): bump mkdocs-material from 9.4.1 to 9.4.2 in /docs/_build
- #6215: @dependabot[bot] chore(deps): bump mkdocs-material from 9.3.1 to 9.4.1 in /docs/_build
- #6214: @dependabot[bot] chore(deps): bump mkdocs-material-extensions from 1.1.1 to 1.2 in /docs/_build
- #6209: @dependabot[bot] chore(deps): bump zipp from 3.16.2 to 3.17.0 in /docs/_build
- #6211: @dependabot[bot] chore(deps): bump mkdocs from 1.5.2 to 1.5.3 in /docs/_build
- #6213: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 39.0.2 to 39.1.2
- #6202: @dependabot[bot] chore(deps): bump docker/setup-buildx-action from 2 to 3
- #6199: @dependabot[bot] chore(deps): bump docker/login-action from 2 to 3
- #6200: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 39.0.0 to 39.0.2
- #6201: @dependabot[bot] chore(deps): bump docker/setup-qemu-action from 2 to 3
- #6203: @dependabot[bot] chore(deps): bump mkdocs-material from 9.2.8 to 9.3.1 in /docs/_build
2023-10-15 23:32:29 +00:00
Jose Diaz-Gonzalez
bf44d685a1 Merge pull request #6278 from dokku/josegonzalez-patch-1
Remove pack installation from builder-lambda tests
2023-10-15 05:02:38 -04:00
Jose Diaz-Gonzalez
4503045d8a chore: remove pack installation from builder-lambda tests
It isn't necessary and causes false-negatives when pack isn't able to be installed.
2023-10-15 03:46:20 -04:00
Jose Diaz-Gonzalez
44716c7146 Merge pull request #6275 from dokku/6205-update-checks-warning
Update message referencing CHECKS file usage to app.json
2023-10-15 01:28:24 -04:00
Jose Diaz-Gonzalez
8a15779c8d fix: upgrade docker-container-healthchecker to include exists command 2023-10-15 00:47:07 -04:00
Jose Diaz-Gonzalez
a89b8d6213 chore: convert all CHECKS files to healthchecks 2023-10-15 00:22:24 -04:00
Jose Diaz-Gonzalez
678757d55f fix: update message referencing CHECKS file usage to app.json
Refs #6205
2023-10-15 00:09:32 -04:00
Jose Diaz-Gonzalez
4c2f939480 Merge pull request #6274 from dokku/more-report-output
Add more version output to dokku report command
2023-10-14 23:38:45 -04:00
Jose Diaz-Gonzalez
4d6bd92b24 Merge pull request #6273 from dokku/6272-force-clean-intermediate-images
Clean up local build images immediately after an image is released
2023-10-14 23:32:49 -04:00
Jose Diaz-Gonzalez
5886339da7 feat: add more version output to dokku report command 2023-10-14 22:57:31 -04:00
Jose Diaz-Gonzalez
64ff701cd8 fix: clean up local build images immediately after an image is released
In some cases, we might hold onto intermediate images until the next deploy. While these images are generally part of newer images - and are therefore cleaned up when the child images are no longer in use - they cruft up the 'docker image ls' output, causing some folks to believe Dokku is not cleaning up images.

Refs #6272
2023-10-14 22:36:31 -04:00
Jose Diaz-Gonzalez
29a72d9aed Merge pull request #6269 from dokku/dependabot/go_modules/plugins/common/golang.org/x/net-0.17.0
chore(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 in /plugins/common
2023-10-14 02:09:10 -07:00
Jose Diaz-Gonzalez
40620538dd Merge pull request #6257 from dokku/dependency-management
Manage Dokku system dependencies in a single file
2023-10-14 01:55:40 -07:00
Jose Diaz-Gonzalez
944c12f734 chore: update all plugins 2023-10-14 04:02:20 -04:00
Jose Diaz-Gonzalez
934a6b5cd5 feat: manage Dokku system dependencies in a single file
This will allow us to more quickly update a dependency by adding support so that downstream repos can auto-push updates to the main repo when there is a release.
2023-10-14 03:49:25 -04:00
Jose Diaz-Gonzalez
aaf4c1d7d1 Merge pull request #6271 from dokku/update-plugin-docs
Update list of official, community, and deprecated plugins
2023-10-14 00:28:33 -07:00
Jose Diaz-Gonzalez
dc865ceb9a docs: update list of official, community, and deprecated plugins 2023-10-14 03:28:11 -04:00
dependabot[bot]
978179181c chore(deps): bump golang.org/x/net in /plugins/common
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-14 02:09:30 +00:00
Jose Diaz-Gonzalez
97ae4bf17e Merge pull request #6270 from dokku/dependabot/github_actions/tj-actions/changed-files-39.2.2
chore(deps): bump tj-actions/changed-files from 39.2.1 to 39.2.2
2023-10-13 19:09:04 -07:00
Jose Diaz-Gonzalez
2e1b98ff8f Merge pull request #6262 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.21.3
chore(deps): bump golang from 1.21.2 to 1.21.3 in /tests/apps/zombies-dockerfile-no-tini
2023-10-13 19:08:56 -07:00
Jose Diaz-Gonzalez
4e846f53d8 Merge pull request #6263 from dokku/dependabot/go_modules/tests/apps/gogrpc/golang.org/x/net-0.17.0
chore(deps): bump golang.org/x/net from 0.16.0 to 0.17.0 in /tests/apps/gogrpc
2023-10-13 19:08:27 -07:00
dependabot[bot]
5554397658 chore(deps): bump tj-actions/changed-files from 39.2.1 to 39.2.2
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 39.2.1 to 39.2.2.
- [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/v39.2.1...v39.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-12 13:07:11 +00:00
dependabot[bot]
b880029956 chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
Bumps golang from 1.21.2 to 1.21.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 22:49:52 +00:00
Jose Diaz-Gonzalez
3c36970655 Merge pull request #6264 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.21.3
chore(deps): bump golang from 1.21.2 to 1.21.3 in /tests/apps/zombies-dockerfile-tini
2023-10-11 18:48:34 -04:00
Jose Diaz-Gonzalez
0c8267e0d2 Merge pull request #6265 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.21.3
chore(deps): bump golang from 1.21.2 to 1.21.3 in /tests/apps/go-fail-predeploy
2023-10-11 18:48:21 -04:00
dependabot[bot]
98be085425 chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
Bumps golang from 1.21.2 to 1.21.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 20:43:13 +00:00
dependabot[bot]
4455b495e0 chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.21.2 to 1.21.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 20:42:25 +00:00
Jose Diaz-Gonzalez
2ff642bd2f Merge pull request #6259 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.17
chore(deps): bump org.eclipse.jetty:jetty-servlet from 11.0.16 to 11.0.17 in /tests/apps/java
2023-10-11 16:40:53 -04:00
Jose Diaz-Gonzalez
c745e05382 Merge pull request #6260 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.4.5
chore(deps): bump mkdocs-material from 9.4.4 to 9.4.5 in /docs/_build
2023-10-11 16:40:45 -04:00
Jose Diaz-Gonzalez
96f9c66144 Merge pull request #6261 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.21.3
chore(deps): bump golang from 1.21.2 to 1.21.3 in /tests/apps/gogrpc
2023-10-11 16:40:36 -04:00
Jose Diaz-Gonzalez
c84089cc11 Merge pull request #6266 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.21.3
chore(deps): bump golang from 1.21.2 to 1.21.3 in /tests/apps/go-fail-postdeploy
2023-10-11 16:40:21 -04:00
dependabot[bot]
7190270c0e chore(deps): bump golang in /tests/apps/go-fail-postdeploy
Bumps golang from 1.21.2 to 1.21.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 13:48:30 +00:00
dependabot[bot]
7c93c490d0 chore(deps): bump golang.org/x/net in /tests/apps/gogrpc
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 13:26:13 +00:00
dependabot[bot]
46de39b792 chore(deps): bump golang from 1.21.2 to 1.21.3 in /tests/apps/gogrpc
Bumps golang from 1.21.2 to 1.21.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 13:16:30 +00:00
dependabot[bot]
03571b200f chore(deps): bump mkdocs-material from 9.4.4 to 9.4.5 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.4.4 to 9.4.5.
- [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.4.4...9.4.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 13:49:33 +00:00
dependabot[bot]
97cf966b22 chore(deps): bump org.eclipse.jetty:jetty-servlet in /tests/apps/java
Bumps [org.eclipse.jetty:jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.16 to 11.0.17.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.16...jetty-11.0.17)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-servlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 13:16:14 +00:00
Jose Diaz-Gonzalez
09116cb42b Merge pull request #6258 from dokku/dependabot/pip/docs/_build/markdown-gte-3.2.1-and-lt-3.6
chore(deps): update markdown requirement from <3.5,>=3.2.1 to >=3.2.1,<3.6 in /docs/_build
2023-10-09 20:33:58 -04:00
dependabot[bot]
1204e8b4c0 chore(deps): update markdown requirement in /docs/_build
Updates the requirements on [markdown](https://github.com/Python-Markdown/markdown) to permit the latest version.
- [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md)
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.2.1...3.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 13:28:48 +00:00
Jose Diaz-Gonzalez
0646cee6c8 Merge pull request #6256 from dokku/update-dependencies
chore: bump github.com/otiai10/copy and golang.org/x/sync
2023-10-07 01:05:28 -04:00
Jose Diaz-Gonzalez
baf3d347f0 chore: bump github.com/otiai10/copy and golang.org/x/sync 2023-10-06 23:21:34 -04:00
Jose Diaz-Gonzalez
bb019f9bcb Merge pull request #6255 from dokku/josegonzalez-patch-3
Add ci concurrency to linting workflow
2023-10-06 23:17:36 -04:00
Jose Diaz-Gonzalez
3688365e5d feat: add ci concurrency to linting workflow 2023-10-06 23:17:23 -04:00
Jose Diaz-Gonzalez
fc942f20c1 Merge pull request #6253 from dokku/josegonzalez-patch-2
feat: add ci concurrency to doc building
2023-10-06 23:16:48 -04:00
Jose Diaz-Gonzalez
cf35d913f9 Merge pull request #6254 from dokku/josegonzalez-patch-1
Add ci concurrency to codeql analysis
2023-10-06 23:16:42 -04:00
Jose Diaz-Gonzalez
cef902e315 feat: add ci concurrency to doc building 2023-10-06 23:16:24 -04:00
Jose Diaz-Gonzalez
b382aedcee feat: add ci concurrency to codeql analysis 2023-10-06 23:16:04 -04:00
Jose Diaz-Gonzalez
6538f076d2 Merge pull request #6241 from dokku/dependabot/docker/docs/_build/python-3.12.0-alpine
chore(deps): bump python from 3.11.5-alpine to 3.12.0-alpine in /docs/_build
2023-10-06 23:11:09 -04:00
Jose Diaz-Gonzalez
2acc7976d0 Merge pull request #6252 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.4.4
chore(deps): bump mkdocs-material from 9.4.2 to 9.4.4 in /docs/_build
2023-10-06 23:11:03 -04:00
Jose Diaz-Gonzalez
378a228ab7 Merge pull request #6235 from dokku/dependabot/pip/docs/_build/packaging-23.2
chore(deps): bump packaging from 23.1 to 23.2 in /docs/_build
2023-10-06 23:10:56 -04:00
Jose Diaz-Gonzalez
8c0b069171 Merge pull request #6232 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-3.0.0
chore(deps): bump werkzeug from 2.3.7 to 3.0.0 in /tests/apps/python-flask
2023-10-06 23:10:49 -04:00
Jose Diaz-Gonzalez
fd97c1721d Merge pull request #6231 from dokku/dependabot/pip/tests/apps/python-flask/flask-3.0.0
chore(deps): bump flask from 2.3.3 to 3.0.0 in /tests/apps/python-flask
2023-10-06 23:10:43 -04:00
Jose Diaz-Gonzalez
53b7ce0dc6 Merge pull request #6248 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.21.2
chore(deps): bump golang from 1.21.1 to 1.21.2 in /tests/apps/gogrpc
2023-10-06 23:10:25 -04:00
Jose Diaz-Gonzalez
483612bc10 Merge pull request #6251 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.21.2
chore(deps): bump golang from 1.21.1 to 1.21.2 in /tests/apps/zombies-dockerfile-tini
2023-10-06 23:10:20 -04:00
Jose Diaz-Gonzalez
417130a760 Merge pull request #6250 from dokku/dependabot/go_modules/tests/apps/gogrpc/golang.org/x/net-0.16.0
chore(deps): bump golang.org/x/net from 0.15.0 to 0.16.0 in /tests/apps/gogrpc
2023-10-06 23:10:12 -04:00
Jose Diaz-Gonzalez
7cfed12584 Merge pull request #6249 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.21.2
chore(deps): bump golang from 1.21.1 to 1.21.2 in /tests/apps/go-fail-predeploy
2023-10-06 23:10:05 -04:00
Jose Diaz-Gonzalez
b77c856120 Merge pull request #6247 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.21.2
chore(deps): bump golang from 1.21.1 to 1.21.2 in /tests/apps/zombies-dockerfile-no-tini
2023-10-06 23:09:59 -04:00
Jose Diaz-Gonzalez
e2cafe1599 Merge pull request #6246 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.21.2
chore(deps): bump golang from 1.21.1 to 1.21.2 in /tests/apps/go-fail-postdeploy
2023-10-06 23:09:54 -04:00
Jose Diaz-Gonzalez
46bd543bc9 Merge pull request #6245 from dokku/dependabot/go_modules/plugins/scheduler-docker-local/golang.org/x/sync-0.4.0
chore(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 in /plugins/scheduler-docker-local
2023-10-06 23:09:49 -04:00
Jose Diaz-Gonzalez
41cd4587a7 Merge pull request #6233 from dokku/dependabot/pip/tests/apps/multi/flask-3.0.0
chore(deps): bump flask from 2.3.3 to 3.0.0 in /tests/apps/multi
2023-10-06 23:09:43 -04:00
Jose Diaz-Gonzalez
25b702e7d6 Merge pull request #6239 from dokku/dependabot/go_modules/plugins/ps/github.com/otiai10/copy-1.14.0
chore(deps): bump github.com/otiai10/copy from 1.12.0 to 1.14.0 in /plugins/ps
2023-10-06 23:09:20 -04:00
Jose Diaz-Gonzalez
46641f8fc7 Merge pull request #6234 from dokku/dependabot/go_modules/plugins/builder/github.com/otiai10/copy-1.14.0
chore(deps): bump github.com/otiai10/copy from 1.12.0 to 1.14.0 in /plugins/builder
2023-10-06 23:09:14 -04:00
Jose Diaz-Gonzalez
a5292abe03 Merge pull request #6240 from dokku/dependabot/github_actions/tj-actions/changed-files-39.2.1
chore(deps): bump tj-actions/changed-files from 39.2.0 to 39.2.1
2023-10-06 23:08:52 -04:00
dependabot[bot]
db4becf56f chore(deps): bump mkdocs-material from 9.4.2 to 9.4.4 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.4.2 to 9.4.4.
- [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.4.2...9.4.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 13:31:33 +00:00
dependabot[bot]
c0ef4d0e4c chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
Bumps golang from 1.21.1 to 1.21.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 13:31:01 +00:00
dependabot[bot]
80b7856732 chore(deps): bump golang.org/x/net in /tests/apps/gogrpc
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 13:30:46 +00:00
dependabot[bot]
be693fa3cd chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.21.1 to 1.21.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 13:27:36 +00:00
dependabot[bot]
b9bb78fc33 chore(deps): bump golang from 1.21.1 to 1.21.2 in /tests/apps/gogrpc
Bumps golang from 1.21.1 to 1.21.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 13:25:16 +00:00
dependabot[bot]
37d6e12124 chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
Bumps golang from 1.21.1 to 1.21.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 13:23:17 +00:00
dependabot[bot]
db99f8c2be chore(deps): bump golang in /tests/apps/go-fail-postdeploy
Bumps golang from 1.21.1 to 1.21.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 13:20:09 +00:00
dependabot[bot]
a4d3ade82b chore(deps): bump golang.org/x/sync in /plugins/scheduler-docker-local
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.3.0 to 0.4.0.
- [Commits](https://github.com/golang/sync/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-05 14:08:30 +00:00
dependabot[bot]
d4cf202d7a chore(deps): bump python in /docs/_build
Bumps python from 3.11.5-alpine to 3.12.0-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-03 13:36:51 +00:00
dependabot[bot]
f8faf51e66 chore(deps): bump tj-actions/changed-files from 39.2.0 to 39.2.1
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 39.2.0 to 39.2.1.
- [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/v39.2.0...v39.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-03 13:05:34 +00:00
dependabot[bot]
99ba76a40f chore(deps): bump github.com/otiai10/copy in /plugins/ps
Bumps [github.com/otiai10/copy](https://github.com/otiai10/copy) from 1.12.0 to 1.14.0.
- [Release notes](https://github.com/otiai10/copy/releases)
- [Commits](https://github.com/otiai10/copy/compare/v1.12.0...v1.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 14:01:31 +00:00
dependabot[bot]
31de4dd5a4 chore(deps): bump packaging from 23.1 to 23.2 in /docs/_build
Bumps [packaging](https://github.com/pypa/packaging) from 23.1 to 23.2.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/23.1...23.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 13:47:36 +00:00
dependabot[bot]
a1959a7036 chore(deps): bump github.com/otiai10/copy in /plugins/builder
Bumps [github.com/otiai10/copy](https://github.com/otiai10/copy) from 1.12.0 to 1.14.0.
- [Release notes](https://github.com/otiai10/copy/releases)
- [Commits](https://github.com/otiai10/copy/compare/v1.12.0...v1.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 13:45:20 +00:00
dependabot[bot]
e8f5b2efcf chore(deps): bump flask from 2.3.3 to 3.0.0 in /tests/apps/multi
Bumps [flask](https://github.com/pallets/flask) from 2.3.3 to 3.0.0.
- [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.3.3...3.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 13:45:16 +00:00
dependabot[bot]
bfc60816e5 chore(deps): bump werkzeug in /tests/apps/python-flask
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.3.7 to 3.0.0.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.3.7...3.0.0)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 13:21:17 +00:00
dependabot[bot]
861b28edb9 chore(deps): bump flask from 2.3.3 to 3.0.0 in /tests/apps/python-flask
Bumps [flask](https://github.com/pallets/flask) from 2.3.3 to 3.0.0.
- [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.3.3...3.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 13:21:12 +00:00
Jose Diaz-Gonzalez
a77c27d088 Merge pull request #6228 from dokku/update-dependencies
Update all go modules and ensure all are tracked in dependabot
2023-09-29 00:09:59 -04:00
Jose Diaz-Gonzalez
978644c1f7 chore: update all go modules and ensure all are tracked in dependabot 2023-09-28 23:34:37 -04:00
Jose Diaz-Gonzalez
dbb42cf18c Merge pull request #6224 from joeyates/patch-1
Correct typo in example app.json for healthchecks
2023-09-28 23:16:51 -04:00
Jose Diaz-Gonzalez
b6a917492f Merge pull request #6227 from dokku/dependabot/go_modules/plugins/common/github.com/onsi/gomega-1.28.0
chore(deps): bump github.com/onsi/gomega from 1.27.10 to 1.28.0 in /plugins/common
2023-09-28 23:16:18 -04:00
dependabot[bot]
23efb7295c chore(deps): bump github.com/onsi/gomega in /plugins/common
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.10 to 1.28.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.27.10...v1.28.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>
2023-09-28 13:54:06 +00:00
Joe Yates
38765ec07d Correct typo in example JSON 2023-09-27 15:49:00 +01:00
Jose Diaz-Gonzalez
2911772244 Merge pull request #6222 from dokku/6221-silence-warnings
Install docker-buildx-plugin to silence buildx warnings
2023-09-26 00:08:20 -04:00
Jose Diaz-Gonzalez
e49cb50e67 feat: install docker-buildx-plugin to silence buildx warnings
Closes #6221
2023-09-25 21:14:34 -04:00
Jose Diaz-Gonzalez
a0af2139b4 Merge pull request #6216 from dokku/dependabot/github_actions/tj-actions/changed-files-39.2.0
chore(deps): bump tj-actions/changed-files from 39.1.2 to 39.2.0
2023-09-25 12:02:46 -04:00
Jose Diaz-Gonzalez
9cb847bf23 Merge pull request #6217 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.4.2
chore(deps): bump mkdocs-material from 9.4.1 to 9.4.2 in /docs/_build
2023-09-25 12:02:36 -04:00
dependabot[bot]
71e5ffac5b chore(deps): bump mkdocs-material from 9.4.1 to 9.4.2 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.4.1 to 9.4.2.
- [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.4.1...9.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 13:36:21 +00:00
dependabot[bot]
fbcc667ca0 chore(deps): bump tj-actions/changed-files from 39.1.2 to 39.2.0
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 39.1.2 to 39.2.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/v39.1.2...v39.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 13:35:57 +00:00
Jose Diaz-Gonzalez
726f92c6e2 Merge pull request #6207 from AlejandroAkbal/master
docs(Dockerfiles): fix wrong command
2023-09-23 00:39:02 -04:00
Jose Diaz-Gonzalez
1b1c42d69f docs: update command
The latest Dokku manages ports via the ports command.
2023-09-23 00:38:34 -04:00
Jose Diaz-Gonzalez
e007ee83c5 Merge pull request #6215 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.4.1
chore(deps): bump mkdocs-material from 9.3.1 to 9.4.1 in /docs/_build
2023-09-23 00:36:31 -04:00
dependabot[bot]
6aee78b640 chore(deps): bump mkdocs-material from 9.3.1 to 9.4.1 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.3.1 to 9.4.1.
- [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.3.1...9.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-23 04:36:25 +00:00
Jose Diaz-Gonzalez
8817955190 Merge pull request #6214 from dokku/dependabot/pip/docs/_build/mkdocs-material-extensions-1.2
chore(deps): bump mkdocs-material-extensions from 1.1.1 to 1.2 in /docs/_build
2023-09-23 00:35:56 -04:00
Jose Diaz-Gonzalez
a82cb6c0ec Merge pull request #6209 from dokku/dependabot/pip/docs/_build/zipp-3.17.0
chore(deps): bump zipp from 3.16.2 to 3.17.0 in /docs/_build
2023-09-23 00:35:49 -04:00
Jose Diaz-Gonzalez
f0b3517e9a Merge pull request #6211 from dokku/dependabot/pip/docs/_build/mkdocs-1.5.3
chore(deps): bump mkdocs from 1.5.2 to 1.5.3 in /docs/_build
2023-09-23 00:35:27 -04:00
Jose Diaz-Gonzalez
2130d94fb0 Merge pull request #6213 from dokku/dependabot/github_actions/tj-actions/changed-files-39.1.2
chore(deps): bump tj-actions/changed-files from 39.0.2 to 39.1.2
2023-09-23 00:35:17 -04:00
dependabot[bot]
f1740b9247 chore(deps): bump mkdocs-material-extensions in /docs/_build
Bumps [mkdocs-material-extensions](https://github.com/facelessuser/mkdocs-material-extensions) from 1.1.1 to 1.2.
- [Release notes](https://github.com/facelessuser/mkdocs-material-extensions/releases)
- [Changelog](https://github.com/facelessuser/mkdocs-material-extensions/blob/master/changelog.md)
- [Commits](https://github.com/facelessuser/mkdocs-material-extensions/compare/1.1.1...1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-21 13:51:54 +00:00
dependabot[bot]
8c13bc183b chore(deps): bump tj-actions/changed-files from 39.0.2 to 39.1.2
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 39.0.2 to 39.1.2.
- [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/v39.0.2...v39.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-21 13:23:21 +00:00
dependabot[bot]
da7b4fcb59 chore(deps): bump mkdocs from 1.5.2 to 1.5.3 in /docs/_build
Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.5.2...1.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 13:32:34 +00:00
dependabot[bot]
1717a8da79 chore(deps): bump zipp from 3.16.2 to 3.17.0 in /docs/_build
Bumps [zipp](https://github.com/jaraco/zipp) from 3.16.2 to 3.17.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.16.2...v3.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 13:32:20 +00:00
Alejandro Akbal
a4203843a1 docs: fix wrong command 2023-09-18 18:48:05 +01:00
Jose Diaz-Gonzalez
634307eca6 Merge pull request #6202 from dokku/dependabot/github_actions/docker/setup-buildx-action-3
chore(deps): bump docker/setup-buildx-action from 2 to 3
2023-09-16 21:34:45 -04:00
Jose Diaz-Gonzalez
a6439605a1 Merge pull request #6199 from dokku/dependabot/github_actions/docker/login-action-3
chore(deps): bump docker/login-action from 2 to 3
2023-09-16 21:34:36 -04:00
Jose Diaz-Gonzalez
0bb5508c72 Merge pull request #6200 from dokku/dependabot/github_actions/tj-actions/changed-files-39.0.2
chore(deps): bump tj-actions/changed-files from 39.0.0 to 39.0.2
2023-09-16 21:34:22 -04:00
Jose Diaz-Gonzalez
5c30b2fb38 Merge pull request #6201 from dokku/dependabot/github_actions/docker/setup-qemu-action-3
chore(deps): bump docker/setup-qemu-action from 2 to 3
2023-09-16 21:34:15 -04:00
Jose Diaz-Gonzalez
414e630c8b Merge pull request #6203 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.3.1
chore(deps): bump mkdocs-material from 9.2.8 to 9.3.1 in /docs/_build
2023-09-16 21:34:01 -04:00
dependabot[bot]
d88c7f5319 chore(deps): bump mkdocs-material from 9.2.8 to 9.3.1 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.2.8 to 9.3.1.
- [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.2.8...9.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 13:56:51 +00:00
dependabot[bot]
0ea482bace chore(deps): bump docker/setup-buildx-action from 2 to 3
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 13:15:29 +00:00
dependabot[bot]
3e99c5769b chore(deps): bump docker/setup-qemu-action from 2 to 3
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 13:15:26 +00:00
dependabot[bot]
3316914e67 chore(deps): bump tj-actions/changed-files from 39.0.0 to 39.0.2
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 39.0.0 to 39.0.2.
- [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/v39.0.0...v39.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 13:15:23 +00:00
dependabot[bot]
a8aed16b17 chore(deps): bump docker/login-action from 2 to 3
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 13:15:19 +00:00
Dokku Bot
ac0ba064ce Release 0.31.4
# History

## 0.31.4

Install/update via the bootstrap script:

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

### Documentation

- #5958: @gamedevsam Update command used to retrieve image digest when image is not pushed to a registry

### Dependencies

- #6194: @dependabot[bot] chore(deps): bump golang from 1.21.0 to 1.21.1 in /tests/apps/go-fail-predeploy
- #6197: @dependabot[bot] chore(deps): bump golang from 1.21.0 to 1.21.1 in /tests/apps/gogrpc
- #6195: @dependabot[bot] chore(deps): bump golang from 1.21.0 to 1.21.1 in /tests/apps/go-fail-postdeploy
- #6196: @dependabot[bot] chore(deps): bump golang from 1.21.0 to 1.21.1 in /tests/apps/zombies-dockerfile-tini
- #6193: @dependabot[bot] chore(deps): bump golang from 1.21.0 to 1.21.1 in /tests/apps/zombies-dockerfile-no-tini
- #6190: @dependabot[bot] chore(deps): bump golang.org/x/net from 0.14.0 to 0.15.0 in /tests/apps/gogrpc

### Other

- #6191: @josegonzalez chore: remove debug logging from git plugin
2023-09-10 17:27:58 +00:00
Jose Diaz-Gonzalez
2c9aaadae4 Merge pull request #5958 from gamedevsam/patch-1
Fix command to get docker image digest
2023-09-09 22:53:48 -04:00
Jose Diaz-Gonzalez
5c2bb443bd docs: clarify when to use a particular method to retrieve the sha256 digest
See [this link](https://web.archive.org/web/20230315050507/https://windsock.io/explaining-docker-image-ids/) for an explanation on why the two methods coexist.
2023-09-09 22:53:09 -04:00
Jose Diaz-Gonzalez
833e136ec5 Merge pull request #6194 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.21.1
chore(deps): bump golang from 1.21.0 to 1.21.1 in /tests/apps/go-fail-predeploy
2023-09-09 22:32:24 -04:00
Jose Diaz-Gonzalez
2056914c92 Merge pull request #6197 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.21.1
chore(deps): bump golang from 1.21.0 to 1.21.1 in /tests/apps/gogrpc
2023-09-09 22:32:18 -04:00
dependabot[bot]
f239ca6dd5 chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.21.0 to 1.21.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-10 02:32:08 +00:00
dependabot[bot]
ffcb7fef06 chore(deps): bump golang from 1.21.0 to 1.21.1 in /tests/apps/gogrpc
Bumps golang from 1.21.0 to 1.21.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-10 02:32:02 +00:00
Jose Diaz-Gonzalez
3bb4a0ab09 Merge pull request #6191 from dokku/josegonzalez-patch-1
chore: remove debug logging from git plugin
2023-09-09 22:31:55 -04:00
Jose Diaz-Gonzalez
3d8850897f Merge pull request #6195 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.21.1
chore(deps): bump golang from 1.21.0 to 1.21.1 in /tests/apps/go-fail-postdeploy
2023-09-09 22:31:31 -04:00
Jose Diaz-Gonzalez
fe4d8d76c5 Merge pull request #6196 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.21.1
chore(deps): bump golang from 1.21.0 to 1.21.1 in /tests/apps/zombies-dockerfile-tini
2023-09-09 22:31:24 -04:00
Jose Diaz-Gonzalez
610827abe6 Merge pull request #6193 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.21.1
chore(deps): bump golang from 1.21.0 to 1.21.1 in /tests/apps/zombies-dockerfile-no-tini
2023-09-09 22:31:18 -04:00
dependabot[bot]
7eb897798c chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
Bumps golang from 1.21.0 to 1.21.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-07 13:59:25 +00:00
dependabot[bot]
c9438a37d2 chore(deps): bump golang in /tests/apps/go-fail-postdeploy
Bumps golang from 1.21.0 to 1.21.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-07 13:23:03 +00:00
dependabot[bot]
0f42fbbb4d chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
Bumps golang from 1.21.0 to 1.21.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-07 13:13:07 +00:00
Jose Diaz-Gonzalez
b246f45d86 Merge pull request #6190 from dokku/dependabot/go_modules/tests/apps/gogrpc/golang.org/x/net-0.15.0
chore(deps): bump golang.org/x/net from 0.14.0 to 0.15.0 in /tests/apps/gogrpc
2023-09-07 01:39:09 -04:00
Jose Diaz-Gonzalez
df24091459 chore: remove debug logging from git plugin
This was accidentally included during a previous bugfix.
2023-09-07 01:30:50 -04:00
dependabot[bot]
c23bf5046b chore(deps): bump golang.org/x/net in /tests/apps/gogrpc
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/net/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-06 13:06:13 +00:00
Dokku Bot
5b772d6a22 Release 0.31.3
# History

## 0.31.3

Install/update via the bootstrap script:

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

### Bug Fixes

- #6179: @rct-k Fix build cache for herokuish-built apps

### Tests

- #6177: @maxvisser Update shellcheck junit integration for newer version of shellcheck

### Dependencies

- #6186: @dependabot[bot] chore(deps): bump pymdown-extensions from 10.2.1 to 10.3 in /docs/_build
- #6184: @dependabot[bot] chore(deps): bump soupsieve from 2.4.1 to 2.5 in /docs/_build
- #6183: @dependabot[bot] chore(deps): bump actions/checkout from 3 to 4
- #6187: @dependabot[bot] chore(deps): bump mkdocs-material from 9.2.6 to 9.2.8 in /docs/_build
- #6188: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 38.2.0 to 39.0.0
- #6173: @dependabot[bot] chore(deps): bump org.eclipse.jetty:jetty-servlet from 11.0.15 to 11.0.16 in /tests/apps/java
- #6174: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 38.1.3 to 38.2.0
- #6175: @dependabot[bot] chore(deps): bump pymdown-extensions from 10.2 to 10.2.1 in /docs/_build
- #6176: @dependabot[bot] chore(deps): bump mkdocs-material from 9.2.5 to 9.2.6 in /docs/_build
- #6171: @dependabot[bot] chore(deps): bump pymdown-extensions from 10.1 to 10.2 in /docs/_build
- #6168: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 38.1.0 to 38.1.3
- #6170: @dependabot[bot] chore(deps): bump mkdocs-material from 9.2.3 to 9.2.5 in /docs/_build
- #6169: @dependabot[bot] chore(deps): bump python from 3.11.4-alpine to 3.11.5-alpine in /docs/_build
2023-09-06 05:48:28 +00:00
Jose Diaz-Gonzalez
6b85d141a1 Merge pull request #6186 from dokku/dependabot/pip/docs/_build/pymdown-extensions-10.3
chore(deps): bump pymdown-extensions from 10.2.1 to 10.3 in /docs/_build
2023-09-05 22:01:17 -04:00
Jose Diaz-Gonzalez
12f5ebf313 Merge pull request #6184 from dokku/dependabot/pip/docs/_build/soupsieve-2.5
chore(deps): bump soupsieve from 2.4.1 to 2.5 in /docs/_build
2023-09-05 22:01:11 -04:00
Jose Diaz-Gonzalez
08b1f4ac04 Merge pull request #6177 from maxvisser/patch-1
Update shellcheck junit integration for newer version of shellcheck
2023-09-05 22:00:39 -04:00
Jose Diaz-Gonzalez
e1e3d91000 Merge pull request #6179 from rct-k/issue-6178
Build cache fix
2023-09-05 22:00:04 -04:00
Jose Diaz-Gonzalez
323e996dd2 Merge pull request #6183 from dokku/dependabot/github_actions/actions/checkout-4
chore(deps): bump actions/checkout from 3 to 4
2023-09-05 21:59:46 -04:00
Jose Diaz-Gonzalez
804f774889 Merge pull request #6187 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.2.8
chore(deps): bump mkdocs-material from 9.2.6 to 9.2.8 in /docs/_build
2023-09-05 21:59:33 -04:00
Jose Diaz-Gonzalez
24b6c0ac33 Merge pull request #6188 from dokku/dependabot/github_actions/tj-actions/changed-files-39.0.0
chore(deps): bump tj-actions/changed-files from 38.2.0 to 39.0.0
2023-09-05 21:59:27 -04:00
Jose Diaz-Gonzalez
fc59b39874 chore: use quote around entire argument 2023-09-05 20:45:01 -04:00
dependabot[bot]
2c07aa20d6 chore(deps): bump tj-actions/changed-files from 38.2.0 to 39.0.0
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 38.2.0 to 39.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/v38.2.0...v39.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>
2023-09-05 13:21:12 +00:00
dependabot[bot]
435cc6c793 chore(deps): bump mkdocs-material from 9.2.6 to 9.2.8 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.2.6 to 9.2.8.
- [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.2.6...9.2.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 13:10:16 +00:00
dependabot[bot]
1e75ecfbf6 chore(deps): bump pymdown-extensions from 10.2.1 to 10.3 in /docs/_build
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.2.1 to 10.3.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.2.1...10.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 13:48:03 +00:00
dependabot[bot]
c0b4570bbe chore(deps): bump soupsieve from 2.4.1 to 2.5 in /docs/_build
Bumps [soupsieve](https://github.com/facelessuser/soupsieve) from 2.4.1 to 2.5.
- [Release notes](https://github.com/facelessuser/soupsieve/releases)
- [Commits](https://github.com/facelessuser/soupsieve/compare/2.4.1...2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 13:47:55 +00:00
dependabot[bot]
3ec04b4d9e chore(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 13:17:38 +00:00
kurt
c18af09f52 use app name instead of test 2023-09-02 23:11:53 -06:00
Jose Diaz-Gonzalez
e18340618f Merge pull request #6173 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.16
chore(deps): bump org.eclipse.jetty:jetty-servlet from 11.0.15 to 11.0.16 in /tests/apps/java
2023-09-02 14:01:05 -04:00
Jose Diaz-Gonzalez
7ae5c38946 Merge pull request #6174 from dokku/dependabot/github_actions/tj-actions/changed-files-38.2.0
chore(deps): bump tj-actions/changed-files from 38.1.3 to 38.2.0
2023-09-02 14:00:56 -04:00
Jose Diaz-Gonzalez
adca710a7c Merge pull request #6175 from dokku/dependabot/pip/docs/_build/pymdown-extensions-10.2.1
chore(deps): bump pymdown-extensions from 10.2 to 10.2.1 in /docs/_build
2023-09-02 14:00:47 -04:00
Jose Diaz-Gonzalez
fecd107955 Merge pull request #6176 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.2.6
chore(deps): bump mkdocs-material from 9.2.5 to 9.2.6 in /docs/_build
2023-09-02 14:00:35 -04:00
Max Visser
b9a94553f8 added fixes for shellcheck v0.9.0
Shellcheck v0.9.0 added more info to output like suggestions to improve your lines
2023-08-31 20:29:12 +02:00
dependabot[bot]
86628123a4 chore(deps): bump mkdocs-material from 9.2.5 to 9.2.6 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.2.5 to 9.2.6.
- [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.2.5...9.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-31 13:53:23 +00:00
dependabot[bot]
136798cd6e chore(deps): bump pymdown-extensions from 10.2 to 10.2.1 in /docs/_build
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.2 to 10.2.1.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.2...10.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-31 13:53:14 +00:00
dependabot[bot]
a25ddba5f8 chore(deps): bump tj-actions/changed-files from 38.1.3 to 38.2.0
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 38.1.3 to 38.2.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/v38.1.3...v38.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-31 13:17:25 +00:00
dependabot[bot]
73e7c70193 chore(deps): bump org.eclipse.jetty:jetty-servlet in /tests/apps/java
Bumps [org.eclipse.jetty:jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.15 to 11.0.16.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.15...jetty-11.0.16)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-servlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-31 13:04:50 +00:00
Jose Diaz-Gonzalez
f14f563c97 Merge pull request #6171 from dokku/dependabot/pip/docs/_build/pymdown-extensions-10.2
chore(deps): bump pymdown-extensions from 10.1 to 10.2 in /docs/_build
2023-08-30 22:37:10 -04:00
dependabot[bot]
dab2af48cd chore(deps): bump pymdown-extensions from 10.1 to 10.2 in /docs/_build
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.1 to 10.2.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.1.0...10.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-29 13:54:40 +00:00
Jose Diaz-Gonzalez
f37bbecd47 Merge pull request #6168 from dokku/dependabot/github_actions/tj-actions/changed-files-38.1.3
chore(deps): bump tj-actions/changed-files from 38.1.0 to 38.1.3
2023-08-28 17:48:45 -04:00
Jose Diaz-Gonzalez
ab65ba66cc Merge pull request #6170 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.2.5
chore(deps): bump mkdocs-material from 9.2.3 to 9.2.5 in /docs/_build
2023-08-28 17:48:39 -04:00
Jose Diaz-Gonzalez
e8ea1519ce Merge pull request #6169 from dokku/dependabot/docker/docs/_build/python-3.11.5-alpine
chore(deps): bump python from 3.11.4-alpine to 3.11.5-alpine in /docs/_build
2023-08-28 17:48:29 -04:00
dependabot[bot]
5d9e7213e2 chore(deps): bump mkdocs-material from 9.2.3 to 9.2.5 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.2.3 to 9.2.5.
- [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.2.3...9.2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 13:48:10 +00:00
dependabot[bot]
bc4d00d6c7 chore(deps): bump python in /docs/_build
Bumps python from 3.11.4-alpine to 3.11.5-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 13:34:42 +00:00
dependabot[bot]
6000bd772a chore(deps): bump tj-actions/changed-files from 38.1.0 to 38.1.3
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 38.1.0 to 38.1.3.
- [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/v38.1.0...v38.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 13:08:47 +00:00
Dokku Bot
bf4d5fce02 Release 0.31.2
# History

## 0.31.2

Install/update via the bootstrap script:

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

### Bug Fixes

- #6154: @josegonzalez Ensure app clones have domains setup
- #6164: @josegonzalez Use correct path for openresty letsencrypt data
- #6165: @josegonzalez Ensure we cleanup extracted files prior to next deployment
- #6166: @josegonzalez Remove unused source from openresty trigger
- #6163: @josegonzalez Add missing triggers for openresty-vhosts plugin
- #6151: @josegonzalez Do not pass an empty argument to scheduler-run when triggering cron tasks manually
- #6150: @josegonzalez Correct issue where temp file cleanup fails deploy

### Documentation

- #6167: @josegonzalez Correct svg path on homepage
- #6153: @imankulov Fix superscript typos in plugin documentation

### Tests

- #6152: @josegonzalez Use buildjet for building arm images
- #6149: @josegonzalez Fix issue where CI cannot install docker-compose-plugin

### Dependencies

- #6161: @josegonzalez Upgrade sigil to 0.10.1
- #6162: @josegonzalez Upgrade herokuish to 0.7.1
- #6160: @josegonzalez Upgrade sshcommand to 0.17.1
- #6159: @josegonzalez Upgrade procfile-util to 0.16.0
- #6158: @josegonzalez Upgrade netrc to 0.7.1
- #6157: @josegonzalez Upgrade lambda-builder to 0.5.0
- #6147: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 37.6.1 to 38.1.0
- #6145: @dependabot[bot] chore(deps): bump mkdocs-material from 9.2.2 to 9.2.3 in /docs/_build
- #6139: @dependabot[bot] chore(deps): bump flask from 2.3.2 to 2.3.3 in /tests/apps/multi
- #6140: @dependabot[bot] chore(deps): bump flask from 2.3.2 to 2.3.3 in /tests/apps/python-flask
- #6141: @dependabot[bot] chore(deps): bump mkdocs-material from 9.1.21 to 9.2.2 in /docs/_build

### Other

- #6148: @josegonzalez Add missing relabel command to docker-image-labeler for CNB builder
2023-08-28 04:08:55 +00:00
Jose Diaz-Gonzalez
a805afb8ef Merge pull request #6154 from dokku/6146-ensure-domains-on-clone
Ensure app clones have domains setup
2023-08-27 23:41:49 -04:00
Jose Diaz-Gonzalez
71214be1bd fix: ensure app clones have domains setup
Closes #6146
2023-08-27 23:00:18 -04:00
Jose Diaz-Gonzalez
fb5b605c4a Merge pull request #6164 from dokku/openresty-correct-data-dir
Use correct path for openresty letsencrypt data
2023-08-27 21:29:12 -04:00
Jose Diaz-Gonzalez
d06ad01b57 Merge pull request #6165 from dokku/extract-cleanup
Ensure we cleanup extracted files prior to next deployment
2023-08-27 21:07:48 -04:00
Jose Diaz-Gonzalez
fecb9e0472 fix: ensure we cleanup extracted files prior to next deployment 2023-08-27 20:00:45 -04:00
Jose Diaz-Gonzalez
196fadc6d3 fix: use correct path for openresty letsencrypt data
Paths are plugin-specific, and the previous path used the plugin alias, not the actual plugin name.
2023-08-27 20:00:37 -04:00
Jose Diaz-Gonzalez
7bd202a178 Merge pull request #6167 from dokku/josegonzalez-patch-2
Correct svg path on homepage
2023-08-27 20:00:20 -04:00
Jose Diaz-Gonzalez
56733592da Merge pull request #6166 from dokku/josegonzalez-patch-1
Remove unused source from openresty trigger
2023-08-27 20:00:04 -04:00
Jose Diaz-Gonzalez
b0fcd28bba fix: correct svg path on homepage 2023-08-27 19:26:50 -04:00
Jose Diaz-Gonzalez
49297f6554 fix: remove unused source 2023-08-27 19:23:07 -04:00
Jose Diaz-Gonzalez
d8de0bcabb Merge pull request #6163 from dokku/fix-clone-delete
Add missing triggers for openresty-vhosts plugin
2023-08-27 17:56:49 -04:00
Jose Diaz-Gonzalez
17c32e2dac fix: add missing triggers for openresty-vhosts plugin 2023-08-27 17:43:38 -04:00
Jose Diaz-Gonzalez
41d58758b2 Merge pull request #6161 from dokku/upgrade-sigil
Upgrade sigil to 0.10.1
2023-08-27 17:30:37 -04:00
Jose Diaz-Gonzalez
9299a1a961 chore: upgrade sigil dependency 2023-08-27 17:30:16 -04:00
Jose Diaz-Gonzalez
9216e0b066 Merge pull request #6162 from dokku/upgrade-herokuish
Upgrade herokuish to 0.7.1
2023-08-27 17:29:05 -04:00
Jose Diaz-Gonzalez
b67d79e09a feat: upgrade herokuish to 0.7.1 2023-08-27 15:58:12 -04:00
Jose Diaz-Gonzalez
ed7041ce66 Merge pull request #6160 from dokku/upgrade-sshcommand
Upgrade sshcommand dependency
2023-08-27 15:45:59 -04:00
Jose Diaz-Gonzalez
7b0d92082a chore: upgrade sshcommand dependency 2023-08-27 15:45:35 -04:00
Jose Diaz-Gonzalez
fd4466cfed Merge pull request #6159 from dokku/upgrade-procfile-util
Upgrade procfile-util dependency
2023-08-27 15:44:40 -04:00
Jose Diaz-Gonzalez
1376d78cd6 chore: upgrade procfile-util dependency 2023-08-27 15:44:12 -04:00
Jose Diaz-Gonzalez
78450b0b14 Merge pull request #6158 from dokku/upgrade-netrc
Upgrade netrc dependency
2023-08-27 15:42:31 -04:00
Jose Diaz-Gonzalez
13ea79bb1f chore: upgrade netrc dependency 2023-08-27 15:42:04 -04:00
Jose Diaz-Gonzalez
2a9509ec63 Merge pull request #6157 from dokku/upgrade-lambda-builder
Upgrade lambda-builder dependency
2023-08-27 15:41:24 -04:00
Jose Diaz-Gonzalez
20466838b5 chore: upgrade lambda-builder dependency 2023-08-27 15:01:17 -04:00
Jose Diaz-Gonzalez
a6b885f778 Merge pull request #6153 from imankulov/patch-1
Fix superscript typos in plugin documentation
2023-08-27 11:27:25 -04:00
Jose Diaz-Gonzalez
9eb1fb19fd Merge pull request #6152 from dokku/buildjet-test
Use buildjet for building arm images
2023-08-27 11:19:18 -04:00
Roman Imankulov
a02e2d337e Update plugins.md
Fix superscript typos
2023-08-27 14:01:55 +01:00
Jose Diaz-Gonzalez
e37c94fa4d fix: respect input 2023-08-27 00:09:49 -04:00
Jose Diaz-Gonzalez
f6b0f58108 fix: add missing newline 2023-08-26 23:35:06 -04:00
Jose Diaz-Gonzalez
35e9203d13 fix: respect the specified architecture 2023-08-26 23:32:36 -04:00
Jose Diaz-Gonzalez
99dd9da2bb refactor: only use qemu when building for arm 2023-08-26 23:06:08 -04:00
Jose Diaz-Gonzalez
80dfa4a979 fix: move properties around and specify shell 2023-08-26 22:50:17 -04:00
Jose Diaz-Gonzalez
0772fb4faa fix: checkout the code first 2023-08-26 22:36:07 -04:00
Jose Diaz-Gonzalez
454cf7207a fix: correct lint issue 2023-08-26 22:26:32 -04:00
Jose Diaz-Gonzalez
74fe0257f1 feat: use buildjet's runners for arm image building 2023-08-26 22:22:23 -04:00
Jose Diaz-Gonzalez
7a857ad628 refactor: split out image building job matrix into separate jobs
This will allow using a different runner for each.
2023-08-26 22:22:08 -04:00
Jose Diaz-Gonzalez
d867a4d77e Merge pull request #6151 from dokku/josegonzalez-patch-1
Do not pass an empty argument to scheduler-run when triggering cron tasks manually
2023-08-26 17:06:20 -04:00
Jose Diaz-Gonzalez
5d362d8038 Merge pull request #6150 from dokku/fix-tmp-file-cleanup
Correct issue where temp file cleanup fails deploy
2023-08-26 17:06:08 -04:00
Jose Diaz-Gonzalez
9a201cbe7d Merge pull request #6148 from dokku/6138-fix-relabel
Add missing relabel command to docker-image-labeler for CNB builder
2023-08-26 15:21:14 -04:00
Jose Diaz-Gonzalez
b8b40ac672 fix: do not pass an empty argument to scheduler-run when triggering cron tasks manually 2023-08-26 15:19:12 -04:00
Jose Diaz-Gonzalez
fbe823b7d7 fix: correct issue where temp file cleanup fails deploy 2023-08-26 14:39:13 -04:00
Jose Diaz-Gonzalez
c2db3ddaba fix: add missing relabel command to docker-image-labeler for CNB builder
Closes #6138
2023-08-26 14:33:51 -04:00
Jose Diaz-Gonzalez
b5f508f27a Merge pull request #6149 from dokku/josegonzalez-patch-1
Fix issue where CI cannot install docker-compose-plugin
2023-08-26 14:33:26 -04:00
Jose Diaz-Gonzalez
17e88da2dc fix: install docker-compose-plugin in ci
This used to be installed as moby-compose in Github Runners but they switched to the docker apt repo and don't install the plugin from the apt repository as it is outdated so we have to do it ourselves.
2023-08-26 14:33:07 -04:00
Jose Diaz-Gonzalez
2963a36f25 Merge pull request #6147 from dokku/dependabot/github_actions/tj-actions/changed-files-38.1.0
chore(deps): bump tj-actions/changed-files from 37.6.1 to 38.1.0
2023-08-26 12:46:06 -04:00
Jose Diaz-Gonzalez
47329df099 Merge pull request #6145 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.2.3
chore(deps): bump mkdocs-material from 9.2.2 to 9.2.3 in /docs/_build
2023-08-26 12:45:53 -04:00
dependabot[bot]
3e0c0d8e43 chore(deps): bump tj-actions/changed-files from 37.6.1 to 38.1.0
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.6.1 to 38.1.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/v37.6.1...v38.1.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>
2023-08-24 13:43:42 +00:00
dependabot[bot]
31af4a993a chore(deps): bump mkdocs-material from 9.2.2 to 9.2.3 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.2.2 to 9.2.3.
- [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.2.2...9.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-23 13:20:02 +00:00
Jose Diaz-Gonzalez
703d703ac3 Merge pull request #6139 from dokku/dependabot/pip/tests/apps/multi/flask-2.3.3
chore(deps): bump flask from 2.3.2 to 2.3.3 in /tests/apps/multi
2023-08-22 20:52:05 -04:00
Jose Diaz-Gonzalez
cc5c53a459 Merge pull request #6140 from dokku/dependabot/pip/tests/apps/python-flask/flask-2.3.3
chore(deps): bump flask from 2.3.2 to 2.3.3 in /tests/apps/python-flask
2023-08-22 20:51:59 -04:00
Jose Diaz-Gonzalez
51ee17ba0e Merge pull request #6141 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.2.2
chore(deps): bump mkdocs-material from 9.1.21 to 9.2.2 in /docs/_build
2023-08-22 20:51:47 -04:00
dependabot[bot]
76a0d6fee8 chore(deps): bump mkdocs-material from 9.1.21 to 9.2.2 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.21 to 9.2.2.
- [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.1.21...9.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-22 13:51:44 +00:00
dependabot[bot]
2154726464 chore(deps): bump flask from 2.3.2 to 2.3.3 in /tests/apps/python-flask
Bumps [flask](https://github.com/pallets/flask) from 2.3.2 to 2.3.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.3.2...2.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-22 13:36:35 +00:00
dependabot[bot]
5f5032cb8b chore(deps): bump flask from 2.3.2 to 2.3.3 in /tests/apps/multi
Bumps [flask](https://github.com/pallets/flask) from 2.3.2 to 2.3.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.3.2...2.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-22 13:28:39 +00:00
Dokku Bot
46b0015de8 Release 0.31.1
# History

## 0.31.1

Install/update via the bootstrap script:

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

### Bug Fixes

- #6133: @josegonzalez Properly handle tag and branch pushes
- #6131: @josegonzalez Ensure tmp files are cleaned up when commands exit
- #6130: @josegonzalez Correct package for container healthchecker when building digitalocean image
- #6121: @josegonzalez Add missing error-log-path function to openresty plugin

### Documentation

- #6129: @josegonzalez Cleanup markdown and use Github Admonitions

### Dependencies

- #6120: @dependabot[bot] chore(deps): bump click from 8.1.6 to 8.1.7 in /docs/_build
- #6119: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 37.6.0 to 37.6.1
- #6118: @dependabot[bot] chore(deps): bump werkzeug from 2.3.6 to 2.3.7 in /tests/apps/python-flask
- #6115: @dependabot[bot] chore(deps): bump golang from 1.20.7 to 1.21.0 in /tests/apps/zombies-dockerfile-no-tini
- #6114: @dependabot[bot] chore(deps): bump golang from 1.20.7 to 1.21.0 in /tests/apps/zombies-dockerfile-tini
- #6104: @dependabot[bot] chore(deps): bump golang.org/x/net from 0.13.0 to 0.14.0 in /tests/apps/gogrpc
- #6113: @dependabot[bot] chore(deps): bump golang from 1.20.7 to 1.21.0 in /tests/apps/go-fail-predeploy
- #6112: @dependabot[bot] chore(deps): bump golang from 1.20.7 to 1.21.0 in /tests/apps/go-fail-postdeploy
- #6111: @dependabot[bot] chore(deps): bump golang from 1.20.7 to 1.21.0 in /tests/apps/gogrpc
- #6107: @dependabot[bot] chore(deps): bump pygments from 2.15.1 to 2.16.1 in /docs/_build
- #6106: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 37.5.2 to 37.6.0
- #6105: @dependabot[bot] chore(deps): bump sinatra from 3.0.6 to 3.1.0 in /tests/apps/ruby

### Other

- #6122: @josegonzalez Plugin trigger and event cleanup
2023-08-20 16:30:06 +00:00
Jose Diaz-Gonzalez
a254525db8 Merge pull request #6133 from dokku/5188-fix-tag-push
Properly handle tag and branch pushes
2023-08-20 12:28:04 -04:00
Jose Diaz-Gonzalez
d3441b7f7e fix: properly handle tag and branch pushes 2023-08-20 11:39:19 -04:00
Jose Diaz-Gonzalez
6e35eacd51 Merge pull request #6131 from dokku/fix-tmp-cleanup
Ensure tmp files are cleaned up when commands exit
2023-08-20 11:17:29 -04:00
Jose Diaz-Gonzalez
200e46b08e fix: ensure tmp files are cleaned up when commands exit 2023-08-19 23:00:49 -04:00
Jose Diaz-Gonzalez
3d6fa3a2e0 Merge pull request #6130 from dokku/josegonzalez-patch-1
Correct package for container healthchecker when building digitalocean image
2023-08-19 19:07:12 -04:00
Jose Diaz-Gonzalez
89109a33b3 fix: correct package for container healthchecker when building digitalocean image 2023-08-19 19:06:42 -04:00
Jose Diaz-Gonzalez
5cbeb326d6 Merge pull request #6121 from dokku/openresty-missing-funcs
Add missing error-log-path function to openresty plugin
2023-08-19 19:02:04 -04:00
Jose Diaz-Gonzalez
f433e008e9 Merge pull request #6129 from dokku/cleanup-markdown
Cleanup markdown and use Github Admonitions
2023-08-19 18:55:35 -04:00
Jose Diaz-Gonzalez
4450c82866 fix: set correct log root 2023-08-19 15:50:20 -04:00
Jose Diaz-Gonzalez
3306f29c11 docs: handle new github admonitions and cleanup write-mkdocs script 2023-08-19 15:43:59 -04:00
Jose Diaz-Gonzalez
fe117d403b Merge pull request #6122 from dokku/plugin-trigger-cleanup
Plugin trigger and event cleanup
2023-08-19 15:19:10 -04:00
Jose Diaz-Gonzalez
f780a8a6f8 docs: fix shell output 2023-08-19 15:04:25 -04:00
Jose Diaz-Gonzalez
4ff26e6e36 fix: exec command so as to respect init properly 2023-08-19 14:30:18 -04:00
Jose Diaz-Gonzalez
d61d91cf87 docs: use github admonitions
These still need to be properly parsed.
2023-08-19 14:24:12 -04:00
Jose Diaz-Gonzalez
5dd78e2b86 docs: update markdownlint rules for better formatting 2023-08-19 13:46:42 -04:00
Jose Diaz-Gonzalez
b87d619b23 Merge pull request #6120 from dokku/dependabot/pip/docs/_build/click-8.1.7
chore(deps): bump click from 8.1.6 to 8.1.7 in /docs/_build
2023-08-19 11:46:22 -04:00
Jose Diaz-Gonzalez
b13f7250ce fix: make app-list a symlink 2023-08-19 11:45:51 -04:00
Jose Diaz-Gonzalez
f58cf7f87c chore: add documentation for all events 2023-08-19 11:45:31 -04:00
Jose Diaz-Gonzalez
f0ed29d80f chore: remove now un-implemented event 2023-08-19 11:45:24 -04:00
Jose Diaz-Gonzalez
70a580f851 chore: remove unimplemented and undocumented event 2023-08-19 11:45:17 -04:00
Jose Diaz-Gonzalez
4d87dfcc33 fix: add missing events for all plugn triggers 2023-08-19 11:45:06 -04:00
Jose Diaz-Gonzalez
18216e8e48 chore: remove events for non-existing triggers 2023-08-19 11:44:41 -04:00
Jose Diaz-Gonzalez
4378d0c367 fix: add missing error-log-path function to openresty plugin
Also ensure the access-log-path is passed into the plugin.
2023-08-19 10:23:10 -04:00
dependabot[bot]
314e29d61b chore(deps): bump click from 8.1.6 to 8.1.7 in /docs/_build
Bumps [click](https://github.com/pallets/click) from 8.1.6 to 8.1.7.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/click/compare/8.1.6...8.1.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-18 13:46:12 +00:00
Jose Diaz-Gonzalez
8b3ee6d968 Merge pull request #6119 from dokku/dependabot/github_actions/tj-actions/changed-files-37.6.1
chore(deps): bump tj-actions/changed-files from 37.6.0 to 37.6.1
2023-08-17 19:56:32 -04:00
dependabot[bot]
a47d2801e8 chore(deps): bump tj-actions/changed-files from 37.6.0 to 37.6.1
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.6.0 to 37.6.1.
- [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/v37.6.0...v37.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-17 13:45:23 +00:00
Jose Diaz-Gonzalez
ebeef276cc Merge pull request #6118 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-2.3.7
chore(deps): bump werkzeug from 2.3.6 to 2.3.7 in /tests/apps/python-flask
2023-08-16 22:26:29 -04:00
Jose Diaz-Gonzalez
238ae414d3 Merge pull request #6115 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.21.0
chore(deps): bump golang from 1.20.7 to 1.21.0 in /tests/apps/zombies-dockerfile-no-tini
2023-08-16 22:26:20 -04:00
Jose Diaz-Gonzalez
a2e3a9a0f7 Merge pull request #6114 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.21.0
chore(deps): bump golang from 1.20.7 to 1.21.0 in /tests/apps/zombies-dockerfile-tini
2023-08-16 22:26:12 -04:00
Jose Diaz-Gonzalez
78179105e2 Merge pull request #6104 from dokku/dependabot/go_modules/tests/apps/gogrpc/golang.org/x/net-0.14.0
chore(deps): bump golang.org/x/net from 0.13.0 to 0.14.0 in /tests/apps/gogrpc
2023-08-16 22:26:03 -04:00
dependabot[bot]
0fd5b33e5e chore(deps): bump werkzeug in /tests/apps/python-flask
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.3.6 to 2.3.7.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.3.6...2.3.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 13:26:40 +00:00
dependabot[bot]
39fa54049c chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
Bumps golang from 1.20.7 to 1.21.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 02:42:26 +00:00
dependabot[bot]
7bf336363c chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
Bumps golang from 1.20.7 to 1.21.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 02:42:13 +00:00
Jose Diaz-Gonzalez
8296ecf7fc Merge pull request #6113 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.21.0
chore(deps): bump golang from 1.20.7 to 1.21.0 in /tests/apps/go-fail-predeploy
2023-08-13 22:41:58 -04:00
dependabot[bot]
a20daa2804 chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.20.7 to 1.21.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 02:41:48 +00:00
Jose Diaz-Gonzalez
cb0edde2fd Merge pull request #6112 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.21.0
chore(deps): bump golang from 1.20.7 to 1.21.0 in /tests/apps/go-fail-postdeploy
2023-08-13 22:41:30 -04:00
Jose Diaz-Gonzalez
5ef382dacd Merge pull request #6111 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.21.0
chore(deps): bump golang from 1.20.7 to 1.21.0 in /tests/apps/gogrpc
2023-08-13 22:41:20 -04:00
Jose Diaz-Gonzalez
d1c68b1920 Merge pull request #6107 from dokku/dependabot/pip/docs/_build/pygments-2.16.1
chore(deps): bump pygments from 2.15.1 to 2.16.1 in /docs/_build
2023-08-13 22:41:11 -04:00
Jose Diaz-Gonzalez
596f56f2da Merge pull request #6106 from dokku/dependabot/github_actions/tj-actions/changed-files-37.6.0
chore(deps): bump tj-actions/changed-files from 37.5.2 to 37.6.0
2023-08-13 22:41:00 -04:00
Jose Diaz-Gonzalez
6b178952cb Merge pull request #6105 from dokku/dependabot/bundler/tests/apps/ruby/sinatra-3.1.0
chore(deps): bump sinatra from 3.0.6 to 3.1.0 in /tests/apps/ruby
2023-08-13 22:40:42 -04:00
Dokku Bot
4139fb1d7f Release 0.31.0
# History

## 0.31.0

Install/update via the bootstrap script:

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

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

### Backwards Compatibility Breaks

- #6102: @josegonzalez Deprecate ARM as a build target
- #6029: @josegonzalez Provide users the ability to override auto-detected port mappings

### Bug Fixes

- #6110: @josegonzalez Correctly handle rebase when generating release notes for minor/major releases
- #6081: @josegonzalez Use correct namespace for haproxy service state tracking
- #6079: @josegonzalez Remove debugging code from builder-dockerfile plugin
- #6078: @josegonzalez Use correct quoting in format template when fetching exposed image ports
- #6070: @josegonzalez Do not write empty values for nginx container labels
- #6014: @josegonzalez Automatically clear the git source-image property when changing deployment methodologies
- #5985: @josegonzalez Mount the traefik data directory instead of the acme.json file when starting traefik
- #5979: @josegonzalez Do not start proxy implementations during server restore if they weren't manually started via the :start command
- #5973: @josegonzalez Remove all containers and images by label on app destroy

### New Features

- #6100: @josegonzalez Add support for non-web healthchecks via app.json
- #6098: @josegonzalez Upgrade traefik image from v2.8 to v2.10
- #6097: @josegonzalez Upgrade caddy image from 2.7 to 2.8
- #6082: @josegonzalez Add openresty proxy implementation
- #6057: @josegonzalez Inject docker labels when nginx proxy implementation is in use
- #6043: @josegonzalez Write auto-detected port mappings during a deploy
- #6013: @josegonzalez Export environment variables during dockerfile builds for use with value-less --build-arg flags
- #6007: @Firfi Add application/wasm to nginx.conf.sigil gzip
- #5993: @josegonzalez Un-deprecate apps and config cli aliases
- #5992: @josegonzalez Mount the vector data directory instead of the vector file
- #5991: @josegonzalez Add the ability to execute a cron task on the fly
- #5990: @josegonzalez Add json format output to cron:list command
- #5989: @josegonzalez Skip scaled processes that are missing in the Procfile
- #5978: @josegonzalez Export environment variables during dockerfile builds for use with value-less --build-arg flags
- #5908: @josegonzalez Generate jobs for crontab in parallel
- #5891: @josegonzalez Add support for specifying multiple networks on a given app

### Refactors

- #6042: @josegonzalez Rename port-map property to port
- #6021: @josegonzalez Simplify ports-configure codebase
- #6018: @josegonzalez Move code that fetches raw tcp ports for dockerfile deploys to ports plugin
- #6017: @josegonzalez Deprecate proxy-configure-ports plugin trigger in favor of ports-configure
- #6011: @josegonzalez Use ports-get plugn trigger for fetching port mappings
- #6010: @josegonzalez Use ports-clear plugn trigger to manage clearing the port map
- #5988: @josegonzalez Move crontab writing code to scheduler-docker-local plugin
- #5975: @josegonzalez Standardize on shorthand for redirecting all output to /dev/null
- #5974: @josegonzalez Standardize on ls subcommand when interacting with the docker binary

### Documentation

- #6116: @josegonzalez Remove extra newline in migration docs
- #6099: @josegonzalez Clean up references in proxy plugins
- #5987: @josegonzalez Clarify that a branch can be specified when updating a plugin

### Tests

- #6103: @josegonzalez Timeout docker image builds in CI
- #6101: @josegonzalez Make it possible to specify an alternative base domain for tests
- #6095: @josegonzalez Remove assertion for unconsumed build arguments
- #6094: @josegonzalez Correct assertion for dockerfile builds when a variable is eval'd
- #6080: @josegonzalez Add assertions to various bats tests
- #6076: @josegonzalez Use assert_output_not_exists instead of asserting output is empty string
- #6075: @josegonzalez Use an alternative curl request to ensure requests go to the local nginx
- #6074: @josegonzalez Fix issue where networks weren't being torn down during testing
- #6012: @josegonzalez Use ports:report to get the list of port mappings
- #5977: @josegonzalez Move all shellcheck disable definitions to .shellcheckrc
- #5976: @josegonzalez Remove Stickler configuration

### Other

- #6109: @josegonzalez Make heroku-22/jammy the default stack for cnb/herokuish builds
- #6096: @josegonzalez Upgrade vector image from 0.23.x to 0.31.x
- #6019: @josegonzalez Move code for fetching an available port to the ports plugin
- #6015: @josegonzalez Move CHECKS file extraction to the beginning of the deploy
- #5995: @josegonzalez Migrate the proxy port map from config variable to property system
- #5986: @josegonzalez Move all port management code to standalone ports plugin
- #5495: @josegonzalez Move herokuish app cache from the filesystem into a docker volume
2023-08-14 02:08:52 +00:00
dependabot[bot]
a7677187b3 chore(deps): bump golang.org/x/net in /tests/apps/gogrpc
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/net/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 02:08:00 +00:00
Jose Diaz-Gonzalez
4977d57e5a Merge pull request #5947 from dokku/0.31-release
Release 0.31.0
2023-08-13 22:07:16 -04:00
Jose Diaz-Gonzalez
00d02121d9 fix: pull 100 results when fetching PRs per milestone 2023-08-13 22:00:39 -04:00
Jose Diaz-Gonzalez
038b768585 fix: correct version 2023-08-13 21:54:25 -04:00
Jose Diaz-Gonzalez
c7c1e4ab17 Merge pull request #6116 from dokku/josegonzalez-patch-1
Remove extra newline in migration docs
2023-08-09 13:53:31 -04:00
Jose Diaz-Gonzalez
1ee0fc7dc5 docs: remove extra newline 2023-08-09 13:53:14 -04:00
Jose Diaz-Gonzalez
22cfab9912 Merge pull request #6109 from dokku/heroku-22
Make heroku-22/jammy the default stack for cnb/herokuish builds
2023-08-09 11:35:19 -04:00
Jose Diaz-Gonzalez
24d94576a9 feat: make heroku-22/jammy the default stack for cnb/herokuish builds 2023-08-09 10:11:33 -04:00
dependabot[bot]
59375a5b84 chore(deps): bump golang in /tests/apps/go-fail-postdeploy
Bumps golang from 1.20.7 to 1.21.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-09 13:19:27 +00:00
dependabot[bot]
7c74ecb317 chore(deps): bump golang from 1.20.7 to 1.21.0 in /tests/apps/gogrpc
Bumps golang from 1.20.7 to 1.21.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-09 13:11:01 +00:00
Jose Diaz-Gonzalez
6cdd81ca7a Merge pull request #6110 from dokku/fix-release-changelog
Correctly handle rebase when generating release notes for minor/major releases
2023-08-08 23:36:22 -04:00
Jose Diaz-Gonzalez
8d25b931dd fix: correctly handle rebase when generating release notes for minor/major releases
With the integration branch where pull requests are merged prior to a release, we require a rebase every so often to ensure there aren't any issues upon merging to master. Unfortunately, this breaks the link between the original PR and the integration PR, thus causing changelog generation to fail as it depended upon those - now removed - merge request commits.

With this change, we introduce usage of milestones in order to track what is getting merged into a release. Milestones are only used for major/minor releases, and all others will fall back to the default git log method.
2023-08-08 23:07:02 -04:00
dependabot[bot]
03ad29610f chore(deps): bump pygments from 2.15.1 to 2.16.1 in /docs/_build
Bumps [pygments](https://github.com/pygments/pygments) from 2.15.1 to 2.16.1.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.15.1...2.16.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 13:40:04 +00:00
dependabot[bot]
efe58b5af0 chore(deps): bump tj-actions/changed-files from 37.5.2 to 37.6.0
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.5.2 to 37.6.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/v37.5.2...v37.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 13:32:42 +00:00
dependabot[bot]
93138de467 chore(deps): bump sinatra from 3.0.6 to 3.1.0 in /tests/apps/ruby
Bumps [sinatra](https://github.com/sinatra/sinatra) from 3.0.6 to 3.1.0.
- [Changelog](https://github.com/sinatra/sinatra/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sinatra/sinatra/compare/v3.0.6...v3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 13:22:23 +00:00
Jose Diaz-Gonzalez
990ca04374 Merge pull request #6103 from dokku/timeout-image-builds
feat: timeout docker image builds in CI
2023-08-07 03:06:12 -04:00
Jose Diaz-Gonzalez
e09b0eb1b9 feat: timeout docker image builds in CI
ARM usually takes quite a while to build. If it takes more than ~15 minutes, then it is usually going to fail anyways, so timeout early.

AMD64 takes ~3 minutes, and ARM64 appears to take 15 minutes.
2023-08-07 03:05:47 -04:00
Jose Diaz-Gonzalez
f3114212b6 Merge pull request #6102 from dokku/josegonzalez-patch-1
Deprecate ARM as a build target
2023-08-07 01:37:55 -04:00
Jose Diaz-Gonzalez
5b738f50c3 docs: deprecated ARM as a build target
AMD64 and ARM64 continue to be supported, but ARM in CI is not currently supported and doesn't get local testing either, so deprecating it now and removing it in the future makes most sense for the project.
2023-08-07 01:37:18 -04:00
Jose Diaz-Gonzalez
a0d92469a9 Merge pull request #6100 from dokku/2760-non-web-healthchecks
Add support for non-web healthchecks via app.json
2023-08-06 18:57:47 -04:00
Jose Diaz-Gonzalez
26e9cc9b8c feat: add support for non-web healthchecks via app.json
This change converts existing CHECKS files into a healthchecks key that is understood by 'docker-container-healthchecker'. This tool supports a number of different types of container healthchecks - command, http, uptime - and can perform healthchecks against non-web processes.

The use of the old CHECKS file is now deprecated, and will be removed in the next minor version. Users can use the 'docker-container-healthchecker' to convert existing CHECKS files to the new format automatically.

Closes #2760
2023-08-06 17:23:13 -04:00
Jose Diaz-Gonzalez
6f0b32e86b Merge pull request #6082 from dokku/openresty-docker-proxy
Add openresty proxy implementation
2023-08-05 23:53:45 -04:00
Jose Diaz-Gonzalez
625ea14c8f feat: add openresty proxy implementation
This plugin is mostly compatible with the nginx plugin, but runs the proxy within a docker container. Users do not have direct access to add custom openresty configuration at this time, but instead receive the ability to setup automatic ssl on first request via letsencrypt integration.
2023-08-05 20:59:01 -04:00
Jose Diaz-Gonzalez
5846301a48 tests: make it possible to specify an alternative base domain for tests
When developing Dokku, it is useful to use a real domain to test actual functionality. This is impossible if the domain is hardcoded to dokku.me in testing.
2023-08-05 20:58:26 -04:00
Jose Diaz-Gonzalez
7f7a044a07 docs: clean up references in proxy plugins 2023-08-05 11:07:55 -04:00
Jose Diaz-Gonzalez
f8ccf52079 refactor: only use detected port mapping if override is not specified
Previously, we would always set the port mapping during a dockerfile build, making it difficult for users to override mappings. We also only _sometimes_ updated the detected port mapping, further confusing issues when users were migrating from Dockerfile to Buildpacks for builds.

Now, we always detect the port mapping during the build process, and only use that detected port mapping if an override is not specified. This greatly simplifies the experience around port mapping, as now a user can create an app, set a port mapping, and that first deploy will respect the port mapping without an additional deploy.

The builder always has the best context for what the app should be listening on, and thus we can always specify a "default" port mapping at this stage. Users can override this map as desired later.

This change also results in the removal of a ton of internal code that is now centralized in the ports plugin.

Closes #4067
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
6168b0c71c tests: correct assertion for dockerfile builds when a variable is eval'd 2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
d06f337c3c feat: upgrade traefik image from v2.8 to v2.10 2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
3218a496c5 feat: upgrade caddy image from 2.7 to 2.8 2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
56e18be2cf feat: upgrade vector image from 0.23.x to 0.31.x 2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
a84f9bca72 tests: remove assertion for unconsumed build arguments
Docker no longer outputs any logging for unconsumed build arguments with the switch to buildx.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
72e8c8d978 tests: correct assertion for dockerfile builds when a variable is eval'd 2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
aee691a5fb fix: use correct namespace for haproxy service state tracking 2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
622548057c tests: add assertions to various bats tests
Missing these assertions didn't necessarily break tests but they are more correct and having them should help suss out bugs.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
69e56fc976 fix: remove debugging code from builder-dockerfile plugin 2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
c1279468d8 fix: use correct quoting in format template when fetching exposed image ports 2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
d6468f4713 tests: use assert_output_not_exists instead of asserting output is empty string 2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
1467aaea74 tests: fix issue where networks weren't being torn down during testing
Due to how the variable was assigned, there were cases where the network was specified twice with a := as a delimiter. This would result in no network being removed.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
5717e71755 tests: use an alternative curl request to ensure requests go to the local nginx
The alternative is to rely on DNS and /etc/hosts rules, which isn't quite great because it requires modifying the system.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
04905bf553 fix: run go mod update 2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
2b1e173c03 fix: do not write empty values for nginx container labels
This ensures the nginx-docker-proxy project doesn't use the empty values as explicit values.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
3f127a7cc4 feat: inject docker labels when nginx proxy implementation is in use
This will allow users to switch to a docker label-based nginx proxy server transparently without rebuilds (after the first one), which would mimic how the caddy, haproxy, and traefik proxy implementations work.

See https://github.com/dokku/nginx-docker-proxy for an example server implementation.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
4bc3de5540 feat: write auto-detected port mappings during a deploy
During an app build, we now auto-detect ports based on the source code. This is usually http:80:5000, with Dockerfile-based deploys having their ports extracted from the docker image or Dockerfile. Additionally, we add an https:443 mapping for any detected http:80 mapping when there is an ssl certificate, and all http port mappings are transformed to https mappings for Dockerfile-based deploys.

While the ports aren't currently consumed, a future refactor will provide the ability to fallback to the new detected ports when there is no user-specified port mapping.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
b44be8def9 refactor: rename port-map property to port 2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
f842869c3d refactor: move the proxy port map from config to property
Also remove all direct references to DOKKU_PROXY_PORT_MAP from outside of ports.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
977b4567f8 refactor: simplify ports-configure codebase
This makes it slightly easier to reason about, at the cost of being slower.

Also ignore failure to remove image as this was flaky.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
48d5820b8c refactor: deprecate proxy-configure-ports plugin trigger in favor of ports-configure
This also rewrites the logic to be in golang, which will make it easier to refactor portions of it to use the property system going forward.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
192f7cf768 refactor: move code for fetching an available port to the ports plugin
Also translate the code to golang.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
121e4737a8 refactor: move code that fetches raw tcp ports for dockerfile deploys to ports plugin 2023-08-05 10:58:57 -04:00
Igor Loskutov
bdf0b6c509 Add application/wasm to nginx.conf.sigil gzip 2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
87c4cb7230 docs: sort the plugin triggers 2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
1431724b85 feat: use ports-clear plugn trigger to manage clearing the port map
This removes any access to the underlying implementation for port map clearing, which will make it easier to refactor the actual clearing.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
fb9d77878d refactor: move CHECKS file extraction to the beginning of the deploy
This makes deploys faster for any that are built from source as the image artifact isn't involved in those cases while also unifying how the file is handled.

Refs #2760
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
94f4d1325c feat: export environment variables during dockerfile builds for use with value-less --build-arg flags
Exposing all config values will allow users to skip setting environment variables twice - once as a docker option and once as an env var. Docker will automatically pull the value from the environment if none is set for the --build-arg flag.

Users will still be required to specify each desired env var via --build-arg as otherwise docker builds will complain about unused build arguments.

Re-implements #5978 (lost in a rebase)
Closes #5903
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
b8680f7de7 fix: automatically clear the git source-image property when changing deployment methodologies
This ensures users don't have issues with cached state in regards to files pulled from the repo/image.

Also add missing docs for deploy-source-set trigger.

Closes #5963
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
11d9ed6724 tests: use ports:report to get the list of port mappings 2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
914475f3e4 refactor: use ports-get plugn trigger for fetching port mappings
This removes use of ports internals from other plugins, which will make it easier to refactor the underlying property storage.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
9bd6e17903 docs: update migration guide to point out other important changes 2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
515994c8d3 feat: add the ability to execute a cron task on the fly
Closes #4904
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
798a413096 feat: re-add apps and config cli aliases
This better follows Heroku's output and is more useful to users. The subcommands will be treated as the primary, documented versions, while the aliases are there for convenience.

Closes #5362
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
1d0d050596 feat: mount the vector data directory instead of the vector file
This allows users to provide extra configuration files for Vector, such as when using the GCP Operations log sink.

Closes #4971
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
820883e60c feat: add json format output to cron:list command
This makes it easier to parse output in a machine-readable format - such as when interacting with cron tasks via jq for writing tests.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
afc318526c refactor: move crontab writing code to scheduler-docker-local plugin
The implementation was very heavily docker-local specific and thus didn't make a ton of sense to keep in the cron plugin.

This also re-introduces changes from #5908 to parallelize the crontab generation (which is also specific to the docker-local scheduler) that were lost during a rebase.

The impetus for this change was implementing a `cron:run` command. The logic for actually running the command isn't scheduler specific - merely invoking `dokku run` with the appropriate arguments - but all the logic around how the commands were retrieved were, so the change was made pre-emptively.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
eb6f85f083 feat: skip scaled processes that are missing in the Procfile
This allows folks to deploy apps that don't have a web process without needing to scale that process down before/after the first deploy. Note that the formations key in the app.json or a manual scale of other processes will be necessary to start anything non-web.

Closes #5700
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
64f0f2674d refactor: move all port management code to standalone ports plugin
This change makes interacting with port mappings more clear - folks might previously set the port mapping to the proxy type or vice-versa.

The existing proxy:ports* commands still exist but will show a deprecation warning for a single minor release.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
a0b84d52ef docs: clarify that a branch can be specified when updating a plugin
Installing/Updating a plugin to a particular commit object will ensure future calls to plugin:update are pinned to that object.

Closes #4551
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
f7c46a46f4 fix: mount the traefik data directory instead of the acme.json file when starting traefik
Without this change, Docker - at least on arm64 - appears to mount the file as 0755 instead of 0600. We can trick docker by mounting the folder and then referencing _that_ instead.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
bbbe0e763d fix: do not start proxy implementations during server restore if they weren't manually started via the :start command
This change ensures users don't have unnecessary proxies starting on their servers and potentially have apps not routing correctly due to another proxy squatting on a port.

Closes #5846
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
ef25a9b0d8 refactor: standardize on shorthand for redirecting all output to /dev/null
The shorthand is more prevalent in this codebase, and is something that bash supports, so we should just use the same thing everywhere.

Note that we do not use shorthand redirect in Makefile as shell parsing is a bit different in Make and the shorthand redirect doesn't seem to be properly supported, causing CI errors.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
dac566e75e refactor: move all shellcheck disable definitions to .shellcheckrc file
This makes standard use of shellcheck work without needing to provide extra configuration anywhere.

Also remove use of inline 'shellcheck disable' calls that are already defined in the .shellcheckrc and don't need to be set inline.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
4436bb2023 chore: standardize on ls subcommand when interacting with the docker binary
The ls command is what is referenced in the --help output for the subcommands, so we should just use that everywhere.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
5dc2f20432 fix: remove all containers and images by label on app destroy
Previously, we would filter containers and images by name, which could be fail if the app was renamed or no longer was tagged "correctly" due to a rebuild. Now, we filter by label, ensuring an app is completely cleaned up on deletion.

Also:

- Move docker image cleanup from apps plugin to builder plugin: This isn't where it belongs - images should be cleaned up in a builder plugin (or the builders plugin) and not in the apps plugin, which has nothing to do with docker images anyways.
- Remove the code from the scheduler plugin, as that will only do anything if the scheduler is enabled for the app.
- Bypass image removal if there are no images to remove
- Always delete app containers: The herokuish builder creates intermediate build containers - something that should be refactored - and ideally this gets run in that builder plugin, but keeping the logic here ensures we don't have code duplication. This is otherwise safe as it will be a no-op if there are no containers to clean up.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
3c5a98cb1b chore: remove stickler-ci config
Stickler-CI was shutdown in May 2023 - https://stickler-ci.com/shutting-down - and thus we no longer need configuration for it.

So long, and thanks for all the fish :)
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
60b343470b feat: add support for specifying multiple networks on a given app
Closes #5314
2023-08-05 10:58:46 -04:00
Jose Diaz-Gonzalez
40b20e0c08 refactor: move herokuish app cache from the filesystem into a docker volume
This simplifies cache referencing and also paves the way for removing more from the app git directory.

Refs #1558
2023-08-05 10:35:54 -04:00
Dokku Bot
ce0177967d Release 0.30.11
# History

## 0.30.11

Install/update via the bootstrap script:

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

### Dependencies

- #6091: @dependabot[bot] chore(deps): bump mkdocs from 1.5.1 to 1.5.2 in /docs/_build
- #6093: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 37.5.1 to 37.5.2
- #6088: @dependabot[bot] chore(deps): bump golang from 1.20.6 to 1.20.7 in /tests/apps/gogrpc
- #6087: @dependabot[bot] chore(deps): bump golang from 1.20.6 to 1.20.7 in /tests/apps/zombies-dockerfile-no-tini
- #6086: @dependabot[bot] chore(deps): bump golang.org/x/net from 0.12.0 to 0.13.0 in /tests/apps/gogrpc
- #6085: @dependabot[bot] chore(deps): bump golang from 1.20.6 to 1.20.7 in /tests/apps/go-fail-postdeploy
- #6084: @dependabot[bot] chore(deps): bump golang from 1.20.6 to 1.20.7 in /tests/apps/go-fail-predeploy
- #6083: @dependabot[bot] chore(deps): bump golang from 1.20.6 to 1.20.7 in /tests/apps/zombies-dockerfile-tini
- #6072: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 37.5.0 to 37.5.1
- #6073: @dependabot[bot] chore(deps): bump pyparsing from 3.1.0 to 3.1.1 in /docs/_build
2023-08-05 13:53:08 +00:00
Jose Diaz-Gonzalez
801e28b824 Merge pull request #6091 from dokku/dependabot/pip/docs/_build/mkdocs-1.5.2
chore(deps): bump mkdocs from 1.5.1 to 1.5.2 in /docs/_build
2023-08-04 21:07:26 -04:00
Jose Diaz-Gonzalez
871c986841 Merge pull request #6093 from dokku/dependabot/github_actions/tj-actions/changed-files-37.5.2
chore(deps): bump tj-actions/changed-files from 37.5.1 to 37.5.2
2023-08-04 21:07:02 -04:00
dependabot[bot]
e98cfa8bd5 chore(deps): bump tj-actions/changed-files from 37.5.1 to 37.5.2
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.5.1 to 37.5.2.
- [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/v37.5.1...v37.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-04 13:52:13 +00:00
dependabot[bot]
f24ce401df chore(deps): bump mkdocs from 1.5.1 to 1.5.2 in /docs/_build
Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.5.1...1.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 13:44:55 +00:00
Jose Diaz-Gonzalez
a124c419ec Merge pull request #6088 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.20.7 2023-08-03 01:24:44 -04:00
Jose Diaz-Gonzalez
26be81f1bd Merge pull request #6087 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.20.7 2023-08-03 01:24:36 -04:00
dependabot[bot]
5b7cfe906d chore(deps): bump golang from 1.20.6 to 1.20.7 in /tests/apps/gogrpc
Bumps golang from 1.20.6 to 1.20.7.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 05:24:26 +00:00
Jose Diaz-Gonzalez
e571e59507 Merge pull request #6086 from dokku/dependabot/go_modules/tests/apps/gogrpc/golang.org/x/net-0.13.0 2023-08-03 01:24:24 -04:00
dependabot[bot]
1fc3261be6 chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
Bumps golang from 1.20.6 to 1.20.7.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 05:24:12 +00:00
Jose Diaz-Gonzalez
20145bd631 Merge pull request #6085 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.20.7 2023-08-03 01:24:10 -04:00
Jose Diaz-Gonzalez
03cb4691bb Merge pull request #6084 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.20.7 2023-08-03 01:23:52 -04:00
Jose Diaz-Gonzalez
d30f0238db Merge pull request #6083 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.20.7 2023-08-03 01:23:25 -04:00
dependabot[bot]
e68780bd07 chore(deps): bump golang.org/x/net in /tests/apps/gogrpc
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.12.0 to 0.13.0.
- [Commits](https://github.com/golang/net/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 13:31:19 +00:00
dependabot[bot]
a038e99b2a chore(deps): bump golang in /tests/apps/go-fail-postdeploy
Bumps golang from 1.20.6 to 1.20.7.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 13:20:30 +00:00
dependabot[bot]
b3ec751b8c chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.20.6 to 1.20.7.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 13:14:10 +00:00
dependabot[bot]
e9482e4624 chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
Bumps golang from 1.20.6 to 1.20.7.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 13:08:20 +00:00
Jose Diaz-Gonzalez
6037ebb15a Merge pull request #6072 from dokku/dependabot/github_actions/tj-actions/changed-files-37.5.1
chore(deps): bump tj-actions/changed-files from 37.5.0 to 37.5.1
2023-07-31 12:28:53 -04:00
Jose Diaz-Gonzalez
128fe6edac Merge pull request #6073 from dokku/dependabot/pip/docs/_build/pyparsing-3.1.1
chore(deps): bump pyparsing from 3.1.0 to 3.1.1 in /docs/_build
2023-07-31 12:28:31 -04:00
dependabot[bot]
c07c9dc4ec chore(deps): bump pyparsing from 3.1.0 to 3.1.1 in /docs/_build
Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/pyparsing/pyparsing/releases)
- [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES)
- [Commits](https://github.com/pyparsing/pyparsing/compare/3.1.0...3.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 13:21:49 +00:00
dependabot[bot]
4259e6d4a1 chore(deps): bump tj-actions/changed-files from 37.5.0 to 37.5.1
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.5.0 to 37.5.1.
- [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/v37.5.0...v37.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 13:17:07 +00:00
Dokku Bot
4003c3f1a6 Release 0.30.10
# History

## 0.30.10

Install/update via the bootstrap script:

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

### Bug Fixes

- #6036: @l3x4 Remove auth middleware from traefik compose setup when basic auth is not enabled
- #6041: @josegonzalez Use updated path for devcontainer vscode extensions
- #6022: @iphoting Fix issue with docker plugin-list install failing boot for docker-based installations
- #6028: @josegonzalez Detect and use systemd on Debian systems when interacting with nginx

### Documentation

- #6068: @nickgal Fix typo in port management docs
- #6063: @PabloCastellano Fix typo in nginx docs

### Tests

- #6035: @iphoting Allow the check-commit CI job to work with PRs from other repos

### Dependencies

- #6065: @dependabot[bot] chore(deps): bump mkdocs-material from 9.1.19 to 9.1.21 in /docs/_build
- #6064: @dependabot[bot] chore(deps): bump mkdocs from 1.4.3 to 1.5.1 in /docs/_build
- #6059: @josegonzalez Update go packages to fix build issues
- #6058: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 37.4.0 to 37.5.0
- #6053: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 37.3.0 to 37.4.0
- #6049: @dependabot[bot] chore(deps): bump gunicorn from 21.1.0 to 21.2.0 in /tests/apps/multi
- #6050: @dependabot[bot] chore(deps): bump click from 8.1.5 to 8.1.6 in /docs/_build
- #6051: @dependabot[bot] chore(deps): bump gunicorn from 21.1.0 to 21.2.0 in /tests/apps/python-flask
- #6052: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 37.1.2 to 37.3.0
- #6048: @dependabot[bot] chore(deps): bump pyyaml from 6.0 to 6.0.1 in /docs/_build
- #6047: @dependabot[bot] chore(deps): bump mkdocs-material from 9.1.18 to 9.1.19 in /docs/_build
- #6046: @dependabot[bot] chore(deps): bump gunicorn from 20.1.0 to 21.1.0 in /tests/apps/python-flask
- #6045: @dependabot[bot] chore(deps): bump gunicorn from 20.1.0 to 21.1.0 in /tests/apps/multi
- #6044: @dependabot[bot] chore(deps): bump zipp from 3.16.1 to 3.16.2 in /docs/_build
- #6038: @dependabot[bot] chore(deps): bump pymdown-extensions from 10.0.1 to 10.1 in /docs/_build
- #6039: @dependabot[bot] chore(deps): bump click from 8.1.4 to 8.1.5 in /docs/_build
- #6040: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 37.1.1 to 37.1.2
- #6037: @dependabot[bot] chore(deps): bump zipp from 3.16.0 to 3.16.1 in /docs/_build
- #6034: @dependabot[bot] chore(deps): bump golang from 1.20.5 to 1.20.6 in /tests/apps/zombies-dockerfile-tini
- #6032: @dependabot[bot] chore(deps): bump golang from 1.20.5 to 1.20.6 in /tests/apps/zombies-dockerfile-no-tini
- #6033: @dependabot[bot] chore(deps): bump golang from 1.20.5 to 1.20.6 in /tests/apps/gogrpc
- #6031: @dependabot[bot] chore(deps): bump golang from 1.20.5 to 1.20.6 in /tests/apps/go-fail-postdeploy
- #6030: @dependabot[bot] chore(deps): bump golang from 1.20.5 to 1.20.6 in /tests/apps/go-fail-predeploy
- #6027: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 37.1.0 to 37.1.1
- #6024: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 37.0.5 to 37.1.0
- #6026: @dependabot[bot] chore(deps): bump importlib-metadata from 6.7.0 to 6.8.0 in /docs/_build
- #6025: @dependabot[bot] chore(deps): bump zipp from 3.15.0 to 3.16.0 in /docs/_build

### Other

- #6056: @Coffee2CodeNL Add debian bookworm to release and bootstrap script
2023-07-31 03:37:50 +00:00
Jose Diaz-Gonzalez
ae6f9b6a20 Merge pull request #6065 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.1.21
chore(deps): bump mkdocs-material from 9.1.19 to 9.1.21 in /docs/_build
2023-07-28 16:54:27 -04:00
Jose Diaz-Gonzalez
3bac38d501 Merge pull request #6064 from dokku/dependabot/pip/docs/_build/mkdocs-1.5.1
chore(deps): bump mkdocs from 1.4.3 to 1.5.1 in /docs/_build
2023-07-28 16:54:17 -04:00
Jose Diaz-Gonzalez
d609299f3b Merge pull request #6068 from nickgal/patch-1
Fix typo in port management docs
2023-07-28 16:54:03 -04:00
Jose Diaz-Gonzalez
4b327ff59e Merge pull request #6063 from PabloCastellano/patch-1
Fix mistake on->off in nginx.md
2023-07-28 16:53:31 -04:00
Nick Gal
1accac821c Update port-management.md
Fix typo in command
2023-07-28 13:44:58 -07:00
dependabot[bot]
def3eeb4a0 chore(deps): bump mkdocs-material from 9.1.19 to 9.1.21 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.19 to 9.1.21.
- [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.1.19...9.1.21)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-28 13:30:17 +00:00
dependabot[bot]
70d47400a4 chore(deps): bump mkdocs from 1.4.3 to 1.5.1 in /docs/_build
Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.4.3 to 1.5.1.
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.4.3...1.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-28 13:30:02 +00:00
Pablo Castellano
dcb2f2d0a7 Fix mistake in nginx.md 2023-07-28 13:31:52 +02:00
Jose Diaz-Gonzalez
98cf6e714a Merge pull request #6059 from dokku/go-mod-update
Update go packages to fix build issues
2023-07-25 13:12:28 -04:00
Jose Diaz-Gonzalez
9787b67854 chore: update go packages to fix build issues 2023-07-25 11:43:48 -04:00
Jose Diaz-Gonzalez
729ede8df0 Merge pull request #6058 from dokku/dependabot/github_actions/tj-actions/changed-files-37.5.0
chore(deps): bump tj-actions/changed-files from 37.4.0 to 37.5.0
2023-07-25 11:35:21 -04:00
dependabot[bot]
123c4d1411 chore(deps): bump tj-actions/changed-files from 37.4.0 to 37.5.0
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.4.0 to 37.5.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/v37.4.0...v37.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 14:02:12 +00:00
Jose Diaz-Gonzalez
093ff059a9 Merge pull request #6056 from Coffee2CodeNL/debian_bookworm_update
Update to debian bookworm
2023-07-25 00:39:21 -04:00
Ré Schopmeijer
a537714375 Update to debian bookworm 2023-07-24 16:42:23 +02:00
Jose Diaz-Gonzalez
44bfd571bd Merge pull request #6053 from dokku/dependabot/github_actions/tj-actions/changed-files-37.4.0
chore(deps): bump tj-actions/changed-files from 37.3.0 to 37.4.0
2023-07-21 13:38:01 -04:00
dependabot[bot]
b0b0dd046d chore(deps): bump tj-actions/changed-files from 37.3.0 to 37.4.0
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.3.0 to 37.4.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/v37.3.0...v37.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 13:27:18 +00:00
Jose Diaz-Gonzalez
0cb68eeac5 Merge pull request #6049 from dokku/dependabot/pip/tests/apps/multi/gunicorn-21.2.0
chore(deps): bump gunicorn from 21.1.0 to 21.2.0 in /tests/apps/multi
2023-07-20 21:41:03 -04:00
Jose Diaz-Gonzalez
d4997aeccc Merge pull request #6050 from dokku/dependabot/pip/docs/_build/click-8.1.6
chore(deps): bump click from 8.1.5 to 8.1.6 in /docs/_build
2023-07-20 21:40:55 -04:00
Jose Diaz-Gonzalez
85b21f61be Merge pull request #6051 from dokku/dependabot/pip/tests/apps/python-flask/gunicorn-21.2.0
chore(deps): bump gunicorn from 21.1.0 to 21.2.0 in /tests/apps/python-flask
2023-07-20 21:40:46 -04:00
Jose Diaz-Gonzalez
0333c92b86 Merge pull request #6052 from dokku/dependabot/github_actions/tj-actions/changed-files-37.3.0
chore(deps): bump tj-actions/changed-files from 37.1.2 to 37.3.0
2023-07-20 21:40:27 -04:00
dependabot[bot]
e1f97b57e3 chore(deps): bump tj-actions/changed-files from 37.1.2 to 37.3.0
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.1.2 to 37.3.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/v37.1.2...v37.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 13:43:27 +00:00
dependabot[bot]
a9aea2386c chore(deps): bump gunicorn in /tests/apps/python-flask
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 21.1.0 to 21.2.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/21.1.0...21.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 13:43:10 +00:00
dependabot[bot]
994b3de64c chore(deps): bump click from 8.1.5 to 8.1.6 in /docs/_build
Bumps [click](https://github.com/pallets/click) from 8.1.5 to 8.1.6.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/8.1.6/CHANGES.rst)
- [Commits](https://github.com/pallets/click/compare/8.1.5...8.1.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 13:14:10 +00:00
dependabot[bot]
fca84b151c chore(deps): bump gunicorn from 21.1.0 to 21.2.0 in /tests/apps/multi
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 21.1.0 to 21.2.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/21.1.0...21.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 13:13:13 +00:00
Jose Diaz-Gonzalez
4bb901bd15 Merge pull request #6048 from dokku/dependabot/pip/docs/_build/pyyaml-6.0.1
chore(deps): bump pyyaml from 6.0 to 6.0.1 in /docs/_build
2023-07-18 12:15:36 -04:00
Jose Diaz-Gonzalez
4b80d3a1ea Merge pull request #6047 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.1.19
chore(deps): bump mkdocs-material from 9.1.18 to 9.1.19 in /docs/_build
2023-07-18 12:15:27 -04:00
Jose Diaz-Gonzalez
ea7c02ca89 Merge pull request #6046 from dokku/dependabot/pip/tests/apps/python-flask/gunicorn-21.1.0
chore(deps): bump gunicorn from 20.1.0 to 21.1.0 in /tests/apps/python-flask
2023-07-18 12:15:10 -04:00
Jose Diaz-Gonzalez
a9fe838d86 Merge pull request #6045 from dokku/dependabot/pip/tests/apps/multi/gunicorn-21.1.0
chore(deps): bump gunicorn from 20.1.0 to 21.1.0 in /tests/apps/multi
2023-07-18 12:14:57 -04:00
Jose Diaz-Gonzalez
1ee5fbda46 Merge pull request #6036 from l3x4/fix-traefik-vhosts-templates-compose
Fix traefik vhosts compose template
2023-07-18 12:11:15 -04:00
dependabot[bot]
ac0b1fc574 chore(deps): bump pyyaml from 6.0 to 6.0.1 in /docs/_build
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 6.0 to 6.0.1.
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.1/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/6.0...6.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 13:51:21 +00:00
dependabot[bot]
358b19b55a chore(deps): bump mkdocs-material from 9.1.18 to 9.1.19 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.18 to 9.1.19.
- [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.1.18...9.1.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 13:51:14 +00:00
dependabot[bot]
fc57ae329a chore(deps): bump gunicorn in /tests/apps/python-flask
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 20.1.0 to 21.1.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/20.1.0...21.1.0)

---
updated-dependencies:
- dependency-name: gunicorn
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 13:24:55 +00:00
dependabot[bot]
b904adb2b2 chore(deps): bump gunicorn from 20.1.0 to 21.1.0 in /tests/apps/multi
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 20.1.0 to 21.1.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/20.1.0...21.1.0)

---
updated-dependencies:
- dependency-name: gunicorn
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 13:10:51 +00:00
Jose Diaz-Gonzalez
f0f41c7a02 Merge pull request #6044 from dokku/dependabot/pip/docs/_build/zipp-3.16.2
chore(deps): bump zipp from 3.16.1 to 3.16.2 in /docs/_build
2023-07-18 01:45:44 -04:00
dependabot[bot]
5a2e42aaff chore(deps): bump zipp from 3.16.1 to 3.16.2 in /docs/_build
Bumps [zipp](https://github.com/jaraco/zipp) from 3.16.1 to 3.16.2.
- [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.16.1...v3.16.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 14:04:46 +00:00
Alexey Kharchenko
4d41cbd3ab Hide empty labels section 2023-07-17 18:14:57 +05:30
Alexey Kharchenko
687c90844d Add test for dokku traefik:show-config 2023-07-17 18:14:47 +05:30
Jose Diaz-Gonzalez
9e3efa481c Merge pull request #6041 from dokku/devcontainer-update
Use updated path for devcontainer vscode extensions
2023-07-16 02:23:32 -04:00
Jose Diaz-Gonzalez
6c1d5d650b fix: use updated path for devcontainer vscode extensions 2023-07-16 02:23:07 -04:00
Jose Diaz-Gonzalez
dc8db44705 Merge pull request #6038 from dokku/dependabot/pip/docs/_build/pymdown-extensions-10.1
chore(deps): bump pymdown-extensions from 10.0.1 to 10.1 in /docs/_build
2023-07-14 11:32:01 -04:00
Jose Diaz-Gonzalez
8721640947 Merge pull request #6039 from dokku/dependabot/pip/docs/_build/click-8.1.5
chore(deps): bump click from 8.1.4 to 8.1.5 in /docs/_build
2023-07-14 11:31:52 -04:00
Jose Diaz-Gonzalez
4364ad96ee Merge pull request #6040 from dokku/dependabot/github_actions/tj-actions/changed-files-37.1.2
chore(deps): bump tj-actions/changed-files from 37.1.1 to 37.1.2
2023-07-14 11:31:39 -04:00
dependabot[bot]
ba1dcd3d38 chore(deps): bump tj-actions/changed-files from 37.1.1 to 37.1.2
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.1.1 to 37.1.2.
- [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/v37.1.1...v37.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-14 13:41:09 +00:00
dependabot[bot]
099049ac6c chore(deps): bump click from 8.1.4 to 8.1.5 in /docs/_build
Bumps [click](https://github.com/pallets/click) from 8.1.4 to 8.1.5.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/8.1.5/CHANGES.rst)
- [Commits](https://github.com/pallets/click/compare/8.1.4...8.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-14 13:20:22 +00:00
dependabot[bot]
68c9ed7043 chore(deps): bump pymdown-extensions from 10.0.1 to 10.1 in /docs/_build
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.0.1 to 10.1.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.0.1...10.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-14 13:20:13 +00:00
Jose Diaz-Gonzalez
2326eb6dfb Merge pull request #6037 from dokku/dependabot/pip/docs/_build/zipp-3.16.1
chore(deps): bump zipp from 3.16.0 to 3.16.1 in /docs/_build
2023-07-14 05:32:27 -04:00
Jose Diaz-Gonzalez
c301a36a44 Merge pull request #6022 from iphoting/patch-1
Fix issue with docker plugin-list install failing boot for docker-based installations
2023-07-14 05:16:57 -04:00
Ronald Ip
1ffb62ac82 Test: Print docker container logs during startup. 2023-07-14 11:45:17 +08:00
Ronald Ip
204732ce39 Test plugin-list within docker-based dokku installs.
Cap docker container connectivity test iterations to 100.
2023-07-14 11:45:17 +08:00
Ronald Ip
08f38892af Fix issue with docker plugin-list install failing boot for docker-based installations 2023-07-14 11:45:17 +08:00
dependabot[bot]
2a86c6cb06 chore(deps): bump zipp from 3.16.0 to 3.16.1 in /docs/_build
Bumps [zipp](https://github.com/jaraco/zipp) from 3.16.0 to 3.16.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.16.0...v3.16.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 13:40:40 +00:00
Alexey Kharchenko
3bbf5370da Fix traefik vhosts compose template
`auth` middleware label should only be added if `TRAEFIK_BASIC_AUTH` set
2023-07-13 12:01:20 +05:30
Jose Diaz-Gonzalez
55c57d049b Merge pull request #6034 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.20.6
chore(deps): bump golang from 1.20.5 to 1.20.6 in /tests/apps/zombies-dockerfile-tini
2023-07-12 13:59:52 -04:00
Jose Diaz-Gonzalez
b62038d7ca Merge pull request #6032 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.20.6
chore(deps): bump golang from 1.20.5 to 1.20.6 in /tests/apps/zombies-dockerfile-no-tini
2023-07-12 13:59:41 -04:00
Jose Diaz-Gonzalez
0548c482bd Merge pull request #6033 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.20.6
chore(deps): bump golang from 1.20.5 to 1.20.6 in /tests/apps/gogrpc
2023-07-12 13:59:33 -04:00
Jose Diaz-Gonzalez
20a23bcdd3 Merge pull request #6031 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.20.6
chore(deps): bump golang from 1.20.5 to 1.20.6 in /tests/apps/go-fail-postdeploy
2023-07-12 13:59:24 -04:00
Jose Diaz-Gonzalez
777932992a Merge pull request #6030 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.20.6
chore(deps): bump golang from 1.20.5 to 1.20.6 in /tests/apps/go-fail-predeploy
2023-07-12 13:59:11 -04:00
Jose Diaz-Gonzalez
9bd75a9a5e Merge pull request #6035 from iphoting/patch-2
Allow the check-commit CI job to work with PRs from other repos
2023-07-12 13:58:33 -04:00
Ronald Ip
d6b04d4e59 Allow the checkout action to work with PRs from other repos. 2023-07-12 23:55:14 +08:00
dependabot[bot]
53f9714306 chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
Bumps golang from 1.20.5 to 1.20.6.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 14:06:12 +00:00
dependabot[bot]
7ef41b207c chore(deps): bump golang from 1.20.5 to 1.20.6 in /tests/apps/gogrpc
Bumps golang from 1.20.5 to 1.20.6.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 13:24:40 +00:00
dependabot[bot]
e23d3767f6 chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
Bumps golang from 1.20.5 to 1.20.6.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 13:19:24 +00:00
dependabot[bot]
c0856a426a chore(deps): bump golang in /tests/apps/go-fail-postdeploy
Bumps golang from 1.20.5 to 1.20.6.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 13:17:06 +00:00
dependabot[bot]
d5ace76fc4 chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.20.5 to 1.20.6.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 13:16:40 +00:00
Jose Diaz-Gonzalez
8e779e25fb Merge pull request #6028 from dokku/6020-systemd-debian
Detect and use systemd on Debian systems when interacting with nginx
2023-07-11 22:28:45 -04:00
Jose Diaz-Gonzalez
c44d779695 fix: detect and use systemd on Debian systems
Debian Bookworm completely removes invoke-rc.d, thus breaking interactions with nginx.

Closes #6020
2023-07-11 20:34:50 -04:00
Jose Diaz-Gonzalez
30a94d1f9d Merge pull request #6027 from dokku/dependabot/github_actions/tj-actions/changed-files-37.1.1
chore(deps): bump tj-actions/changed-files from 37.1.0 to 37.1.1
2023-07-11 16:49:39 -04:00
dependabot[bot]
18cc5d4f80 chore(deps): bump tj-actions/changed-files from 37.1.0 to 37.1.1
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.1.0 to 37.1.1.
- [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/v37.1.0...v37.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 13:27:24 +00:00
Jose Diaz-Gonzalez
38ae4a1009 Merge pull request #6024 from dokku/dependabot/github_actions/tj-actions/changed-files-37.1.0
chore(deps): bump tj-actions/changed-files from 37.0.5 to 37.1.0
2023-07-10 16:30:10 -04:00
Jose Diaz-Gonzalez
34c0f92eeb Merge pull request #6026 from dokku/dependabot/pip/docs/_build/importlib-metadata-6.8.0
chore(deps): bump importlib-metadata from 6.7.0 to 6.8.0 in /docs/_build
2023-07-10 16:30:00 -04:00
Jose Diaz-Gonzalez
24614a39e0 Merge pull request #6025 from dokku/dependabot/pip/docs/_build/zipp-3.16.0
chore(deps): bump zipp from 3.15.0 to 3.16.0 in /docs/_build
2023-07-10 16:29:49 -04:00
dependabot[bot]
01cc8a8c68 chore(deps): bump importlib-metadata from 6.7.0 to 6.8.0 in /docs/_build
Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 6.7.0 to 6.8.0.
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/NEWS.rst)
- [Commits](https://github.com/python/importlib_metadata/compare/v6.7.0...v6.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 14:06:36 +00:00
dependabot[bot]
303e059f2b chore(deps): bump zipp from 3.15.0 to 3.16.0 in /docs/_build
Bumps [zipp](https://github.com/jaraco/zipp) from 3.15.0 to 3.16.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.15.0...v3.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 14:06:29 +00:00
dependabot[bot]
1b92ecbf6f chore(deps): bump tj-actions/changed-files from 37.0.5 to 37.1.0
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.0.5 to 37.1.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/v37.0.5...v37.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 14:03:40 +00:00
Dokku Bot
1958594177 Release 0.30.9
# History

## 0.30.9

Install/update via the bootstrap script:

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

### Bug Fixes

- #6009: @josegonzalez Properly set the plugin repository name when installing in a docker-based dokku install
- #5999: @caplod Fix http to https redirect in traefik

### Documentation

- #6006: @josegonzalez Clarify how to specify the contents of an ssh key for dokku
- #5998: @kleutzinger Fix typo in scheduled cron task documentation
- #5984: @josegonzalez Unify all Procfile-handling documentation under the process management docs
- #5982: @josegonzalez Update docs to mention that files are extracted from source where source code is available

### Dependencies

- #6008: @dependabot[bot] chore(deps): bump click from 8.1.3 to 8.1.4 in /docs/_build
- #6003: @dependabot[bot] chore(deps): bump django from 4.1.9 to 4.1.10 in /tests/apps/dockerfile-release
- #6005: @dependabot[bot] chore(deps): bump golang.org/x/net from 0.11.0 to 0.12.0 in /tests/apps/gogrpc
- #6000: @dependabot[bot] chore(deps): bump mkdocs-material from 9.1.17 to 9.1.18 in /docs/_build
2023-07-09 04:23:19 +00:00
Jose Diaz-Gonzalez
34d5a965d2 Merge pull request #6009 from dokku/fix-plugin-install 2023-07-08 22:35:40 -04:00
Jose Diaz-Gonzalez
dc84545982 fix: properly set the plugin repository name when installing in a docker-based dokku install 2023-07-08 03:51:06 -04:00
Jose Diaz-Gonzalez
4f7e4d1622 Merge pull request #6008 from dokku/dependabot/pip/docs/_build/click-8.1.4
chore(deps): bump click from 8.1.3 to 8.1.4 in /docs/_build
2023-07-07 13:10:47 -04:00
dependabot[bot]
469cc63489 chore(deps): bump click from 8.1.3 to 8.1.4 in /docs/_build
Bumps [click](https://github.com/pallets/click) from 8.1.3 to 8.1.4.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/click/compare/8.1.3...8.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-07 13:23:13 +00:00
Jose Diaz-Gonzalez
8b8e867386 Merge pull request #6006 from dokku/josegonzalez-patch-1
Clarify how to specify the contents of an ssh key for dokku
2023-07-06 16:01:04 -04:00
Jose Diaz-Gonzalez
b77bd45808 docs: clarify how to specify the contents of an ssh key for dokku
- The path has to exist on the remote server
- The `~` is interpreted as the dokku user
- You can echo or cat your key instead of specifying a path
2023-07-06 16:00:51 -04:00
Jose Diaz-Gonzalez
1c767938e5 Merge pull request #5999 from caplod/traefik-https-redirect
fix redirect from http to https
2023-07-06 15:36:17 -04:00
Jose Diaz-Gonzalez
160ebe1743 Merge pull request #6003 from dokku/dependabot/pip/tests/apps/dockerfile-release/django-4.1.10
chore(deps): bump django from 4.1.9 to 4.1.10 in /tests/apps/dockerfile-release
2023-07-06 15:32:10 -04:00
Jose Diaz-Gonzalez
a538ced9e1 Merge pull request #6005 from dokku/dependabot/go_modules/tests/apps/gogrpc/golang.org/x/net-0.12.0
chore(deps): bump golang.org/x/net from 0.11.0 to 0.12.0 in /tests/apps/gogrpc
2023-07-06 15:31:58 -04:00
dependabot[bot]
00e409db90 chore(deps): bump golang.org/x/net in /tests/apps/gogrpc
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/net/compare/v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 13:36:46 +00:00
dependabot[bot]
363d6c6af3 chore(deps): bump django in /tests/apps/dockerfile-release
Bumps [django](https://github.com/django/django) from 4.1.9 to 4.1.10.
- [Commits](https://github.com/django/django/compare/4.1.9...4.1.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 00:10:31 +00:00
Jose Diaz-Gonzalez
b774e5d6f9 Merge pull request #6000 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.1.18
chore(deps): bump mkdocs-material from 9.1.17 to 9.1.18 in /docs/_build
2023-07-05 12:53:41 -04:00
dependabot[bot]
9947cd9e8a chore(deps): bump mkdocs-material from 9.1.17 to 9.1.18 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.17 to 9.1.18.
- [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.1.17...9.1.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-03 13:15:41 +00:00
Stefan Mielke
31ec6f4605 fix redirect from http to https 2023-07-03 09:31:10 +02:00
Jose Diaz-Gonzalez
a06532596b Merge pull request #5998 from kleutzinger-forks/master
Fix typo in scheduled cron task documentation
2023-07-03 00:04:01 -04:00
Kevin Leutzinger
f3724fd8cf Fix typo in scheduled-cron-tasks.md 2023-07-02 20:43:16 -07:00
Jose Diaz-Gonzalez
841856f7c7 Merge pull request #5984 from dokku/procfile-format
Unify all Procfile-handling documentation under the process management docs
2023-07-01 18:03:25 -04:00
Jose Diaz-Gonzalez
f465c0e221 docs: unify all Procfile-handling documentation under the process management docs
This makes it more clear as to how the various builders utilize the Procfile, and also ensures we don't have conflicting information anywhere.
2023-07-01 18:02:42 -04:00
Jose Diaz-Gonzalez
2f0d6c606f Merge pull request #5982 from dokku/file-locations
Update docs to mention that files are extracted from source where source code is available
2023-07-01 09:00:17 -04:00
Jose Diaz-Gonzalez
73f61b75d5 docs: update docs to mention that files are extracted from source where source code is available
Recent Dokku changes invalidate a bunch of docs around where files need to be placed in order for Dokku to respect them. This doc change clarifies where files are extracted from in cases where source code is available, which should hopefully make users less confused about how the system works.

See https://railsnotes.xyz/blog/deploying-ruby-on-rails-with-dokku-redis-sidekiq-arm-docker-hetzner for the inspiration - I was reading through it and was like 'these docs are definitely incorrect...'.
2023-07-01 08:58:43 -04:00
Dokku Bot
66d790ca2d Release 0.30.8
# History

## 0.30.8

Install/update via the bootstrap script:

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

### Bug Fixes

- #5941: @josegonzalez Use github token to avoid rate limiting during packer init
- #5930: @michaelmulley Fix issue with docker plugin-list install failing boot for docker-based installations

### New Features

- #5962: @jaytula Add Debian 12 support to the bootstrap install script
- #5926: @josegonzalez Update default herokuish version to 0.6.0

### Documentation

- #5943: @josegonzalez Add a note for each network type mentioning when they are best used
- #5938: @josegonzalez Add build-base to ensure gcc is available
- #5927: @aradalvand Improve docs about `X-Forwarded-*` headers and move it to nginx.md
- #5921: @aradalvand Update dockerfiles.md to mention that BuildKit is the default builder from Docker v24 onwards
- #5923: @aradalvand Remove `:master` from `git push` commands in the documentation

### Tests

- #5972: @josegonzalez Add permissions to allow publishing test results for pull requests
- #5944: @josegonzalez Add the ability to skip ci when commit message includes a ci skip message or are docs related

### Dependencies

- #5971: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 37.0.4 to 37.0.5
- #5967: @dependabot[bot] chore(deps): bump socket.io from 4.6.2 to 4.7.1 in /tests/apps/.websocket.disabled
- #5968: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 37.0.3 to 37.0.4
- #5966: @dependabot[bot] chore(deps): bump mkdocs-material from 9.1.16 to 9.1.17 in /docs/_build
- #5965: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 36.4.1 to 37.0.3
- #5957: @josegonzalez chore: update go packages to fix build issues
- #5956: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 36.4.0 to 36.4.1
- #5949: @dependabot[bot] chore(deps): bump github.com/otiai10/copy from 1.11.0 to 1.12.0 in /plugins/builder
- #5951: @dependabot[bot] chore(deps): bump github.com/otiai10/copy from 1.11.0 to 1.12.0 in /plugins/ps
- #5952: @dependabot[bot] chore(deps): bump github.com/otiai10/copy from 1.11.0 to 1.12.0 in /plugins/common
- #5953: @dependabot[bot] chore(deps): bump github.com/otiai10/copy from 1.11.0 to 1.12.0 in /plugins/app-json
- #5948: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 36.3.0 to 36.4.0
- #5950: @dependabot[bot] chore(deps): bump importlib-metadata from 6.6.0 to 6.7.0 in /docs/_build
- #5954: @dependabot[bot] chore(deps): bump pyparsing from 3.0.9 to 3.1.0 in /docs/_build
- #5946: @josegonzalez Update to actions/checkout@v3
- #5940: @dependabot[bot] chore(deps): bump mkdocs-material from 9.1.15 to 9.1.16 in /docs/_build
- #5939: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 36.2.1 to 36.3.0
- #5937: @josegonzalez chore: update go packages to fix build issues
- #5934: @dependabot[bot] chore(deps): bump golang.org/x/sync from 0.2.0 to 0.3.0 in /plugins/app-json
- #5933: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 36.1.0 to 36.2.1
- #5935: @dependabot[bot] chore(deps): bump golang.org/x/sync from 0.2.0 to 0.3.0 in /plugins/common
- #5928: @dependabot[bot] chore(deps): bump golang.org/x/net from 0.10.0 to 0.11.0 in /tests/apps/gogrpc
- #5922: @dependabot[bot] chore(deps): bump werkzeug from 2.3.5 to 2.3.6 in /tests/apps/python-flask
- #5919: @dependabot[bot] chore(deps): bump python from 3.11.3-buster to 3.11.4-buster in /tests/apps/dockerfile-release
- #5913: @dependabot[bot] chore(deps): bump golang from 1.20.4 to 1.20.5 in /tests/apps/go-fail-predeploy
- #5915: @dependabot[bot] chore(deps): bump github.com/onsi/gomega from 1.27.7 to 1.27.8 in /plugins/config
- #5916: @dependabot[bot] chore(deps): bump github.com/onsi/gomega from 1.27.7 to 1.27.8 in /plugins/common
- #5917: @dependabot[bot] chore(deps): bump werkzeug from 2.3.4 to 2.3.5 in /tests/apps/python-flask
- #5918: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 36.0.18 to 36.1.0
- #5920: @dependabot[bot] chore(deps): bump python from 3.11.3-alpine to 3.11.4-alpine in /docs/_build
- #5914: @dependabot[bot] chore(deps): bump golang from 1.20.4 to 1.20.5 in /tests/apps/zombies-dockerfile-no-tini
- #5912: @dependabot[bot] chore(deps): bump golang from 1.20.4 to 1.20.5 in /tests/apps/go-fail-postdeploy
- #5911: @dependabot[bot] chore(deps): bump golang from 1.20.4 to 1.20.5 in /tests/apps/gogrpc
- #5910: @dependabot[bot] chore(deps): bump golang from 1.20.4 to 1.20.5 in /tests/apps/zombies-dockerfile-tini
- #5909: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 36.0.17 to 36.0.18
- #5906: @dependabot[bot] chore(deps): bump markupsafe from 2.1.2 to 2.1.3 in /docs/_build
- #5907: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 36.0.15 to 36.0.17

### Other

- #5945: @josegonzalez tests: split out image building into it's own job to speed up ci
- #5942: @josegonzalez Move the times function to functions.go
2023-07-01 10:56:06 +00:00
Jose Diaz-Gonzalez
a30668ad21 Merge pull request #5972 from dokku/josegonzalez-patch-1
Add permissions to allow publishing test results for pull requests
2023-07-01 03:00:00 -04:00
Jose Diaz-Gonzalez
57b14e7a54 fix: add permissions to allow publishing test results for pull requests
Without this, almost every PR from a non-contributor will fail at the publish-test-results
2023-07-01 02:59:48 -04:00
Jose Diaz-Gonzalez
d6bd127ee9 Merge pull request #5971 from dokku/dependabot/github_actions/tj-actions/changed-files-37.0.5
chore(deps): bump tj-actions/changed-files from 37.0.4 to 37.0.5
2023-07-01 02:53:33 -04:00
dependabot[bot]
a4ebdd6319 chore(deps): bump tj-actions/changed-files from 37.0.4 to 37.0.5
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.0.4 to 37.0.5.
- [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/v37.0.4...v37.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-30 13:35:32 +00:00
Jose Diaz-Gonzalez
1afb559dc1 Merge pull request #5962 from jaytula/add-debian-12-bookworm-support
Add Debian 12 support to the bootstrap install script
2023-06-28 15:17:06 -04:00
Jose Diaz-Gonzalez
ea10d9ad4c Merge pull request #5967 from dokku/dependabot/npm_and_yarn/tests/apps/dot-websocket.disabled/socket.io-4.7.1
chore(deps): bump socket.io from 4.6.2 to 4.7.1 in /tests/apps/.websocket.disabled
2023-06-28 15:11:29 -04:00
Jose Diaz-Gonzalez
ad7c7dabe7 Merge pull request #5968 from dokku/dependabot/github_actions/tj-actions/changed-files-37.0.4
chore(deps): bump tj-actions/changed-files from 37.0.3 to 37.0.4
2023-06-28 15:11:19 -04:00
dependabot[bot]
d34df8642c chore(deps): bump tj-actions/changed-files from 37.0.3 to 37.0.4
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.0.3 to 37.0.4.
- [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/v37.0.3...v37.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-28 14:00:52 +00:00
dependabot[bot]
d3617f745b chore(deps): bump socket.io in /tests/apps/.websocket.disabled
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.6.2 to 4.7.1.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.6.2...4.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-28 13:57:45 +00:00
Jose Diaz-Gonzalez
05307b3402 Merge pull request #5966 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.1.17
chore(deps): bump mkdocs-material from 9.1.16 to 9.1.17 in /docs/_build
2023-06-27 15:05:04 -04:00
Jose Diaz-Gonzalez
0777637f6a Merge pull request #5965 from dokku/dependabot/github_actions/tj-actions/changed-files-37.0.3
chore(deps): bump tj-actions/changed-files from 36.4.1 to 37.0.3
2023-06-27 15:04:56 -04:00
dependabot[bot]
8a7858d8f5 chore(deps): bump mkdocs-material from 9.1.16 to 9.1.17 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.16 to 9.1.17.
- [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.1.16...9.1.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 14:08:25 +00:00
dependabot[bot]
8e8290575b chore(deps): bump tj-actions/changed-files from 36.4.1 to 37.0.3
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36.4.1 to 37.0.3.
- [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/v36.4.1...v37.0.3)

---
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>
2023-06-26 14:03:38 +00:00
Jay T
dcb31237d3 Add Debian 12 support #5960 2023-06-23 23:51:23 -07:00
Samuel Batista
848c54c910 Fix command to get docker image digest 2023-06-21 23:58:59 -04:00
Jose Diaz-Gonzalez
0a14835f1b Merge pull request #5957 from dokku/update-go-mod
chore: update go packages to fix build issues
2023-06-21 17:19:17 -04:00
Jose Diaz-Gonzalez
93e4835e5e chore: update go packages to fix build issues 2023-06-21 10:37:52 -04:00
Jose Diaz-Gonzalez
2cea316d3d Merge pull request #5956 from dokku/dependabot/github_actions/tj-actions/changed-files-36.4.1
chore(deps): bump tj-actions/changed-files from 36.4.0 to 36.4.1
2023-06-21 10:35:28 -04:00
dependabot[bot]
c9ba6e476f chore(deps): bump tj-actions/changed-files from 36.4.0 to 36.4.1
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36.4.0 to 36.4.1.
- [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/v36.4.0...v36.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-21 14:04:08 +00:00
Jose Diaz-Gonzalez
0498d45549 Merge pull request #5949 from dokku/dependabot/go_modules/plugins/builder/github.com/otiai10/copy-1.12.0
chore(deps): bump github.com/otiai10/copy from 1.11.0 to 1.12.0 in /plugins/builder
2023-06-19 14:27:51 -04:00
Jose Diaz-Gonzalez
db7acc5747 Merge pull request #5951 from dokku/dependabot/go_modules/plugins/ps/github.com/otiai10/copy-1.12.0
chore(deps): bump github.com/otiai10/copy from 1.11.0 to 1.12.0 in /plugins/ps
2023-06-19 14:27:43 -04:00
Jose Diaz-Gonzalez
069d93ca56 Merge pull request #5952 from dokku/dependabot/go_modules/plugins/common/github.com/otiai10/copy-1.12.0
chore(deps): bump github.com/otiai10/copy from 1.11.0 to 1.12.0 in /plugins/common
2023-06-19 14:27:36 -04:00
Jose Diaz-Gonzalez
8d4660279d Merge pull request #5953 from dokku/dependabot/go_modules/plugins/app-json/github.com/otiai10/copy-1.12.0
chore(deps): bump github.com/otiai10/copy from 1.11.0 to 1.12.0 in /plugins/app-json
2023-06-19 14:27:29 -04:00
Jose Diaz-Gonzalez
3b8ad5c9ec Merge pull request #5948 from dokku/dependabot/github_actions/tj-actions/changed-files-36.4.0
chore(deps): bump tj-actions/changed-files from 36.3.0 to 36.4.0
2023-06-19 14:26:07 -04:00
Jose Diaz-Gonzalez
8b0a609948 Merge pull request #5950 from dokku/dependabot/pip/docs/_build/importlib-metadata-6.7.0
chore(deps): bump importlib-metadata from 6.6.0 to 6.7.0 in /docs/_build
2023-06-19 14:25:39 -04:00
Jose Diaz-Gonzalez
7e9a8ecc3a Merge pull request #5954 from dokku/dependabot/pip/docs/_build/pyparsing-3.1.0
chore(deps): bump pyparsing from 3.0.9 to 3.1.0 in /docs/_build
2023-06-19 14:06:44 -04:00
dependabot[bot]
75e6b1675f chore(deps): bump pyparsing from 3.0.9 to 3.1.0 in /docs/_build
Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 3.0.9 to 3.1.0.
- [Release notes](https://github.com/pyparsing/pyparsing/releases)
- [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES)
- [Commits](https://github.com/pyparsing/pyparsing/compare/pyparsing_3.0.9...3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 14:08:55 +00:00
dependabot[bot]
c2724a6a66 chore(deps): bump github.com/otiai10/copy in /plugins/app-json
Bumps [github.com/otiai10/copy](https://github.com/otiai10/copy) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/otiai10/copy/releases)
- [Commits](https://github.com/otiai10/copy/compare/v1.11.0...v1.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 14:08:54 +00:00
dependabot[bot]
1199062c0b chore(deps): bump github.com/otiai10/copy in /plugins/common
Bumps [github.com/otiai10/copy](https://github.com/otiai10/copy) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/otiai10/copy/releases)
- [Commits](https://github.com/otiai10/copy/compare/v1.11.0...v1.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 14:08:45 +00:00
dependabot[bot]
1dbc0ef9cb chore(deps): bump github.com/otiai10/copy in /plugins/ps
Bumps [github.com/otiai10/copy](https://github.com/otiai10/copy) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/otiai10/copy/releases)
- [Commits](https://github.com/otiai10/copy/compare/v1.11.0...v1.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 14:08:40 +00:00
dependabot[bot]
f52bea2e83 chore(deps): bump importlib-metadata from 6.6.0 to 6.7.0 in /docs/_build
Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 6.6.0 to 6.7.0.
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/CHANGES.rst)
- [Commits](https://github.com/python/importlib_metadata/compare/v6.6.0...v6.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 14:08:38 +00:00
dependabot[bot]
e28b589fab chore(deps): bump github.com/otiai10/copy in /plugins/builder
Bumps [github.com/otiai10/copy](https://github.com/otiai10/copy) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/otiai10/copy/releases)
- [Commits](https://github.com/otiai10/copy/compare/v1.11.0...v1.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 14:08:32 +00:00
dependabot[bot]
ec212d52cf chore(deps): bump tj-actions/changed-files from 36.3.0 to 36.4.0
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36.3.0 to 36.4.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/v36.3.0...v36.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 14:04:09 +00:00
Jose Diaz-Gonzalez
8569395cae Merge pull request #5945 from dokku/faster-ci
tests: split out image building into it's own job to speed up ci
2023-06-17 01:58:00 -04:00
Jose Diaz-Gonzalez
fdf37e1752 fix: add context 2023-06-17 01:02:41 -04:00
Jose Diaz-Gonzalez
4aebdd7e83 fix: correct yaml formatting issues 2023-06-17 00:47:28 -04:00
Jose Diaz-Gonzalez
86f76daa72 Merge pull request #5946 from dokku/josegonzalez-patch-1
Update to actions/checkout@v3
2023-06-17 00:42:51 -04:00
Jose Diaz-Gonzalez
ee163f192f chore: update to actions/checkout@v3 2023-06-17 00:42:39 -04:00
Jose Diaz-Gonzalez
e7652fbae3 tests: split out image building into it's own job to speed up ci
Previously, we would build the dokku package and install it in the same step. While the package building was relatively quick, because of our multi-architecture support, we would end up spending a large amount of time waiting for arm/arm64 images to build.

This change splits those builds out, allowing unit tests to start much quicker and each platform to be tested in parallel.
2023-06-17 00:31:20 -04:00
Jose Diaz-Gonzalez
867e43998f Merge pull request #5944 from dokku/skip-tests
Add the ability to skip ci when commit message includes a ci skip message or are docs related
2023-06-17 00:01:46 -04:00
Jose Diaz-Gonzalez
3b81a9204c tests: add the ability to skip ci when commit message includes a ci skip message or are docs related 2023-06-17 00:00:31 -04:00
Jose Diaz-Gonzalez
aad86b72a0 Merge pull request #5943 from dokku/network-docs
Add a note for each network type mentioning when they are best used
2023-06-16 23:41:11 -04:00
Jose Diaz-Gonzalez
de09675d85 docs: add a note for each network type mentioning when they are best used 2023-06-16 23:40:38 -04:00
Jose Diaz-Gonzalez
83dd75a9b3 Merge pull request #5942 from dokku/move-times
Move the times function to functions.go
2023-06-16 23:39:22 -04:00
Jose Diaz-Gonzalez
49dc73028e chore: move the times function to functions.go
The functions.go file is where private functions to a given plugin go.
2023-06-16 23:38:53 -04:00
Jose Diaz-Gonzalez
f976bd574b Merge pull request #5941 from dokku/josegonzalez-patch-1
Use github token to avoid rate limiting during packer init
2023-06-16 23:01:25 -04:00
Jose Diaz-Gonzalez
55bada62b9 fix: use github token to avoid rate limiting during packer init 2023-06-16 23:00:43 -04:00
Jose Diaz-Gonzalez
1ae49bfc1f Merge pull request #5940 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.1.16
chore(deps): bump mkdocs-material from 9.1.15 to 9.1.16 in /docs/_build
2023-06-16 21:09:00 -04:00
Jose Diaz-Gonzalez
96835df625 Merge pull request #5939 from dokku/dependabot/github_actions/tj-actions/changed-files-36.3.0
chore(deps): bump tj-actions/changed-files from 36.2.1 to 36.3.0
2023-06-16 21:08:48 -04:00
dependabot[bot]
33405029a2 chore(deps): bump mkdocs-material from 9.1.15 to 9.1.16 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.15 to 9.1.16.
- [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.1.15...9.1.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-16 14:14:32 +00:00
dependabot[bot]
cdcdc78549 chore(deps): bump tj-actions/changed-files from 36.2.1 to 36.3.0
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36.2.1 to 36.3.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/v36.2.1...v36.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-16 14:00:34 +00:00
Jose Diaz-Gonzalez
5ec456e557 Merge pull request #5938 from dokku/josegonzalez-patch-1
Add build-base to ensure gcc is available
2023-06-15 23:34:11 -04:00
Jose Diaz-Gonzalez
2efe1fe8d7 fix: add build-base to ensure gcc is available 2023-06-15 23:24:51 -04:00
Jose Diaz-Gonzalez
c0275d1d2b Merge pull request #5930 from michaelmulley/fix-docker-plugin-list
Fix issue with docker plugin-list install failing boot for docker-based installations
2023-06-15 23:20:33 -04:00
Jose Diaz-Gonzalez
e837543332 Merge pull request #5937 from dokku/update-go-mod
chore: update go packages to fix build issues
2023-06-15 23:19:16 -04:00
Jose Diaz-Gonzalez
64e453d2d4 chore: update go packages to fix build issues 2023-06-15 16:51:46 -04:00
Jose Diaz-Gonzalez
a5d8561a0b Merge pull request #5934 from dokku/dependabot/go_modules/plugins/app-json/golang.org/x/sync-0.3.0
chore(deps): bump golang.org/x/sync from 0.2.0 to 0.3.0 in /plugins/app-json
2023-06-15 16:47:25 -04:00
dependabot[bot]
fe1d6bdf6b chore(deps): bump golang.org/x/sync in /plugins/app-json
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.2.0 to 0.3.0.
- [Commits](https://github.com/golang/sync/compare/v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-15 20:39:24 +00:00
Jose Diaz-Gonzalez
6937c95351 Merge pull request #5933 from dokku/dependabot/github_actions/tj-actions/changed-files-36.2.1
chore(deps): bump tj-actions/changed-files from 36.1.0 to 36.2.1
2023-06-15 16:39:07 -04:00
Jose Diaz-Gonzalez
89df6f33d3 Merge pull request #5935 from dokku/dependabot/go_modules/plugins/common/golang.org/x/sync-0.3.0
chore(deps): bump golang.org/x/sync from 0.2.0 to 0.3.0 in /plugins/common
2023-06-15 16:38:56 -04:00
dependabot[bot]
94b6f67eb2 chore(deps): bump golang.org/x/sync in /plugins/common
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.2.0 to 0.3.0.
- [Commits](https://github.com/golang/sync/compare/v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-15 13:12:43 +00:00
dependabot[bot]
795de088cc chore(deps): bump tj-actions/changed-files from 36.1.0 to 36.2.1
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36.1.0 to 36.2.1.
- [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/v36.1.0...v36.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-15 13:07:11 +00:00
Jose Diaz-Gonzalez
873d0b3938 Merge pull request #5928 from dokku/dependabot/go_modules/tests/apps/gogrpc/golang.org/x/net-0.11.0
chore(deps): bump golang.org/x/net from 0.10.0 to 0.11.0 in /tests/apps/gogrpc
2023-06-14 15:42:50 -04:00
Michael Mulley
1f29fa6f9e fix: docker plugin-list install
See dokku/dokku#5929
2023-06-14 13:00:51 -04:00
dependabot[bot]
3d31df53cc chore(deps): bump golang.org/x/net in /tests/apps/gogrpc
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-14 13:57:47 +00:00
Jose Diaz-Gonzalez
d93e9f7af4 Merge pull request #5927 from aradalvand/master 2023-06-14 00:27:47 -04:00
Arad Alvand
76674ec941 Add link to X-Forwarded-* docs in ssl.md 2023-06-14 07:50:55 +03:30
Arad Alvand
f452e9af89 Improve docs about X-Forwarded-* headers and move it to nginx.md 2023-06-13 14:46:31 +03:30
Jose Diaz-Gonzalez
bf4960c435 Merge pull request #5926 from dokku/josegonzalez-patch-1
Update default herokuish version to 0.6.0
2023-06-11 03:18:21 -04:00
Jose Diaz-Gonzalez
eb952b072f fix: update correct package 2023-06-11 02:12:30 -04:00
Jose Diaz-Gonzalez
5158e415e3 fix: use correct path to deb file for herokuish
This is now a universal package.
2023-06-11 02:04:19 -04:00
Jose Diaz-Gonzalez
f54d1bc4a9 feat: update default herokuish version to 0.6.0 2023-06-10 22:57:23 -04:00
Jose Diaz-Gonzalez
830cb22542 Merge pull request #5921 from aradalvand/patch-1
Update dockerfiles.md to mention that BuildKit is the default builder from Docker v24 onwards
2023-06-10 00:55:22 -04:00
Jose Diaz-Gonzalez
b385ea2ce9 Merge pull request #5923 from amademy/master
Remove `:master` from `git push` commands in the documentation
2023-06-10 00:54:46 -04:00
Arad Alvand
91b0ac6cc0 Remove :master from git push commands in application-management.md 2023-06-10 08:12:44 +03:30
Arad Alvand
b235983169 Remove :master from git push commands in application-deployment.md 2023-06-10 08:11:46 +03:30
Jose Diaz-Gonzalez
faa442bf54 Merge pull request #5922 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-2.3.6
chore(deps): bump werkzeug from 2.3.5 to 2.3.6 in /tests/apps/python-flask
2023-06-09 14:51:46 -04:00
dependabot[bot]
cbdbea0aff chore(deps): bump werkzeug in /tests/apps/python-flask
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.3.5 to 2.3.6.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.3.5...2.3.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-09 13:57:26 +00:00
Arad Alvand
4d8f831a76 Fix BuildKit casing 2023-06-09 17:08:57 +03:30
Arad Alvand
4259077589 Update dockerfiles.md to mention that BuildKit is the default builder from Docker v24 onwards 2023-06-09 17:04:30 +03:30
Jose Diaz-Gonzalez
2d2a8dd642 Merge pull request #5919 from dokku/dependabot/docker/tests/apps/dockerfile-release/python-3.11.4-buster
chore(deps): bump python from 3.11.3-buster to 3.11.4-buster in /tests/apps/dockerfile-release
2023-06-08 19:58:20 -04:00
Jose Diaz-Gonzalez
2720ee2033 Merge pull request #5913 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.20.5
chore(deps): bump golang from 1.20.4 to 1.20.5 in /tests/apps/go-fail-predeploy
2023-06-08 19:58:13 -04:00
Jose Diaz-Gonzalez
351d404415 Merge pull request #5915 from dokku/dependabot/go_modules/plugins/config/github.com/onsi/gomega-1.27.8
chore(deps): bump github.com/onsi/gomega from 1.27.7 to 1.27.8 in /plugins/config
2023-06-08 19:57:52 -04:00
Jose Diaz-Gonzalez
ac09d74128 Merge pull request #5916 from dokku/dependabot/go_modules/plugins/common/github.com/onsi/gomega-1.27.8
chore(deps): bump github.com/onsi/gomega from 1.27.7 to 1.27.8 in /plugins/common
2023-06-08 19:57:40 -04:00
Jose Diaz-Gonzalez
d86defdb0d Merge pull request #5917 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-2.3.5
chore(deps): bump werkzeug from 2.3.4 to 2.3.5 in /tests/apps/python-flask
2023-06-08 19:57:17 -04:00
Jose Diaz-Gonzalez
e71375e6d5 Merge pull request #5918 from dokku/dependabot/github_actions/tj-actions/changed-files-36.1.0
chore(deps): bump tj-actions/changed-files from 36.0.18 to 36.1.0
2023-06-08 19:57:01 -04:00
dependabot[bot]
d0ea7e99b6 chore(deps): bump python in /tests/apps/dockerfile-release
Bumps python from 3.11.3-buster to 3.11.4-buster.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 23:50:10 +00:00
Jose Diaz-Gonzalez
7d33ff97c9 Merge pull request #5920 from dokku/dependabot/docker/docs/_build/python-3.11.4-alpine
chore(deps): bump python from 3.11.3-alpine to 3.11.4-alpine in /docs/_build
2023-06-08 19:49:31 -04:00
dependabot[bot]
94e3b1d96b chore(deps): bump python in /docs/_build
Bumps python from 3.11.3-alpine to 3.11.4-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 14:02:57 +00:00
dependabot[bot]
04cb238dfa chore(deps): bump tj-actions/changed-files from 36.0.18 to 36.1.0
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36.0.18 to 36.1.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/v36.0.18...v36.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 14:00:44 +00:00
dependabot[bot]
f0cf04132b chore(deps): bump werkzeug in /tests/apps/python-flask
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.3.4...2.3.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 13:57:34 +00:00
dependabot[bot]
7753ada119 chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.20.4 to 1.20.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 04:16:49 +00:00
Jose Diaz-Gonzalez
ee1b4557fe Merge pull request #5914 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.20.5
chore(deps): bump golang from 1.20.4 to 1.20.5 in /tests/apps/zombies-dockerfile-no-tini
2023-06-08 00:16:18 -04:00
Jose Diaz-Gonzalez
c60ddeb780 Merge pull request #5912 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.20.5
chore(deps): bump golang from 1.20.4 to 1.20.5 in /tests/apps/go-fail-postdeploy
2023-06-08 00:16:09 -04:00
dependabot[bot]
bf481bc5fc chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
Bumps golang from 1.20.4 to 1.20.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 00:27:58 +00:00
dependabot[bot]
d77a62cc16 chore(deps): bump golang in /tests/apps/go-fail-postdeploy
Bumps golang from 1.20.4 to 1.20.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 00:27:57 +00:00
Jose Diaz-Gonzalez
9cbc3ba8c7 Merge pull request #5911 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.20.5
chore(deps): bump golang from 1.20.4 to 1.20.5 in /tests/apps/gogrpc
2023-06-07 20:27:31 -04:00
Jose Diaz-Gonzalez
8d5c098bd7 Merge pull request #5910 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.20.5
chore(deps): bump golang from 1.20.4 to 1.20.5 in /tests/apps/zombies-dockerfile-tini
2023-06-07 20:27:27 -04:00
dependabot[bot]
4e88a7ae95 chore(deps): bump github.com/onsi/gomega in /plugins/common
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.7 to 1.27.8.
- [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.27.7...v1.27.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 13:15:22 +00:00
dependabot[bot]
5a5ec0a350 chore(deps): bump github.com/onsi/gomega in /plugins/config
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.7 to 1.27.8.
- [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.27.7...v1.27.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 13:15:21 +00:00
dependabot[bot]
b2d806887d chore(deps): bump golang from 1.20.4 to 1.20.5 in /tests/apps/gogrpc
Bumps golang from 1.20.4 to 1.20.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 13:12:14 +00:00
dependabot[bot]
be2b626170 chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
Bumps golang from 1.20.4 to 1.20.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 13:12:14 +00:00
Jose Diaz-Gonzalez
065a24bf7c Merge pull request #5909 from dokku/dependabot/github_actions/tj-actions/changed-files-36.0.18 2023-06-06 10:06:18 -04:00
dependabot[bot]
7e49284b87 chore(deps): bump tj-actions/changed-files from 36.0.17 to 36.0.18
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36.0.17 to 36.0.18.
- [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/v36.0.17...v36.0.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-06 14:00:33 +00:00
Jose Diaz-Gonzalez
78f67228bc Merge pull request #5906 from dokku/dependabot/pip/docs/_build/markupsafe-2.1.3
chore(deps): bump markupsafe from 2.1.2 to 2.1.3 in /docs/_build
2023-06-05 11:29:54 -04:00
Jose Diaz-Gonzalez
827d7450c8 Merge pull request #5907 from dokku/dependabot/github_actions/tj-actions/changed-files-36.0.17
chore(deps): bump tj-actions/changed-files from 36.0.15 to 36.0.17
2023-06-05 11:29:41 -04:00
dependabot[bot]
df1d616fd4 chore(deps): bump tj-actions/changed-files from 36.0.15 to 36.0.17
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36.0.15 to 36.0.17.
- [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/v36.0.15...v36.0.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 13:24:31 +00:00
dependabot[bot]
3e570c2dad chore(deps): bump markupsafe from 2.1.2 to 2.1.3 in /docs/_build
Bumps [markupsafe](https://github.com/pallets/markupsafe) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/pallets/markupsafe/releases)
- [Changelog](https://github.com/pallets/markupsafe/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/markupsafe/compare/2.1.2...2.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 13:19:33 +00:00
Dokku Bot
d0d00d9c99 Release 0.30.7
# History

## 0.30.7

Install/update via the bootstrap script:

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

### Bug Fixes

- #5905: @josegonzalez fix: trim whitespace on registry property values

### Documentation

- #5897: @josegonzalez Add cron-restart to plugin registry

### Dependencies

- #5904: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 36.0.11 to 36.0.15
- #5902: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 36.0.10 to 36.0.11
- #5900: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 36.0.9 to 36.0.10
- #5898: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 36.0.8 to 36.0.9
- #5899: @dependabot[bot] chore(deps): bump mkdocs-material from 9.1.14 to 9.1.15 in /docs/_build
- #5894: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 36.0.6 to 36.0.8
2023-06-02 23:39:28 +00:00
Jose Diaz-Gonzalez
673aa115bc Merge pull request #5905 from dokku/trim-registry-spaces
fix: trim whitespace on registry property values
2023-06-02 19:37:56 -04:00
Jose Diaz-Gonzalez
f90ef17338 fix: trim whitespace on registry property values
When upgrading from an older install of Dokku with the old community registry plugin, newlines could be available in the properties set on disk. Trim them so any usage of the properties continues to work as expected by users.
2023-06-02 19:35:27 -04:00
Jose Diaz-Gonzalez
09aa6ad874 Merge pull request #5904 from dokku/dependabot/github_actions/tj-actions/changed-files-36.0.15
chore(deps): bump tj-actions/changed-files from 36.0.11 to 36.0.15
2023-06-02 12:10:43 -04:00
dependabot[bot]
b7c4cf4021 chore(deps): bump tj-actions/changed-files from 36.0.11 to 36.0.15
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36.0.11 to 36.0.15.
- [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/v36.0.11...v36.0.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-02 14:00:41 +00:00
Jose Diaz-Gonzalez
888898fb09 Merge pull request #5902 from dokku/dependabot/github_actions/tj-actions/changed-files-36.0.11
chore(deps): bump tj-actions/changed-files from 36.0.10 to 36.0.11
2023-06-01 15:50:59 -04:00
dependabot[bot]
357e089409 chore(deps): bump tj-actions/changed-files from 36.0.10 to 36.0.11
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36.0.10 to 36.0.11.
- [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/v36.0.10...v36.0.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 14:04:25 +00:00
Jose Diaz-Gonzalez
f5f28d76fc Merge pull request #5900 from dokku/dependabot/github_actions/tj-actions/changed-files-36.0.10
chore(deps): bump tj-actions/changed-files from 36.0.9 to 36.0.10
2023-05-31 13:17:54 -04:00
dependabot[bot]
f0fb5720c9 chore(deps): bump tj-actions/changed-files from 36.0.9 to 36.0.10
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36.0.9 to 36.0.10.
- [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/v36.0.9...v36.0.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-31 14:00:16 +00:00
Jose Diaz-Gonzalez
aa7f483f98 Merge pull request #5898 from dokku/dependabot/github_actions/tj-actions/changed-files-36.0.9
chore(deps): bump tj-actions/changed-files from 36.0.8 to 36.0.9
2023-05-30 16:34:26 -04:00
Jose Diaz-Gonzalez
b96b7688e3 Merge pull request #5899 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.1.15
chore(deps): bump mkdocs-material from 9.1.14 to 9.1.15 in /docs/_build
2023-05-30 16:34:13 -04:00
dependabot[bot]
3672871b1f chore(deps): bump mkdocs-material from 9.1.14 to 9.1.15 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.14 to 9.1.15.
- [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.1.14...9.1.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-30 14:04:33 +00:00
dependabot[bot]
577c6cdeee chore(deps): bump tj-actions/changed-files from 36.0.8 to 36.0.9
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36.0.8 to 36.0.9.
- [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/v36.0.8...v36.0.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-30 14:00:29 +00:00
josegonzalez
c0232f0910 Merge pull request #5897 from dokku/josegonzalez-patch-1
Add cron-restart to plugin registry
2023-05-29 17:58:46 -04:00
josegonzalez
88a09b267f docs: add cron-restart to plugin registry 2023-05-29 17:58:34 -04:00
josegonzalez
fb8ade7e07 Merge pull request #5894 from dokku/dependabot/github_actions/tj-actions/changed-files-36.0.8
chore(deps): bump tj-actions/changed-files from 36.0.6 to 36.0.8
2023-05-29 13:35:40 -04:00
dependabot[bot]
eacd8d0ef6 chore(deps): bump tj-actions/changed-files from 36.0.6 to 36.0.8
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36.0.6 to 36.0.8.
- [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/v36.0.6...v36.0.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 14:03:27 +00:00
Dokku Bot
deedd4f689 Release 0.30.6
# History

## 0.30.6

Install/update via the bootstrap script:

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

### Bug Fixes

- #5889: @josegonzalez Respect dashboard disabling properties in traefik
- #5890: @josegonzalez Add missing report triggers and omitted proxy functionality
- #5757: @josegonzalez Ensure users can push from an image-deploy repository and respect deploy-branch

### New Features

- #5873: @josegonzalez Add dependabot to all plugin dependencies

### Dependencies

- #5877: @dependabot[bot] chore(deps): bump github.com/multiformats/go-base36 from 0.1.1-0.20220823151017-f5af2eed4d9c to 0.2.0 in /plugins/cron
- #5886: @josegonzalez chore: bump github.com/otiai10/copy from 1.9.0 to 1.11.0
- #5875: @dependabot[bot] chore(deps): bump github.com/gofrs/flock from 0.8.0 to 0.8.1 in /plugins/ps
- #5885: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 36.0.3 to 36.0.6
- #5871: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 35.9.2 to 36.0.3

### Other

- #5887: @josegonzalez chore: bump github.com/ryanuber/columnize from 1.1.2-0.20190319233515-9e6335e58db3 to 2.1.2+incompatible
- #5872: @Samuelodan Fix typo in upgrading docs
2023-05-28 20:06:47 +00:00
josegonzalez
b3179b65b2 Merge pull request #5889 from dokku/5855-properly-disable-dashboard
Respect dashboard disabling properties in traefik
2023-05-28 16:04:05 -04:00
josegonzalez
e4b09130aa Merge pull request #5890 from dokku/proxy-missing-functionality
Add missing report triggers and omitted proxy functionality
2023-05-28 15:49:53 -04:00
Jose Diaz-Gonzalez
9d5cbeeb19 fix: add missing report triggers 2023-05-28 15:49:12 -04:00
Jose Diaz-Gonzalez
986c05ff7e fix: keep track of the stopped/started state of haproxy 2023-05-28 15:46:32 -04:00
Jose Diaz-Gonzalez
02a89d01f9 fix: respect dashboard disabling properties in traefik
Closes #5855
2023-05-28 15:01:01 -04:00
josegonzalez
ed46a2e67b Merge pull request #5757 from dokku/5662-git-push-after-image-image 2023-05-28 07:23:50 -04:00
Jose Diaz-Gonzalez
70a1b6a863 fix: checkout the deploy branch when initializing a new repo
The initial-branch flag only works on newer versions of git - 2.28.0+ - and the init.defaultBranch config is otherwise also ignored until then.
2023-05-28 05:38:57 -04:00
Jose Diaz-Gonzalez
9f3879b225 chore: update the image being used for the test 2023-05-28 05:38:02 -04:00
Jose Diaz-Gonzalez
1a320eafad fix: add missing hook creation before clone
In the case where a repository is new, the check to see if it is an empty repo during clone fails. We therefore create the initial repo via the fn-git-create-hook call when initializing the repo.
2023-05-28 03:10:45 -04:00
Jose Diaz-Gonzalez
8faa338bd4 fix: ensure users can push from an image-deploy repository and respect deploy-branch
Previously, we created this weird bare repo that didn't do set all the normal git config. This change switches to cloning the local temp directory, fixing the `receive.denyCurrentBranch` property that blocked pushing to this weird bare repo after calling git:from-image or git:from-archive.

Additionally, since we now use a git clone, we set the default branch correctly, ensuring git pushes later on that branch work as expected (and not on master if it was customized prior to app creation).

Closes #5601
Closes #5662
2023-05-28 03:10:45 -04:00
josegonzalez
23779c066f Merge pull request #5877 from dokku/dependabot/go_modules/plugins/cron/github.com/multiformats/go-base36-0.2.0
chore(deps): bump github.com/multiformats/go-base36 from 0.1.1-0.20220823151017-f5af2eed4d9c to 0.2.0 in /plugins/cron
2023-05-28 02:42:39 -04:00
dependabot[bot]
540c058a6f chore(deps): bump github.com/multiformats/go-base36 in /plugins/cron
Bumps [github.com/multiformats/go-base36](https://github.com/multiformats/go-base36) from 0.1.1-0.20220823151017-f5af2eed4d9c to 0.2.0.
- [Release notes](https://github.com/multiformats/go-base36/releases)
- [Commits](https://github.com/multiformats/go-base36/commits/v0.2.0)

---
updated-dependencies:
- dependency-name: github.com/multiformats/go-base36
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-28 04:28:03 +00:00
josegonzalez
2731132f29 Merge pull request #5886 from dokku/update-otiai10-copy-dependency
chore: bump github.com/otiai10/copy from 1.9.0 to 1.11.0
2023-05-28 00:27:29 -04:00
Jose Diaz-Gonzalez
48cd5b11a5 chore: bump github.com/otiai10/copy from 1.9.0 to 1.11.0 2023-05-28 00:03:20 -04:00
josegonzalez
b6c3d2f4ab Merge pull request #5887 from dokku/update-ryanuber-columnize-dependency
chore: bump github.com/ryanuber/columnize from 1.1.2-0.20190319233515-9e6335e58db3 to 2.1.2+incompatible
2023-05-27 23:59:19 -04:00
josegonzalez
1e41964873 Merge pull request #5875 from dokku/dependabot/go_modules/plugins/ps/github.com/gofrs/flock-0.8.1
chore(deps): bump github.com/gofrs/flock from 0.8.0 to 0.8.1 in /plugins/ps
2023-05-27 23:21:37 -04:00
Jose Diaz-Gonzalez
92cff9be3f chore: bump github.com/ryanuber/columnize from 1.1.2-0.20190319233515-9e6335e58db3 to 2.1.2+incompatible 2023-05-27 22:24:39 -04:00
josegonzalez
4d79ce7de5 Merge pull request #5885 from dokku/dependabot/github_actions/tj-actions/changed-files-36.0.6
chore(deps): bump tj-actions/changed-files from 36.0.3 to 36.0.6
2023-05-27 21:52:27 -04:00
dependabot[bot]
1b1f9bf5ee chore(deps): bump tj-actions/changed-files from 36.0.3 to 36.0.6
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36.0.3 to 36.0.6.
- [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/v36.0.3...v36.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-28 01:46:17 +00:00
dependabot[bot]
b5db30af59 chore(deps): bump github.com/gofrs/flock in /plugins/ps
Bumps [github.com/gofrs/flock](https://github.com/gofrs/flock) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/gofrs/flock/releases)
- [Commits](https://github.com/gofrs/flock/compare/v0.8.0...v0.8.1)

---
updated-dependencies:
- dependency-name: github.com/gofrs/flock
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-28 01:45:36 +00:00
josegonzalez
474ebf5c3c Merge pull request #5873 from dokku/josegonzalez-patch-1
Add dependabot to all plugin dependencies
2023-05-27 21:45:13 -04:00
josegonzalez
0fffe28a82 feat: add dependabot to all plugin dependencies 2023-05-27 21:45:01 -04:00
josegonzalez
f013f297c3 Merge pull request #5872 from Samuelodan/patch-1
docs: fix typo in `getting-started/upgrading/index.md`
2023-05-27 16:09:46 -04:00
Samuelodan
a84d35271e docs: fix typo in getting-started/upgrading/index.md
the word, 'versions,' was repeated.
2023-05-27 14:40:05 +01:00
josegonzalez
a94fae6ce8 Merge pull request #5871 from dokku/dependabot/github_actions/tj-actions/changed-files-36.0.3
chore(deps): bump tj-actions/changed-files from 35.9.2 to 36.0.3
2023-05-26 14:47:40 -04:00
dependabot[bot]
9a86cae550 chore(deps): bump tj-actions/changed-files from 35.9.2 to 36.0.3
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 35.9.2 to 36.0.3.
- [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/v35.9.2...v36.0.3)

---
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>
2023-05-26 14:00:50 +00:00
Dokku Bot
56c535041e Release 0.30.5
# History

## 0.30.5

Install/update via the bootstrap script:

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

### New Features

- #5862: @edmorley Stop using the `latest` tag for the default `DOKKU_CNB_BUILDER`

### Documentation

- #5870: @josegonzalez Repair malformed code-block
- #5863: @joker234 Remove reference to ssh github clone from app deployment docs

### Tests

- #5867: @josegonzalez Update linuxserver image used in tests to one that is compatible with arm64

### Dependencies

- #5868: @josegonzalez Update all golang dependencies to fix go.0 tests
- #5856: @dependabot[bot] chore(deps): bump pymdown-extensions from 9.11 to 10.0.1 in /docs/_build
- #5865: @dependabot[bot] chore(deps): bump requests from 2.27.1 to 2.31.0 in /tests/apps/lambda-python
- #5864: @dependabot[bot] chore(deps): bump mkdocs-material from 9.1.12 to 9.1.14 in /docs/_build
- #5866: @dependabot[bot] chore(deps): bump maven-dependency-plugin from 3.5.0 to 3.6.0 in /tests/apps/java
2023-05-26 05:49:48 +00:00
josegonzalez
2acbe517ca Merge pull request #5870 from gerardpaapu/patch-1
Repair malformed code-block
2023-05-25 16:55:27 -04:00
josegonzalez
ab65e404ad Merge pull request #5868 from dokku/update-go-deps
Update all golang dependencies to fix go.0 tests
2023-05-25 05:30:17 -04:00
josegonzalez
510e3083e0 Merge pull request #5867 from dokku/arm-git-tests
Update linuxserver image used in tests to one that is compatible with arm64
2023-05-25 03:15:29 -04:00
Jose Diaz-Gonzalez
7b183317ae fix: upgrade golang.org/x/sync dependency to fix goverage issue 2023-05-25 03:14:33 -04:00
Jose Diaz-Gonzalez
06b744f55f chore: update all golang dependencies to fix go.0 tests 2023-05-25 02:24:55 -04:00
Jose Diaz-Gonzalez
3322287009 tests: update linuxserver image used in tests to one that is compatible with arm64 2023-05-25 02:02:21 -04:00
josegonzalez
e50f3019da Merge pull request #5862 from edmorley/patch-1
Stop using the `latest` tag for the default `DOKKU_CNB_BUILDER`
2023-05-25 01:08:51 -04:00
josegonzalez
fdfa534048 Merge pull request #5863 from joker234/patch-1
Update application-deployment.md
2023-05-24 22:44:53 -04:00
josegonzalez
436115f0d8 Merge pull request #5856 from dokku/dependabot/pip/docs/_build/pymdown-extensions-10.0.1
chore(deps): bump pymdown-extensions from 9.11 to 10.0.1 in /docs/_build
2023-05-24 22:44:26 -04:00
josegonzalez
3810b6dcf9 Merge pull request #5865 from dokku/dependabot/pip/tests/apps/lambda-python/requests-2.31.0
chore(deps): bump requests from 2.27.1 to 2.31.0 in /tests/apps/lambda-python
2023-05-24 22:44:22 -04:00
josegonzalez
8fcfae3464 Merge pull request #5864 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.1.14
chore(deps): bump mkdocs-material from 9.1.12 to 9.1.14 in /docs/_build
2023-05-24 22:44:10 -04:00
josegonzalez
74092f42c5 Merge pull request #5866 from dokku/dependabot/maven/tests/apps/java/org.apache.maven.plugins-maven-dependency-plugin-3.6.0
chore(deps): bump maven-dependency-plugin from 3.5.0 to 3.6.0 in /tests/apps/java
2023-05-24 22:43:32 -04:00
dependabot[bot]
50fde8e7c8 chore(deps): bump maven-dependency-plugin in /tests/apps/java
Bumps [maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.5.0 to 3.6.0.
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.5.0...maven-dependency-plugin-3.6.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-dependency-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 13:57:23 +00:00
dependabot[bot]
37d97eaaa5 chore(deps): bump requests in /tests/apps/lambda-python
Bumps [requests](https://github.com/psf/requests) from 2.27.1 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.27.1...v2.31.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 03:54:06 +00:00
dependabot[bot]
6662952eb6 chore(deps): bump mkdocs-material from 9.1.12 to 9.1.14 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.12 to 9.1.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.1.12...9.1.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>
2023-05-22 14:11:02 +00:00
Johannes Visintini
6ddd7f09e9 Update application-deployment.md
example uses HTTPS, not SSH anymore
2023-05-22 12:02:40 +02:00
Ed Morley
56b75f80af fix: Stop using the latest tag for the default DOKKU_CNB_BUILDER
Previously the default value for `DOKKU_CNB_BUILDER` was `heroku/buildpacks`,
which for Docker is equivalent to `heroku/buildpacks:latest`.

The `latest` tag is about to be deleted (see heroku/builder#344), so this
switches the default value to `heroku/buildpacks:20` - which is what the
`latest` tag is currently as alias for.

Longer term, `DOKKU_CNB_BUILDER` should be switched to the non-deprecated
`heroku/builder:*` images, however, that's potentially a breaking change,
so is out of scope of this bug-fix PR.

For the list of available builders/tags, see:
https://github.com/heroku/builder#heroku-builder-images

Fixes #5861.
2023-05-19 08:31:28 +01:00
Gerard Paapu
d58f570295 Fix: repair malformed code-block
This code-block starts with triple-backticks  but is closed with 4 backticks, causing the documentation page to render incorrectly
2023-05-18 11:16:23 +12:00
dependabot[bot]
420a964822 chore(deps): bump pymdown-extensions from 9.11 to 10.0.1 in /docs/_build
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 9.11 to 10.0.1.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/9.11...10.0.1)

---
updated-dependencies:
- dependency-name: pymdown-extensions
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 14:04:27 +00:00
Dokku Bot
e72f5b1d90 Release 0.30.4
# History

## 0.30.4

Install/update via the bootstrap script:

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

### Bug Fixes

- #5786: @obrienmd Detect id_ed25519.pub in git:public-key command
- #5758: @josegonzalez Support pack-based images that do not have a Procfile

### New Features

- #5851: @josegonzalez Allow setting _ as domain name for default nginx routing

### Documentation

- #5853: @josegonzalez Always overwrite bootstrap install file
- #5828: @josegonzalez Add a note to the troubleshooting docs pointing developers to bind to all interfaces
- #5827: @josegonzalez Add permalink support to headers

### Tests

- #5850: @josegonzalez Only run packer validation if any packer-related files were changed

### Dependencies

- #5837: @dependabot[bot] chore(deps): bump golang from 1.20.3 to 1.20.4 in /tests/apps/zombies-dockerfile-tini
- #5836: @dependabot[bot] chore(deps): bump golang from 1.20.3 to 1.20.4 in /tests/apps/gogrpc
- #5832: @dependabot[bot] chore(deps): bump flask from 2.3.1 to 2.3.2 in /tests/apps/multi
- #5831: @dependabot[bot] chore(deps): bump flask from 2.3.1 to 2.3.2 in /tests/apps/python-flask
- #5839: @dependabot[bot] chore(deps): bump mkdocs from 1.4.2 to 1.4.3 in /docs/_build
- #5835: @dependabot[bot] chore(deps): bump golang from 1.20.3 to 1.20.4 in /tests/apps/zombies-dockerfile-no-tini
- #5838: @dependabot[bot] chore(deps): bump golang from 1.20.3 to 1.20.4 in /tests/apps/go-fail-predeploy
- #5841: @dependabot[bot] chore(deps): bump golang.org/x/net from 0.9.0 to 0.10.0 in /tests/apps/gogrpc
- #5842: @dependabot[bot] chore(deps): bump werkzeug from 2.3.1 to 2.3.4 in /tests/apps/python-flask
- #5844: @dependabot[bot] chore(deps): bump django from 4.1.7 to 4.1.9 in /tests/apps/dockerfile-release
- #5848: @dependabot[bot] chore(deps): bump mkdocs-material from 9.1.8 to 9.1.12 in /docs/_build
- #5840: @dependabot[bot] chore(deps): bump golang from 1.20.3 to 1.20.4 in /tests/apps/go-fail-postdeploy
- #5823: @dependabot[bot] chore(deps): bump flask from 2.2.3 to 2.3.1 in /tests/apps/python-flask
- #5825: @dependabot[bot] chore(deps): bump flask from 2.2.3 to 2.3.1 in /tests/apps/multi
- #5826: @dependabot[bot] chore(deps): bump werkzeug from 2.2.3 to 2.3.1 in /tests/apps/python-flask
2023-05-13 19:38:52 +00:00
josegonzalez
713cc3033a Merge pull request #5851 from dokku/5845-default-nginx-domain
Allow setting _ as domain name for default nginx routing
2023-05-13 15:30:11 -04:00
josegonzalez
621204069e Merge pull request #5786 from obrienmd/add-ed25519-pubkey-check
Detect id_ed25519.pub in git:public-key command
2023-05-13 14:25:18 -04:00
josegonzalez
fb764bfd48 Merge pull request #5853 from dokku/5766-overwrite-bootstrap
Always overwrite bootstrap install file
2023-05-13 14:24:33 -04:00
Jose Diaz-Gonzalez
aa323f7439 docs: always overwrite bootstrap install file
Closes #5766
2023-05-13 14:24:04 -04:00
josegonzalez
2cd028e577 tests: add test for default _ domain usage 2023-05-13 13:57:27 -04:00
josegonzalez
fd1f80c485 feat: allow setting _ as domain name for default nginx routing
Closes #5845
2023-05-13 13:56:23 -04:00
josegonzalez
ea910d38d3 Merge pull request #5837 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.20.4
chore(deps): bump golang from 1.20.3 to 1.20.4 in /tests/apps/zombies-dockerfile-tini
2023-05-13 02:19:29 -04:00
josegonzalez
1f1dea4341 Merge pull request #5836 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.20.4
chore(deps): bump golang from 1.20.3 to 1.20.4 in /tests/apps/gogrpc
2023-05-13 02:19:02 -04:00
josegonzalez
523fd5b674 Merge pull request #5832 from dokku/dependabot/pip/tests/apps/multi/flask-2.3.2
chore(deps): bump flask from 2.3.1 to 2.3.2 in /tests/apps/multi
2023-05-13 02:18:50 -04:00
josegonzalez
b5a41b1412 Merge pull request #5831 from dokku/dependabot/pip/tests/apps/python-flask/flask-2.3.2
chore(deps): bump flask from 2.3.1 to 2.3.2 in /tests/apps/python-flask
2023-05-13 02:18:45 -04:00
josegonzalez
2e1121e1d8 Merge pull request #5839 from dokku/dependabot/pip/docs/_build/mkdocs-1.4.3
chore(deps): bump mkdocs from 1.4.2 to 1.4.3 in /docs/_build
2023-05-13 02:18:25 -04:00
dependabot[bot]
ec757a5d5a chore(deps): bump golang from 1.20.3 to 1.20.4 in /tests/apps/gogrpc
Bumps golang from 1.20.3 to 1.20.4.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-13 03:43:10 +00:00
dependabot[bot]
4f4854ecf8 chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
Bumps golang from 1.20.3 to 1.20.4.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-13 03:42:54 +00:00
josegonzalez
c5f6e24877 Merge pull request #5850 from dokku/josegonzalez-patch-1
Only run packer validation if any packer-related files were changed
2023-05-12 23:42:42 -04:00
josegonzalez
25a96c295b Merge pull request #5835 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.20.4
chore(deps): bump golang from 1.20.3 to 1.20.4 in /tests/apps/zombies-dockerfile-no-tini
2023-05-12 23:42:10 -04:00
dependabot[bot]
5826f0dffd chore(deps): bump mkdocs from 1.4.2 to 1.4.3 in /docs/_build
Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.4.2...1.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-13 03:42:08 +00:00
dependabot[bot]
1d4c263ed8 chore(deps): bump flask from 2.3.1 to 2.3.2 in /tests/apps/python-flask
Bumps [flask](https://github.com/pallets/flask) from 2.3.1 to 2.3.2.
- [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.3.1...2.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-13 03:42:00 +00:00
dependabot[bot]
f5e167e318 chore(deps): bump flask from 2.3.1 to 2.3.2 in /tests/apps/multi
Bumps [flask](https://github.com/pallets/flask) from 2.3.1 to 2.3.2.
- [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.3.1...2.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-13 03:41:42 +00:00
josegonzalez
443014004d Merge pull request #5838 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.20.4
chore(deps): bump golang from 1.20.3 to 1.20.4 in /tests/apps/go-fail-predeploy
2023-05-12 23:41:42 -04:00
josegonzalez
936adb20b2 Merge pull request #5841 from dokku/dependabot/go_modules/tests/apps/gogrpc/golang.org/x/net-0.10.0
chore(deps): bump golang.org/x/net from 0.9.0 to 0.10.0 in /tests/apps/gogrpc
2023-05-12 23:41:28 -04:00
josegonzalez
7293d1dec3 Merge pull request #5842 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-2.3.4
chore(deps): bump werkzeug from 2.3.1 to 2.3.4 in /tests/apps/python-flask
2023-05-12 23:41:14 -04:00
josegonzalez
d224785d8c Merge pull request #5844 from dokku/dependabot/pip/tests/apps/dockerfile-release/django-4.1.9
chore(deps): bump django from 4.1.7 to 4.1.9 in /tests/apps/dockerfile-release
2023-05-12 23:41:02 -04:00
josegonzalez
e6695a147a Merge pull request #5848 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.1.12
chore(deps): bump mkdocs-material from 9.1.8 to 9.1.12 in /docs/_build
2023-05-12 23:40:52 -04:00
josegonzalez
c43c404e68 Merge pull request #5840 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.20.4
chore(deps): bump golang from 1.20.3 to 1.20.4 in /tests/apps/go-fail-postdeploy
2023-05-12 23:40:40 -04:00
josegonzalez
1535549a8f fix: only run packer validation if any packer-related files were changed.
These files rarely change - and usually by me - so it shouldn't impact PRs from other collaborators very often.
2023-05-12 23:40:19 -04:00
dependabot[bot]
be67490f23 chore(deps): bump mkdocs-material from 9.1.8 to 9.1.12 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.8 to 9.1.12.
- [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.1.8...9.1.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-12 14:04:35 +00:00
dependabot[bot]
e68e1425a6 chore(deps): bump django in /tests/apps/dockerfile-release
Bumps [django](https://github.com/django/django) from 4.1.7 to 4.1.9.
- [Commits](https://github.com/django/django/compare/4.1.7...4.1.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-09 22:46:54 +00:00
dependabot[bot]
6105a01c0e chore(deps): bump werkzeug in /tests/apps/python-flask
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.3.1 to 2.3.4.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.3.1...2.3.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-09 13:57:35 +00:00
dependabot[bot]
ef73bc55ba chore(deps): bump golang.org/x/net in /tests/apps/gogrpc
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/net/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-09 13:57:32 +00:00
dependabot[bot]
6a0451ba6d chore(deps): bump golang in /tests/apps/go-fail-postdeploy
Bumps golang from 1.20.3 to 1.20.4.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-03 14:12:41 +00:00
dependabot[bot]
fcac34e7b5 chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.20.3 to 1.20.4.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-03 14:03:06 +00:00
dependabot[bot]
e2557e948d chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
Bumps golang from 1.20.3 to 1.20.4.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-03 14:02:48 +00:00
josegonzalez
ca04c2dc48 fix: return after showing the contents of the public key file 2023-04-27 22:54:14 -04:00
josegonzalez
1cfaa6c942 Merge pull request #5758 from dokku/5753-support-procfile-less-pack-images
Support pack-based images that do not have a Procfile
2023-04-27 22:46:48 -04:00
josegonzalez
24a5beaf66 Merge pull request #5828 from dokku/5798-docs
Add a note to the troubleshooting docs pointing developers to bind to all interfaces
2023-04-27 21:37:30 -04:00
josegonzalez
36985c24f2 docs: add a note to the troubleshooting docs pointing developers to bind to all interfaces
Closes #5798
2023-04-27 21:37:11 -04:00
josegonzalez
7adc06926e Merge pull request #5827 from dokku/5817-header-links
Add permalink support to headers
2023-04-27 20:58:21 -04:00
josegonzalez
85f4bb4182 feat: add permalink support to headers
Closes dokku/dokku#5817
2023-04-27 20:58:09 -04:00
Jose Diaz-Gonzalez
03da8462f7 fix: support pack-based images that do not have a Procfile
If no Procfile is set, we'll leave the entrypoint alone, resulting in the default launcher for the web process (or whatever pack decided was default) executing.

Closes #5753
2023-04-27 20:15:27 -04:00
josegonzalez
756f8f26b8 Merge pull request #5823 from dokku/dependabot/pip/tests/apps/python-flask/flask-2.3.1
chore(deps): bump flask from 2.2.3 to 2.3.1 in /tests/apps/python-flask
2023-04-27 19:36:55 -04:00
dependabot[bot]
cb55bac476 chore(deps): bump flask from 2.2.3 to 2.3.1 in /tests/apps/python-flask
Bumps [flask](https://github.com/pallets/flask) from 2.2.3 to 2.3.1.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/2.3.1/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/2.2.3...2.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-27 23:27:43 +00:00
josegonzalez
42701f6cd9 Merge pull request #5825 from dokku/dependabot/pip/tests/apps/multi/flask-2.3.1
chore(deps): bump flask from 2.2.3 to 2.3.1 in /tests/apps/multi
2023-04-27 19:26:48 -04:00
dependabot[bot]
9aa93949f5 chore(deps): bump flask from 2.2.3 to 2.3.1 in /tests/apps/multi
Bumps [flask](https://github.com/pallets/flask) from 2.2.3 to 2.3.1.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/2.3.1/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/2.2.3...2.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-27 23:25:56 +00:00
josegonzalez
eb1c4001af Merge pull request #5826 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-2.3.1
chore(deps): bump werkzeug from 2.2.3 to 2.3.1 in /tests/apps/python-flask
2023-04-27 19:25:16 -04:00
dependabot[bot]
032eed49a0 chore(deps): bump werkzeug in /tests/apps/python-flask
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.2.3 to 2.3.1.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/2.3.1/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.2.3...2.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-27 13:57:31 +00:00
Dokku Bot
e9429c5c09 Release 0.30.3
# History

## 0.30.3

Install/update via the bootstrap script:

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

### Bug Fixes

- #5763: @josegonzalez Set dokku version correctly for digitalocean image build

### New Features

- #5799: @josegonzalez Add ability to run dokku report without downloading herokuish image

### Documentation

- #5810: @strugee Fix typo in 0.30.x migration guide
- #5820: @tylercrumpton Fix "cotainer" typo in one-off tasks docs page.
- #5800: @josegonzalez Fix indentation in registry configuration documentation

### Dependencies

- #5809: @dependabot[bot] chore(deps): bump pygments from 2.15.0 to 2.15.1 in /docs/_build
- #5811: @dependabot[bot] chore(deps): bump node from 19-alpine to 20-alpine in /tests/apps/dockerfile-noexpose
- #5812: @dependabot[bot] chore(deps): bump node from 19-alpine to 20-alpine in /tests/apps/dockerfile-procfile
- #5813: @dependabot[bot] chore(deps): bump node from 19-alpine to 20-alpine in /tests/apps/dockerfile-procfile-bad
- #5814: @dependabot[bot] chore(deps): bump node from 19-alpine to 20-alpine in /tests/apps/dockerfile
- #5815: @dependabot[bot] chore(deps): bump node from 19-alpine to 20-alpine in /tests/apps/dockerfile-app-json-formations
- #5816: @dependabot[bot] chore(deps): bump sqlparse from 0.4.3 to 0.4.4 in /tests/apps/dockerfile-release
- #5818: @dependabot[bot] chore(deps): bump importlib-metadata from 6.5.0 to 6.6.0 in /docs/_build
- #5821: @dependabot[bot] chore(deps): bump mkdocs-material from 9.1.6 to 9.1.8 in /docs/_build
- #5805: @dependabot[bot] chore(deps): bump jetty-servlet from 11.0.14 to 11.0.15 in /tests/apps/java
- #5808: @dependabot[bot] chore(deps): bump importlib-metadata from 6.3.0 to 6.5.0 in /docs/_build
- #5802: @dependabot[bot] chore(deps): bump packaging from 23.0 to 23.1 in /docs/_build
- #5806: @dependabot[bot] chore(deps): bump soupsieve from 2.4 to 2.4.1 in /docs/_build
- #5779: @dependabot[bot] chore(deps): bump golang from 1.20.2 to 1.20.3 in /tests/apps/gogrpc
- #5782: @dependabot[bot] chore(deps): bump golang from 1.20.2 to 1.20.3 in /tests/apps/go-fail-postdeploy
- #5788: @dependabot[bot] chore(deps): bump python from 3.11.2-alpine to 3.11.3-alpine in /docs/_build
- #5795: @dependabot[bot] chore(deps): bump pygments from 2.14.0 to 2.15.0 in /docs/_build
- #5796: @dependabot[bot] chore(deps): bump beautifulsoup4 from 4.12.0 to 4.12.2 in /docs/_build
- #5797: @dependabot[bot] chore(deps): bump mkdocs-material from 9.1.4 to 9.1.6 in /docs/_build
- #5801: @dependabot[bot] chore(deps): bump sinatra from 3.0.5 to 3.0.6 in /tests/apps/ruby
- #5794: @dependabot[bot] chore(deps): bump pymdown-extensions from 9.10 to 9.11 in /docs/_build
- #5793: @dependabot[bot] chore(deps): bump importlib-metadata from 6.1.0 to 6.3.0 in /docs/_build
- #5791: @dependabot[bot] chore(deps): bump golang.org/x/net from 0.8.0 to 0.9.0 in /tests/apps/gogrpc
- #5789: @dependabot[bot] chore(deps): bump python from 3.11.2-buster to 3.11.3-buster in /tests/apps/dockerfile-release
- #5783: @dependabot[bot] chore(deps): bump golang from 1.20.2 to 1.20.3 in /tests/apps/zombies-dockerfile-tini
- #5781: @dependabot[bot] chore(deps): bump golang from 1.20.2 to 1.20.3 in /tests/apps/zombies-dockerfile-no-tini
- #5780: @dependabot[bot] chore(deps): bump golang from 1.20.2 to 1.20.3 in /tests/apps/go-fail-predeploy
- #5775: @dependabot[bot] chore(deps): bump ruby from 3.2.1 to 3.2.2 in /tests/apps/dockerfile-entrypoint
- #5774: @dependabot[bot] chore(deps): bump thin from 1.8.1 to 1.8.2 in /tests/apps/ruby
- #5765: @dependabot[bot] chore(deps): bump mkdocs-material from 9.1.3 to 9.1.4 in /docs/_build
2023-04-25 15:52:32 +00:00
josegonzalez
2c7823a34a Merge pull request #5810 from strugee/patch-1
Fix typo in 0.30.x migration guide
2023-04-25 11:48:58 -04:00
josegonzalez
89e88f1d1c Merge pull request #5809 from dokku/dependabot/pip/docs/_build/pygments-2.15.1
chore(deps): bump pygments from 2.15.0 to 2.15.1 in /docs/_build
2023-04-25 11:48:15 -04:00
josegonzalez
ff6a3437b0 Merge pull request #5811 from dokku/dependabot/docker/tests/apps/dockerfile-noexpose/node-20-alpine
chore(deps): bump node from 19-alpine to 20-alpine in /tests/apps/dockerfile-noexpose
2023-04-25 11:47:56 -04:00
josegonzalez
ffb747e318 Merge pull request #5812 from dokku/dependabot/docker/tests/apps/dockerfile-procfile/node-20-alpine
chore(deps): bump node from 19-alpine to 20-alpine in /tests/apps/dockerfile-procfile
2023-04-25 11:47:48 -04:00
dependabot[bot]
29e7d234f1 chore(deps): bump node in /tests/apps/dockerfile-noexpose
Bumps node from 19-alpine to 20-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 15:47:47 +00:00
josegonzalez
28d5cbfe46 Merge pull request #5813 from dokku/dependabot/docker/tests/apps/dockerfile-procfile-bad/node-20-alpine
chore(deps): bump node from 19-alpine to 20-alpine in /tests/apps/dockerfile-procfile-bad
2023-04-25 11:47:40 -04:00
dependabot[bot]
3503217f55 chore(deps): bump pygments from 2.15.0 to 2.15.1 in /docs/_build
Bumps [pygments](https://github.com/pygments/pygments) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.15.0...2.15.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 15:47:36 +00:00
josegonzalez
82e3863796 Merge pull request #5814 from dokku/dependabot/docker/tests/apps/dockerfile/node-20-alpine
chore(deps): bump node from 19-alpine to 20-alpine in /tests/apps/dockerfile
2023-04-25 11:47:31 -04:00
josegonzalez
d38820472e Merge pull request #5815 from dokku/dependabot/docker/tests/apps/dockerfile-app-json-formations/node-20-alpine
chore(deps): bump node from 19-alpine to 20-alpine in /tests/apps/dockerfile-app-json-formations
2023-04-25 11:47:23 -04:00
josegonzalez
868ee5f758 Merge pull request #5816 from dokku/dependabot/pip/tests/apps/dockerfile-release/sqlparse-0.4.4
chore(deps): bump sqlparse from 0.4.3 to 0.4.4 in /tests/apps/dockerfile-release
2023-04-25 11:47:12 -04:00
josegonzalez
c7f81d806b Merge pull request #5818 from dokku/dependabot/pip/docs/_build/importlib-metadata-6.6.0
chore(deps): bump importlib-metadata from 6.5.0 to 6.6.0 in /docs/_build
2023-04-25 11:46:49 -04:00
josegonzalez
b6083b9834 Merge pull request #5821 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.1.8
chore(deps): bump mkdocs-material from 9.1.6 to 9.1.8 in /docs/_build
2023-04-25 11:46:36 -04:00
josegonzalez
c658aac5a7 Merge pull request #5820 from tylercrumpton/master
Fix "cotainer" typo in one-off tasks docs page.
2023-04-25 11:46:17 -04:00
dependabot[bot]
4499c9190c chore(deps): bump mkdocs-material from 9.1.6 to 9.1.8 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.6 to 9.1.8.
- [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.1.6...9.1.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 14:04:12 +00:00
Tyler Crumpton
8efb02827f Fix "cotainer" typo in one-off page. 2023-04-24 22:19:56 -04:00
dependabot[bot]
7d9ad8f285 chore(deps): bump importlib-metadata from 6.5.0 to 6.6.0 in /docs/_build
Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 6.5.0 to 6.6.0.
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/CHANGES.rst)
- [Commits](https://github.com/python/importlib_metadata/compare/v6.5.0...v6.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 14:12:08 +00:00
dependabot[bot]
0d73bc19fc chore(deps): bump sqlparse in /tests/apps/dockerfile-release
Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/andialbrecht/sqlparse/releases)
- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG)
- [Commits](https://github.com/andialbrecht/sqlparse/compare/0.4.3...0.4.4)

---
updated-dependencies:
- dependency-name: sqlparse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 22:31:17 +00:00
dependabot[bot]
017e155941 chore(deps): bump node in /tests/apps/dockerfile-app-json-formations
Bumps node from 19-alpine to 20-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 14:02:46 +00:00
dependabot[bot]
bb4cb727f2 chore(deps): bump node in /tests/apps/dockerfile
Bumps node from 19-alpine to 20-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 14:01:57 +00:00
dependabot[bot]
6b47699dd1 chore(deps): bump node in /tests/apps/dockerfile-procfile-bad
Bumps node from 19-alpine to 20-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 14:01:43 +00:00
dependabot[bot]
000e5b08de chore(deps): bump node in /tests/apps/dockerfile-procfile
Bumps node from 19-alpine to 20-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 14:01:32 +00:00
AJ Jordan
17f3bc17d9 Fix typo 2023-04-19 20:25:05 -04:00
josegonzalez
7eb90da14b Merge pull request #5805 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.15
chore(deps): bump jetty-servlet from 11.0.14 to 11.0.15 in /tests/apps/java
2023-04-18 19:29:32 -04:00
josegonzalez
ad438fbe19 Merge pull request #5808 from dokku/dependabot/pip/docs/_build/importlib-metadata-6.5.0
chore(deps): bump importlib-metadata from 6.3.0 to 6.5.0 in /docs/_build
2023-04-18 19:22:01 -04:00
josegonzalez
99b4cf91dd Merge pull request #5802 from dokku/dependabot/pip/docs/_build/packaging-23.1
chore(deps): bump packaging from 23.0 to 23.1 in /docs/_build
2023-04-18 19:21:50 -04:00
josegonzalez
194bd7c72c Merge pull request #5806 from dokku/dependabot/pip/docs/_build/soupsieve-2.4.1
chore(deps): bump soupsieve from 2.4 to 2.4.1 in /docs/_build
2023-04-18 19:21:24 -04:00
dependabot[bot]
459a8c437b chore(deps): bump importlib-metadata from 6.3.0 to 6.5.0 in /docs/_build
Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 6.3.0 to 6.5.0.
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/CHANGES.rst)
- [Commits](https://github.com/python/importlib_metadata/compare/v6.3.0...v6.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-18 14:05:20 +00:00
dependabot[bot]
5787fd0750 chore(deps): bump soupsieve from 2.4 to 2.4.1 in /docs/_build
Bumps [soupsieve](https://github.com/facelessuser/soupsieve) from 2.4 to 2.4.1.
- [Release notes](https://github.com/facelessuser/soupsieve/releases)
- [Commits](https://github.com/facelessuser/soupsieve/compare/2.4...2.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 14:10:14 +00:00
dependabot[bot]
fe24ce3276 chore(deps): bump jetty-servlet in /tests/apps/java
Bumps [jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.14 to 11.0.15.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.14...jetty-11.0.15)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-servlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 13:58:12 +00:00
dependabot[bot]
6305947991 chore(deps): bump packaging from 23.0 to 23.1 in /docs/_build
Bumps [packaging](https://github.com/pypa/packaging) from 23.0 to 23.1.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/23.0...23.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 14:06:10 +00:00
josegonzalez
e2064e9e47 Merge pull request #5779 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.20.3
chore(deps): bump golang from 1.20.2 to 1.20.3 in /tests/apps/gogrpc
2023-04-12 10:59:14 -04:00
josegonzalez
3da43da8db Merge pull request #5782 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.20.3
chore(deps): bump golang from 1.20.2 to 1.20.3 in /tests/apps/go-fail-postdeploy
2023-04-12 10:58:40 -04:00
josegonzalez
f319102931 Merge pull request #5788 from dokku/dependabot/docker/docs/_build/python-3.11.3-alpine
chore(deps): bump python from 3.11.2-alpine to 3.11.3-alpine in /docs/_build
2023-04-12 10:58:30 -04:00
josegonzalez
bacf4dd1f2 Merge pull request #5795 from dokku/dependabot/pip/docs/_build/pygments-2.15.0
chore(deps): bump pygments from 2.14.0 to 2.15.0 in /docs/_build
2023-04-12 10:58:19 -04:00
josegonzalez
cf10ee598a Merge pull request #5796 from dokku/dependabot/pip/docs/_build/beautifulsoup4-4.12.2
chore(deps): bump beautifulsoup4 from 4.12.0 to 4.12.2 in /docs/_build
2023-04-12 10:58:09 -04:00
josegonzalez
bd1be293e4 Merge pull request #5797 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.1.6
chore(deps): bump mkdocs-material from 9.1.4 to 9.1.6 in /docs/_build
2023-04-12 10:57:59 -04:00
josegonzalez
4ff159c897 Merge pull request #5801 from dokku/dependabot/bundler/tests/apps/ruby/sinatra-3.0.6
chore(deps): bump sinatra from 3.0.5 to 3.0.6 in /tests/apps/ruby
2023-04-12 10:57:48 -04:00
josegonzalez
8a74a0070d Merge pull request #5799 from dokku/5792-warn-when-missing-herokuish
Add ability to run dokku report without downloading herokuish image
2023-04-12 10:57:29 -04:00
dependabot[bot]
933a3e802c chore(deps): bump sinatra from 3.0.5 to 3.0.6 in /tests/apps/ruby
Bumps [sinatra](https://github.com/sinatra/sinatra) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/sinatra/sinatra/releases)
- [Changelog](https://github.com/sinatra/sinatra/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sinatra/sinatra/compare/v3.0.5...v3.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 13:57:02 +00:00
josegonzalez
68e78f114e Merge pull request #5800 from dokku/josegonzalez-patch-1
Fix indentation in registry configuration documentation
2023-04-11 23:18:46 -04:00
josegonzalez
12feec5562 docs: fix indentation in registry configuration documentation 2023-04-11 23:18:32 -04:00
josegonzalez
b11d9bc3a0 fix: correct shfmt issue and fallback to default case 2023-04-11 22:43:37 -04:00
Jose Diaz-Gonzalez
3a4365baf4 feat: add ability to run dokku report without downloading herokuish image
Closes #5792
2023-04-11 22:30:24 -04:00
dependabot[bot]
f6b35bfc14 chore(deps): bump python in /docs/_build
Bumps python from 3.11.2-alpine to 3.11.3-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 02:30:09 +00:00
dependabot[bot]
698ce64a33 chore(deps): bump pygments from 2.14.0 to 2.15.0 in /docs/_build
Bumps [pygments](https://github.com/pygments/pygments) from 2.14.0 to 2.15.0.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.14.0...2.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 02:29:06 +00:00
dependabot[bot]
1eb122be85 chore(deps): bump mkdocs-material from 9.1.4 to 9.1.6 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.4 to 9.1.6.
- [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.1.4...9.1.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 02:29:03 +00:00
dependabot[bot]
d738aa49dc chore(deps): bump beautifulsoup4 from 4.12.0 to 4.12.2 in /docs/_build
Bumps [beautifulsoup4](https://www.crummy.com/software/BeautifulSoup/bs4/) from 4.12.0 to 4.12.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 02:29:00 +00:00
josegonzalez
d13ddb74c0 Merge pull request #5794 from dokku/dependabot/pip/docs/_build/pymdown-extensions-9.11
chore(deps): bump pymdown-extensions from 9.10 to 9.11 in /docs/_build
2023-04-11 22:28:29 -04:00
josegonzalez
a86e82353e Merge pull request #5793 from dokku/dependabot/pip/docs/_build/importlib-metadata-6.3.0
chore(deps): bump importlib-metadata from 6.1.0 to 6.3.0 in /docs/_build
2023-04-11 22:28:21 -04:00
dependabot[bot]
7ab55e111e chore(deps): bump golang from 1.20.2 to 1.20.3 in /tests/apps/gogrpc
Bumps golang from 1.20.2 to 1.20.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 02:28:20 +00:00
dependabot[bot]
9c6fc8a81c chore(deps): bump golang in /tests/apps/go-fail-postdeploy
Bumps golang from 1.20.2 to 1.20.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 02:28:19 +00:00
josegonzalez
f6919ee252 Merge pull request #5791 from dokku/dependabot/go_modules/tests/apps/gogrpc/golang.org/x/net-0.9.0
chore(deps): bump golang.org/x/net from 0.8.0 to 0.9.0 in /tests/apps/gogrpc
2023-04-11 22:28:13 -04:00
josegonzalez
334cf430cb Merge pull request #5789 from dokku/dependabot/docker/tests/apps/dockerfile-release/python-3.11.3-buster
chore(deps): bump python from 3.11.2-buster to 3.11.3-buster in /tests/apps/dockerfile-release
2023-04-11 22:28:04 -04:00
josegonzalez
5a13128c36 Merge pull request #5783 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.20.3
chore(deps): bump golang from 1.20.2 to 1.20.3 in /tests/apps/zombies-dockerfile-tini
2023-04-11 22:27:54 -04:00
josegonzalez
a60e65c824 Merge pull request #5781 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.20.3
chore(deps): bump golang from 1.20.2 to 1.20.3 in /tests/apps/zombies-dockerfile-no-tini
2023-04-11 22:27:42 -04:00
josegonzalez
6aa3583416 Merge pull request #5780 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.20.3
chore(deps): bump golang from 1.20.2 to 1.20.3 in /tests/apps/go-fail-predeploy
2023-04-11 22:27:33 -04:00
josegonzalez
e4059fc848 Merge pull request #5775 from dokku/dependabot/docker/tests/apps/dockerfile-entrypoint/ruby-3.2.2
chore(deps): bump ruby from 3.2.1 to 3.2.2 in /tests/apps/dockerfile-entrypoint
2023-04-11 22:27:19 -04:00
josegonzalez
62acbc4ffe Merge pull request #5774 from dokku/dependabot/bundler/tests/apps/ruby/thin-1.8.2
chore(deps): bump thin from 1.8.1 to 1.8.2 in /tests/apps/ruby
2023-04-11 22:27:07 -04:00
dependabot[bot]
bfea0fbdc4 chore(deps): bump pymdown-extensions from 9.10 to 9.11 in /docs/_build
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 9.10 to 9.11.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/9.10...9.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 14:08:47 +00:00
dependabot[bot]
06fe283bc5 chore(deps): bump importlib-metadata from 6.1.0 to 6.3.0 in /docs/_build
Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 6.1.0 to 6.3.0.
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/CHANGES.rst)
- [Commits](https://github.com/python/importlib_metadata/compare/v6.1.0...v6.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 14:08:40 +00:00
dependabot[bot]
c15e4ee8bc chore(deps): bump golang.org/x/net in /tests/apps/gogrpc
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 13:57:40 +00:00
dependabot[bot]
f8c8031ded chore(deps): bump python in /tests/apps/dockerfile-release
Bumps python from 3.11.2-buster to 3.11.3-buster.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 14:04:32 +00:00
Michael OBrien
2cac8718dd Improve ed25519 + rsa ssh key search and presentation 2023-04-05 18:52:36 -07:00
Michael OBrien
343a98560b Check for both default rsa and ed25519 ssh public key files 2023-04-05 15:34:57 -07:00
dependabot[bot]
17b3e4f078 chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
Bumps golang from 1.20.2 to 1.20.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 14:12:57 +00:00
dependabot[bot]
c135d205d6 chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
Bumps golang from 1.20.2 to 1.20.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 14:03:33 +00:00
dependabot[bot]
d539ceed0c chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.20.2 to 1.20.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 14:03:33 +00:00
dependabot[bot]
30a0c864e2 chore(deps): bump ruby in /tests/apps/dockerfile-entrypoint
Bumps ruby from 3.2.1 to 3.2.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-31 14:03:56 +00:00
dependabot[bot]
9e00d8738c chore(deps): bump thin from 1.8.1 to 1.8.2 in /tests/apps/ruby
Bumps [thin](https://github.com/macournoyer/thin) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/macournoyer/thin/releases)
- [Changelog](https://github.com/macournoyer/thin/blob/master/CHANGELOG)
- [Commits](https://github.com/macournoyer/thin/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-31 13:57:30 +00:00
josegonzalez
06ebf84943 Merge pull request #5763 from dokku/josegonzalez-patch-1
Set dokku version correctly for digitalocean image build
2023-03-24 23:38:33 -04:00
josegonzalez
9068fe8bd5 Merge pull request #5765 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.1.4
chore(deps): bump mkdocs-material from 9.1.3 to 9.1.4 in /docs/_build
2023-03-24 18:15:34 -04:00
dependabot[bot]
dbe856eafb chore(deps): bump mkdocs-material from 9.1.3 to 9.1.4 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.3 to 9.1.4.
- [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.1.3...9.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-24 14:08:17 +00:00
josegonzalez
facf2f2f53 fix: set dokku version correctly for digitalocean image buld 2023-03-21 15:57:13 -04:00
Dokku Bot
35a9036f79 Release 0.30.2
# History

## 0.30.2

Install/update via the bootstrap script:

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

### Bug Fixes

- #5749: @josegonzalez Keep image specified by git:from-image on app rebuild
- #5750: @josegonzalez Return an error when an invalid scale count is encountered
- #5748: @josegonzalez Correct set source type and source metadata

### New Features

- #5754: @josegonzalez Ignore release branches in changelog output

### Removals

- #5756: @josegonzalez Drop code supporting git versions without worktree support

### Documentation

- #5744: @josegonzalez Add DOKKU_LIB_HOST_ROOT to docker usage docs
- #5740: @josegonzalez Add a note about how running plugin:install does not apply for docker-based installs
- #5719: @TkTech Give a quick example of what to do after disabling the proxy to expose a UDP port
- #5737: @Samuelodan Update instructions for setting letsencrypt global email
- #5736: @josegonzalez Remove extra backtick from nginx docs
- #5725: @IgnisDa Add surrealdb community plugin

### Tests

- #5755: @josegonzalez Ignore issue where errors are required to be lowercased

### Dependencies

- #5762: @dependabot[bot] chore(deps): bump watchdog from 2.3.1 to 3.0.0 in /docs/_build
- #5760: @dependabot[bot] chore(deps): bump importlib-metadata from 6.0.0 to 6.1.0 in /docs/_build
- #5761: @dependabot[bot] chore(deps): bump beautifulsoup4 from 4.11.2 to 4.12.0 in /docs/_build
- #5745: @dependabot[bot] chore(deps): bump mkdocs-material from 9.1.2 to 9.1.3 in /docs/_build
- #5746: @dependabot[bot] chore(deps): bump rack from 2.2.6.3 to 2.2.6.4 in /tests/apps/ruby
- #5732: @dependabot[bot] chore(deps): bump github.com/golang/protobuf from 1.5.2 to 1.5.3 in /tests/apps/gogrpc
- #5727: @dependabot[bot] chore(deps): bump golang from 1.20.1 to 1.20.2 in /tests/apps/zombies-dockerfile-tini
- #5708: @dependabot[bot] chore(deps): bump zipp from 3.14.0 to 3.15.0 in /docs/_build
- #5734: @dependabot[bot] chore(deps): bump mkdocs-material from 9.1.0 to 9.1.2 in /docs/_build
- #5731: @dependabot[bot] chore(deps): bump rack from 2.2.6.2 to 2.2.6.3 in /tests/apps/ruby
- #5730: @dependabot[bot] chore(deps): bump golang from 1.20.1 to 1.20.2 in /tests/apps/go-fail-predeploy
- #5729: @dependabot[bot] chore(deps): bump golang from 1.20.1 to 1.20.2 in /tests/apps/zombies-dockerfile-no-tini
- #5728: @dependabot[bot] chore(deps): bump golang from 1.20.1 to 1.20.2 in /tests/apps/gogrpc
- #5726: @dependabot[bot] chore(deps): bump golang from 1.20.1 to 1.20.2 in /tests/apps/go-fail-postdeploy
- #5723: @dependabot[bot] chore(deps): bump pymdown-extensions from 9.9.2 to 9.10 in /docs/_build
- #5722: @dependabot[bot] chore(deps): bump golang.org/x/net from 0.7.0 to 0.8.0 in /tests/apps/gogrpc
- #5721: @dependabot[bot] chore(deps): bump golang.org/x/net from 0.0.0-20220225172249-27dd8689420f to 0.7.0 in /plugins/common
- #5715: @dependabot[bot] chore(deps): bump luizm/action-sh-checker from 0.5.0 to 0.7.0
- #5712: @dependabot[bot] chore(deps): bump jetty-servlet from 11.0.13 to 11.0.14 in /tests/apps/java
- #5713: @dependabot[bot] chore(deps): bump watchdog from 2.3.0 to 2.3.1 in /docs/_build
- #5717: @dependabot[bot] chore(deps): bump mkdocs-material from 9.0.14 to 9.1.0 in /docs/_build
- #5703: @dependabot[bot] chore(deps): bump golang.org/x/net from 0.0.0-20190813141303-74dc4d7220e7 to 0.7.0 in /tests/apps/gogrpc
- #5705: @dependabot[bot] chore(deps): bump mkdocs-material from 9.0.13 to 9.0.14 in /docs/_build
- #5704: @dependabot[bot] chore(deps): bump watchdog from 2.2.1 to 2.3.0 in /docs/_build
- #5698: @dependabot[bot] chore(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 in /plugins/common
- #5697: @dependabot[bot] chore(deps): bump golang.org/x/text from 0.3.2 to 0.3.8 in /tests/apps/gogrpc

### Other

- #5751: @josegonzalez Update all golang dependencies to fix go.0 tests
2023-03-21 08:49:13 +00:00
josegonzalez
eee934cf23 Merge pull request #5762 from dokku/dependabot/pip/docs/_build/watchdog-3.0.0
chore(deps): bump watchdog from 2.3.1 to 3.0.0 in /docs/_build
2023-03-20 18:10:07 -04:00
josegonzalez
6b95edbe3b Merge pull request #5760 from dokku/dependabot/pip/docs/_build/importlib-metadata-6.1.0
chore(deps): bump importlib-metadata from 6.0.0 to 6.1.0 in /docs/_build
2023-03-20 13:51:41 -04:00
josegonzalez
414821f5d0 Merge pull request #5761 from dokku/dependabot/pip/docs/_build/beautifulsoup4-4.12.0
chore(deps): bump beautifulsoup4 from 4.11.2 to 4.12.0 in /docs/_build
2023-03-20 13:51:30 -04:00
dependabot[bot]
ddfb03b581 chore(deps): bump watchdog from 2.3.1 to 3.0.0 in /docs/_build
Bumps [watchdog](https://github.com/gorakhargosh/watchdog) from 2.3.1 to 3.0.0.
- [Release notes](https://github.com/gorakhargosh/watchdog/releases)
- [Changelog](https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst)
- [Commits](https://github.com/gorakhargosh/watchdog/compare/v2.3.1...v3.0.0)

---
updated-dependencies:
- dependency-name: watchdog
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 14:12:27 +00:00
dependabot[bot]
6dcccc6a51 chore(deps): bump beautifulsoup4 from 4.11.2 to 4.12.0 in /docs/_build
Bumps [beautifulsoup4](https://www.crummy.com/software/BeautifulSoup/bs4/) from 4.11.2 to 4.12.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 14:12:16 +00:00
dependabot[bot]
d65e5ccfd3 chore(deps): bump importlib-metadata from 6.0.0 to 6.1.0 in /docs/_build
Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/CHANGES.rst)
- [Commits](https://github.com/python/importlib_metadata/compare/v6.0.0...v6.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 14:12:10 +00:00
josegonzalez
5af750b469 Merge pull request #5756 from dokku/5662-drop-unused-git-code
Drop code supporting git versions without worktree support
2023-03-20 03:03:08 -04:00
Jose Diaz-Gonzalez
98970a597c chore: drop code supporting git versions without worktree support
This was necessary on Ubuntu 14.04 (and maybe 16.04) due to using a version of Dokku older than #2699, so we can safely drop the support here as we haven't supported either in a few years.
2023-03-20 00:51:50 -04:00
josegonzalez
fad774f2f2 Merge pull request #5755 from dokku/ignore-staticcheck
Ignore issue where errors are required to be lowercased
2023-03-20 00:27:54 -04:00
Jose Diaz-Gonzalez
ac47a2e425 feat: ignore issue where errors are required to be lowercased
For aesthetic reasons, error messages start with an uppercase character. This allows us to print them as is.
2023-03-20 00:27:23 -04:00
josegonzalez
9276e95d51 Merge pull request #5754 from dokku/release-branches
Ignore release branches in changelog output
2023-03-19 23:50:43 -04:00
Jose Diaz-Gonzalez
ea89fb5810 feat: ignore release branches in changelog output
This change allows us to have an integration branch for each release that contains tested changes for each minor. Rather than have to block merging until a minor is ready for release - and subsequently have to deal with constant rebase issues - we will now have an integration branch per-release. This will be the target for minor-related changes - mostly new features, but also refactors and bc-breaks - while the trunk branch will stay safe for merging patch changes.

Note that we'll still need to rebase the integration branch every so often, but at least this allows us to avoid many long-running MRs.
2023-03-19 23:42:22 -04:00
josegonzalez
4e55f7186c Merge pull request #5751 from dokku/fix-go-0-tests
Update all golang dependencies to fix go.0 tests
2023-03-19 19:17:54 -04:00
Jose Diaz-Gonzalez
6499fc29a0 chore: update all golang dependencies to fix go.0 tests 2023-03-19 16:37:50 -04:00
josegonzalez
45ae68bfbf Merge pull request #5749 from dokku/5702-keep-image-on-rebuild
Keep image specified by git:from-image on app rebuild
2023-03-18 14:10:44 -04:00
josegonzalez
b77d7a10aa Merge pull request #5750 from dokku/5710-return-scale-error
Return an error when an invalid scale count is encountered
2023-03-18 14:10:28 -04:00
josegonzalez
d1a4e7cb33 Merge pull request #5748 from dokku/josegonzalez-patch-1
Correct set source type and source metadata
2023-03-18 05:15:57 -04:00
Jose Diaz-Gonzalez
07e0eb4e50 feat: return an error when an invalid scale count is encountered
Closes #5710
2023-03-18 05:07:03 -04:00
Jose Diaz-Gonzalez
510cbd2d34 fix: keep image specified by git:from-image on app rebuild
Rather than always delete the image, we will now check if the alt image tag is equivalent to the source-image specified by the git:from-image command. If it is, we will ignore deletion.

Closes #5702
2023-03-18 04:55:54 -04:00
josegonzalez
b8bbf10f90 fix: correct set source type and source metadata 2023-03-18 04:19:19 -04:00
josegonzalez
c8abd803bd Merge pull request #5745 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.1.3
chore(deps): bump mkdocs-material from 9.1.2 to 9.1.3 in /docs/_build
2023-03-18 01:15:27 -04:00
josegonzalez
aadce9e220 Merge pull request #5746 from dokku/dependabot/bundler/tests/apps/ruby/rack-2.2.6.4
chore(deps): bump rack from 2.2.6.3 to 2.2.6.4 in /tests/apps/ruby
2023-03-18 01:15:05 -04:00
dependabot[bot]
4876d12898 chore(deps): bump rack from 2.2.6.3 to 2.2.6.4 in /tests/apps/ruby
Bumps [rack](https://github.com/rack/rack) from 2.2.6.3 to 2.2.6.4.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v2.2.6.3...v2.2.6.4)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 12:14:56 +00:00
dependabot[bot]
06a2ec3d7d chore(deps): bump mkdocs-material from 9.1.2 to 9.1.3 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.2 to 9.1.3.
- [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.1.2...9.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 14:07:45 +00:00
josegonzalez
7e7c476736 Merge pull request #5744 from dokku/5739-plugin-env-var
Add DOKKU_LIB_HOST_ROOT to docker usage docs
2023-03-15 04:07:20 -04:00
josegonzalez
bcab9ee2c5 docs: add DOKKU_LIB_HOST_ROOT to docker usage docs
This is necessary to fix certain plugins that need to be aware of host paths for volume mounting.
2023-03-15 04:07:07 -04:00
josegonzalez
be8bb4fcfd Merge pull request #5740 from dokku/5739-docs
Add a note about how running plugin:install does not apply for docker-based installs
2023-03-14 07:38:50 -04:00
josegonzalez
9f410a1a5a docs: add a note about alternative method for plugin installation for docker-based installs 2023-03-14 07:38:40 -04:00
josegonzalez
b31dda1348 docs: add a note about how running plugin:install does not apply for docker-based installs
Refs #5739
2023-03-14 07:35:27 -04:00
josegonzalez
11ab7e4442 Merge pull request #5719 from TkTech/udp_example
Give a quick example of what to do after disabling the proxy to expos…
2023-03-14 02:17:44 -04:00
josegonzalez
88efbadf17 Merge pull request #5732 from dokku/dependabot/go_modules/tests/apps/gogrpc/github.com/golang/protobuf-1.5.3
chore(deps): bump github.com/golang/protobuf from 1.5.2 to 1.5.3 in /tests/apps/gogrpc
2023-03-14 01:09:13 -04:00
josegonzalez
259243008c Merge pull request #5727 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.20.2
chore(deps): bump golang from 1.20.1 to 1.20.2 in /tests/apps/zombies-dockerfile-tini
2023-03-14 01:08:59 -04:00
josegonzalez
5f54356876 Merge pull request #5737 from Samuelodan/patch-1
Update instructions for setting letsencrypt global email
2023-03-14 01:08:43 -04:00
Samuelodan
a7695170a6 Update instructions for setting letsencrypt global email
Since there's no instruction for how to use the DOKKU_LETSENCRYPT_EMAIL env variable, I'm not sure why it's included here.
So, instead, I'm proposing to include the step for directly setting the global email for `dokku-letsencrypt`.

(It'll be nice to also get some explanation behind creating that env variable)
2023-03-13 05:03:58 +01:00
josegonzalez
e947ba6b57 Merge pull request #5708 from dokku/dependabot/pip/docs/_build/zipp-3.15.0
chore(deps): bump zipp from 3.14.0 to 3.15.0 in /docs/_build
2023-03-11 14:21:24 -05:00
dependabot[bot]
d8fab78967 chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
Bumps golang from 1.20.1 to 1.20.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-11 19:21:21 +00:00
josegonzalez
292483eb7b Merge pull request #5734 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.1.2
chore(deps): bump mkdocs-material from 9.1.0 to 9.1.2 in /docs/_build
2023-03-11 14:21:08 -05:00
josegonzalez
b4012b80cc Merge pull request #5731 from dokku/dependabot/bundler/tests/apps/ruby/rack-2.2.6.3
chore(deps): bump rack from 2.2.6.2 to 2.2.6.3 in /tests/apps/ruby
2023-03-11 14:20:52 -05:00
dependabot[bot]
fca30a3d59 chore(deps): bump github.com/golang/protobuf in /tests/apps/gogrpc
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: github.com/golang/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-11 19:20:47 +00:00
josegonzalez
9289c0f0b5 Merge pull request #5730 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.20.2
chore(deps): bump golang from 1.20.1 to 1.20.2 in /tests/apps/go-fail-predeploy
2023-03-11 14:20:43 -05:00
josegonzalez
2f64dfedf1 Merge pull request #5729 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.20.2
chore(deps): bump golang from 1.20.1 to 1.20.2 in /tests/apps/zombies-dockerfile-no-tini
2023-03-11 14:20:30 -05:00
josegonzalez
f99f9d39cc Merge pull request #5728 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.20.2
chore(deps): bump golang from 1.20.1 to 1.20.2 in /tests/apps/gogrpc
2023-03-11 14:20:23 -05:00
josegonzalez
6224dc636a Merge pull request #5726 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.20.2
chore(deps): bump golang from 1.20.1 to 1.20.2 in /tests/apps/go-fail-postdeploy
2023-03-11 14:20:07 -05:00
josegonzalez
6587b2967f Merge pull request #5723 from dokku/dependabot/pip/docs/_build/pymdown-extensions-9.10
chore(deps): bump pymdown-extensions from 9.9.2 to 9.10 in /docs/_build
2023-03-11 14:20:00 -05:00
josegonzalez
ef5a40d954 Merge pull request #5722 from dokku/dependabot/go_modules/tests/apps/gogrpc/golang.org/x/net-0.8.0
chore(deps): bump golang.org/x/net from 0.7.0 to 0.8.0 in /tests/apps/gogrpc
2023-03-11 14:19:52 -05:00
josegonzalez
457d223696 Merge pull request #5721 from dokku/dependabot/go_modules/plugins/common/golang.org/x/net-0.7.0
chore(deps): bump golang.org/x/net from 0.0.0-20220225172249-27dd8689420f to 0.7.0 in /plugins/common
2023-03-11 14:19:43 -05:00
josegonzalez
9d6e8a6424 Merge pull request #5736 from dokku/josegonzalez-patch-1
Remove extra backtick from nginx docs
2023-03-11 14:18:55 -05:00
josegonzalez
12f0498af8 docs: remove extra backtick from nginx docs 2023-03-11 14:18:45 -05:00
dependabot[bot]
477b3f1b73 chore(deps): bump mkdocs-material from 9.1.0 to 9.1.2 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.0 to 9.1.2.
- [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.1.0...9.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-10 14:08:24 +00:00
dependabot[bot]
2dcb81e566 chore(deps): bump rack from 2.2.6.2 to 2.2.6.3 in /tests/apps/ruby
Bumps [rack](https://github.com/rack/rack) from 2.2.6.2 to 2.2.6.3.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v2.2.6.2...v2.2.6.3)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 02:43:12 +00:00
dependabot[bot]
8aab04c0cf chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.20.1 to 1.20.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 14:07:34 +00:00
dependabot[bot]
ed230de38d chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
Bumps golang from 1.20.1 to 1.20.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 14:07:19 +00:00
dependabot[bot]
e2246e0d21 chore(deps): bump golang from 1.20.1 to 1.20.2 in /tests/apps/gogrpc
Bumps golang from 1.20.1 to 1.20.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 14:07:01 +00:00
dependabot[bot]
5ffa9d08f4 chore(deps): bump golang in /tests/apps/go-fail-postdeploy
Bumps golang from 1.20.1 to 1.20.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 14:06:41 +00:00
josegonzalez
1f981893f6 Merge pull request #5725 from IgnisDa/master
Add surrealdb community plugin
2023-03-07 12:19:15 -05:00
Diptesh Choudhuri
04fec4a442 fix(plugins-docs): put surrealdb under correct header 2023-03-07 14:49:25 +05:30
Diptesh Choudhuri
17ac16eddf docs(plugins): add dokku-surrealdb 2023-03-07 14:46:43 +05:30
dependabot[bot]
801b59944e chore(deps): bump pymdown-extensions from 9.9.2 to 9.10 in /docs/_build
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 9.9.2 to 9.10.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/9.9.2...9.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 14:25:50 +00:00
dependabot[bot]
671e95bdf2 chore(deps): bump golang.org/x/net in /tests/apps/gogrpc
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 14:01:35 +00:00
dependabot[bot]
c051517a1a chore(deps): bump zipp from 3.14.0 to 3.15.0 in /docs/_build
Bumps [zipp](https://github.com/jaraco/zipp) from 3.14.0 to 3.15.0.
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/CHANGES.rst)
- [Commits](https://github.com/jaraco/zipp/compare/v3.14.0...v3.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 00:45:58 +00:00
josegonzalez
9f399387a5 Merge pull request #5715 from dokku/dependabot/github_actions/luizm/action-sh-checker-0.7.0
chore(deps): bump luizm/action-sh-checker from 0.5.0 to 0.7.0
2023-03-05 19:45:52 -05:00
dependabot[bot]
6040024110 chore(deps): bump golang.org/x/net in /plugins/common
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220225172249-27dd8689420f to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 00:45:49 +00:00
josegonzalez
0642379858 Merge pull request #5712 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.14
chore(deps): bump jetty-servlet from 11.0.13 to 11.0.14 in /tests/apps/java
2023-03-05 19:45:21 -05:00
josegonzalez
5730bf7722 Merge pull request #5713 from dokku/dependabot/pip/docs/_build/watchdog-2.3.1
chore(deps): bump watchdog from 2.3.0 to 2.3.1 in /docs/_build
2023-03-05 19:45:09 -05:00
josegonzalez
3ed39c8396 Merge pull request #5717 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.1.0
chore(deps): bump mkdocs-material from 9.0.14 to 9.1.0 in /docs/_build
2023-03-05 19:44:36 -05:00
Tyler Kennedy
b229065fc5 Give a quick example of what to do after disabling the proxy to expose a UDP port. 2023-03-03 12:43:38 -05:00
dependabot[bot]
ad54537443 chore(deps): bump mkdocs-material from 9.0.14 to 9.1.0 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.0.14 to 9.1.0.
- [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.0.14...9.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-02 14:25:45 +00:00
dependabot[bot]
302c70bfe2 chore(deps): bump luizm/action-sh-checker from 0.5.0 to 0.7.0
Bumps [luizm/action-sh-checker](https://github.com/luizm/action-sh-checker) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/luizm/action-sh-checker/releases)
- [Commits](edd0e45ecf...76ab0b22e1)

---
updated-dependencies:
- dependency-name: luizm/action-sh-checker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 14:07:29 +00:00
dependabot[bot]
8ca709604a chore(deps): bump watchdog from 2.3.0 to 2.3.1 in /docs/_build
Bumps [watchdog](https://github.com/gorakhargosh/watchdog) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/gorakhargosh/watchdog/releases)
- [Changelog](https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst)
- [Commits](https://github.com/gorakhargosh/watchdog/compare/v2.3.0...v2.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-28 14:11:43 +00:00
dependabot[bot]
a2a4465df4 chore(deps): bump jetty-servlet in /tests/apps/java
Bumps [jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.13 to 11.0.14.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.13...jetty-11.0.14)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-servlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-28 13:58:11 +00:00
josegonzalez
50201a5457 Merge pull request #5703 from dokku/dependabot/go_modules/tests/apps/gogrpc/golang.org/x/net-0.7.0
chore(deps): bump golang.org/x/net from 0.0.0-20190813141303-74dc4d7220e7 to 0.7.0 in /tests/apps/gogrpc
2023-02-25 00:31:16 -05:00
dependabot[bot]
22a1366b2a chore(deps): bump golang.org/x/net in /tests/apps/gogrpc
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20190813141303-74dc4d7220e7 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-25 03:35:38 +00:00
josegonzalez
53be102a16 Merge pull request #5705 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.0.14
chore(deps): bump mkdocs-material from 9.0.13 to 9.0.14 in /docs/_build
2023-02-24 22:35:05 -05:00
josegonzalez
e88424ed9f Merge pull request #5704 from dokku/dependabot/pip/docs/_build/watchdog-2.3.0
chore(deps): bump watchdog from 2.2.1 to 2.3.0 in /docs/_build
2023-02-24 22:34:45 -05:00
josegonzalez
c79abd9d64 Merge pull request #5698 from dokku/dependabot/go_modules/plugins/common/golang.org/x/text-0.3.8
chore(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 in /plugins/common
2023-02-24 22:34:36 -05:00
josegonzalez
606f69b01e Merge pull request #5697 from dokku/dependabot/go_modules/tests/apps/gogrpc/golang.org/x/text-0.3.8
chore(deps): bump golang.org/x/text from 0.3.2 to 0.3.8 in /tests/apps/gogrpc
2023-02-24 22:34:28 -05:00
dependabot[bot]
c7e0e80181 chore(deps): bump mkdocs-material from 9.0.13 to 9.0.14 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.0.13 to 9.0.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.0.13...9.0.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>
2023-02-24 14:08:36 +00:00
dependabot[bot]
0e7a4ab3f3 chore(deps): bump watchdog from 2.2.1 to 2.3.0 in /docs/_build
Bumps [watchdog](https://github.com/gorakhargosh/watchdog) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/gorakhargosh/watchdog/releases)
- [Changelog](https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst)
- [Commits](https://github.com/gorakhargosh/watchdog/compare/v2.2.1...v2.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-24 14:08:31 +00:00
dependabot[bot]
4319a9f787 chore(deps): bump golang.org/x/text in /plugins/common
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 09:29:22 +00:00
dependabot[bot]
26dd64fa5b chore(deps): bump golang.org/x/text in /tests/apps/gogrpc
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.2 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.2...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 02:03:18 +00:00
Dokku Bot
38847373cd Release 0.30.1
# History

## 0.30.1

Install/update via the bootstrap script:

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

### Bug Fixes

- #5690: @josegonzalez Update dependencies for golang code to fix builds
- #5683: @josegonzalez Ensure the services directory also exists
- #5688: @josegonzalez Set custom entrypoint for pack-based containers so custom command/argument combinations are respected

### New Features

- #5682: @josegonzalez Build Digitalocean image automatically upon release
- #5675: @josegonzalez Add new sections to release notes

### Documentation

- #5695: @josegonzalez Add a note about required upgrade to 0.29.x for versions prior to 0.25.x
- #5689: @josegonzalez Add note about ubuntu 18.04 being deprecated
- #5684: @josegonzalez Note that the app.json is pulled from the specified image when deploying via git:from-image
- #5679: @josegonzalez Revert invalid replacement in homepage html path objects
- #5678: @josegonzalez Cleanup docs on homepage for installation

### Dependencies

- #5693: @dependabot[bot] chore(deps): bump mkdocs-material from 9.0.12 to 9.0.13 in /docs/_build
- #5694: @dependabot[bot] chore(deps): bump zipp from 3.13.0 to 3.14.0 in /docs/_build
- #5677: @dependabot[bot] chore(deps): bump flask from 2.2.2 to 2.2.3 in /tests/apps/multi
- #5676: @dependabot[bot] chore(deps): bump flask from 2.2.2 to 2.2.3 in /tests/apps/python-flask
2023-02-21 03:49:06 +00:00
josegonzalez
3bdda96fb1 Merge pull request #5690 from dokku/go-mod-update
Update dependencies for golang code to fix builds
2023-02-20 17:49:51 -05:00
Jose Diaz-Gonzalez
ae0c2a5867 chore: update all depdendencies to match latest net and sys packages 2023-02-20 16:36:01 -05:00
Jose Diaz-Gonzalez
4f9dbd6011 chore: update to go 1.19.6 2023-02-20 16:28:10 -05:00
josegonzalez
982f95e893 Merge pull request #5693 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.0.13
chore(deps): bump mkdocs-material from 9.0.12 to 9.0.13 in /docs/_build
2023-02-20 16:16:46 -05:00
josegonzalez
a1897149c8 Merge pull request #5694 from dokku/dependabot/pip/docs/_build/zipp-3.14.0
chore(deps): bump zipp from 3.13.0 to 3.14.0 in /docs/_build
2023-02-20 16:16:22 -05:00
josegonzalez
7178561280 Merge pull request #5695 from dokku/josegonzalez-patch-1
Add a note about required upgrade to 0.29.x for versions prior to 0.25.x
2023-02-20 16:08:49 -05:00
josegonzalez
ca444af7d1 docs: add a note about required upgrade to 0.29.x
We introduced a method of migrating from DOKKU_SCALE to app.json in 0.25.x. This was removed in 0.30.x, so users need to ensure they either set their own scale manually _or_ upgrade. The upgrade is probably the safest bet.
2023-02-20 16:08:31 -05:00
dependabot[bot]
aa2e0eadfa chore(deps): bump zipp from 3.13.0 to 3.14.0 in /docs/_build
Bumps [zipp](https://github.com/jaraco/zipp) from 3.13.0 to 3.14.0.
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/CHANGES.rst)
- [Commits](https://github.com/jaraco/zipp/compare/v3.13.0...v3.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 14:23:07 +00:00
dependabot[bot]
28ab4e1bc5 chore(deps): bump mkdocs-material from 9.0.12 to 9.0.13 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.0.12 to 9.0.13.
- [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.0.12...9.0.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 14:23:03 +00:00
Jose Diaz-Gonzalez
465634a16e chore: update golang.org/x/sys dependency to keep in sync with common plugin 2023-02-18 19:18:50 -05:00
josegonzalez
3196947857 Merge pull request #5689 from dokku/josegonzalez-patch-1
Add note about ubuntu 18.04 being deprecated
2023-02-17 22:11:30 -05:00
josegonzalez
992b27fcf9 docs: add note about ubuntu 18.04 being deprecated
This was an omission by error in the 0.30.x release notes.
2023-02-17 22:11:09 -05:00
Jose Diaz-Gonzalez
84f6b0ab53 chore: run go mod tidy
The following script was run from within the `plugins` directory:

    for plugin in *; do
        if [[ ! -f "/root/go/src/github.com/dokku/dokku/plugins/$plugin/go.mod" ]]; then continue; fi;
        echo "$plugin"
        pushd /root/go/src/github.com/dokku/dokku/plugins/$plugin;
        go mod tidy;
        go mod download;
        popd >/dev/null;
    done
2023-02-17 22:08:22 -05:00
josegonzalez
8f2856f8ec Merge pull request #5683 from dokku/5614-josegonzalez-patch-1
Ensure the services directory also exists
2023-02-17 22:05:08 -05:00
josegonzalez
54d88eec7e fix: only rsync existing directories
Additionally, pin the chown to just the top-level dir for the services dir
2023-02-17 19:10:14 -05:00
josegonzalez
08bea72000 Merge pull request #5688 from dokku/5687-pack-launcher-fix
Set custom entrypoint for pack-based containers so custom command/argument combinations are respected
2023-02-17 17:09:10 -05:00
Jose Diaz-Gonzalez
1286d85054 fix: set custom entrypoint for pack-based containers so custom command/argument combinations are respected
Closes #5687
2023-02-17 16:01:41 -05:00
josegonzalez
514c6d9825 Merge pull request #5684 from dokku/josegonzalez-patch-1
Note that the app.json is pulled from the specified image when deploying via git:from-image
2023-02-16 23:33:38 -05:00
josegonzalez
322e1404ef docs: note that the app.json is pulled from the specified image when deploying via git:from-image 2023-02-16 23:33:14 -05:00
josegonzalez
7834f353f1 fix: ensure the services directory also exists
Without this, we get issues attempting to install datastore plugins.

Closes #5614
2023-02-16 19:38:10 -05:00
josegonzalez
47536645a2 Merge pull request #5677 from dokku/dependabot/pip/tests/apps/multi/flask-2.2.3
chore(deps): bump flask from 2.2.2 to 2.2.3 in /tests/apps/multi
2023-02-16 19:37:46 -05:00
josegonzalez
bec0875556 Merge pull request #5682 from dokku/build-digitalocean-image
Build Digitalocean image automatically upon release
2023-02-16 19:37:32 -05:00
Jose Diaz-Gonzalez
4b8ccfbf34 fix: implement checkTMP 2023-02-16 16:22:32 -05:00
Jose Diaz-Gonzalez
26a536bc9b feat: log the output of the do directory 2023-02-16 16:01:59 -05:00
Jose Diaz-Gonzalez
635f9c1bc5 chore: remove unused function 2023-02-16 15:49:37 -05:00
Jose Diaz-Gonzalez
47fddf1899 chore: remove extra cleanup line
Logs are already zero'd out
2023-02-16 15:49:16 -05:00
Jose Diaz-Gonzalez
7b1a2fa908 fix: add missing cleanup step 2023-02-16 15:49:02 -05:00
Jose Diaz-Gonzalez
1eada6a5e8 fix: purge log files and droplet-agent
This should fix a few of the warnings/errors shown during the image check process.
2023-02-16 15:32:55 -05:00
Jose Diaz-Gonzalez
f1152cd6b7 fix: validate the packer image 2023-02-16 15:10:49 -05:00
Jose Diaz-Gonzalez
55c3b73f35 feat: run image check at the end of the build 2023-02-16 15:10:43 -05:00
Jose Diaz-Gonzalez
1eda16d186 refactor: simplify provisioning 2023-02-16 15:08:49 -05:00
Jose Diaz-Gonzalez
b2fbefb6d3 refactor: remove use of format function 2023-02-16 15:07:58 -05:00
Jose Diaz-Gonzalez
11743afbf0 chore: drop ability to set a custom base image
We'll only ever test against the latest LTS.
2023-02-16 15:07:25 -05:00
Jose Diaz-Gonzalez
d40ee36348 feat: update all base packages 2023-02-16 15:07:03 -05:00
Jose Diaz-Gonzalez
c24e0d3888 feat: ensure we have a custom landing page for folks to view when going to their droplet ip/vhost 2023-02-16 15:00:37 -05:00
Jose Diaz-Gonzalez
360940f68e fix: use https urls 2023-02-16 14:53:58 -05:00
Jose Diaz-Gonzalez
4ce5ba6a75 refactor: unify cleanup script with the one used by the DO marketplace 2023-02-16 14:50:07 -05:00
Jose Diaz-Gonzalez
197bd0c864 feat: remove the default nginx site in built images
This is confusing for users and shouldn't really ever exist.
2023-02-16 14:49:13 -05:00
Jose Diaz-Gonzalez
ba06bac1b9 feat: enable exit on error 2023-02-16 14:48:43 -05:00
Jose Diaz-Gonzalez
9dc6d8e130 refactor: cleanup ufw rules
- use nginx ful rules
- limit ssh by default
- force enable ufw
- drop access to 2375 and 2376 (this allows passwordless docker access...)
2023-02-16 14:47:52 -05:00
Jose Diaz-Gonzalez
afe042de46 docs: cleanup motd
- standardize text with the sample marketplace app
- remove reference to web server (its unavailable in newer versions)
2023-02-16 14:46:39 -05:00
Jose Diaz-Gonzalez
358fb72baf fix: run build in nyc1
NYC1 is the only DC where the smallest size droplet is available.
2023-02-16 14:33:26 -05:00
Jose Diaz-Gonzalez
98d6a3b53e fix: run build on smallest image
This will allow anyone to use the resulting image, and not just those with at least 2GB of ram.
2023-02-16 14:32:30 -05:00
Jose Diaz-Gonzalez
9ebe708741 fix: run packer validate with access to the DO token
Without this, it fails when initializing the builder.
2023-02-16 14:31:41 -05:00
Jose Diaz-Gonzalez
ba56474f15 fix: correct position of post-provisioner block 2023-02-16 14:26:29 -05:00
Jose Diaz-Gonzalez
ec642788d3 fix: correct SC2004 2023-02-16 14:25:40 -05:00
Jose Diaz-Gonzalez
adf98b53f5 chore: run shfmt 2023-02-16 14:22:44 -05:00
Jose Diaz-Gonzalez
ae1b695fc5 feat: build digitalocean images in ci on release
While these don't (yet?) get submitted to the Digitalocean marketplace, it should bring us most of the way of making that possible.

The next step would be to somehow get notifications of the new image snapshot sent... Somewhere and have the lovely DO folks test/release it for us.
2023-02-16 14:21:36 -05:00
Jose Diaz-Gonzalez
6c099c4ad0 tests: lint the packer config in CI 2023-02-16 14:19:42 -05:00
Jose Diaz-Gonzalez
96c737eae4 refactor: update digitalocean image building to match what Digitalocean does
The scripts run/installed on the server are based on what was given to me by Digitalocean in 2019, so they may have diverged a bit since.
2023-02-16 14:19:10 -05:00
dependabot[bot]
32cf4ac3e2 chore(deps): bump flask from 2.2.2 to 2.2.3 in /tests/apps/multi
Bumps [flask](https://github.com/pallets/flask) from 2.2.2 to 2.2.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.2.2...2.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 11:14:47 +00:00
josegonzalez
eba867a3bb Merge pull request #5676 from dokku/dependabot/pip/tests/apps/python-flask/flask-2.2.3
chore(deps): bump flask from 2.2.2 to 2.2.3 in /tests/apps/python-flask
2023-02-16 06:14:04 -05:00
josegonzalez
2769428405 Merge pull request #5679 from dokku/fix-paths-on-homepage
Revert invalid replacement in homepage html path objects
2023-02-16 01:49:07 -05:00
Jose Diaz-Gonzalez
9b44e9e1fb fix: revert invalid replacement in homepage html path objects 2023-02-16 01:48:49 -05:00
josegonzalez
19b4e08c3b Merge pull request #5678 from dokku/cleanup-home-install
Cleanup docs on homepage for installation
2023-02-16 01:39:36 -05:00
Jose Diaz-Gonzalez
faa18ab8e1 docs: cleanup docs on homepage for installation
- Use linebreaks in a standard way
- Use the short url to get the bootstrap.sh script
- Store public key in a variable and reference that variable to avoid word-wrapping
- Use a shorter final sentence
- Remove console.log
2023-02-16 01:39:23 -05:00
dependabot[bot]
e5231a81bc chore(deps): bump flask from 2.2.2 to 2.2.3 in /tests/apps/python-flask
Bumps [flask](https://github.com/pallets/flask) from 2.2.2 to 2.2.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.2.2...2.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 06:29:36 +00:00
josegonzalez
cf1aab8c23 Merge pull request #5675 from dokku/new-release-types
Add new sections to release notes
2023-02-16 01:29:06 -05:00
Jose Diaz-Gonzalez
9c7968d924 chore: run shfmt 2023-02-16 01:28:53 -05:00
Jose Diaz-Gonzalez
e8569f7054 feat: add new sections to release notes
- removals: things being removed in this release
- deprecations: things being deprecated in this release, for later removal
- dependencies: dependency updates (typically by dependabot)
2023-02-16 01:28:21 -05:00
Dokku Bot
89affb1984 Release 0.30.0
# History

## 0.30.0

Install/update via the bootstrap script:

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

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

### Bug Fixes

- #5674: @josegonzalez Use authenticated requests to the github api in order to generate changelogs for a release
- #5604: @josegonzalez Trigger nginx proxy rebuild early to avoid downtime if deploying large numbers of processes
- #5589: @josegonzalez Use warning_scheme variable instead of bare word in caddy-vhosts warning output
- #5580: @josegonzalez Do not attempt to reinstall already installed plugins

### New Features

- #5663: @josegonzalez Update build-base docker image to ensure we can build on all supported platforms without stalling
- #5308: @josegonzalez Implement haproxy proxy plugin
- #5633: @josegonzalez Add auto-updates to docs python dependencies
- #5603: @josegonzalez Add ability to deploy images generated via docker save with git:load-image
- #5591: @josegonzalez Allow the herokuish builder to be detected when the computed allowed value is set not set to false
- #5570: @josegonzalez Add support for customizing the remote in use for all commands sent via the official client
- #5581: @josegonzalez Use short url for installation

### Refactors

- #5659: @josegonzalez Remove deprecated functions and commands

### Documentation

- #5658: @mpslanker Updated debian install docs to work on both debian and ubuntu
- #5657: @josegonzalez Use correct version of Markdown for mkdocs
- #5656: @josegonzalez Add "new as of" prefix to version in user management docs
- #5645: @josegonzalez Update mkdocs-material features to cope with upgrade to 9.x
- #5632: @josegonzalez Add a note mentioning that network aliases only work when attached to a network other than bridge
- #5630: @josegonzalez Remove extra location block from built docs nginx config
- #5616: @jcalfee Add a note about reloading nginx to troubleshooting docs
- #5590: @josegonzalez Note that connecting to vagrant should be done via vagrant ssh
- #5588: @josegonzalez Document how to route to server-local apps via a service proxy
- #5585: @NicolasLM Improve instructions for disabling the default nginx site

### Tests

- #5673: @josegonzalez Cancel in progress builds when a new commit is pushed
- #5611: @josegonzalez Add more debugging output to deploy tests
- #5587: @josegonzalez Timeout build jobs within 45 minutes

### Other

- #5671: @dependabot[bot] chore(deps): bump soupsieve from 2.3.2.post1 to 2.4 in /docs/_build
- #5666: @dependabot[bot] chore(deps): bump golang from 1.20.0 to 1.20.1 in /tests/apps/go-fail-predeploy
- #5672: @dependabot[bot] chore(deps): bump django from 4.1.6 to 4.1.7 in /tests/apps/dockerfile-release
- #5670: @dependabot[bot] chore(deps): bump golang from 1.20.0 to 1.20.1 in /tests/apps/zombies-dockerfile-no-tini
- #5669: @dependabot[bot] chore(deps): bump golang from 1.20.0 to 1.20.1 in /tests/apps/go-fail-postdeploy
- #5668: @dependabot[bot] chore(deps): bump golang from 1.20.0 to 1.20.1 in /tests/apps/gogrpc
- #5667: @dependabot[bot] chore(deps): bump golang from 1.20.0 to 1.20.1 in /tests/apps/zombies-dockerfile-tini
- #5665: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 230 to 231 in /tests/apps/php
- #5664: @dependabot[bot] chore(deps): bump werkzeug from 2.2.2 to 2.2.3 in /tests/apps/python-flask
- #5559: @josegonzalez Move app.json extraction from built image artifact to source code
- #5661: @dependabot[bot] chore(deps): update markdown requirement from <3.4,>=3.2.1 to >=3.2.1,<3.5 in /docs/_build
- #5655: @dependabot[bot] chore(deps): bump zipp from 3.12.1 to 3.13.0 in /docs/_build
- #5654: @dependabot[bot] chore(deps): bump mkdocs-material from 9.0.11 to 9.0.12 in /docs/_build
- #5648: @dependabot[bot] chore(deps): bump markdown from 3.3.7 to 3.4.1 in /docs/_build
- #5650: @dependabot[bot] chore(deps): bump python from 3.11.1-buster to 3.11.2-buster in /tests/apps/dockerfile-release
- #5651: @dependabot[bot] chore(deps): bump ruby from 3.2.0 to 3.2.1 in /tests/apps/dockerfile-entrypoint
- #5652: @dependabot[bot] chore(deps): bump python from 3.11.1-alpine to 3.11.2-alpine in /docs/_build
- #5647: @dependabot[bot] chore(deps): bump importlib-metadata from 4.12.0 to 6.0.0 in /docs/_build
- #5646: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 229 to 230 in /tests/apps/php
- #5634: @dependabot[bot] chore(deps): bump mkdocs-material from 8.4.2 to 9.0.11 in /docs/_build
- #5637: @dependabot[bot] chore(deps): bump packaging from 21.3 to 23.0 in /docs/_build
- #5643: @dependabot[bot] chore(deps): bump watchdog from 2.1.9 to 2.2.1 in /docs/_build
- #5642: @dependabot[bot] chore(deps): bump pymdown-extensions from 9.5 to 9.9.2 in /docs/_build
- #5639: @dependabot[bot] chore(deps): bump mkdocs from 1.3.1 to 1.4.2 in /docs/_build
- #5638: @dependabot[bot] chore(deps): bump mkdocs-material-extensions from 1.0.3 to 1.1.1 in /docs/_build
- #5631: @dependabot[bot] chore(deps): bump socket.io from 4.5.4 to 4.6.0 in /tests/apps/.websocket.disabled
- #5636: @dependabot[bot] chore(deps): bump markupsafe from 2.1.1 to 2.1.2 in /docs/_build
- #5641: @dependabot[bot] chore(deps): bump beautifulsoup4 from 4.11.1 to 4.11.2 in /docs/_build
- #5635: @dependabot[bot] chore(deps): bump pygments from 2.13.0 to 2.14.0 in /docs/_build
- #5640: @dependabot[bot] chore(deps): bump zipp from 3.8.1 to 3.12.1 in /docs/_build
- #5629: @josegonzalez Update list indentation explaining network property utilization
- #5617: @dependabot[bot] chore(deps): bump golang from 1.19.5 to 1.20.0 in /tests/apps/go-fail-predeploy
- #5620: @dependabot[bot] chore(deps): bump golang from 1.19.5 to 1.20.0 in /tests/apps/gogrpc
- #5618: @dependabot[bot] chore(deps): bump golang from 1.19.5 to 1.20.0 in /tests/apps/go-fail-postdeploy
- #5625: @dependabot[bot] chore(deps): bump django from 4.1.2 to 4.1.6 in /tests/apps/dockerfile-release
- #5619: @dependabot[bot] chore(deps): bump golang from 1.19.5 to 1.20.0 in /tests/apps/zombies-dockerfile-no-tini
- #5621: @dependabot[bot] chore(deps): bump golang from 1.19.5 to 1.20.0 in /tests/apps/zombies-dockerfile-tini
- #5615: @dependabot[bot] chore(deps): bump ludeeus/action-shellcheck from 1.1.0 to 2.0.0
- #5610: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 227 to 229 in /tests/apps/php
- #5608: @josegonzalez tests: refactor the config test to use a simple python codebase instead
- #5606: @josegonzalez Ensure the mounted services directory is symlinked correctly
- #5558: @josegonzalez Remove references to ubuntu 18.04 ahead of EOL
- #5600: @dependabot[bot] chore(deps): bump rack from 2.2.4 to 2.2.6.2 in /tests/apps/ruby
- #5598: @dependabot[bot] chore(deps): bump hadolint/hadolint-action from 3.0.0 to 3.1.0
- #5595: @josegonzalez Remove deprecated ability to call logs:failed without specifying an app or --all flag
- #5594: @josegonzalez Remove deprecated builder-specific post-release hooks
- #5593: @josegonzalez Remove deprecated --detach flag
- #5592: @josegonzalez Remove support for DOKKU_SCALE file
- #5560: @josegonzalez Drop SPDY support from nginx plugin
- #5579: @dependabot[bot] chore(deps): bump maven-dependency-plugin from 3.4.0 to 3.5.0 in /tests/apps/java
2023-02-16 03:32:45 +00:00
josegonzalez
c9efe22844 Merge pull request #5674 from dokku/fix-changelog-generation
Use authenticated requests to the github api in order to generate changelogs for a release
2023-02-15 22:31:24 -05:00
Jose Diaz-Gonzalez
46ea507182 fix: use authenticated requests to the github api in order to generate changelogs for a release 2023-02-15 22:30:39 -05:00
josegonzalez
1a39e72b14 Merge pull request #5671 from dokku/dependabot/pip/docs/_build/soupsieve-2.4
chore(deps): bump soupsieve from 2.3.2.post1 to 2.4 in /docs/_build
2023-02-15 18:39:15 -05:00
josegonzalez
7638ed11d6 Merge pull request #5666 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.20.1
chore(deps): bump golang from 1.20.0 to 1.20.1 in /tests/apps/go-fail-predeploy
2023-02-15 17:42:36 -05:00
josegonzalez
f2b5531eb0 Merge pull request #5672 from dokku/dependabot/pip/tests/apps/dockerfile-release/django-4.1.7
chore(deps): bump django from 4.1.6 to 4.1.7 in /tests/apps/dockerfile-release
2023-02-15 17:04:40 -05:00
josegonzalez
537f6baa09 Merge pull request #5673 from dokku/josegonzalez-patch-1
Cancel in progress builds when a new commit is pushed
2023-02-15 16:34:52 -05:00
josegonzalez
4e905cdf71 tests: cancel in progress builds when a new commit is pushed 2023-02-15 16:34:41 -05:00
dependabot[bot]
abfc2c5d31 chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.20.0 to 1.20.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-15 21:33:34 +00:00
josegonzalez
1feb046645 Merge pull request #5670 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.20.1
chore(deps): bump golang from 1.20.0 to 1.20.1 in /tests/apps/zombies-dockerfile-no-tini
2023-02-15 16:32:57 -05:00
josegonzalez
ec2310e08e Merge pull request #5669 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.20.1
chore(deps): bump golang from 1.20.0 to 1.20.1 in /tests/apps/go-fail-postdeploy
2023-02-15 16:32:50 -05:00
josegonzalez
d020e5e860 Merge pull request #5668 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.20.1
chore(deps): bump golang from 1.20.0 to 1.20.1 in /tests/apps/gogrpc
2023-02-15 16:32:37 -05:00
josegonzalez
84749d5241 Merge pull request #5667 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.20.1
chore(deps): bump golang from 1.20.0 to 1.20.1 in /tests/apps/zombies-dockerfile-tini
2023-02-15 16:32:29 -05:00
josegonzalez
3e4635d710 Merge pull request #5665 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-231
chore(deps-dev): bump heroku/heroku-buildpack-php from 230 to 231 in /tests/apps/php
2023-02-15 16:31:36 -05:00
josegonzalez
acaa21d231 Merge pull request #5664 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-2.2.3
chore(deps): bump werkzeug from 2.2.2 to 2.2.3 in /tests/apps/python-flask
2023-02-15 16:31:07 -05:00
dependabot[bot]
fa5c9c45d0 chore(deps): bump django in /tests/apps/dockerfile-release
Bumps [django](https://github.com/django/django) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/4.1.6...4.1.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-15 20:39:30 +00:00
dependabot[bot]
26cbcbf872 chore(deps): bump soupsieve from 2.3.2.post1 to 2.4 in /docs/_build
Bumps [soupsieve](https://github.com/facelessuser/soupsieve) from 2.3.2.post1 to 2.4.
- [Release notes](https://github.com/facelessuser/soupsieve/releases)
- [Commits](https://github.com/facelessuser/soupsieve/compare/2.3.2.post1...2.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-15 14:10:21 +00:00
dependabot[bot]
d0dcb835ba chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
Bumps golang from 1.20.0 to 1.20.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-15 14:07:43 +00:00
dependabot[bot]
3127c9f616 chore(deps): bump golang in /tests/apps/go-fail-postdeploy
Bumps golang from 1.20.0 to 1.20.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-15 14:07:25 +00:00
dependabot[bot]
c90cb03fbd chore(deps): bump golang from 1.20.0 to 1.20.1 in /tests/apps/gogrpc
Bumps golang from 1.20.0 to 1.20.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-15 14:07:15 +00:00
dependabot[bot]
ebd174d4c8 chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
Bumps golang from 1.20.0 to 1.20.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-15 14:07:13 +00:00
dependabot[bot]
7d1a9c554b 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 230 to 231.
- [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/v230...v231)

---
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>
2023-02-15 13:58:49 +00:00
dependabot[bot]
9557f8dbf5 chore(deps): bump werkzeug in /tests/apps/python-flask
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.2.2...2.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-15 13:58:13 +00:00
josegonzalez
a5cd973156 Merge pull request #5559 from dokku/5556-app-json-extract
Move app.json extraction from built image artifact to source code
2023-02-14 04:58:34 -05:00
Jose Diaz-Gonzalez
87828515a1 fix: respect the build-dir in app-json extraction
Because the app-json extraction happens before the build-dir is set, it doesn't end up respecting the value, and thus the user might get the wrong app.json file.

This takes advantage of path.Join()'s default of ignoring empty paths.
2023-02-14 03:56:28 -05:00
Jose Diaz-Gonzalez
0eccfe8ba4 tests: add test ensuring the build-dir property is supported 2023-02-14 03:08:02 -05:00
Jose Diaz-Gonzalez
af84293c3e fix: ensure we migrate data for all golang plugins 2023-02-14 03:08:02 -05:00
Jose Diaz-Gonzalez
a8283824a5 fix: remove extra import 2023-02-14 03:08:02 -05:00
Jose Diaz-Gonzalez
0066b09405 fix: remove duplicate func as a result of rebase 2023-02-14 03:08:02 -05:00
Jose Diaz-Gonzalez
e78fb84953 fix: ensure we create the app-json data directory for the app on app creation 2023-02-14 03:08:02 -05:00
Jose Diaz-Gonzalez
b83e5fff64 fix: add missing triggers 2023-02-14 03:08:02 -05:00
Jose Diaz-Gonzalez
2ccc78023c fix: run go get to ensure we fetch the correct dependencies 2023-02-14 03:08:02 -05:00
Jose Diaz-Gonzalez
09eb0b2c8f refactor: move app.json extraction up to core-post-extract 2023-02-14 03:08:02 -05:00
Jose Diaz-Gonzalez
173434ef34 chore: reorder functions 2023-02-14 03:08:02 -05:00
Jose Diaz-Gonzalez
3f82c525ad chore: use helper to check if there is a Procfile 2023-02-14 03:08:02 -05:00
Jose Diaz-Gonzalez
a53ead6c64 chore: rename function 2023-02-14 03:08:02 -05:00
josegonzalez
c1da419d01 Merge pull request #5663 from dokku/fix-builder
Update build-base docker image to ensure we can build on all supported platforms without stalling
2023-02-14 03:02:12 -05:00
Jose Diaz-Gonzalez
b5b50ace5e fix: install sudo 2023-02-14 01:16:42 -05:00
Jose Diaz-Gonzalez
8650977918 chore: drop already installed packages
These are installed in the base image.
2023-02-14 01:16:06 -05:00
Jose Diaz-Gonzalez
1a1590c299 fix: update build-base docker image to ensure we can build on all supported platforms without stalling
The image can now be built via:

    docker buildx build --platform linux/arm,linux/arm64,linux/amd64 --progress plain --push --tag dokku/build-base:latest --tag dokku/build-base:0.0.1 -f contrib/build-base.Dockerfile .
2023-02-14 01:14:10 -05:00
josegonzalez
3d930b1a3d Merge pull request #5661 from dokku/dependabot/pip/docs/_build/markdown-gte-3.2.1-and-lt-3.5
chore(deps): update markdown requirement from <3.4,>=3.2.1 to >=3.2.1,<3.5 in /docs/_build
2023-02-13 14:37:58 -05:00
josegonzalez
83fa48323f Merge pull request #5659 from dokku/remove-deprecated-functions
Remove deprecated functions and commands
2023-02-13 14:37:38 -05:00
dependabot[bot]
e0d56f1ed5 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)
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.2.1...3.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 14:28:01 +00:00
Jose Diaz-Gonzalez
f84a650849 chore: remove deprecated nginx commands 2023-02-12 13:20:45 -05:00
Jose Diaz-Gonzalez
954b2d9d34 chore: remove deprecated proxy functions 2023-02-12 13:20:24 -05:00
Jose Diaz-Gonzalez
59fde3a317 chore: remove deprecated nginx commands 2023-02-12 13:12:47 -05:00
Jose Diaz-Gonzalez
577aafb683 chore: remove deprecated git functions 2023-02-12 13:09:20 -05:00
Jose Diaz-Gonzalez
e628e21879 chore: remove deprecated --rm-container and--rm global flags 2023-02-12 13:09:00 -05:00
Jose Diaz-Gonzalez
d27c8f09d1 chore: remove deprecated common functions 2023-02-12 13:08:45 -05:00
Jose Diaz-Gonzalez
7f2a66df88 chore: remove deprecated app functions
These were deprecated in 0.20.0 and are unused in Dokku's official codebases.
2023-02-12 13:02:23 -05:00
josegonzalez
18c983d77a Merge pull request #5658 from mpslanker/debian-docs-update
#5644 - Removed reference to ubuntu (lines 16-18)
2023-02-12 12:17:11 -05:00
Matthew Slanker
1cce122622 #5644 - Removed reference to ubuntu (lines 16-18) 2023-02-11 22:04:35 -07:00
josegonzalez
46b81f5c46 Merge pull request #5308 from dokku/haproxy-plugin 2023-02-12 00:02:09 -05:00
Jose Diaz-Gonzalez
d1c4cc89bf docs: fix plugin name in haproxy docs 2023-02-11 20:55:59 -05:00
Jose Diaz-Gonzalez
4ae64b23c6 fix: update test to get the correct label for testing if ssl redirects are working properly 2023-02-11 20:55:20 -05:00
Jose Diaz-Gonzalez
710b1db6be chore: run shfmt 2023-02-11 17:42:13 -05:00
Jose Diaz-Gonzalez
070f643a01 refactor: drop url management and sync logic with traefik plugin 2023-02-11 17:40:41 -05:00
Jose Diaz-Gonzalez
78d66dc68a docs: note that https:443 is now supported 2023-02-11 17:40:05 -05:00
Jose Diaz-Gonzalez
203dfe249b fix: run shfmt 2023-02-11 06:24:27 -05:00
Jose Diaz-Gonzalez
cbd3c43176 feat: add letsencrypt support to haproxy plugin 2023-02-11 06:22:02 -05:00
Jose Diaz-Gonzalez
537d8321e4 chore: update easy-haproxy version to latest 2023-02-11 06:11:23 -05:00
Jose Diaz-Gonzalez
62004eab56 chore: sync plugin version 2023-02-11 06:11:10 -05:00
Jose Diaz-Gonzalez
ab9e2b101e feat: install dev env tools correctly 2023-02-11 06:09:50 -05:00
Jose Diaz-Gonzalez
f02f19652e fix: set default scheme correctly 2023-02-11 06:09:50 -05:00
Jose Diaz-Gonzalez
35c6d61a04 feat: test all compose-based proxy implementations with a dockerfile app
This allows the tests to run on arm systems.
2023-02-11 06:09:50 -05:00
Jose Diaz-Gonzalez
c14154e5f7 feat: add a test for log levels 2023-02-11 06:09:50 -05:00
Jose Diaz-Gonzalez
40cb28287f fix: gate compose usage behind compose check 2023-02-11 06:09:50 -05:00
Jose Diaz-Gonzalez
e1f9e44e51 fix: set correct help output 2023-02-11 06:09:50 -05:00
Jose Diaz-Gonzalez
212389980e feat: add initial tests for haproxy plugin 2023-02-11 06:09:50 -05:00
Jose Diaz-Gonzalez
a249dea217 fix: add alias 2023-02-11 06:09:49 -05:00
Jose Diaz-Gonzalez
1a54e2263b fix: use correct variable name 2023-02-11 06:08:56 -05:00
Jose Diaz-Gonzalez
fd09beaf48 feat: add the ability to set the haproxy log level 2023-02-11 06:08:56 -05:00
Jose Diaz-Gonzalez
8bd4f66bec chore: update to latest version 2023-02-11 06:08:56 -05:00
Jose Diaz-Gonzalez
3871a35de6 fix: respect EASYHAPROXY_LABEL_PREFIX 2023-02-11 06:08:56 -05:00
Jose Diaz-Gonzalez
44543c979a docs: add requirement for docker-compose-plugin 2023-02-11 06:08:56 -05:00
Jose Diaz-Gonzalez
49cd46df1d fix: properly name things 2023-02-11 06:08:56 -05:00
Jose Diaz-Gonzalez
237aae9eec feat: first pass at haproxy plugin implementation 2023-02-11 06:08:56 -05:00
josegonzalez
89cf4a5e76 Merge pull request #5657 from dokku/josegonzalez-patch-1
Use correct version of Markdown for mkdocs
2023-02-10 16:03:34 -05:00
josegonzalez
2fa2c855f2 fix: use correct version of Markdown for mkdocs
See https://github.com/mkdocs/mkdocs/issues/2892 for more details.
2023-02-10 16:03:22 -05:00
josegonzalez
52fbf64eec Merge pull request #5655 from dokku/dependabot/pip/docs/_build/zipp-3.13.0
chore(deps): bump zipp from 3.12.1 to 3.13.0 in /docs/_build
2023-02-10 15:48:17 -05:00
josegonzalez
721f0f359e Merge pull request #5654 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.0.12
chore(deps): bump mkdocs-material from 9.0.11 to 9.0.12 in /docs/_build
2023-02-10 15:48:06 -05:00
josegonzalez
6aac59bdc8 Merge pull request #5656 from dokku/josegonzalez-patch-1
Add "new as of" prefix to version in user management docs
2023-02-10 13:01:30 -05:00
josegonzalez
f26047804b docs: add "new as of" prefix to version in user management docs 2023-02-10 13:01:07 -05:00
dependabot[bot]
1a16aee6e9 chore(deps): bump zipp from 3.12.1 to 3.13.0 in /docs/_build
Bumps [zipp](https://github.com/jaraco/zipp) from 3.12.1 to 3.13.0.
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/CHANGES.rst)
- [Commits](https://github.com/jaraco/zipp/compare/v3.12.1...v3.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-10 14:09:30 +00:00
dependabot[bot]
9755831584 chore(deps): bump mkdocs-material from 9.0.11 to 9.0.12 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.0.11 to 9.0.12.
- [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.0.11...9.0.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-10 14:09:24 +00:00
josegonzalez
0ab57fe356 Merge pull request #5648 from dokku/dependabot/pip/docs/_build/markdown-3.4.1
chore(deps): bump markdown from 3.3.7 to 3.4.1 in /docs/_build
2023-02-09 13:18:12 -05:00
josegonzalez
df5938a821 Merge pull request #5650 from dokku/dependabot/docker/tests/apps/dockerfile-release/python-3.11.2-buster
chore(deps): bump python from 3.11.1-buster to 3.11.2-buster in /tests/apps/dockerfile-release
2023-02-09 13:17:25 -05:00
josegonzalez
62c6a80d64 Merge pull request #5651 from dokku/dependabot/docker/tests/apps/dockerfile-entrypoint/ruby-3.2.1
chore(deps): bump ruby from 3.2.0 to 3.2.1 in /tests/apps/dockerfile-entrypoint
2023-02-09 13:17:17 -05:00
josegonzalez
2184c8743c Merge pull request #5652 from dokku/dependabot/docker/docs/_build/python-3.11.2-alpine
chore(deps): bump python from 3.11.1-alpine to 3.11.2-alpine in /docs/_build
2023-02-09 13:17:04 -05:00
dependabot[bot]
bea0ea7bcd chore(deps): bump python in /docs/_build
Bumps python from 3.11.1-alpine to 3.11.2-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 13:11:18 +00:00
dependabot[bot]
871266bf35 chore(deps): bump ruby in /tests/apps/dockerfile-entrypoint
Bumps ruby from 3.2.0 to 3.2.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 13:11:00 +00:00
dependabot[bot]
1e09e7c612 chore(deps): bump python in /tests/apps/dockerfile-release
Bumps python from 3.11.1-buster to 3.11.2-buster.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 13:10:48 +00:00
dependabot[bot]
0b530ae67a chore(deps): bump markdown from 3.3.7 to 3.4.1 in /docs/_build
Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.3.7 to 3.4.1.
- [Release notes](https://github.com/Python-Markdown/markdown/releases)
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.3.7...3.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 15:39:36 +00:00
josegonzalez
be696b1501 Merge pull request #5647 from dokku/dependabot/pip/docs/_build/importlib-metadata-6.0.0
chore(deps): bump importlib-metadata from 4.12.0 to 6.0.0 in /docs/_build
2023-02-08 10:39:04 -05:00
josegonzalez
95f9c44339 Merge pull request #5646 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-230
chore(deps-dev): bump heroku/heroku-buildpack-php from 229 to 230 in /tests/apps/php
2023-02-08 10:38:51 -05:00
dependabot[bot]
61b3991143 chore(deps): bump importlib-metadata in /docs/_build
Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 4.12.0 to 6.0.0.
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/CHANGES.rst)
- [Commits](https://github.com/python/importlib_metadata/compare/v4.12.0...v6.0.0)

---
updated-dependencies:
- dependency-name: importlib-metadata
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 13:15:55 +00:00
dependabot[bot]
c00e29fec6 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 229 to 230.
- [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/v229...v230)

---
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>
2023-02-08 13:03:14 +00:00
josegonzalez
1b54e07371 Merge pull request #5645 from dokku/josegonzalez-patch-1
Update mkdocs-material features to cope with upgrade to 9.x
2023-02-07 20:07:39 -05:00
josegonzalez
1fb7e3ab54 docs: update mkdocs-material features to cope with upgrade to 9.x 2023-02-07 20:07:23 -05:00
josegonzalez
cc0bcbbb93 Merge pull request #5634 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.0.11
chore(deps): bump mkdocs-material from 8.4.2 to 9.0.11 in /docs/_build
2023-02-07 13:17:57 -05:00
josegonzalez
b85bec1de3 Merge branch 'master' into dependabot/pip/docs/_build/mkdocs-material-9.0.11 2023-02-07 13:17:44 -05:00
josegonzalez
66007a8390 Merge pull request #5637 from dokku/dependabot/pip/docs/_build/packaging-23.0
chore(deps): bump packaging from 21.3 to 23.0 in /docs/_build
2023-02-07 13:04:13 -05:00
dependabot[bot]
bec35edec4 chore(deps): bump packaging from 21.3 to 23.0 in /docs/_build
Bumps [packaging](https://github.com/pypa/packaging) from 21.3 to 23.0.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/21.3...23.0)

---
updated-dependencies:
- dependency-name: packaging
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 18:01:30 +00:00
josegonzalez
3dfe8f889d Merge pull request #5643 from dokku/dependabot/pip/docs/_build/watchdog-2.2.1
chore(deps): bump watchdog from 2.1.9 to 2.2.1 in /docs/_build
2023-02-07 12:53:50 -05:00
josegonzalez
a14555314d Merge pull request #5642 from dokku/dependabot/pip/docs/_build/pymdown-extensions-9.9.2
chore(deps): bump pymdown-extensions from 9.5 to 9.9.2 in /docs/_build
2023-02-07 12:53:39 -05:00
josegonzalez
771058da05 Merge pull request #5639 from dokku/dependabot/pip/docs/_build/mkdocs-1.4.2
chore(deps): bump mkdocs from 1.3.1 to 1.4.2 in /docs/_build
2023-02-07 12:53:29 -05:00
dependabot[bot]
d16d595c29 chore(deps): bump mkdocs from 1.3.1 to 1.4.2 in /docs/_build
Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.3.1 to 1.4.2.
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.3.1...1.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 17:52:56 +00:00
dependabot[bot]
7931fe1f42 chore(deps): bump watchdog from 2.1.9 to 2.2.1 in /docs/_build
Bumps [watchdog](https://github.com/gorakhargosh/watchdog) from 2.1.9 to 2.2.1.
- [Release notes](https://github.com/gorakhargosh/watchdog/releases)
- [Changelog](https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst)
- [Commits](https://github.com/gorakhargosh/watchdog/compare/v2.1.9...v2.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 17:52:16 +00:00
josegonzalez
09eec682aa Merge pull request #5638 from dokku/dependabot/pip/docs/_build/mkdocs-material-extensions-1.1.1
chore(deps): bump mkdocs-material-extensions from 1.0.3 to 1.1.1 in /docs/_build
2023-02-07 12:52:16 -05:00
dependabot[bot]
1fdd720955 chore(deps): bump pymdown-extensions from 9.5 to 9.9.2 in /docs/_build
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 9.5 to 9.9.2.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/9.5...9.9.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 17:52:15 +00:00
josegonzalez
c65bdf2341 Merge pull request #5631 from dokku/dependabot/npm_and_yarn/tests/apps/dot-websocket.disabled/socket.io-4.6.0
chore(deps): bump socket.io from 4.5.4 to 4.6.0 in /tests/apps/.websocket.disabled
2023-02-07 12:51:59 -05:00
dependabot[bot]
a093c1537d chore(deps): bump mkdocs-material-extensions in /docs/_build
Bumps [mkdocs-material-extensions](https://github.com/facelessuser/mkdocs-material-extensions) from 1.0.3 to 1.1.1.
- [Release notes](https://github.com/facelessuser/mkdocs-material-extensions/releases)
- [Changelog](https://github.com/facelessuser/mkdocs-material-extensions/blob/master/changelog.md)
- [Commits](https://github.com/facelessuser/mkdocs-material-extensions/compare/1.0.3...1.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 17:51:53 +00:00
josegonzalez
e411ab2bcd Merge pull request #5636 from dokku/dependabot/pip/docs/_build/markupsafe-2.1.2
chore(deps): bump markupsafe from 2.1.1 to 2.1.2 in /docs/_build
2023-02-07 12:51:24 -05:00
josegonzalez
7f3bd620f6 Merge pull request #5641 from dokku/dependabot/pip/docs/_build/beautifulsoup4-4.11.2
chore(deps): bump beautifulsoup4 from 4.11.1 to 4.11.2 in /docs/_build
2023-02-07 12:51:11 -05:00
josegonzalez
dcc1ad5f35 Merge pull request #5635 from dokku/dependabot/pip/docs/_build/pygments-2.14.0
chore(deps): bump pygments from 2.13.0 to 2.14.0 in /docs/_build
2023-02-07 12:50:56 -05:00
josegonzalez
2e3c10b008 Merge pull request #5640 from dokku/dependabot/pip/docs/_build/zipp-3.12.1
chore(deps): bump zipp from 3.8.1 to 3.12.1 in /docs/_build
2023-02-07 12:50:43 -05:00
dependabot[bot]
78aeba4117 chore(deps): bump beautifulsoup4 from 4.11.1 to 4.11.2 in /docs/_build
Bumps [beautifulsoup4](https://www.crummy.com/software/BeautifulSoup/bs4/) from 4.11.1 to 4.11.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 13:43:14 +00:00
dependabot[bot]
756c8e4d20 chore(deps): bump zipp from 3.8.1 to 3.12.1 in /docs/_build
Bumps [zipp](https://github.com/jaraco/zipp) from 3.8.1 to 3.12.1.
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/CHANGES.rst)
- [Commits](https://github.com/jaraco/zipp/compare/v3.8.1...v3.12.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 13:43:11 +00:00
dependabot[bot]
65f2bcf950 chore(deps): bump markupsafe from 2.1.1 to 2.1.2 in /docs/_build
Bumps [markupsafe](https://github.com/pallets/markupsafe) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/pallets/markupsafe/releases)
- [Changelog](https://github.com/pallets/markupsafe/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/markupsafe/compare/2.1.1...2.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 13:42:56 +00:00
dependabot[bot]
2f61d959b9 chore(deps): bump pygments from 2.13.0 to 2.14.0 in /docs/_build
Bumps [pygments](https://github.com/pygments/pygments) from 2.13.0 to 2.14.0.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.13.0...2.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 13:42:52 +00:00
dependabot[bot]
108ff76413 chore(deps): bump mkdocs-material from 8.4.2 to 9.0.11 in /docs/_build
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 8.4.2 to 9.0.11.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Upgrade guide](https://github.com/squidfunk/mkdocs-material/blob/master/docs/upgrade.md)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/8.4.2...9.0.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 13:42:48 +00:00
josegonzalez
8ef559c04f Merge pull request #5632 from dokku/josegonzalez-patch-1
Add a note mentioning that network aliases only work when attached to a network other than bridge
2023-02-07 08:42:40 -05:00
josegonzalez
08dbe5fea9 Merge pull request #5633 from dokku/josegonzalez-patch-2
Add auto-updates to docs python dependencies
2023-02-07 08:42:20 -05:00
josegonzalez
66d62c9354 feat: add auto-updates to docs python dependencies 2023-02-07 08:41:55 -05:00
josegonzalez
697239b508 docs: add a note mentioning that network aliases only work when attached to a network other than bridge 2023-02-07 08:10:28 -05:00
dependabot[bot]
ae249b840f chore(deps): bump socket.io in /tests/apps/.websocket.disabled
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.5.4 to 4.6.0.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.5.4...4.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 13:02:27 +00:00
josegonzalez
4d5cfb1571 Merge pull request #5630 from dokku/josegonzalez-patch-1
Remove extra location block from built docs nginx config
2023-02-07 03:05:03 -05:00
josegonzalez
217de501cb docs: remove extra location block from built docs nginx config
This is handled upstream in the docs repo.
2023-02-07 03:04:52 -05:00
josegonzalez
87269bbd72 Merge pull request #5629 from dokku/josegonzalez-patch-1
Update list indentation explaining network property utilization
2023-02-07 02:30:23 -05:00
josegonzalez
01cf2615bf docs: update list indentation explaining network property utilization 2023-02-07 02:30:00 -05:00
josegonzalez
fd9a91f45c Merge pull request #5617 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.20.0
chore(deps): bump golang from 1.19.5 to 1.20.0 in /tests/apps/go-fail-predeploy
2023-02-07 02:11:05 -05:00
josegonzalez
778a10c415 Merge pull request #5620 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.20.0
chore(deps): bump golang from 1.19.5 to 1.20.0 in /tests/apps/gogrpc
2023-02-07 02:10:40 -05:00
josegonzalez
fdcaa80650 Merge pull request #5618 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.20.0
chore(deps): bump golang from 1.19.5 to 1.20.0 in /tests/apps/go-fail-postdeploy
2023-02-07 02:10:34 -05:00
josegonzalez
1d58701dd8 Merge pull request #5625 from dokku/dependabot/pip/tests/apps/dockerfile-release/django-4.1.6
chore(deps): bump django from 4.1.2 to 4.1.6 in /tests/apps/dockerfile-release
2023-02-07 02:10:24 -05:00
dependabot[bot]
428c9dd71b chore(deps): bump django in /tests/apps/dockerfile-release
Bumps [django](https://github.com/django/django) from 4.1.2 to 4.1.6.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/4.1.2...4.1.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-03 21:52:34 +00:00
dependabot[bot]
df212e0a35 chore(deps): bump golang in /tests/apps/go-fail-postdeploy
Bumps golang from 1.19.5 to 1.20.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 15:28:28 +00:00
dependabot[bot]
74dfdb660c chore(deps): bump golang from 1.19.5 to 1.20.0 in /tests/apps/gogrpc
Bumps golang from 1.19.5 to 1.20.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 15:28:13 +00:00
dependabot[bot]
29dd06a99f chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.19.5 to 1.20.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 15:27:55 +00:00
josegonzalez
3d5319eb1f Merge pull request #5619 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.20.0
chore(deps): bump golang from 1.19.5 to 1.20.0 in /tests/apps/zombies-dockerfile-no-tini
2023-02-02 10:27:52 -05:00
josegonzalez
40cb4f2dc6 Merge pull request #5621 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.20.0
chore(deps): bump golang from 1.19.5 to 1.20.0 in /tests/apps/zombies-dockerfile-tini
2023-02-02 10:27:09 -05:00
dependabot[bot]
7bef56ced4 chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
Bumps golang from 1.19.5 to 1.20.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 13:13:45 +00:00
dependabot[bot]
797c81e365 chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
Bumps golang from 1.19.5 to 1.20.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 13:13:25 +00:00
josegonzalez
0f3edeb89b Merge pull request #5616 from jcalfee/patch-1
Add a note about reloading nginx to troubleshooting docs
2023-02-01 22:54:18 -05:00
jcalfee
d8bf13dd19 Update troubleshooting.md
Adds: I deployed a new app but now subdomains are miss-routed
2023-01-31 09:38:35 -06:00
josegonzalez
98a5fb72fe Merge pull request #5615 from dokku/dependabot/github_actions/ludeeus/action-shellcheck-2.0.0
chore(deps): bump ludeeus/action-shellcheck from 1.1.0 to 2.0.0
2023-01-30 10:25:52 -05:00
dependabot[bot]
67b60efd94 chore(deps): bump ludeeus/action-shellcheck from 1.1.0 to 2.0.0
Bumps [ludeeus/action-shellcheck](https://github.com/ludeeus/action-shellcheck) from 1.1.0 to 2.0.0.
- [Release notes](https://github.com/ludeeus/action-shellcheck/releases)
- [Commits](94e0aab03c...00cae500b0)

---
updated-dependencies:
- dependency-name: ludeeus/action-shellcheck
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 13:16:29 +00:00
josegonzalez
a3cbf4a8a9 Merge pull request #5611 from dokku/deploy-test-updates 2023-01-29 05:52:06 -05:00
Jose Diaz-Gonzalez
4701227564 tests: add more debugging output to deploy tests 2023-01-28 15:37:02 -05:00
josegonzalez
0bbdee4c2b Merge pull request #5610 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-229
chore(deps-dev): bump heroku/heroku-buildpack-php from 227 to 229 in /tests/apps/php
2023-01-26 14:16:17 -05:00
josegonzalez
eef391f6b6 Merge pull request #5608 from dokku/convert-config-test
tests: refactor the config test to use a simple python codebase instead
2023-01-26 14:16:07 -05:00
dependabot[bot]
78355174e8 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 227 to 229.
- [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/v227...v229)

---
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>
2023-01-26 13:02:37 +00:00
Jose Diaz-Gonzalez
be682e8504 tests: refactor the config test to use a simple python codebase instead
This should also make it possible to run the tests locally on an ARM machine.
2023-01-25 23:01:15 -05:00
josegonzalez
a2baf37cd9 Merge pull request #5604 from dokku/faster-nginx-rebuild
Trigger nginx proxy rebuild early to avoid downtime if deploying large numbers of processes
2023-01-23 16:13:31 -05:00
josegonzalez
f4d5e352cc Merge pull request #5606 from dokku/5468-symlink-plugins
Ensure the mounted services directory is symlinked correctly
2023-01-23 16:13:17 -05:00
Jose Diaz-Gonzalez
ce8b851be2 fix: ensure the mounted services directory is symlinked correctly
Closes #5468
2023-01-23 15:00:02 -05:00
josegonzalez
9d9b880f59 fix: correct counts 2023-01-23 14:36:37 -05:00
josegonzalez
69c1fe8027 fix: update counts 2023-01-23 12:22:09 -05:00
Jose Diaz-Gonzalez
1a498b0b76 fix: handle nil map issue 2023-01-21 17:26:52 -05:00
josegonzalez
2a6e42a79c Merge pull request #5603 from dokku/4559-git-load-image
Add ability to deploy images generated via docker save with git:load-image
2023-01-21 17:25:12 -05:00
Jose Diaz-Gonzalez
91975c5bfe chore: set different header level 2023-01-21 16:44:35 -05:00
Jose Diaz-Gonzalez
594adf5366 tests: update count to 2 to handle the fact that now the nginx config is built twice 2023-01-21 16:44:21 -05:00
Jose Diaz-Gonzalez
5719f43551 feat: silence env var setting 2023-01-21 16:43:43 -05:00
Jose Diaz-Gonzalez
4e98e17c4f fix: use correct image.tar name 2023-01-21 16:19:52 -05:00
Jose Diaz-Gonzalez
25a49624c7 fix: trigger nginx proxy rebuild early to avoid downtime if deploying large numbers of processes
Due to how the nginx proxy implementation works, if an app has either many process types or many containers for a process type other than web, it is possible to see downtime on the web process due to the old web containers rotating out _before_ we reload the nginx config.

The correct fix would be to use some sort of dns-based resolution for the nginx config, but pending that change, we reload nginx twice now - ugh - to avoid this.
2023-01-21 14:55:41 -05:00
Jose Diaz-Gonzalez
7cb1a20dc6 fix: correct image references and also use a non-existent image in each case
This ensures we are actually testing the image load portion vs just doing a reference to an existing image.
2023-01-21 14:40:49 -05:00
Jose Diaz-Gonzalez
e9de0f4784 chore: cleanup builder-release hooks a little
This unifies the settings between both so they look more similar.
2023-01-21 14:39:48 -05:00
Jose Diaz-Gonzalez
d333c16347 feat: add ability to deploy images generated via docker save with git:load-image
Closes #4559
2023-01-21 14:05:31 -05:00
josegonzalez
5b416eaf52 Merge pull request #5558 from dokku/deprecate-18.04
Remove references to ubuntu 18.04 ahead of EOL
2023-01-21 14:02:00 -05:00
josegonzalez
a2970ca4ad Merge pull request #5600 from dokku/dependabot/bundler/tests/apps/ruby/rack-2.2.6.2
chore(deps): bump rack from 2.2.4 to 2.2.6.2 in /tests/apps/ruby
2023-01-21 14:01:33 -05:00
josegonzalez
83f0b47323 fix: search for correct string 2023-01-20 23:48:02 -05:00
dependabot[bot]
6ca869e293 chore(deps): bump rack from 2.2.4 to 2.2.6.2 in /tests/apps/ruby
Bumps [rack](https://github.com/rack/rack) from 2.2.4 to 2.2.6.2.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/2.2.4...v2.2.6.2)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-19 00:54:35 +00:00
josegonzalez
35213727c4 Merge pull request #5598 from dokku/dependabot/github_actions/hadolint/hadolint-action-3.1.0
chore(deps): bump hadolint/hadolint-action from 3.0.0 to 3.1.0
2023-01-18 12:36:28 -05:00
dependabot[bot]
7b7d7bc068 chore(deps): bump hadolint/hadolint-action from 3.0.0 to 3.1.0
Bumps [hadolint/hadolint-action](https://github.com/hadolint/hadolint-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/hadolint/hadolint-action/releases)
- [Changelog](https://github.com/hadolint/hadolint-action/blob/master/.releaserc)
- [Commits](4b5806eb9c...54c9adbab1)

---
updated-dependencies:
- dependency-name: hadolint/hadolint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 13:07:38 +00:00
Jose Diaz-Gonzalez
21947837c3 fix: use correct path within the ssl tarballs
Also add a command to help automate the generation of the certificates in the future.
2023-01-16 01:50:52 -05:00
Jose Diaz-Gonzalez
fab0890997 fix: use updated ssl crt/key pairs
The commands to generate these in the future are as follows:

openssl x509 -text -in server.crt

openssl req -x509 -newkey rsa:4096 -sha256 -nodes -keyout server.key -out server.crt -subj '/CN=dokku.me' -days 3650

openssl req -x509 -newkey rsa:4096 -sha256 -nodes -keyout server.key -out server.crt -subj '/CN=*.dokku.me' -days 3650

openssl req -x509 -newkey rsa:4096 -sha256 -nodes -keyout server.key -out server.crt -subj '/CN=test.dokku.me' -days 3650 -addext 'subjectAltName = DNS:www.test.dokku.me, DNS:www.test.app.dokku.me'
2023-01-16 01:39:59 -05:00
Jose Diaz-Gonzalez
e103d9b11b chore: suppress warnings about default branch 2023-01-16 01:39:59 -05:00
Jose Diaz-Gonzalez
fcb25e1842 chore: remove references to ubuntu 18.04 ahead of EOL
While we will still build for 18.04, we will now stop testing against it. Instead, we will test against 20.04, the next EOL release after 18.04.

Once Ubuntu 18.04 is EOL, any references to it will also be removed.

Note that 18.04 support was already deprecated in Dokku 0.28.0, so this change is just acknowledging that deprecation.
2023-01-16 01:39:59 -05:00
josegonzalez
503ac7e11b docs: update removal notice in 0.3.0 for logs:failed 2023-01-16 01:34:33 -05:00
josegonzalez
ee1b64414d Merge pull request #5595 from dokku/remove-deprecated-failed-all
Remove deprecated ability to call logs:failed without specifying an app or --all flag
2023-01-16 01:32:36 -05:00
Jose Diaz-Gonzalez
7015fd1e5c chore: remove deprecated ability to call logs:failed without specifying an app or --all flag
This option was deprecated in Dokku 0.22.0.
2023-01-16 01:31:56 -05:00
josegonzalez
9ce8d083b3 Merge pull request #5594 from dokku/remove-deprecated-post-release-triggers
Remove deprecated builder-specific post-release hooks
2023-01-16 01:26:05 -05:00
Jose Diaz-Gonzalez
a5fa3725e6 chore: remove deprecated builder-specific post-release hooks
This option was deprecated in Dokku 0.25.0.
2023-01-16 01:25:41 -05:00
josegonzalez
bd40e67c63 Merge pull request #5593 from dokku/remove-deprecated-detach
Remove deprecated --detach flag
2023-01-16 01:23:47 -05:00
Jose Diaz-Gonzalez
a2444b453d chore: remove deprecated --detach flag
This option was deprecated in Dokku 0.25.0.
2023-01-16 01:19:39 -05:00
josegonzalez
37c9bd3f87 Merge pull request #5592 from dokku/drop-dokku-scale
Remove support for DOKKU_SCALE file
2023-01-16 01:13:33 -05:00
Jose Diaz-Gonzalez
5dcc1cb13c refactor: remove support for DOKKU_SCALE file
It has been replaced by the 'formations' key within the 'app.json' file format.
2023-01-15 23:53:03 -05:00
josegonzalez
e22d74febb Merge pull request #5591 from dokku/josegonzalez-patch-1
Allow the herokuish builder to be detected when the computed allowed value is set not set to false
2023-01-15 12:28:30 -05:00
josegonzalez
7f19f72c0d fix: allow the herokuish builder to be detected when the computed allowed value is set not set to false 2023-01-15 12:28:06 -05:00
josegonzalez
fa34f89901 Merge pull request #5560 from dokku/drop-spdy
Drop SPDY support from nginx plugin
2023-01-15 11:43:32 -05:00
josegonzalez
f4be860867 docs: fix the image and app reference for service proxying 2023-01-14 23:17:48 -05:00
josegonzalez
11f4a2cbb4 Merge pull request #5590 from dokku/5583-vagrant-ssh
Note that connecting to vagrant should be done via vagrant ssh
2023-01-14 23:13:22 -05:00
Jose Diaz-Gonzalez
e98c95c45e docs: note that connecting to vagrant should be done via vagrant ssh
Refs #5583
2023-01-14 23:13:05 -05:00
josegonzalez
9654b99992 Merge pull request #5589 from dokku/fix-caddy-var
Use warning_scheme variable instead of bare word in caddy-vhosts warning output
2023-01-14 23:11:47 -05:00
Jose Diaz-Gonzalez
d5a7522d20 fix: use warning_scheme variable instead of bare word in caddy-vhosts warning output 2023-01-14 23:11:19 -05:00
josegonzalez
60f2d48f01 Merge pull request #5570 from dokku/5564-client-remote
Add support for customizing the remote in use for all commands sent via the official client
2023-01-14 23:09:13 -05:00
josegonzalez
abb30fcc79 Merge pull request #5587 from dokku/josegonzalez-patch-1
Timeout build jobs within 45 minutes
2023-01-14 23:08:55 -05:00
josegonzalez
d70c8e0b60 Merge pull request #5588 from dokku/5409-app-networking-docs
Document how to route to server-local apps via a service proxy
2023-01-14 23:04:29 -05:00
Jose Diaz-Gonzalez
b846248064 docs: document how to route to server-local apps via a service proxy
The previous static-web-listener network property doesn't work with caddy and traefik as resolution of requests works quite differently given that they only proxy to docker containers. The new method uses the dokku/service-proxy docker image to proxy requests in a lightweight manner.

Closes #5409
Closes #5586
2023-01-14 22:53:34 -05:00
josegonzalez
d6c26f8546 fix: timeout build jobs within 45 minutes
If a build goes on for longer than 30 minutes, it is likely stalled due to a buildx issue. We add a 15 minute buffer in case our build times increase.
2023-01-14 21:30:55 -05:00
Jose Diaz-Gonzalez
a4136f4719 fix: correct tests and handle a few edge cases in remote command usage 2023-01-14 19:49:14 -05:00
Jose Diaz-Gonzalez
9d380e5654 fix: correct test naming 2023-01-14 17:53:33 -05:00
Jose Diaz-Gonzalez
0653a2b0bf feat: add support for customizing the remote in use for all commands sent via the official client
Closes #5564
2023-01-14 17:53:33 -05:00
josegonzalez
aa26dcb094 Merge pull request #5585 from NicolasLM/docs-nginx-default-vhost
Improve instructions for disabling the default nginx site
2023-01-14 17:49:55 -05:00
Nicolas Le Manchet
7dfb897b69 docs: improve instructions for disabling the default nginx site
The previous instructions for disabling the default site left things in
an in-between state: it still returned an error page and did not disable
the default HTTPS site unless the user figured out how to generate
a valid SSL certificate.

The changes made in this commit assume that the user actively disabling
the default site considers all requests to unknown vhosts as bogus.
Therefore there is no point in responding and providing a valid SSL
certificate to them.

As such, the recommended error code is now `444` to close the connection
without responding and the HTTPS default site is disabled with
a self-signed certificate.

Also as all distributions supported by Dokku use systemd, make use of it
instead of the legacy `service` command which does not work anymore on
some distributions like Arch.
2023-01-14 14:06:54 +01:00
josegonzalez
7c6657e11e Merge pull request #5579 from dokku/dependabot/maven/tests/apps/java/org.apache.maven.plugins-maven-dependency-plugin-3.5.0
chore(deps): bump maven-dependency-plugin from 3.4.0 to 3.5.0 in /tests/apps/java
2023-01-13 12:15:34 -05:00
josegonzalez
40997f2e68 Merge pull request #5581 from dokku/short-install
Use short url for installation
2023-01-13 00:19:43 -05:00
Jose Diaz-Gonzalez
124a7b7c63 feat: use short url for installation
This brings the installer to the dokku.com domain, from which we can point it wherever we want.
2023-01-12 23:56:29 -05:00
josegonzalez
f8a2da7a63 Merge pull request #5580 from dokku/5549-plugin-no-reinstall
Do not attempt to reinstall already installed plugins
2023-01-12 21:03:45 -05:00
Jose Diaz-Gonzalez
ef32d2d88f fix: do not attempt to reinstall already installed plugins
Instead, just warn that they won't be reinstalled.

Closes #5549
2023-01-12 21:03:03 -05:00
Dokku Bot
1edab5fa4f Release 0.29.4
# History

## 0.29.4

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.29.4/bootstrap.sh
sudo DOKKU_TAG=v0.29.4 bash bootstrap.sh
```

### Bug Fixes

- #5571: @josegonzalez Ensure we properly setup all data directories on app install and creation
- #5555: @josegonzalez Drop debugging code from ps plugin

### Documentation

- #5563: @kbuilds Clarify documentation for default site under nginx

### Tests

- #5557: @josegonzalez Update GitHub actions

### Other

- #5577: @dependabot[bot] chore(deps): bump golang from 1.19.4 to 1.19.5 in /tests/apps/gogrpc
- #5573: @dependabot[bot] chore(deps): bump golang from 1.19.4 to 1.19.5 in /tests/apps/go-fail-postdeploy
- #5574: @dependabot[bot] chore(deps): bump golang from 1.19.4 to 1.19.5 in /tests/apps/zombies-dockerfile-tini
- #5575: @dependabot[bot] chore(deps): bump golang from 1.19.4 to 1.19.5 in /tests/apps/go-fail-predeploy
- #5576: @dependabot[bot] chore(deps): bump golang from 1.19.4 to 1.19.5 in /tests/apps/zombies-dockerfile-no-tini
2023-01-12 22:56:53 +00:00
dependabot[bot]
b3c175bb5e chore(deps): bump maven-dependency-plugin in /tests/apps/java
Bumps [maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.4.0...maven-dependency-plugin-3.5.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-dependency-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 13:05:25 +00:00
josegonzalez
c6396ddfb8 Merge pull request #5577 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.19.5
chore(deps): bump golang from 1.19.4 to 1.19.5 in /tests/apps/gogrpc
2023-01-11 12:43:24 -05:00
dependabot[bot]
d1ad7c126c chore(deps): bump golang from 1.19.4 to 1.19.5 in /tests/apps/gogrpc
Bumps golang from 1.19.4 to 1.19.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 17:43:15 +00:00
josegonzalez
a6c2f978da Merge pull request #5573 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.19.5
chore(deps): bump golang from 1.19.4 to 1.19.5 in /tests/apps/go-fail-postdeploy
2023-01-11 12:42:47 -05:00
josegonzalez
d089b3b5d1 Merge pull request #5574 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.19.5
chore(deps): bump golang from 1.19.4 to 1.19.5 in /tests/apps/zombies-dockerfile-tini
2023-01-11 12:42:40 -05:00
josegonzalez
7267467a2d Merge pull request #5575 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.19.5
chore(deps): bump golang from 1.19.4 to 1.19.5 in /tests/apps/go-fail-predeploy
2023-01-11 12:42:31 -05:00
josegonzalez
ec3c134e4a Merge pull request #5571 from dokku/5568-prop-data-cleanup
Ensure we properly setup all data directories on app install and creation
2023-01-11 12:42:07 -05:00
josegonzalez
87049bf86c Merge pull request #5576 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.19.5
chore(deps): bump golang from 1.19.4 to 1.19.5 in /tests/apps/zombies-dockerfile-no-tini
2023-01-11 12:41:56 -05:00
dependabot[bot]
ebcbdcd779 chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
Bumps golang from 1.19.4 to 1.19.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 13:15:47 +00:00
dependabot[bot]
d93b9751d5 chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.19.4 to 1.19.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 13:15:46 +00:00
dependabot[bot]
fae1ad6669 chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
Bumps golang from 1.19.4 to 1.19.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 13:15:37 +00:00
dependabot[bot]
464aecfec9 chore(deps): bump golang in /tests/apps/go-fail-postdeploy
Bumps golang from 1.19.4 to 1.19.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 13:15:03 +00:00
Jose Diaz-Gonzalez
eeb2e69044 fix: only create the test app if it doesn't exist for tls tests 2023-01-11 00:55:47 -05:00
Jose Diaz-Gonzalez
0b45aea1d0 fix: just create the data directory if the old data directory doesn't exist 2023-01-10 02:10:06 -05:00
Jose Diaz-Gonzalez
93279b884a tests: create the app before extracting tls data during tests 2023-01-10 02:09:33 -05:00
Jose Diaz-Gonzalez
05c6cecc14 tests: use run to invoke functions in tests 2023-01-10 02:09:22 -05:00
Jose Diaz-Gonzalez
ffa9f85cf2 chore: run go mod tidy 2023-01-09 14:00:12 -05:00
Jose Diaz-Gonzalez
47fb8e2093 fix: add missing triggers 2023-01-09 10:54:39 -05:00
Jose Diaz-Gonzalez
199c9bf615 chore: update go modules 2023-01-08 23:51:53 -05:00
Jose Diaz-Gonzalez
fd765c6ba4 feat: add missing modules 2023-01-08 23:49:39 -05:00
Jose Diaz-Gonzalez
0aa194eea7 fix: add missing docs 2023-01-08 23:47:33 -05:00
Jose Diaz-Gonzalez
6cbe93c245 refactor: move all golang code for managing data directories to common plugin
Additionally, ensure the golang plugins handle setup/teardown of plugin and app-specific data directories during install, rename, and clone phases.
2023-01-08 23:36:12 -05:00
josegonzalez
38fdb87c79 Merge pull request #5557 from dokku/update-github-actions
Update GitHub actions
2023-01-08 22:37:00 -05:00
josegonzalez
8d17d142a8 fix: use correct value for comment_mode 2023-01-08 20:18:33 -05:00
josegonzalez
3c2a7f2394 Merge pull request #5563 from kbuilds/nginx_documentation
Clarify documentation for default site under nginx
2023-01-01 23:50:38 -05:00
Kurtis Jensen
966daac040 addresses feedback on docs 2023-01-02 04:48:02 +00:00
Kurtis Jensen
60d1422b26 wording update 2023-01-02 03:53:18 +00:00
Kurtis Jensen
f0e87d2226 adds note about default nginx site 2023-01-02 03:49:29 +00:00
josegonzalez
20c30dc587 fix: drop name so all test results are downloaded 2022-12-29 11:32:20 -05:00
josegonzalez
0657e3a1f1 fix: correct yaml lint issues 2022-12-29 10:22:04 -05:00
Jose Diaz-Gonzalez
ca1ab188fe chore: drop SPDY
This hasn't been supported by browsers in quite a while and nginx will set a warning as of Ubuntu 20.04 when the header is referenced.
2022-12-29 01:59:54 -05:00
Jose Diaz-Gonzalez
9f1bfb0d06 fix: set path to ensure compatibility with v1 of the action
See https://github.com/actions/download-artifact#compatibility-between-v1-and-v2v3 for more details.
2022-12-29 01:52:33 -05:00
Jose Diaz-Gonzalez
6e28b9f835 chore: drop set-output usage 2022-12-29 00:14:29 -05:00
Jose Diaz-Gonzalez
9e2c151e9f chore: update workflows in lint.yml 2022-12-29 00:10:47 -05:00
Jose Diaz-Gonzalez
c8ec0825d3 chore: update actions/checkout 2022-12-29 00:05:02 -05:00
Jose Diaz-Gonzalez
c082b68b23 chore: update actions/download-artifact 2022-12-29 00:03:54 -05:00
Jose Diaz-Gonzalez
babb2766bd chore: update publish-unit-test-result-action 2022-12-29 00:02:24 -05:00
josegonzalez
b983191c6d Merge pull request #5555 from dokku/josegonzalez-patch-1
Drop debugging code from ps plugin
2022-12-28 23:51:47 -05:00
josegonzalez
30887d74fc chore: drop debugging code from ps plugin
This was accidentally added in a refactor of how processes are managed.
2022-12-28 23:50:39 -05:00
Dokku Bot
f828c7a3ec Release 0.29.3
# History

## 0.29.3

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.29.3/bootstrap.sh
sudo DOKKU_TAG=v0.29.3 bash bootstrap.sh
```

### Bug Fixes

- #5544: @josegonzalez Exit non-zero when git:from-image deploys fail to start the app
- #5543: @josegonzalez Properly parse arguments for git:status command

### Tests

- #5554: @josegonzalez Validate that procfile-path is respected

### Other

- #5551: @dependabot[bot] chore(deps): bump ruby from 3.1.3 to 3.2.0 in /tests/apps/dockerfile-entrypoint
- #5547: @dependabot[bot] chore(deps): bump setuptools from 65.5.0 to 65.5.1 in /tests/apps/dockerfile-release
- #5542: @josegonzalez Add json output format support to storage:list
2022-12-28 23:39:41 +00:00
josegonzalez
2a99aa7814 Merge pull request #5554 from dokku/5550-procfile-path
Validate that procfile-path is respected
2022-12-28 18:02:51 -05:00
Jose Diaz-Gonzalez
9f6aade092 fix: run unbuffered 2022-12-28 16:42:36 -05:00
Jose Diaz-Gonzalez
e01730857c fix: overwrite the in-repo Procfile with the desired Procfile
Without this change, herokuish and pack builds would not run the correct command as the Procfile could still be the old Procfile.
2022-12-28 15:36:34 -05:00
Jose Diaz-Gonzalez
514a3efa5c fix: use the correct test app for ps-general-2
Otherwise we aren't testing the desired Procfile behavior.
2022-12-28 15:35:56 -05:00
Jose Diaz-Gonzalez
476a4efa46 fix: use -u in Procfile to unbuffer python output
Without this, logs don't get written out immediately, causing tests to fail.
2022-12-28 15:35:26 -05:00
Jose Diaz-Gonzalez
21bb5ea2ed fix: delete existing Procfile if the user tried to overwrite it with a non-existing one
This behavior follows what is described in the documentation.
2022-12-28 15:34:53 -05:00
Jose Diaz-Gonzalez
d9af6516bb tests: validate that procfile-path is respected
Refs #5550
2022-12-28 13:40:33 -05:00
josegonzalez
48452558bd Merge pull request #5551 from dokku/dependabot/docker/tests/apps/dockerfile-entrypoint/ruby-3.2.0
chore(deps): bump ruby from 3.1.3 to 3.2.0 in /tests/apps/dockerfile-entrypoint
2022-12-28 12:32:13 -05:00
dependabot[bot]
04d1160856 chore(deps): bump ruby in /tests/apps/dockerfile-entrypoint
Bumps ruby from 3.1.3 to 3.2.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-28 13:13:05 +00:00
josegonzalez
31cd2f60f2 Merge pull request #5547 from dokku/dependabot/pip/tests/apps/dockerfile-release/setuptools-65.5.1
chore(deps): bump setuptools from 65.5.0 to 65.5.1 in /tests/apps/dockerfile-release
2022-12-27 15:03:21 -05:00
dependabot[bot]
2adae1e39e chore(deps): bump setuptools in /tests/apps/dockerfile-release
Bumps [setuptools](https://github.com/pypa/setuptools) from 65.5.0 to 65.5.1.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-27 17:30:34 +00:00
josegonzalez
4674ba0dd8 Merge pull request #5544 from dokku/5538-git-from-image-correct-failure
Exit non-zero when git:from-image deploys fail to start the app
2022-12-27 03:51:24 -05:00
Jose Diaz-Gonzalez
fd2c540cd5 fix: exit non-zero when git:from-image deploys fail to start the app
Also ensure the repository doesn't get updated to an invalid state in those failure cases.

Closes #5538
2022-12-27 02:37:30 -05:00
josegonzalez
32af26d7a1 Merge pull request #5543 from dokku/josegonzalez-patch-1
Properly parse arguments for git:status command
2022-12-27 02:36:32 -05:00
josegonzalez
b9a9094b46 fix: properly parse arguments for git:status command 2022-12-27 01:42:08 -05:00
josegonzalez
e580869d4f Merge pull request #5542 from dokku/storage-list-json
Add json output format support to storage:list
2022-12-26 21:50:53 -05:00
Jose Diaz-Gonzalez
28027b9a78 chore: run shfmt 2022-12-26 16:41:45 -05:00
Jose Diaz-Gonzalez
852dfc6287 feat: add json output format support to storage:list
This will allow the command to be used in a programmatic fashion.
2022-12-26 16:33:40 -05:00
Jose Diaz-Gonzalez
c0449d2bf1 docs: reference node-js-app instead of lollipop in storage docs
We've standardized on node-js-app elsewhere.
2022-12-26 16:12:26 -05:00
Jose Diaz-Gonzalez
1f75e7d378 docs: document the storage:list command 2022-12-26 16:11:57 -05:00
Dokku Bot
74ff44915c Release 0.29.2
# History

## 0.29.2

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.29.2/bootstrap.sh
sudo DOKKU_TAG=v0.29.2 bash bootstrap.sh
```

### Bug Fixes

- #5537: @jamesremuscat Correctly include `auth` middleware on `api` router.
2022-12-24 21:52:04 +00:00
josegonzalez
9a70d5b75e Merge pull request #5537 from jamesremuscat/fix/traefik-basic-auth
Correctly include `auth` middleware on `api` router.
2022-12-24 16:45:21 -05:00
James Muscat
1c5bf6a52b Correctly include auth middleware on api router.
Resolves #5536.
2022-12-21 22:36:14 +00:00
Dokku Bot
e6b1cbc057 Release 0.29.1
# History

## 0.29.1

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.29.1/bootstrap.sh
sudo DOKKU_TAG=v0.29.1 bash bootstrap.sh
```

### Bug Fixes

- #5532: @josegonzalez Fix issue where git:from-image deploys may result in extracted files not being respected

### Documentation

- #5531: @josegonzalez Fix indentation on heading in where to get help
- #5521: @AlejandroAkbal Remove reference to `--rm` flag cron task documentation
- #5517: @josegonzalez Fix reference to scheduler name in kubernetes docs
- #5516: @josegonzalez Fix reference to scheduler name in nomad docs

### Tests

- #5533: @josegonzalez Add a test case for nested vector-sink values with plus signs

### Other

- #5534: @dependabot[bot] chore(deps): bump sinatra from 3.0.4 to 3.0.5 in /tests/apps/ruby
- #5514: @dependabot[bot] chore(deps): bump golang from 1.19.3 to 1.19.4 in /tests/apps/go-fail-predeploy
- #5512: @dependabot[bot] chore(deps): bump golang from 1.19.3 to 1.19.4 in /tests/apps/go-fail-postdeploy
- #5513: @dependabot[bot] chore(deps): bump golang from 1.19.3 to 1.19.4 in /tests/apps/zombies-dockerfile-no-tini
- #5511: @dependabot[bot] chore(deps): bump golang from 1.19.3 to 1.19.4 in /tests/apps/zombies-dockerfile-tini
- #5510: @dependabot[bot] chore(deps): bump golang from 1.19.3 to 1.19.4 in /tests/apps/gogrpc
- #5525: @dependabot[bot] chore(deps): bump jetty-servlet from 11.0.12 to 11.0.13 in /tests/apps/java
- #5519: @dependabot[bot] chore(deps): bump python from 3.11.0-buster to 3.11.1-buster in /tests/apps/dockerfile-release
- #5520: @dependabot[bot] chore(deps): bump python from 3.11.0-alpine to 3.11.1-alpine in /docs/_build
2022-12-20 16:50:01 +00:00
josegonzalez
d8ab726e5a Merge pull request #5534 from dokku/dependabot/bundler/tests/apps/ruby/sinatra-3.0.5
chore(deps): bump sinatra from 3.0.4 to 3.0.5 in /tests/apps/ruby
2022-12-20 10:50:57 -05:00
josegonzalez
d2376eaab9 Merge pull request #5514 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.19.4
chore(deps): bump golang from 1.19.3 to 1.19.4 in /tests/apps/go-fail-predeploy
2022-12-20 10:50:48 -05:00
josegonzalez
a25f9b4e76 Merge pull request #5512 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.19.4
chore(deps): bump golang from 1.19.3 to 1.19.4 in /tests/apps/go-fail-postdeploy
2022-12-20 10:50:37 -05:00
josegonzalez
315b25c7e6 Merge pull request #5533 from dokku/5502-support-plus-test
Add a test case for nested vector-sink values with plus signs
2022-12-20 10:50:24 -05:00
dependabot[bot]
3b0eea2111 chore(deps): bump sinatra from 3.0.4 to 3.0.5 in /tests/apps/ruby
Bumps [sinatra](https://github.com/sinatra/sinatra) from 3.0.4 to 3.0.5.
- [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/v3.0.4...v3.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 13:01:42 +00:00
dependabot[bot]
e5fff93444 chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.19.3 to 1.19.4.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 01:32:12 +00:00
dependabot[bot]
e068a9123f chore(deps): bump golang in /tests/apps/go-fail-postdeploy
Bumps golang from 1.19.3 to 1.19.4.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 01:31:30 +00:00
josegonzalez
1835b2952a Merge pull request #5532 from dokku/5518-from-image
Fix issue where git:from-image deploys may result in extracted files not being respected
2022-12-18 19:23:07 -05:00
josegonzalez
4f59f5670d Merge pull request #5513 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.19.4
chore(deps): bump golang from 1.19.3 to 1.19.4 in /tests/apps/zombies-dockerfile-no-tini
2022-12-18 19:22:49 -05:00
josegonzalez
677f48b1ec Merge pull request #5511 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.19.4
chore(deps): bump golang from 1.19.3 to 1.19.4 in /tests/apps/zombies-dockerfile-tini
2022-12-18 19:22:36 -05:00
josegonzalez
b2b4c2a9a8 Merge pull request #5510 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.19.4
chore(deps): bump golang from 1.19.3 to 1.19.4 in /tests/apps/gogrpc
2022-12-18 19:22:29 -05:00
Jose Diaz-Gonzalez
8323015fb7 tests: add a test case for nested vector-sink values with plus signs
Closes #5502
2022-12-18 19:16:14 -05:00
Jose Diaz-Gonzalez
c3c6e2174a fix: keep track of the source image when building an app via git:from-image
This change fixes issues with ps:rebuild not working as expected - essentially ignoring files in the repo - as well as adds tests.

Closes #5518
2022-12-18 17:57:24 -05:00
Jose Diaz-Gonzalez
654939afa7 refactor: do not pull image if it already exists 2022-12-18 17:52:32 -05:00
Jose Diaz-Gonzalez
ca4be83e64 fix: allow nginx-conf-sigil-path to be set globally 2022-12-18 17:49:55 -05:00
Jose Diaz-Gonzalez
1e58b56ac7 feat: add git-get-property trigger 2022-12-18 17:49:47 -05:00
josegonzalez
d202050d30 Merge pull request #5531 from dokku/josegonzalez-patch-1
Fix indentation on heading in where to get help
2022-12-17 15:22:44 -05:00
josegonzalez
5c8cc20db3 docs: fix indentation on heading in where to get help 2022-12-17 15:22:32 -05:00
josegonzalez
579e52e8ae Merge pull request #5525 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.13
chore(deps): bump jetty-servlet from 11.0.12 to 11.0.13 in /tests/apps/java
2022-12-17 14:17:15 -05:00
josegonzalez
b3f3f17dcc Merge pull request #5519 from dokku/dependabot/docker/tests/apps/dockerfile-release/python-3.11.1-buster
chore(deps): bump python from 3.11.0-buster to 3.11.1-buster in /tests/apps/dockerfile-release
2022-12-17 14:15:37 -05:00
josegonzalez
44ccef1cc4 Merge pull request #5520 from dokku/dependabot/docker/docs/_build/python-3.11.1-alpine
chore(deps): bump python from 3.11.0-alpine to 3.11.1-alpine in /docs/_build
2022-12-17 14:15:29 -05:00
josegonzalez
a3c3ee437e Merge pull request #5521 from AlejandroAkbal/patch-1
Scheduled Cron Tasks: remove deprecated used of `--rm` flag in `dokku run`
2022-12-17 14:15:05 -05:00
dependabot[bot]
576c4cd847 chore(deps): bump jetty-servlet in /tests/apps/java
Bumps [jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.12 to 11.0.13.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.12...jetty-11.0.13)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-servlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-12 13:05:07 +00:00
Alejandro Akbal
ceb03d6341 docs(Scheduled Cron Tasks): remove deprecated used of --rm flag in dokku run 2022-12-09 09:33:37 +00:00
dependabot[bot]
01ab0ad8e2 chore(deps): bump python in /docs/_build
Bumps python from 3.11.0-alpine to 3.11.1-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 13:43:21 +00:00
dependabot[bot]
a4c92472ca chore(deps): bump python in /tests/apps/dockerfile-release
Bumps python from 3.11.0-buster to 3.11.1-buster.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 13:43:20 +00:00
josegonzalez
cfca0d38a5 Merge pull request #5517 from dokku/josegonzalez-patch-1
Fix reference to scheduler name in kubernetes docs
2022-12-07 23:26:09 -05:00
josegonzalez
e3f3099dc0 docs: fix reference to scheduler name in kubernetes docs
Closes dokku/dokku-scheduler-kubernetes#40
2022-12-07 23:25:05 -05:00
josegonzalez
47f3d0901a Merge pull request #5516 from dokku/josegonzalez-patch-1
Fix reference to scheduler name in nomad docs
2022-12-07 23:24:31 -05:00
josegonzalez
74ff966b9e docs: fix reference to scheduler name in nomad docs 2022-12-07 23:23:49 -05:00
dependabot[bot]
ef113bff2c chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
Bumps golang from 1.19.3 to 1.19.4.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 13:13:00 +00:00
dependabot[bot]
af421da8ea chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
Bumps golang from 1.19.3 to 1.19.4.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 13:12:47 +00:00
dependabot[bot]
eb1a13dadf chore(deps): bump golang from 1.19.3 to 1.19.4 in /tests/apps/gogrpc
Bumps golang from 1.19.3 to 1.19.4.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 13:12:46 +00:00
Dokku Bot
afaff73025 Release 0.29.0
# History

## 0.29.0

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.29.0/bootstrap.sh
sudo DOKKU_TAG=v0.29.0 bash bootstrap.sh
```

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

### Bug Fixes

- #5506: @josegonzalez Add support for escaped plus (+) signs in vector configurations
- #5505: @josegonzalez Add missing event hooks
- #5493: @josegonzalez Correct issue with detection of non-https port mapping as https port mapping
- #5499: @josegonzalez Do not use traefik priority in service name
- #5491: @josegonzalez Add missing http part to traefik routing rule
- #5477: @josegonzalez Add missing config_sub entry to config gitignore
- #5474: @josegonzalez Add missing source call
- #5345: @esirK Always set app created-at via property instead of introspecting on folder creation time
- #5456: @cooperaj Ensure Traefik only attempts to obtain certificate for api when enabled
- #5466: @josegonzalez Drop the app argument when calling storage:ensure-directory from remote client
- #5458: @cooperaj Ensure the TLS resolver is specifed for HTTPS enabled apps
- #5448: @josegonzalez Do not attempt to attach a network to a container that already has it

### New Features

- #5494: @josegonzalez Silence the warning message when there are no dokku apps on install
- #5490: @josegonzalez Add ability to set a custom priority for traefik routing rules
- #5489: @josegonzalez Use exit code 137 to signify a lock was unable to be retrieved when calling ps:retire
- #5487: @josegonzalez Use a priority when routing requests with traefik
- #5481: @josegonzalez Drop installation of nginx ppa
- #5478: @josegonzalez Allow users to enable herokuish usage on arm/arm64 platforms
- #5479: @josegonzalez Cleanup builder code and docs
- #5476: @josegonzalez Add fileutils plugin to the devcontainer
- #5473: @josegonzalez Add warning when a user is attempting to deploy with an ipv4/ipv6 domain name and has the default nginx site file available
- #5451: @josegonzalez Add git:status subcommand
- #5349: @josegonzalez Error out when executing caddy and traefik commands without the compose plugin installed
- #5322: @josegonzalez Implement run:logs command
- #5321: @josegonzalez Implement run:stop command
- #5434: @josegonzalez Upgrade to go 1.19 everywhere
- #5320: @josegonzalez Add json format output to run:list

### Refactors

- #5488: @josegonzalez De-duplicate proxy building and simplify url generation
- #5454: @josegonzalez Switch from base64-encoding to base36-encoding of cron task IDs

### Documentation

- #5509: @josegonzalez Update data loss blockquote to be warning
- #5507: @josegonzalez Add tutorials link to navigation
- #5503: @josegonzalez Document potential deployment downtime
- #5484: @IgnisDa Add edgedb community plugin
- #5482: @JonathanMH Fixes minor typos in proxy docs
- #5465: @josegonzalez Fix embedded lists on deployment tasks
- #5430: @pablobm Clarify that proxy:build-config is required for any nginx:set call
- #5447: @josegonzalez Specify correct command for builder-lambda:report
- #5429: @pablobm Clarify details of the default template

### Tests

- #5449: @josegonzalez Install goverage via go get

### Other

- #5500: @dependabot[bot] chore(deps): bump maven-dependency-plugin from 3.3.0 to 3.4.0 in /tests/apps/java
- #5472: @josegonzalez Start started proxies automatically during ps:restore
- #5497: @dependabot[bot] chore(deps): bump ruby from 3.1.2 to 3.1.3 in /tests/apps/dockerfile-entrypoint
- #5496: @dependabot[bot] chore(deps): bump sinatra from 3.0.3 to 3.0.4 in /tests/apps/ruby
- #5480: @josegonzalez Cleanup zero'd out processes when a Procfile omitting those process types is set
- #5475: @josegonzalez Refactor nginx.conf.sigil to be extracted from a specified path in source code instead of the built image
- #5467: @josegonzalez Move DOKKU_WAIT_TO_RETIRE to a checks property
- #5455: @dependabot[bot] chore(deps): bump hadolint/hadolint-action from 2.1.0 to 3.0.0
- #5463: @dependabot[bot] chore(deps): bump sinatra from 3.0.2 to 3.0.3 in /tests/apps/ruby
- #5450: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 226 to 227 in /tests/apps/php
- #5437: @dependabot[bot] chore(deps): bump golang from 1.19.2 to 1.19.3 in /tests/apps/zombies-dockerfile-tini
- #5441: @dependabot[bot] chore(deps): bump golang from 1.19.2 to 1.19.3 in /tests/apps/gogrpc
- #5440: @dependabot[bot] chore(deps): bump golang from 1.19.2 to 1.19.3 in /tests/apps/go-fail-predeploy
- #5439: @dependabot[bot] chore(deps): bump golang from 1.19.2 to 1.19.3 in /tests/apps/zombies-dockerfile-no-tini
- #5438: @dependabot[bot] chore(deps): bump golang from 1.19.2 to 1.19.3 in /tests/apps/go-fail-postdeploy
- #5431: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 225 to 226 in /tests/apps/php
- #5426: @dependabot[bot] chore(deps): bump python from 3.10.0-buster to 3.11.0-buster in /tests/apps/dockerfile-release
- #5319: @josegonzalez Use container name instead of container id for run:detached output
- #5427: @dependabot[bot] chore(deps): bump python from 3.10.8-alpine to 3.11.0-alpine in /docs/_build
2022-12-06 20:43:46 +00:00
josegonzalez
37b4beca1c Merge pull request #5509 from dokku/josegonzalez-patch-1
Update data loss blockquote to be warning
2022-12-06 14:41:52 -05:00
josegonzalez
f92d240461 docs: update data loss blockquote to be warning 2022-12-06 14:41:35 -05:00
josegonzalez
7bef9bac8c Merge pull request #5507 from dokku/tutorials-link
Add tutorials link to navigation
2022-12-05 06:22:07 -05:00
Jose Diaz-Gonzalez
8122470c0b chore: drop tutorials from main docs in favor of tutorials site
This ensures the main docs don't become an area for every use case, rather just focusing on the core concepts and usages of Dokku.
2022-12-05 06:14:50 -05:00
Jose Diaz-Gonzalez
8dfebad943 feat: add tutorials link to the docs 2022-12-05 05:53:10 -05:00
josegonzalez
ff935c333b Merge pull request #5506 from dokku/5502-support-plus
Add support for escaped plus (+) signs in vector configurations
2022-12-04 16:53:06 -05:00
Jose Diaz-Gonzalez
bbbdfbffe5 fix: add support for escaped plus (+) signs in vector configurations
Closes #5502
2022-12-04 15:40:46 -05:00
josegonzalez
4f76dd7bc2 Merge pull request #5488 from dokku/5435-potential-deploy-downtime 2022-12-03 23:01:09 -05:00
Jose Diaz-Gonzalez
80fd9bbd4b fix: run linting 2022-12-02 16:00:32 -05:00
josegonzalez
263d1a686d Merge pull request #5505 from dokku/missing-hooks
Add missing event hooks
2022-12-02 15:56:50 -05:00
Jose Diaz-Gonzalez
dfc7b26f42 fix: add missing event hooks 2022-12-02 15:56:29 -05:00
Jose Diaz-Gonzalez
ecae13ba84 fix: update event hooks 2022-12-02 15:55:49 -05:00
Jose Diaz-Gonzalez
c2ebf48524 refactor: use a single implementation for checking cnb/herokuish images
Also use a plugin trigger for testing whether an image is herokuish or not rather than trying to mess around with sourced files.
2022-12-02 15:54:48 -05:00
Jose Diaz-Gonzalez
a2cc6b84d6 fix: use assert_output_contains so as not to worry about order 2022-12-02 10:47:40 -05:00
Jose Diaz-Gonzalez
1dda402769 fix: do not depend upon domains:setup in tests
Since it is now called on app creation, it doesn't work as expected for 'resetting' already set state.
2022-12-02 02:33:54 -05:00
Jose Diaz-Gonzalez
edd6e476b3 refactor: simplify how url generation works
The URLS file is no longer necessary as urls are now generated directly from the app VHOST file.

This also moves all the url generation logic to the domains plugin.
2022-12-02 02:19:59 -05:00
Jose Diaz-Gonzalez
f4f0a29446 fix: correct domain wildcard tests for new domain initialization method 2022-12-01 22:57:31 -05:00
Jose Diaz-Gonzalez
d18cb3766c fix: correct tests for new domain initialization method 2022-12-01 22:39:38 -05:00
Jose Diaz-Gonzalez
9eab17af11 refactor: setup app domains in the post-create hook
This is more consistent with app setup, at the cost of making it so developers must disable domains manually afterwards.
2022-12-01 22:39:38 -05:00
Jose Diaz-Gonzalez
1fab98286b fix: also report that there is a network config if a static-web-listener is specified 2022-12-01 22:39:38 -05:00
Jose Diaz-Gonzalez
203a56fa11 chore: remote whitespace 2022-12-01 22:39:20 -05:00
Jose Diaz-Gonzalez
78438dfb74 chore: do not rework network config if the scheduler is not docker-local 2022-12-01 22:39:20 -05:00
Jose Diaz-Gonzalez
348a593ee8 refactor trigger proxy-build-config from nginx#core-post-deploy
This reduces the duplicated code in the plugin.
2022-12-01 22:39:20 -05:00
josegonzalez
9ccd1f397c Merge pull request #5503 from dokku/josegonzalez-patch-1
Document potential deployment downtime
2022-12-01 22:39:00 -05:00
josegonzalez
84a727a3aa Document potential deployment downtime
Closes #5435
2022-12-01 22:38:32 -05:00
josegonzalez
9e8312360e Merge pull request #5500 from dokku/dependabot/maven/tests/apps/java/org.apache.maven.plugins-maven-dependency-plugin-3.4.0
chore(deps): bump maven-dependency-plugin from 3.3.0 to 3.4.0 in /tests/apps/java
2022-12-01 10:53:27 -05:00
dependabot[bot]
fed6b871ce chore(deps): bump maven-dependency-plugin in /tests/apps/java
Bumps [maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.3.0...maven-dependency-plugin-3.4.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-dependency-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 07:27:17 +00:00
josegonzalez
9e939ea816 Merge pull request #5472 from dokku/5381-compose-proxy-lifecycle 2022-12-01 02:16:45 -05:00
Jose Diaz-Gonzalez
7ec555f617 fix: properly test priority
It is no longer part of the service name.
2022-12-01 00:27:21 -05:00
Jose Diaz-Gonzalez
e2d215ab4f fix: do not run enable/disable when using init.d
init.d doesn't support these two commands, causing nginx:stop/nginx:start to fail.
2022-11-30 15:00:05 -05:00
Jose Diaz-Gonzalez
a8bc8044e4 feat: switch to systemctl for interacting with the nginx init process 2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
5fed0c45ac refactor: use the properties system instead of the data dir for tracking whether a proxy should be stopped or started 2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
6fed37b408 refactor: rename pre-restore trigger to scheduler-pre-restore
This better reflects what the trigger does, and allows us to use the pre-restore trigger at the beginning of the ps:restore command.
2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
77fbd676bc feat: start caddy/nginx/traefik prior to restoring applications
This ensures routing works as expected.
2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
b97a5c0c00 feat: keep track of whether proxy implementation should be stopped or started 2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
bde7b16a80 chore: reorder commands alphabetically 2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
5c205b9e27 feat: keep track of whether caddy and traefik should be stopped/started 2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
2946e6d632 fix: enable/disable nginx when calling nginx:start/nginx:stop 2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
1d85095ec8 feat: allow dokku user to enable/disable nginx service 2022-11-29 01:38:36 -05:00
josegonzalez
a42360ec34 Merge pull request #5493 from dokku/5410-fix-ssl-detection
Correct issue with detection of non-https port mapping as https port mapping
2022-11-29 01:38:15 -05:00
josegonzalez
6522012b89 fix: do not use priority in test lookup 2022-11-29 01:27:57 -05:00
Jose Diaz-Gonzalez
b7bff8e152 fix: correct issue with detection of non-https port mapping as https port mapping
This allows folks to _only_ set the letsencrypt-email in order to get https working as expected.

Closes #5410
2022-11-29 00:21:04 -05:00
josegonzalez
2f79e68542 Merge pull request #5499 from dokku/traefik-priority-v2
Do not use traefik priority in service name
2022-11-29 00:20:13 -05:00
Jose Diaz-Gonzalez
2807d71ac6 fix: do not use traefik priority in service name
This breaks the ability to add new rules on the fly and also makes routing a bit more difficult.
2022-11-29 00:19:53 -05:00
josegonzalez
a416b07b0f Merge pull request #5497 from dokku/dependabot/docker/tests/apps/dockerfile-entrypoint/ruby-3.1.3
chore(deps): bump ruby from 3.1.2 to 3.1.3 in /tests/apps/dockerfile-entrypoint
2022-11-28 11:16:50 -05:00
josegonzalez
6400c84782 Merge pull request #5496 from dokku/dependabot/bundler/tests/apps/ruby/sinatra-3.0.4
chore(deps): bump sinatra from 3.0.3 to 3.0.4 in /tests/apps/ruby
2022-11-28 11:16:41 -05:00
dependabot[bot]
c8fc1e5ca8 chore(deps): bump ruby in /tests/apps/dockerfile-entrypoint
Bumps ruby from 3.1.2 to 3.1.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 13:21:45 +00:00
dependabot[bot]
40c41d0a7e chore(deps): bump sinatra from 3.0.3 to 3.0.4 in /tests/apps/ruby
Bumps [sinatra](https://github.com/sinatra/sinatra) from 3.0.3 to 3.0.4.
- [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/v3.0.3...v3.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 13:01:56 +00:00
josegonzalez
d8aebda820 Merge pull request #5494 from dokku/silence-install
Silence the warning message when there are no dokku apps on install
2022-11-28 02:21:14 -05:00
Jose Diaz-Gonzalez
1a14731f46 chore: silence the warning message when there are no dokku apps on install 2022-11-28 02:20:54 -05:00
josegonzalez
f8cf40fc2d Merge pull request #5490 from dokku/custom-traefik-priority
Add ability to set a custom priority for traefik routing rules
2022-11-27 23:55:27 -05:00
josegonzalez
7c2ff907f4 Merge pull request #5489 from dokku/5432-lock-exit-code
Use exit code 137 to signify a lock was unable to be retrieved when calling ps:retire
2022-11-27 23:13:51 -05:00
josegonzalez
ac9c2db306 Merge pull request #5491 from dokku/josegonzalez-patch-1
Add missing http part to traefik routing rule
2022-11-27 22:27:04 -05:00
josegonzalez
1d13239ace fix: add missing http part to traefik routing rule 2022-11-27 22:26:47 -05:00
Jose Diaz-Gonzalez
e26b0ba1db feat: add ability to set a custom priority for traefik routing rules 2022-11-27 22:23:06 -05:00
Jose Diaz-Gonzalez
bc26766b84 refactor: use exit code 137 to signify a lock was unable to be retrieved when calling ps:retire
Closes #5432
2022-11-27 20:23:13 -05:00
josegonzalez
38cb05e7b1 Merge pull request #5487 from dokku/traefik-priority
Use a priority when routing requests with traefik
2022-11-27 19:35:10 -05:00
Jose Diaz-Gonzalez
56beaf6dd5 feat: use a priority when routing requests with traefik
This ensures we always use the newer config when there are conflicting versions.
2022-11-27 19:34:05 -05:00
josegonzalez
c29967eaa5 Merge pull request #5480 from dokku/5112-procfile-cleanup
Cleanup zero'd out processes when a Procfile omitting those process types is set
2022-11-27 16:13:44 -05:00
josegonzalez
ff53949ef3 Merge pull request #5484 from IgnisDa/master
Add edgedb community plugin
2022-11-27 15:53:05 -05:00
Jose Diaz-Gonzalez
22f6db1c6a chore: drop nginx config if there is no network config for the app 2022-11-27 15:07:42 -05:00
Jose Diaz-Gonzalez
e458c8e4a6 fix: keep track of old scale values for a single deploy
This will ensure we scale things down after usage.
2022-11-27 15:02:45 -05:00
Diptesh Choudhuri
216f2d6551 docs(plugins): added dokku-edgedb
Update plugins.md
2022-11-27 04:29:47 +00:00
Jose Diaz-Gonzalez
7cc3f33590 fix: create nginx data app directory before usage 2022-11-25 19:58:52 -05:00
Jose Diaz-Gonzalez
b91b8adf4d docs: remove extra whitespace 2022-11-25 19:58:37 -05:00
josegonzalez
c4521b0db1 Merge pull request #5482 from JonathanMH/fix/typos-in-proxy-docs
Fixes minor typos in proxy docs
2022-11-25 18:03:35 -05:00
Jonathan M. Hethey
345e28891e fix minor typos in proxy docs 2022-11-25 23:59:15 +01:00
Jose Diaz-Gonzalez
8ab2906930 chore: run shfmt 2022-11-25 17:40:45 -05:00
Jose Diaz-Gonzalez
f4913e1bf5 docs: add monorepo reference to nginx docs 2022-11-25 17:40:38 -05:00
Jose Diaz-Gonzalez
171dad8e88 feat: add method for pulling files when deploying from built images
This allows us to be backwards compatible when executing git:from-image.

The nice thing about this pattern is we can also extend it to other parts of the deployment as well, such asn nginx-vhosts fetching
2022-11-25 17:38:15 -05:00
Jose Diaz-Gonzalez
0857e51c43 fix: do not delete the existing procfile if it does not exist 2022-11-25 14:50:35 -05:00
Jose Diaz-Gonzalez
231e562b8d fix: respect the .missing file and the process-specific procfile when fetching the a procfile command 2022-11-25 14:50:35 -05:00
Jose Diaz-Gonzalez
1455390dd3 fix: reference the correct missing file 2022-11-25 14:50:35 -05:00
Jose Diaz-Gonzalez
55ca8e3d52 chore: drop debug calls 2022-11-25 14:50:35 -05:00
Jose Diaz-Gonzalez
fe4d80a82b refactor: cleanup zero'd out processes when a Procfile omitting those process types is set
This change also moves the referenced Procfile out to a host path once on deploy vs potentially several times, which should speed up deploys a small amount and simplify reasoning about the file.

Closes #5112
2022-11-25 14:50:35 -05:00
Jose Diaz-Gonzalez
3100eeb151 chore: split up ps-general tests 2022-11-25 14:50:35 -05:00
josegonzalez
555b081254 Merge pull request #5481 from dokku/drop-nginx-ppa
Drop installation of nginx ppa
2022-11-25 14:50:08 -05:00
Jose Diaz-Gonzalez
4e4f3c839a chore: drop installation of nginx ppa
We've been using OS nginx for quite a while now as it's been updated significantly, so there is no need to use the official ppa anymore.
2022-11-25 14:47:52 -05:00
josegonzalez
d66dc84c28 Merge pull request #5478 from dokku/herokuish-on-arm
Allow users to enable herokuish usage on arm/arm64 platforms
2022-11-24 23:00:47 -05:00
josegonzalez
f871c33dec Merge pull request #5479 from dokku/builder-cleanup
Cleanup builder code and docs
2022-11-24 14:47:38 -05:00
Jose Diaz-Gonzalez
7c5b0be2c3 chore: use the correct function when fetching properties with defaults 2022-11-24 14:47:13 -05:00
Jose Diaz-Gonzalez
beb8dff68c docs: cleanup builder docs a little 2022-11-24 14:46:51 -05:00
Jose Diaz-Gonzalez
1238c8d7e0 feat: allow users to enable herokuish usage on arm/arm64 platforms
While the majority of buildpacks do not work on non-amd64 platforms, this will at least allow developers the option to choose when to override this setting.
2022-11-24 14:43:47 -05:00
josegonzalez
e48417f18e Merge pull request #5477 from dokku/josegonzalez-patch-1
Add missing config_sub entry to config gitignore
2022-11-24 13:48:16 -05:00
josegonzalez
52f700ff97 fix: add missing app-list entry to config gitignore 2022-11-24 13:47:54 -05:00
josegonzalez
ce5f356015 fix: add missing config_sub entry to config gitignore 2022-11-24 13:47:49 -05:00
josegonzalez
25beb2af13 Merge pull request #5476 from dokku/devcontainer-fileutils
Add fileutils plugin to the devcontainer
2022-11-24 13:00:55 -05:00
Jose Diaz-Gonzalez
038eba6785 feat: add fileutils plugin to the devcontainer
This is useful in development when duplicating hooks.
2022-11-24 13:00:40 -05:00
josegonzalez
3365a544ac Merge pull request #5475 from dokku/5207-nginx-core-post-extract
Refactor nginx.conf.sigil to be extracted from a specified path in source code instead of the built image
2022-11-24 12:58:50 -05:00
Jose Diaz-Gonzalez
5dc1e779ae chore: run shfmt 2022-11-24 12:58:34 -05:00
Jose Diaz-Gonzalez
9fdc06e6fa tests: add a test case to cover new functionality 2022-11-24 00:52:18 -05:00
Jose Diaz-Gonzalez
67c243b0ba fix: keep track of case where current deployment does not have a custom nginx.conf.sigil 2022-11-24 00:51:58 -05:00
Jose Diaz-Gonzalez
39beb8894f fix: cleanup app data 2022-11-24 00:51:21 -05:00
Jose Diaz-Gonzalez
ff9005dd0e feat: migrate existing installs to new monorepo setup for nginx.conf.sigil file 2022-11-23 20:26:16 -05:00
Jose Diaz-Gonzalez
e3fa0c4bc4 refactor: move nginx.conf.sigil files into app-specific directories 2022-11-23 20:16:28 -05:00
Jose Diaz-Gonzalez
140c1e4d4c feat: scope the custom config to the current DOKKU_PID 2022-11-23 19:43:29 -05:00
Jose Diaz-Gonzalez
b166db90e6 fix: do not reuse app-specific nginx.conf.sigil globally 2022-11-23 19:41:56 -05:00
Jose Diaz-Gonzalez
bcbe343cf7 refactor: move env var migration to it's own function 2022-11-23 19:33:13 -05:00
Jose Diaz-Gonzalez
17814d4847 refactor: only extract the nginx.conf.sigil from the source code and not an app path
The previous method was a bit more difficult for users to interact with as they needed to ensure the file was at a certain path in the built image. This change divorces the file from the built artifact, better aligning the nginx.conf.sigil handling with the rest of Dokku's monorepo support.

A side effect of this is now building proxy configurations does not require access to the built image.

Closes #5207
2022-11-23 19:32:53 -05:00
josegonzalez
05b85d0ff3 Merge pull request #5473 from dokku/5341-ip-warn
Add warning when a user is attempting to deploy with an ipv4/ipv6 domain name and has the default nginx site file available
2022-11-23 19:12:28 -05:00
Jose Diaz-Gonzalez
4da1f7091a fix: run shfmt 2022-11-23 17:49:41 -05:00
Jose Diaz-Gonzalez
47f5af44c5 tests: add a test for the error message 2022-11-23 17:46:33 -05:00
Jose Diaz-Gonzalez
f3b04032a8 feat: add warning when a user is attempting to deploy with an ipv4/ipv6 domain name and has the default nginx site file available
This might cause an app to not load for users, causing confusion on first use.

Closes #5341
2022-11-23 16:42:58 -05:00
Jose Diaz-Gonzalez
c8a34f906a chore: remove unused ipv4/ipv6 regex fetch 2022-11-23 16:42:58 -05:00
josegonzalez
3f2625713a Merge pull request #5474 from dokku/josegonzalez-patch-1
Add missing source call
2022-11-23 16:42:38 -05:00
josegonzalez
280006f811 fix: add missing source call 2022-11-23 16:42:26 -05:00
josegonzalez
eb3db26b3e Merge pull request #5467 from dokku/5049-wait-to-retire
Move DOKKU_WAIT_TO_RETIRE to a checks property
2022-11-22 22:44:33 -05:00
josegonzalez
c398a2bc59 chore: document checks:set and new report properties 2022-11-22 22:44:23 -05:00
josegonzalez
8aa60f239d Merge pull request #5345 from esirK/ft-fix-created-at-bug
Always set app created-at via property instead of introspecting on folder creation time
2022-11-22 21:52:22 -05:00
Jose Diaz-Gonzalez
cb3b3b650d fix: convert all app creation timestamps over to the properties system 2022-11-22 20:54:48 -05:00
esir
9506ba727e Use property system to set when an app has been created 2022-11-22 20:47:29 -05:00
Jose Diaz-Gonzalez
daa4ee829e fix: run shfmt 2022-11-22 20:34:23 -05:00
Jose Diaz-Gonzalez
e8f69ca90e fix: remove equals sign 2022-11-22 20:28:28 -05:00
Jose Diaz-Gonzalez
9565648d8d fix: use correct function name 2022-11-22 20:27:43 -05:00
Jose Diaz-Gonzalez
c74e6ce216 refactor: use a common wrapper function to migrate config vars to properties 2022-11-22 20:27:43 -05:00
Jose Diaz-Gonzalez
c7be1766ed fix: call migration function 2022-11-22 20:27:43 -05:00
Jose Diaz-Gonzalez
bef746a5f6 fix: add missing source calls and ensure checks properties are setup 2022-11-22 20:27:43 -05:00
Jose Diaz-Gonzalez
f5c3b5dc34 refactor: move DOKKU_WAIT_TO_RETIRE to a checks property
This centralizes the property and removes one more dokku-specific property from the app environment variables.

Closes #5049
2022-11-22 20:27:43 -05:00
josegonzalez
4749d1529e Merge pull request #5456 from cooperaj/patch-1
Traefik attempts to obtain certificate for api even if it's disabled.
2022-11-21 11:55:37 -05:00
josegonzalez
5ac2fc457d Merge pull request #5466 from dokku/5464-ignore-app
Drop the app argument when calling storage:ensure-directory from remote client
2022-11-16 10:57:27 -05:00
Jose Diaz-Gonzalez
ba98055940 fix: drop the app argument when calling storage:ensure-directory from remote client
Closes #5464
2022-11-15 22:53:57 -05:00
josegonzalez
aa5a3953da Merge pull request #5455 from dokku/dependabot/github_actions/hadolint/hadolint-action-3.0.0
chore(deps): bump hadolint/hadolint-action from 2.1.0 to 3.0.0
2022-11-15 22:46:16 -05:00
josegonzalez
90163475ec Merge pull request #5458 from cooperaj/patch-2
Ensure the TLS resolver is specifed for HTTPS enabled apps
2022-11-15 22:45:09 -05:00
josegonzalez
c480a8f5b7 Merge pull request #5463 from dokku/dependabot/bundler/tests/apps/ruby/sinatra-3.0.3
chore(deps): bump sinatra from 3.0.2 to 3.0.3 in /tests/apps/ruby
2022-11-15 22:44:50 -05:00
josegonzalez
628a97a386 Merge pull request #5465 from dokku/josegonzalez-patch-1
Fix embedded lists on deployment tasks
2022-11-15 16:36:15 -05:00
josegonzalez
5559238287 docs: fix embedded lists on deployment tasks 2022-11-15 16:32:57 -05:00
dependabot[bot]
e39f532ed2 chore(deps): bump sinatra from 3.0.2 to 3.0.3 in /tests/apps/ruby
Bumps [sinatra](https://github.com/sinatra/sinatra) from 3.0.2 to 3.0.3.
- [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/v3.0.2...v3.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 13:01:07 +00:00
josegonzalez
ce52409ad8 Merge pull request #5454 from dokku/4903-cron-id
Switch from base64-encoding to base36-encoding of cron task IDs
2022-11-13 21:14:24 -05:00
Adam Cooper
2778d029fa Ensure the resolver is specifed for https enabled apps 2022-11-11 22:43:47 +00:00
Adam Cooper
a60ba4e2d4 Wrap dashboard routing definition in conditional
This ensures that we don't define the routes for the api unless we've enabled it.
2022-11-11 21:58:16 +00:00
dependabot[bot]
f182c43fa6 chore(deps): bump hadolint/hadolint-action from 2.1.0 to 3.0.0
Bumps [hadolint/hadolint-action](https://github.com/hadolint/hadolint-action) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/hadolint/hadolint-action/releases)
- [Changelog](https://github.com/hadolint/hadolint-action/blob/master/.releaserc)
- [Commits](f988afea3d...4b5806eb9c)

---
updated-dependencies:
- dependency-name: hadolint/hadolint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-11 13:22:03 +00:00
Jose Diaz-Gonzalez
ddae4f71da refactor: switch from base64-encoding to base36-encoding of cron task IDs
This allows the IDs to be used as DNS labels, meaning they can be used as is for external scheduler task names.

Closes #4903
2022-11-09 22:22:37 -05:00
Jose Diaz-Gonzalez
14ba1a214f Merge pull request #5451 from dokku/5248-git-status
Add git:status subcommand
2022-11-09 10:20:38 -05:00
Jose Diaz-Gonzalez
aca8deb2f2 feat: add git:status subcommand
Closes #5248
2022-11-09 00:04:45 -05:00
Jose Diaz-Gonzalez
655b5307b5 Merge pull request #5450 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-227
chore(deps-dev): bump heroku/heroku-buildpack-php from 226 to 227 in /tests/apps/php
2022-11-08 19:35:57 -05:00
dependabot[bot]
6af43baa71 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 226 to 227.
- [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/v226...v227)

---
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-11-08 13:06:48 +00:00
Jose Diaz-Gonzalez
b475b4de5b Merge pull request #5430 from pablobm/clarify-config-build
Clarify that proxy:build-config is required for any nginx:set call
2022-11-07 21:54:17 -05:00
Jose Diaz-Gonzalez
e8fad562d6 docs: add a note for every nginx:set command 2022-11-07 21:53:49 -05:00
Jose Diaz-Gonzalez
a742549387 Merge pull request #5449 from dokku/test-go-coverage
Install goverage via go get
2022-11-07 19:36:46 -05:00
Jose Diaz-Gonzalez
ea970c7737 chore: run go mod tidy 2022-11-07 17:52:41 -05:00
Jose Diaz-Gonzalez
b2b2b7dc2a chore: run go mod tidy 2022-11-07 17:44:30 -05:00
Jose Diaz-Gonzalez
01127fb09c chore: run go mod tidy 2022-11-07 16:37:14 -05:00
Jose Diaz-Gonzalez
e841e1039c fix: add missing go module dependencies 2022-11-07 16:17:55 -05:00
Jose Diaz-Gonzalez
edd0b16975 fix: install goverage via go get 2022-11-07 16:11:38 -05:00
Jose Diaz-Gonzalez
899886a5f1 Merge pull request #5349 from dokku/5335-compose-error
Error out when executing caddy and traefik commands without the compose plugin installed
2022-11-07 16:10:51 -05:00
Jose Diaz-Gonzalez
4a9bdd6dc2 fix: add missing {{end}} to docker format template 2022-11-07 10:07:48 -05:00
Jose Diaz-Gonzalez
36c2936a93 Merge pull request #5448 from dokku/5352-network-once
Do not attempt to attach a network to a container that already has it
2022-11-07 00:46:22 -05:00
Jose Diaz-Gonzalez
aa49df4fe4 fix: do not attempt to attach a network to a container that already has it
This avoids issues when scaling unrelated process types or if the user has specified the same network at different phases.

Closes #5352
2022-11-06 18:30:05 -05:00
Jose Diaz-Gonzalez
41b971e067 fix: add moby-compose as alternative for docker-compose-plugin
This is necessary on github actions as they use some weird apt repository that provides docker under the moby name...
2022-11-06 00:53:04 -04:00
Jose Diaz-Gonzalez
a19cef9411 fix: install official docker package from docker upstream
This ensures the docker version we ship to in the docker image can actually install the docker-compose-plugin.
2022-11-05 23:44:51 -04:00
Jose Diaz-Gonzalez
ee1ab45829 refactor: use local architecture version of golang when building the initial manpage file 2022-11-05 23:44:51 -04:00
Jose Diaz-Gonzalez
3ff5e0e3a6 fix: error out if commands using compose are executed
Refs #5335
2022-11-05 23:44:51 -04:00
Jose Diaz-Gonzalez
9bd927a598 docs: fix compose install link
The old link broke. Might be worth running some sort of linter for broken links in our documentation.
2022-11-05 23:44:51 -04:00
Jose Diaz-Gonzalez
3245a8d322 fix: add docker-compose-plugin to debian packaging
This might break installation on github actions - which only uses moby-engine - but we'll see as soon as CI runs since the install will fail.
2022-11-05 23:44:51 -04:00
Jose Diaz-Gonzalez
0f8d4a5b38 Merge pull request #5447 from dokku/josegonzalez-patch-1
Specify correct command for builder-lambda:report
2022-11-05 21:53:40 -04:00
Jose Diaz-Gonzalez
75d8e943a3 docs: specify correct command for builder-lambda:report 2022-11-05 21:53:29 -04:00
Jose Diaz-Gonzalez
3f08c54009 Merge pull request #5322 from dokku/5312-run-logs
Implement run:logs command
2022-11-03 17:39:20 -04:00
Jose Diaz-Gonzalez
54a1b54926 chore: run shfmt 2022-11-02 16:49:45 -04:00
Jose Diaz-Gonzalez
d6920230db feat: implement run:logs command
Closes #5312
2022-11-02 16:49:43 -04:00
Jose Diaz-Gonzalez
5c038c238c Merge pull request #5321 from dokku/5169-run-stop
Implement run:stop command
2022-11-02 16:46:09 -04:00
Jose Diaz-Gonzalez
58ef7c98d4 Merge pull request #5437 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.19.3
chore(deps): bump golang from 1.19.2 to 1.19.3 in /tests/apps/zombies-dockerfile-tini
2022-11-02 16:45:36 -04:00
Jose Diaz-Gonzalez
7807caf212 Merge pull request #5434 from dokku/upgrade-to-go119
Upgrade to go 1.19 everywhere
2022-11-02 16:45:03 -04:00
Jose Diaz-Gonzalez
4a7edc234a feat: add debugging and use go get to grab godacov 2022-11-02 15:45:33 -04:00
dependabot[bot]
356f34c8a8 chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
Bumps golang from 1.19.2 to 1.19.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 17:12:03 +00:00
Jose Diaz-Gonzalez
b7a6b63d5a Merge pull request #5441 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.19.3
chore(deps): bump golang from 1.19.2 to 1.19.3 in /tests/apps/gogrpc
2022-11-02 13:11:33 -04:00
Jose Diaz-Gonzalez
5e93e0e612 Merge pull request #5440 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.19.3
chore(deps): bump golang from 1.19.2 to 1.19.3 in /tests/apps/go-fail-predeploy
2022-11-02 13:11:24 -04:00
Jose Diaz-Gonzalez
2945a53332 Merge pull request #5439 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.19.3
chore(deps): bump golang from 1.19.2 to 1.19.3 in /tests/apps/zombies-dockerfile-no-tini
2022-11-02 13:11:01 -04:00
Jose Diaz-Gonzalez
9b7bd4eb97 Merge pull request #5438 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.19.3
chore(deps): bump golang from 1.19.2 to 1.19.3 in /tests/apps/go-fail-postdeploy
2022-11-02 13:10:51 -04:00
Jose Diaz-Gonzalez
42cd2ae4bc fix: switch to go install from go get
This no longer works as of go 1.18: https://go.dev/doc/go-get-install-deprecation
2022-11-02 11:57:22 -04:00
dependabot[bot]
51879ee61a chore(deps): bump golang from 1.19.2 to 1.19.3 in /tests/apps/gogrpc
Bumps golang from 1.19.2 to 1.19.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 15:08:15 +00:00
dependabot[bot]
c1e37f80f0 chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.19.2 to 1.19.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 14:16:16 +00:00
dependabot[bot]
28fbb8a54d chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
Bumps golang from 1.19.2 to 1.19.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 14:16:16 +00:00
dependabot[bot]
97b9961ffc chore(deps): bump golang in /tests/apps/go-fail-postdeploy
Bumps golang from 1.19.2 to 1.19.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 14:16:14 +00:00
Jose Diaz-Gonzalez
9b5c07edd7 chore: update herokuish to get new buildpack version 2022-11-01 22:01:14 -04:00
Jose Diaz-Gonzalez
ca224b8e1a chore: drop goVersion
Let the buildpack figure out the best version instead.
2022-11-01 20:57:23 -04:00
Jose Diaz-Gonzalez
5615765ddc feat: upgrade to go 1.19 everywhere 2022-10-31 13:49:17 -04:00
Jose Diaz-Gonzalez
1c595987b3 chore: run shfmt 2022-10-31 10:55:36 -04:00
Jose Diaz-Gonzalez
aa810cda7d feat: implement run:stop command
Closes #5169
2022-10-31 10:55:17 -04:00
Jose Diaz-Gonzalez
78157c8072 Merge pull request #5431 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-226
chore(deps-dev): bump heroku/heroku-buildpack-php from 225 to 226 in /tests/apps/php
2022-10-31 10:54:55 -04:00
Jose Diaz-Gonzalez
0c5ed725d9 Merge pull request #5426 from dokku/dependabot/docker/tests/apps/dockerfile-release/python-3.11.0-buster
chore(deps): bump python from 3.10.0-buster to 3.11.0-buster in /tests/apps/dockerfile-release
2022-10-31 10:54:44 -04:00
Jose Diaz-Gonzalez
245797ce1d Merge pull request #5319 from dokku/5170-cron-id
Use container name instead of container id for run:detached output
2022-10-29 17:13:05 -04:00
Jose Diaz-Gonzalez
60acf68412 feat: use container name instead of container id for run:detached output
Closes #5170
2022-10-29 17:12:18 -04:00
Jose Diaz-Gonzalez
a4554b794e Merge pull request #5320 from dokku/5171-run-json-output
Add json format output to run:list
2022-10-29 17:06:50 -04:00
Jose Diaz-Gonzalez
1e644d409b chore: update python version in pipfile 2022-10-29 17:05:58 -04:00
dependabot[bot]
103d8ad368 chore(deps): bump python in /tests/apps/dockerfile-release
Bumps python from 3.10.0-buster to 3.11.0-buster.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-29 20:47:26 +00:00
Jose Diaz-Gonzalez
3475585434 Merge pull request #5427 from dokku/dependabot/docker/docs/_build/python-3.11.0-alpine
chore(deps): bump python from 3.10.8-alpine to 3.11.0-alpine in /docs/_build
2022-10-29 16:46:54 -04:00
dependabot[bot]
265a464c2d 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 225 to 226.
- [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/v225...v226)

---
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-10-28 13:26:52 +00:00
Pablo Brasero
4fd0b586b0 Applies to all hsts* values, per-app & globally 2022-10-27 22:05:41 +01:00
Jose Diaz-Gonzalez
a13c8c5a10 Merge pull request #5429 from pablobm/clarify-nginx-template
Clarify details of the default template
2022-10-27 14:00:15 -04:00
Pablo Brasero
3d252cc930 Clarify details of the default template 2022-10-27 15:45:32 +01:00
dependabot[bot]
fef00c6380 chore(deps): bump python in /docs/_build
Bumps python from 3.10.8-alpine to 3.11.0-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 14:36:37 +00:00
Dokku Bot
90951d73ac Release 0.28.4
# History

## 0.28.4

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.28.4/bootstrap.sh
sudo DOKKU_TAG=v0.28.4 bash bootstrap.sh
```

### Bug Fixes

- #5423: @josegonzalez Respect PLUGIN_PATH when checking if a plugin trigger exists
- #5425: @josegonzalez Ignore https mappings when no ssl certificate exists

### New Features

- #5424: @josegonzalez Download all src files for go mod dependencies for use in vscode

### Documentation

- #5421: @josegonzalez Document that scaling via app.json will set all other processes to zero

### Tests

- #5422: @josegonzalez Test that build-arg works as expected

### Other

- #5418: @dependabot[bot] chore(deps): bump node from 18-alpine to 19-alpine in /tests/apps/dockerfile-noexpose
- #5417: @dependabot[bot] chore(deps): bump node from 18-alpine to 19-alpine in /tests/apps/dockerfile-procfile-bad
- #5419: @dependabot[bot] chore(deps): bump node from 18-alpine to 19-alpine in /tests/apps/dockerfile-dokku-scale
- #5416: @dependabot[bot] chore(deps): bump node from 18-alpine to 19-alpine in /tests/apps/dockerfile-procfile
- #5415: @dependabot[bot] chore(deps): bump node from 18-alpine to 19-alpine in /tests/apps/dockerfile
- #5413: @dependabot[bot] chore(deps): bump ibiqlik/action-yamllint from 3.1.0 to 3.1.1
2022-10-23 05:42:31 +00:00
Jose Diaz-Gonzalez
82296dcf33 Merge pull request #5423 from dokku/respect-plugin-path
Respect PLUGIN_PATH when checking if a plugin trigger exists
2022-10-23 01:41:35 -04:00
Jose Diaz-Gonzalez
33ea8f5d85 Merge pull request #5425 from dokku/5368-no-https-without-cert
Ignore https mappings when no ssl certificate exists
2022-10-23 01:41:25 -04:00
Jose Diaz-Gonzalez
83b8d02efd fix: correct shfmt issue 2022-10-22 17:51:06 -04:00
Jose Diaz-Gonzalez
576f3f407a fix: ignore pushd/popd errors 2022-10-22 17:50:14 -04:00
Jose Diaz-Gonzalez
4ef260f57a fix: ignore https mappings when no ssl certificate exists
This fixes issues where users may somehow add an https mapping but are missing an ssl certificate, causing nginx to not load properly. We now ignore the mapping and warn users of the misconfiguration.

Closes #5368
2022-10-22 17:47:54 -04:00
Jose Diaz-Gonzalez
d0966ce3d4 Merge pull request #5424 from dokku/vscode-golang-lsp
Download all src files for go mod dependencies for use in vscode
2022-10-22 16:47:04 -04:00
Jose Diaz-Gonzalez
524ce9b7d7 feat: download all src files for go mod dependencies for use in vscode
Without this, the LSP within the container continually complains that the source for go files cannot be found. While this method isn't _exactly_ correct, it does help with development.
2022-10-22 16:46:49 -04:00
Jose Diaz-Gonzalez
b94488f32f fix: set PLUGIN_PATH for golang tests 2022-10-22 15:56:23 -04:00
Jose Diaz-Gonzalez
03f43b602d Merge pull request #5418 from dokku/dependabot/docker/tests/apps/dockerfile-noexpose/node-19-alpine
chore(deps): bump node from 18-alpine to 19-alpine in /tests/apps/dockerfile-noexpose
2022-10-22 03:05:19 -04:00
Jose Diaz-Gonzalez
fa8ed5d229 fix: respect PLUGIN_PATH when checking if a plugin trigger exists
Without this, upgrades may fail if the user has enabled a plugin which implements a trigger that is checked for during an upgrade.
2022-10-22 02:54:17 -04:00
Jose Diaz-Gonzalez
227947c27f Merge pull request #5422 from dokku/5388-build-arg-test
Test that build-arg works as expected
2022-10-22 01:55:05 -04:00
Jose Diaz-Gonzalez
fc832b580b tests: test that build-arg works as expected
Closes #5388
2022-10-21 22:16:51 -04:00
Jose Diaz-Gonzalez
6727c82ce5 Merge pull request #5421 from dokku/5412-scale-docs
Document that scaling via app.json will set all other processes to zero
2022-10-21 21:38:53 -04:00
Jose Diaz-Gonzalez
b5da7a08b1 docs: document that scaling via app.json will set all other processes to zero
Closes #5412
2022-10-21 21:38:30 -04:00
dependabot[bot]
cc3f8f0c70 chore(deps): bump node in /tests/apps/dockerfile-noexpose
Bumps node from 18-alpine to 19-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-22 01:34:43 +00:00
Jose Diaz-Gonzalez
c916cdc291 Merge pull request #5417 from dokku/dependabot/docker/tests/apps/dockerfile-procfile-bad/node-19-alpine
chore(deps): bump node from 18-alpine to 19-alpine in /tests/apps/dockerfile-procfile-bad
2022-10-21 21:34:03 -04:00
dependabot[bot]
296f71660c chore(deps): bump node in /tests/apps/dockerfile-procfile-bad
Bumps node from 18-alpine to 19-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-22 01:28:15 +00:00
Jose Diaz-Gonzalez
2957c92c01 Merge pull request #5419 from dokku/dependabot/docker/tests/apps/dockerfile-dokku-scale/node-19-alpine
chore(deps): bump node from 18-alpine to 19-alpine in /tests/apps/dockerfile-dokku-scale
2022-10-21 21:27:37 -04:00
dependabot[bot]
364a1a3507 chore(deps): bump node in /tests/apps/dockerfile-dokku-scale
Bumps node from 18-alpine to 19-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-20 04:29:17 +00:00
Jose Diaz-Gonzalez
9231672382 Merge pull request #5416 from dokku/dependabot/docker/tests/apps/dockerfile-procfile/node-19-alpine
chore(deps): bump node from 18-alpine to 19-alpine in /tests/apps/dockerfile-procfile
2022-10-20 00:21:33 -04:00
Jose Diaz-Gonzalez
3415aeff2e Merge pull request #5415 from dokku/dependabot/docker/tests/apps/dockerfile/node-19-alpine
chore(deps): bump node from 18-alpine to 19-alpine in /tests/apps/dockerfile
2022-10-20 00:21:25 -04:00
Jose Diaz-Gonzalez
2df12dae19 Merge pull request #5413 from dokku/dependabot/github_actions/ibiqlik/action-yamllint-3.1.1
chore(deps): bump ibiqlik/action-yamllint from 3.1.0 to 3.1.1
2022-10-20 00:20:48 -04:00
dependabot[bot]
1066f1d3bf chore(deps): bump node in /tests/apps/dockerfile-procfile
Bumps node from 18-alpine to 19-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 13:59:48 +00:00
dependabot[bot]
c44ad37f43 chore(deps): bump node in /tests/apps/dockerfile
Bumps node from 18-alpine to 19-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 13:59:48 +00:00
dependabot[bot]
1e4b27cdab chore(deps): bump ibiqlik/action-yamllint from 3.1.0 to 3.1.1
Bumps [ibiqlik/action-yamllint](https://github.com/ibiqlik/action-yamllint) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/ibiqlik/action-yamllint/releases)
- [Commits](81e214fd48...2576378a8e)

---
updated-dependencies:
- dependency-name: ibiqlik/action-yamllint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 14:06:16 +00:00
Dokku Bot
1b1bba683f Release 0.28.3
# History

## 0.28.3

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.28.3/bootstrap.sh
sudo DOKKU_TAG=v0.28.3 bash bootstrap.sh
```

### New Features

- #5394: @josegonzalez Add support for automatically updating Dockerfile FROM statements via dependabot

### Other

- #5411: @dependabot[bot] chore(deps): bump python from 3.8-buster to 3.10.0-buster in /tests/apps/dockerfile-release
- #5400: @dependabot[bot] chore(deps): bump node from 4-alpine to 18-alpine in /tests/apps/dockerfile-procfile
- #5405: @dependabot[bot] chore(deps): bump node from 4-alpine to 18-alpine in /tests/apps/dockerfile
- #5397: @dependabot[bot] chore(deps): bump ruby from 2.5.1 to 3.1.2 in /tests/apps/dockerfile-entrypoint
- #5401: @dependabot[bot] chore(deps): bump golang from 1.17.1 to 1.19.2 in /tests/apps/go-fail-postdeploy
- #5403: @dependabot[bot] chore(deps): bump golang from 1.17.1 to 1.19.2 in /tests/apps/zombies-dockerfile-tini
- #5407: @dependabot[bot] chore(deps): bump python from 3.10-alpine to 3.10.8-alpine in /docs/_build
- #5404: @dependabot[bot] chore(deps): bump node from 4-alpine to 18-alpine in /tests/apps/dockerfile-dokku-scale
- #5402: @dependabot[bot] chore(deps): bump node from 4-alpine to 18-alpine in /tests/apps/dockerfile-procfile-bad
- #5398: @dependabot[bot] chore(deps): bump golang from 1.17.1 to 1.19.2 in /tests/apps/go-fail-predeploy
- #5396: @dependabot[bot] chore(deps): bump golang from 1.17.1 to 1.19.2 in /tests/apps/gogrpc
- #5399: @dependabot[bot] chore(deps): bump golang from 1.17.1 to 1.19.2 in /tests/apps/zombies-dockerfile-no-tini
- #5395: @dependabot[bot] chore(deps): bump node from 4-alpine to 18-alpine in /tests/apps/dockerfile-noexpose
2022-10-15 23:39:38 +00:00
Jose Diaz-Gonzalez
24a37b08df Merge pull request #5411 from dokku/dependabot/docker/tests/apps/dockerfile-release/python-3.10.0-buster
chore(deps): bump python from 3.8-buster to 3.10.0-buster in /tests/apps/dockerfile-release
2022-10-15 14:40:25 -04:00
Jose Diaz-Gonzalez
7c48f0e339 Merge pull request #5400 from dokku/dependabot/docker/tests/apps/dockerfile-procfile/node-18-alpine
chore(deps): bump node from 4-alpine to 18-alpine in /tests/apps/dockerfile-procfile
2022-10-15 13:49:59 -04:00
Jose Diaz-Gonzalez
98ccb9cb65 Merge pull request #5405 from dokku/dependabot/docker/tests/apps/dockerfile/node-18-alpine
chore(deps): bump node from 4-alpine to 18-alpine in /tests/apps/dockerfile
2022-10-15 13:36:06 -04:00
Jose Diaz-Gonzalez
22c919d4e3 Merge pull request #5397 from dokku/dependabot/docker/tests/apps/dockerfile-entrypoint/ruby-3.1.2
chore(deps): bump ruby from 2.5.1 to 3.1.2 in /tests/apps/dockerfile-entrypoint
2022-10-15 13:28:03 -04:00
Jose Diaz-Gonzalez
cd9274a601 fix: update entrypoint used for node:18-alpine 2022-10-15 12:28:34 -04:00
Jose Diaz-Gonzalez
e961cf1c0f fix: update python version for dockerfile dependency 2022-10-15 12:21:29 -04:00
Jose Diaz-Gonzalez
7061fbbc60 Merge pull request #5401 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.19.2
chore(deps): bump golang from 1.17.1 to 1.19.2 in /tests/apps/go-fail-postdeploy
2022-10-15 11:42:23 -04:00
dependabot[bot]
f0ff6d9a49 chore(deps): bump python in /tests/apps/dockerfile-release
Bumps python from 3.8-buster to 3.10.0-buster.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 23:11:20 +00:00
dependabot[bot]
53c23b32cb chore(deps): bump golang in /tests/apps/go-fail-postdeploy
Bumps golang from 1.17.1 to 1.19.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 23:11:09 +00:00
dependabot[bot]
4b1c9d53f5 chore(deps): bump node in /tests/apps/dockerfile
Bumps node from 4-alpine to 18-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 23:10:51 +00:00
dependabot[bot]
dce59e2e41 chore(deps): bump node in /tests/apps/dockerfile-procfile
Bumps node from 4-alpine to 18-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 23:10:50 +00:00
Jose Diaz-Gonzalez
b2e27e24d4 Merge pull request #5403 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.19.2
chore(deps): bump golang from 1.17.1 to 1.19.2 in /tests/apps/zombies-dockerfile-tini
2022-10-14 19:10:43 -04:00
Jose Diaz-Gonzalez
441436df66 Merge pull request #5407 from dokku/dependabot/docker/docs/_build/python-3.10.8-alpine
chore(deps): bump python from 3.10-alpine to 3.10.8-alpine in /docs/_build
2022-10-14 19:10:29 -04:00
dependabot[bot]
d810b88648 chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
Bumps golang from 1.17.1 to 1.19.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 23:10:25 +00:00
Jose Diaz-Gonzalez
0950d5bb67 Merge pull request #5404 from dokku/dependabot/docker/tests/apps/dockerfile-dokku-scale/node-18-alpine
chore(deps): bump node from 4-alpine to 18-alpine in /tests/apps/dockerfile-dokku-scale
2022-10-14 19:09:44 -04:00
Jose Diaz-Gonzalez
bea3ad5d72 Merge pull request #5402 from dokku/dependabot/docker/tests/apps/dockerfile-procfile-bad/node-18-alpine
chore(deps): bump node from 4-alpine to 18-alpine in /tests/apps/dockerfile-procfile-bad
2022-10-14 19:09:34 -04:00
Jose Diaz-Gonzalez
c86d6cb326 Merge pull request #5398 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.19.2
chore(deps): bump golang from 1.17.1 to 1.19.2 in /tests/apps/go-fail-predeploy
2022-10-14 19:09:12 -04:00
Jose Diaz-Gonzalez
adfbb5012c Merge pull request #5396 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.19.2
chore(deps): bump golang from 1.17.1 to 1.19.2 in /tests/apps/gogrpc
2022-10-14 19:08:51 -04:00
dependabot[bot]
9c426d8f68 chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.17.1 to 1.19.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 05:19:39 +00:00
dependabot[bot]
388fb9a3ae chore(deps): bump golang from 1.17.1 to 1.19.2 in /tests/apps/gogrpc
Bumps golang from 1.17.1 to 1.19.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 05:19:39 +00:00
dependabot[bot]
d290f819a1 chore(deps): bump node in /tests/apps/dockerfile-dokku-scale
Bumps node from 4-alpine to 18-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 05:19:18 +00:00
dependabot[bot]
faed5e359d chore(deps): bump node in /tests/apps/dockerfile-procfile-bad
Bumps node from 4-alpine to 18-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 05:18:52 +00:00
Jose Diaz-Gonzalez
d880454ffa Merge pull request #5399 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.19.2
chore(deps): bump golang from 1.17.1 to 1.19.2 in /tests/apps/zombies-dockerfile-no-tini
2022-10-14 01:18:51 -04:00
Jose Diaz-Gonzalez
d82c57e003 Merge pull request #5395 from dokku/dependabot/docker/tests/apps/dockerfile-noexpose/node-18-alpine
chore(deps): bump node from 4-alpine to 18-alpine in /tests/apps/dockerfile-noexpose
2022-10-14 01:17:51 -04:00
dependabot[bot]
77ea355bca chore(deps): bump python in /docs/_build
Bumps python from 3.10-alpine to 3.10.8-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 01:20:04 +00:00
dependabot[bot]
5d9e70d155 chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
Bumps golang from 1.17.1 to 1.19.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 01:19:46 +00:00
dependabot[bot]
89fcbe42d9 chore(deps): bump ruby in /tests/apps/dockerfile-entrypoint
Bumps ruby from 2.5.1 to 3.1.2.

---
updated-dependencies:
- dependency-name: ruby
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 01:19:45 +00:00
dependabot[bot]
de1f03c72b chore(deps): bump node in /tests/apps/dockerfile-noexpose
Bumps node from 4-alpine to 18-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 01:19:43 +00:00
Jose Diaz-Gonzalez
e1c74fe305 Merge pull request #5394 from dokku/dependabot-dockerfile
Add support for automatically updating Dockerfile FROM statements via dependabot
2022-10-13 21:19:16 -04:00
Jose Diaz-Gonzalez
ffd4c3470e feat: add support for automatically updating Dockerfile FROM statements via dependabot
There are quite a few images that won't build on ARM, so getting these up to date on a more regular basis is important for local development on M1 Macs (selfish, I know).
2022-10-13 21:18:17 -04:00
Dokku Bot
6cda8189f2 Release 0.28.2
# History

## 0.28.2

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.28.2/bootstrap.sh
sudo DOKKU_TAG=v0.28.2 bash bootstrap.sh
```

### Bug Fixes

- #5393: @josegonzalez Correct issue with replacing the version in the installation guide
- #5354: @josegonzalez Report the correct value for the letsencrypt server
- #5347: @josegonzalez Set correct version on builder-lambda plugin

### New Features

- #5392: @josegonzalez Add support for devcontainers on ARM64 instances

### Documentation

- #5365: @josegonzalez Use correct indentation for embedded list in remote commands documentation
- #5357: @josegonzalez Reference blog on main domain
- #5355: @josegonzalez Autogenerate documentation in CI
- #5351: @josegonzalez Fix formatting on list in deployment tasks
- #5328: @holtergram Call out git remote change when renaming an app
- #5344: @josegonzalez Generate docs via mkdocs
- #5342: @josegonzalez Ensure doc links work on github as well as on docs site
- #5336: @josegonzalez Add note about docker-compose requirement for using the caddy plugin
- #5337: @josegonzalez Add note about docker-compose requirement for using the traefik…
- #5332: @cdubz Remove errant semicolon from wget command
- #5329: @josegonzalez Use updated url for gliderlabs slack invite app
- #5315: @alexislefebvre Fix doc link for systems with less than 1GB memory

### Other

- #5382: @dependabot[bot] chore(deps): bump sinatra from 2.2.2 to 3.0.2 in /tests/apps/ruby
- #5386: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 224 to 225 in /tests/apps/php
- #5361: @dependabot[bot] chore(deps): bump jetty-servlet from 11.0.11 to 11.0.12 in /tests/apps/java
- #5346: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 223 to 224 in /tests/apps/php
2022-10-13 04:13:09 +00:00
Jose Diaz-Gonzalez
e63dbcd132 Merge pull request #5393 from dokku/josegonzalez-patch-1
Correct issue with replacing the version in the installation guide
2022-10-13 00:11:45 -04:00
Jose Diaz-Gonzalez
716326573c fix: correct issue with replacing the version in the installation guide 2022-10-13 00:11:37 -04:00
Jose Diaz-Gonzalez
99e2e0ea68 Merge pull request #5392 from dokku/vscode-arm
Add support for devcontainers on ARM64 instances
2022-10-13 00:09:30 -04:00
Jose Diaz-Gonzalez
674cb2b6eb docs: document development in a dev container
The process is roughly the same as in a VM.
2022-10-12 22:41:47 -04:00
Jose Diaz-Gonzalez
d9e584f5a1 docs: split out testing documentation a bit 2022-10-12 22:08:50 -04:00
Jose Diaz-Gonzalez
a39a47b3ae feat: respect TARGETARCH when installing development dependencies 2022-10-12 21:53:11 -04:00
Jose Diaz-Gonzalez
dfcce1c6a6 fix: ensure we install the golang for the correct architecture
TARGETARCH is an automatic build-arg that docker injects - https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope - so this is safe to depend on.
2022-10-12 21:51:52 -04:00
Jose Diaz-Gonzalez
8cb708b8f7 Merge pull request #5382 from dokku/dependabot/bundler/tests/apps/ruby/sinatra-3.0.2
chore(deps): bump sinatra from 2.2.2 to 3.0.2 in /tests/apps/ruby
2022-10-11 18:52:55 -07:00
Jose Diaz-Gonzalez
f8489efe17 Merge pull request #5386 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-225
chore(deps-dev): bump heroku/heroku-buildpack-php from 224 to 225 in /tests/apps/php
2022-10-11 18:52:42 -07:00
dependabot[bot]
7843738a2f 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 224 to 225.
- [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/v224...v225)

---
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-10-06 13:13:36 +00:00
dependabot[bot]
300aacfa5b chore(deps): bump sinatra from 2.2.2 to 3.0.2 in /tests/apps/ruby
Bumps [sinatra](https://github.com/sinatra/sinatra) from 2.2.2 to 3.0.2.
- [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.2.2...v3.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 13:06:59 +00:00
Jose Diaz-Gonzalez
b72a2544ab Merge pull request #5365 from dokku/josegonzalez-patch-1
Use correct indentation for embedded list in remote commands documentation
2022-09-19 13:30:33 -04:00
Jose Diaz-Gonzalez
1474297397 docs: use correct indentation for embedded list in remote commands documentation 2022-09-19 13:29:47 -04:00
Jose Diaz-Gonzalez
02c304fada Merge pull request #5361 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.12
chore(deps): bump jetty-servlet from 11.0.11 to 11.0.12 in /tests/apps/java
2022-09-16 10:25:11 -04:00
dependabot[bot]
64706f021c chore(deps): bump jetty-servlet in /tests/apps/java
Bumps [jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.11 to 11.0.12.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.11...jetty-11.0.12)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-servlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-16 13:10:22 +00:00
Jose Diaz-Gonzalez
10c222839d Merge pull request #5357 from dokku/unify-blog
Reference blog on main domain
2022-09-11 15:00:40 -04:00
Jose Diaz-Gonzalez
a3ca2a56b8 docs: reference blog on main domain
The blog is now backed by mkdocs and has been moved to a subdirectory of dokku.com.
2022-09-11 15:00:17 -04:00
Jose Diaz-Gonzalez
bdf12179fa fix: sort files 2022-09-10 16:11:16 -04:00
Jose Diaz-Gonzalez
674de032f8 fix: run shfmt 2022-09-10 16:09:19 -04:00
Jose Diaz-Gonzalez
807ae5e651 chore: drop debug statement 2022-09-10 16:06:00 -04:00
Jose Diaz-Gonzalez
bf26d32495 fix: setup correct python version for generating docs 2022-09-10 16:05:37 -04:00
Jose Diaz-Gonzalez
b23eb8f330 debug: output the current version file for debugging 2022-09-10 16:01:29 -04:00
Jose Diaz-Gonzalez
c715857ac7 fix: ensure the generated site is owned by the CI user 2022-09-10 15:54:39 -04:00
Jose Diaz-Gonzalez
a74ab40494 debug: note the current user and owner of files 2022-09-10 15:09:27 -04:00
Jose Diaz-Gonzalez
7316b6322c fix: ensure the docs image is generated 2022-09-10 15:03:52 -04:00
Jose Diaz-Gonzalez
14752ac407 Merge pull request #5355 from dokku/autogenerate-docs
Autogenerate documentation in CI
2022-09-10 14:59:37 -04:00
Jose Diaz-Gonzalez
3aab81aa7c feat: generate documentation in CI and auto-push to the docs site 2022-09-10 14:53:21 -04:00
Jose Diaz-Gonzalez
bed0e0ce71 feat: clone generated docs site before running docs generation 2022-09-10 14:34:15 -04:00
Jose Diaz-Gonzalez
46b9df3872 Merge pull request #5354 from dokku/caddy-report-output
Report the correct value for the letsencrypt server
2022-09-10 14:26:34 -04:00
Jose Diaz-Gonzalez
a2c8c77dad fix: report the correct value for the letsencrypt server 2022-09-10 00:04:52 -04:00
Jose Diaz-Gonzalez
224dc15f09 Merge pull request #5351 from dokku/josegonzalez-patch-1
Fix formatting on list in deployment tasks
2022-09-08 15:18:57 -04:00
Jose Diaz-Gonzalez
68752c9318 docs: fix formatting on list in deployment tasks 2022-09-08 15:15:26 -04:00
Jose Diaz-Gonzalez
0abbe320f3 Merge pull request #5347 from dokku/josegonzalez-patch-1
Set correct version on builder-lambda plugin
2022-09-06 22:32:08 -04:00
Jose Diaz-Gonzalez
59c7144255 fix: set correct version on builder-lambda plugin 2022-09-06 22:31:55 -04:00
Jose Diaz-Gonzalez
c5d282dcd1 Merge pull request #5328 from holtergram/patch-1
Update docs: Added Git change remote
2022-09-06 22:21:11 -04:00
Jose Diaz-Gonzalez
87c11ca077 Merge pull request #5346 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-224
chore(deps-dev): bump heroku/heroku-buildpack-php from 223 to 224 in /tests/apps/php
2022-09-06 22:20:32 -04:00
dependabot[bot]
bf13a6fd97 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 223 to 224.
- [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/v223...v224)

---
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-09-06 13:12:46 +00:00
Jose Diaz-Gonzalez
75beecf65b Merge pull request #5344 from dokku/mkdocs-support
Generate docs via mkdocs
2022-09-05 22:00:41 -04:00
Jose Diaz-Gonzalez
8845715959 fix: correct current version 2022-09-05 21:53:34 -04:00
Jose Diaz-Gonzalez
c2a170b6ec chore: use normal blog link for now 2022-09-05 21:49:04 -04:00
Jose Diaz-Gonzalez
4ed1bcb3f4 chore: fix formatting 2022-09-05 21:45:46 -04:00
Jose Diaz-Gonzalez
dd26a82646 fix: add note about existing docs 2022-09-05 21:33:26 -04:00
Jose Diaz-Gonzalez
9ab58d6f33 feat: cleanup output and only ever generate latest docs for a version 2022-09-05 21:31:55 -04:00
Jose Diaz-Gonzalez
9cb54fc742 chore: silence command 2022-09-05 21:28:05 -04:00
Jose Diaz-Gonzalez
80924a0c31 fix: do not use unsupported hyphens in block name 2022-09-05 21:22:19 -04:00
Jose Diaz-Gonzalez
4b086ff8a4 chore: hide outdated message for latest docs 2022-09-05 21:21:06 -04:00
Jose Diaz-Gonzalez
b53a8526cd fix: add latest alias to latest docs 2022-09-05 21:20:42 -04:00
Jose Diaz-Gonzalez
401183fdd8 feat: use absolute url 2022-09-05 21:20:16 -04:00
Jose Diaz-Gonzalez
a862bdaf88 feat: add override 2022-09-05 21:02:44 -04:00
Jose Diaz-Gonzalez
e77e8d71bd fix: redirect to the correct page for old doc versions 2022-09-05 20:58:29 -04:00
Jose Diaz-Gonzalez
344d2e83ad fix: ensure the versions are sorted 2022-09-05 20:41:40 -04:00
Jose Diaz-Gonzalez
4c9deedba9 fix: rewrite home logo link in index.html 2022-09-05 20:25:41 -04:00
Jose Diaz-Gonzalez
460edc8b3e fix: remove unneeded variables 2022-09-05 20:24:57 -04:00
Jose Diaz-Gonzalez
98117db6a5 feat: write the mkdocs version 2022-09-05 20:20:52 -04:00
Jose Diaz-Gonzalez
cf92615936 feat: add social links to footer 2022-09-05 19:38:46 -04:00
Jose Diaz-Gonzalez
11b640c0b8 fix: drop trace output 2022-09-05 19:28:33 -04:00
Jose Diaz-Gonzalez
48ddbb4279 feat: ensure we build the app with the static buildpack 2022-09-05 19:28:20 -04:00
Jose Diaz-Gonzalez
3240491113 fix: ensure the assets are always up to date 2022-09-05 19:28:05 -04:00
Jose Diaz-Gonzalez
1d232aae89 fix: add missing / 2022-09-05 19:04:53 -04:00
Jose Diaz-Gonzalez
d3890fee9f feat: add rewrites for older versions 2022-09-05 19:03:56 -04:00
Jose Diaz-Gonzalez
8fe33a0e41 docs: copy the extra css to subsites 2022-09-05 17:35:48 -04:00
Jose Diaz-Gonzalez
d560ee13e0 docs: switch to the acquamarine color 2022-09-05 17:35:30 -04:00
Jose Diaz-Gonzalez
1d5c9edbd2 docs: use an easier to understand icon for toggling light mode 2022-09-05 17:35:17 -04:00
Jose Diaz-Gonzalez
4b0a40a20c docs: add navigation indexes for installations and upgrades 2022-09-05 17:29:09 -04:00
Jose Diaz-Gonzalez
47c1bfe26d docs: rename upgrading index to allow supporting navigation indexes 2022-09-05 17:18:00 -04:00
Jose Diaz-Gonzalez
01531c3986 docs: cleanup links to renamed docs 2022-09-05 16:49:56 -04:00
Jose Diaz-Gonzalez
d3a5289156 docs: turn absolute links into relative links
This is necessary as links in mkdocs must be relative.
2022-09-05 16:46:13 -04:00
Jose Diaz-Gonzalez
fa7de79faf docs: cleanup whitespace in codeblocks 2022-09-05 15:38:49 -04:00
Jose Diaz-Gonzalez
db11f1f15f docs: remove unnecessary link
This is duplicated through a redirect.
2022-09-05 15:28:46 -04:00
Jose Diaz-Gonzalez
0d6263c9b5 chore: drop extra print 2022-09-05 15:27:52 -04:00
Jose Diaz-Gonzalez
ab0b127778 chore: update build dependencies 2022-09-05 15:16:37 -04:00
Jose Diaz-Gonzalez
062aa7aa43 docs: add code for generating documentation from all old versions of dokku
This generates the appropriate versions for our usage, in addition to ensuring the markdown is of a format that mkdocs understands.
2022-09-05 14:49:56 -04:00
Jose Diaz-Gonzalez
f7905b4943 docs: add code for building docs in ci 2022-09-05 14:46:55 -04:00
Jose Diaz-Gonzalez
08b77b62d4 docs: add initial files for mkdocs support 2022-09-05 14:46:22 -04:00
Jose Diaz-Gonzalez
b8907d1f8e docs: update page titles to match sidebar 2022-09-05 14:43:45 -04:00
Jose Diaz-Gonzalez
9b05b9c2f4 Merge pull request #5342 from dokku/docs-links
Ensure doc links work on github as well as on docs site
2022-09-03 01:14:09 -04:00
Jose Diaz-Gonzalez
0b097b9b87 docs: ensure doc links work on github as well as on docs site 2022-09-03 01:13:31 -04:00
Jose Diaz-Gonzalez
ece77aa8c4 Merge pull request #5336 from dokku/5335-caddy
Add note about docker-compose requirement for using the caddy plugin
2022-08-30 13:29:05 -04:00
Jose Diaz-Gonzalez
0b5743a74c Merge pull request #5337 from dokku/5335-traefik
Add note about docker-compose requirement for using the traefik…
2022-08-30 13:27:57 -04:00
Jose Diaz-Gonzalez
66d2694751 docs: add note about docker-compose requirement for using the traefik plugin 2022-08-30 13:27:26 -04:00
Jose Diaz-Gonzalez
46ee448489 docs: add note about docker-compose requirement for using the caddy plugin 2022-08-30 13:27:24 -04:00
Jose Diaz-Gonzalez
953a2636a4 Merge pull request #5332 from cdubz/patch-1
Remove errant semicolon from wget command
2022-08-29 11:52:53 -04:00
Christopher Charbonneau Wells
1d1daafc07 Remove errant semicolon
Running the command with the semicolon results in a 404 Not Found.
2022-08-28 19:35:47 -07:00
Jose Diaz-Gonzalez
19ed0b00ea Merge pull request #5329 from dokku/update-invite-links
Use updated url for gliderlabs slack invite app
2022-08-25 18:20:01 -04:00
Jose Diaz-Gonzalez
18e787d65f docs: use updated url for gliderlabs slack invite app 2022-08-25 18:19:33 -04:00
holtergram
548013e46f Update docs: Added Git change remote
In order to make `git push` work after renaming an app the hint was added to update the remote url
2022-08-25 22:39:38 +02:00
Jose Diaz-Gonzalez
69738abec2 feat: add json format output to run:list
Also add some unit tests to the command.

Closes #5171
2022-08-22 22:37:04 -04:00
Jose Diaz-Gonzalez
6348126f0c docs: add missing upgrade guide 2022-08-22 21:47:54 -04:00
Jose Diaz-Gonzalez
0fd909b277 Merge pull request #5315 from alexislefebvre/patch-1
Fix link to system < 1GB memory
2022-08-18 17:49:42 -04:00
Alexis Lefebvre
563293d1ff Fix link to system < 1GB memory 2022-08-18 23:43:49 +02:00
Dokku Bot
9d87bdf93b Release 0.28.1
# History

## 0.28.1

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.28.1/bootstrap.sh
sudo DOKKU_TAG=v0.28.1 bash bootstrap.sh
```

### Bug Fixes

- #5313: @josegonzalez Fix issues with multiple domains in new proxy plugins
2022-08-18 20:53:49 +00:00
Jose Diaz-Gonzalez
702fb6c330 Merge pull request #5313 from dokku/5311-proxy-tests
Fix issues with multiple domains in new proxy plugins
2022-08-18 16:53:07 -04:00
Jose Diaz-Gonzalez
16dd0adb35 fix: drop extra quote on LE server 2022-08-18 13:10:47 -04:00
Jose Diaz-Gonzalez
c9caa0880f tests: add unit tests and support multiple routers/services in traefik 2022-08-18 11:13:34 -04:00
Jose Diaz-Gonzalez
801fc5d78c fix: ensure we don't output anything extra in tests 2022-08-18 11:13:01 -04:00
Jose Diaz-Gonzalez
741ffc635c fix: fix issue with multiple domain support for caddy 2022-08-18 10:53:08 -04:00
Jose Diaz-Gonzalez
591fe8642d fix: correct help output for traefik 2022-08-18 10:50:46 -04:00
Jose Diaz-Gonzalez
3a44c414d1 fix: correct help output for caddy 2022-08-18 10:50:39 -04:00
Dokku Bot
5276543ee5 Release 0.28.0
# History

## 0.28.0

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.28.0/bootstrap.sh
sudo DOKKU_TAG=v0.28.0 bash bootstrap.sh
```

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

### Bug Fixes

- #5299: @josegonzalez Do not trigger restarts when mutating config globally
- #5298: @josegonzalez Set core.bare=true on correct repository path

### New Features

- #5300: @josegonzalez Add the ability to disable the init process
- #5295: @josegonzalez Add an official caddy proxy implementation
- #5293: @josegonzalez Add an official traefik proxy implementation
- #5202: @josegonzalez Add builder-lambda plugin

### Documentation

- #5296: @janlavicka Fix typo in kubernetes docs
- #5288: @josegonzalez Do not have bottom border float on page
- #5283: @alexgleason Homepage: fix link in quick install guide

### Other

- #5297: @josegonzalez Update vector image
- #5294: @josegonzalez Document and enable alternative proxy implementations
- #5291: @dependabot[bot] chore(deps): bump werkzeug from 2.2.1 to 2.2.2 in /tests/apps/python-flask
- #5292: @dependabot[bot] chore(deps): bump flask from 2.2.1 to 2.2.2 in /tests/apps/multi
- #5290: @dependabot[bot] chore(deps): bump flask from 2.2.1 to 2.2.2 in /tests/apps/python-flask
- #5227: @josegonzalez Drop forwarded port from vagrant setup
- #5285: @josegonzalez Update all development dependencies
- #5240: @josegonzalez Drop support for CentOS, Fedora, OpenSuse, as well as Debian 9
- #5281: @dependabot[bot] chore(deps): bump flask from 2.1.3 to 2.2.1 in /tests/apps/multi
- #5280: @dependabot[bot] chore(deps): bump flask from 2.1.3 to 2.2.1 in /tests/apps/python-flask
- #5284: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 222 to 223 in /tests/apps/php
2022-08-17 18:29:17 +00:00
Jose Diaz-Gonzalez
4ce71cb6db Merge pull request #5300 from dokku/5287-disable-init
Add the ability to disable the init process
2022-08-15 16:23:14 -04:00
Jose Diaz-Gonzalez
f09b960997 tests: add a unit test for the init-process option 2022-08-14 13:45:41 -04:00
Jose Diaz-Gonzalez
e15f411939 Merge pull request #5299 from dokku/5289-no-global-restarts
Do not trigger restarts when mutating config globally
2022-08-11 15:50:17 -04:00
Jose Diaz-Gonzalez
58af38a9ab Merge pull request #5298 from dokku/5275-git-bare
Set core.bare=true on correct repository path
2022-08-11 15:50:07 -04:00
Jose Diaz-Gonzalez
bc4eaa002f fix: correct shfmt issue 2022-08-11 13:07:00 -04:00
Jose Diaz-Gonzalez
78ad3f59b1 Merge pull request #5297 from dokku/update-vector
Update vector image
2022-08-11 13:06:12 -04:00
Jose Diaz-Gonzalez
045825857a fix: add missing source and respect any user settings for init-process property 2022-08-11 11:51:31 -04:00
Jose Diaz-Gonzalez
293ead4f35 feat: force-disable the --init flag for linuxserver images
All linuxserver images uses S6, and there are enough of them that this makes sense to autodetect on behalf of users.
2022-08-10 21:33:08 -04:00
Jose Diaz-Gonzalez
c4c6ac5617 feat: add the ability to disable the init process
This allows projects using s6 overlay - in particular linxserver images - the ability to disable --init flag injection.

Closes #5287
2022-08-10 21:32:55 -04:00
Jose Diaz-Gonzalez
414c891c6c fix: do not trigger restarts when mutating config globally
Closes #5289
2022-08-10 17:01:31 -04:00
Jose Diaz-Gonzalez
deeb18b56c fix: set core.bare=true on correct repository path
Closes #5275
2022-08-10 16:51:17 -04:00
Jose Diaz-Gonzalez
f60e0d7c8a feat: update vector image
Also drop value for --watch-config flag, as this is now properly parsed as a boolean value.

Refs #5197
2022-08-10 16:46:56 -04:00
Jose Diaz-Gonzalez
6a3933213c Merge pull request #5295 from dokku/caddy-proxy
Add an official caddy proxy implementation
2022-08-10 16:08:08 -04:00
Jose Diaz-Gonzalez
8b2afbadc2 Merge pull request #5296 from janlavicka/docs-kubernetes
docs: fix typo in kubernetes docs
2022-08-10 14:34:43 -04:00
Jan Lavička
403da909cb docs: fix typo in kubernetes docs 2022-08-10 18:26:27 +00:00
Jose Diaz-Gonzalez
d749a400a2 docs: add new notes 2022-08-10 14:23:17 -04:00
Jose Diaz-Gonzalez
a7d5fb69e2 docs: add migration note 2022-08-10 14:15:05 -04:00
Jose Diaz-Gonzalez
e66671f3c5 feat: implement the caddy plugin
This plugin uses a docker-compose based Caddy installation in conjunction with injected container labels to route requests. It only exposes the minimal necessary for routing traffic to docker containers. Users wishing to customize further labels may explore using the docker-options plugin to attach additional labels during the 'deploy' phase.
2022-08-10 14:13:19 -04:00
Jose Diaz-Gonzalez
583cbc7326 docs: cleanup proxy plugin headers 2022-08-10 14:08:10 -04:00
Jose Diaz-Gonzalez
d32f0fe2b5 docs: add a warning for using multiple proxy services 2022-08-10 14:06:05 -04:00
Jose Diaz-Gonzalez
9c6380f07d chore: update compose version 2022-08-10 13:56:29 -04:00
Jose Diaz-Gonzalez
ea7299eef7 fix: do not expose port 443 if no letsencrypt email is set 2022-08-10 13:56:18 -04:00
Jose Diaz-Gonzalez
d5085d3156 feat: expose letsencrypt-server property for traefik plugin 2022-08-10 13:56:06 -04:00
Jose Diaz-Gonzalez
8ab44f1ab0 Merge pull request #5293 from dokku/traefik-proxy
Add an official traefik proxy implementation
2022-08-10 12:06:19 -04:00
Jose Diaz-Gonzalez
12d5bc4649 refactor: use http and https as traefik entrypoints
This makes it a bit more clear as to where things are being redirected for web containers.

Also gate the https entrypoint behind the letsencrypt integration.
2022-08-10 05:20:54 -04:00
Jose Diaz-Gonzalez
bebb05268c feat: restart traefik automatically unless stopped 2022-08-10 05:20:54 -04:00
Jose Diaz-Gonzalez
aeaf8e78f1 fix: run shfmt 2022-08-10 05:20:54 -04:00
Jose Diaz-Gonzalez
b66a8e6181 docs: note that requests are routed once the container is running. 2022-08-10 05:20:54 -04:00
Jose Diaz-Gonzalez
8fe122ffbd feat: implement the traefik plugin
This plugin uses a docker-compose based Traefik installation in conjunction with injected container labels to route requests. It only exposes the minimal necessary for routing traffic to docker containers. Users wishing to customize further labels may explore using the docker-options plugin to attach additional labels during the 'deploy' phase.
2022-08-10 05:20:54 -04:00
Jose Diaz-Gonzalez
45e250443c Merge pull request #5294 from dokku/alternative-proxies
Document and enable alternative proxy implementations
2022-08-10 05:20:41 -04:00
Jose Diaz-Gonzalez
f4c886e10f Merge pull request #5291 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-2.2.2
chore(deps): bump werkzeug from 2.2.1 to 2.2.2 in /tests/apps/python-flask
2022-08-10 05:10:46 -04:00
Jose Diaz-Gonzalez
40c5cd089a Merge pull request #5292 from dokku/dependabot/pip/tests/apps/multi/flask-2.2.2
chore(deps): bump flask from 2.2.1 to 2.2.2 in /tests/apps/multi
2022-08-10 05:10:38 -04:00
Jose Diaz-Gonzalez
823928a44c Merge pull request #5290 from dokku/dependabot/pip/tests/apps/python-flask/flask-2.2.2
chore(deps): bump flask from 2.2.1 to 2.2.2 in /tests/apps/python-flask
2022-08-10 05:10:29 -04:00
Jose Diaz-Gonzalez
98feb988fa feat: implement nginx:start and nginx:stop commands 2022-08-10 04:23:05 -04:00
Jose Diaz-Gonzalez
b605de522c refactor: split out proxy port configuration into it's own trigger
This will allow it to be called by plugins other than the nginx-vhosts one.
2022-08-10 04:23:05 -04:00
Jose Diaz-Gonzalez
707cafd26d fix: correct the required networking suffix 2022-08-10 04:23:05 -04:00
Jose Diaz-Gonzalez
f2c7392276 docs: add documentation for implementing a proxy 2022-08-10 04:23:05 -04:00
Jose Diaz-Gonzalez
f094ea1f72 chore: move nginx docs to new proxies location 2022-08-10 04:23:05 -04:00
dependabot[bot]
ebed512dbc chore(deps): bump flask from 2.2.1 to 2.2.2 in /tests/apps/multi
Bumps [flask](https://github.com/pallets/flask) from 2.2.1 to 2.2.2.
- [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.2.1...2.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 13:14:28 +00:00
dependabot[bot]
8cef4a4f5d chore(deps): bump werkzeug in /tests/apps/python-flask
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.2.1...2.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 13:14:12 +00:00
dependabot[bot]
36e93cab03 chore(deps): bump flask from 2.2.1 to 2.2.2 in /tests/apps/python-flask
Bumps [flask](https://github.com/pallets/flask) from 2.2.1 to 2.2.2.
- [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.2.1...2.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 13:14:08 +00:00
Jose Diaz-Gonzalez
c4de27a4a6 Merge pull request #5202 from dokku/builder-lambda 2022-08-09 04:46:46 -04:00
Jose Diaz-Gonzalez
6caf4e6039 fix: use newer lambda-builder 2022-08-09 02:34:04 -04:00
Jose Diaz-Gonzalez
7cc84dcdbe tests: add unit test for lambda builder 2022-08-09 02:13:06 -04:00
Jose Diaz-Gonzalez
65b9c6aa3e fix: delete the data dir for the app after the app is deleted 2022-08-09 02:12:27 -04:00
Jose Diaz-Gonzalez
2959fdd154 fix: create the data directory for an app as necessary 2022-08-09 02:11:48 -04:00
Jose Diaz-Gonzalez
a71e4219be fix: set the correct image source type based on label
We also have a special carveout for herokuish as folks may deploy built images with it.
2022-08-09 02:11:32 -04:00
Jose Diaz-Gonzalez
30e279b6b9 fix: suppress labeling output for the dockerfile builder 2022-08-09 02:10:46 -04:00
Jose Diaz-Gonzalez
216647890e Merge pull request #5288 from dokku/josegonzalez-patch-1
Do not have bottom border float on page
2022-08-08 22:33:19 -04:00
Jose Diaz-Gonzalez
9c3876045a fix: do not have bottom border float on page
This covers up some of the content.
2022-08-08 22:33:06 -04:00
Jose Diaz-Gonzalez
86d7b6b649 docs: fix path for alternative lamba.yml 2022-08-08 15:15:29 -04:00
Jose Diaz-Gonzalez
d91957b969 fix: use correct path for source call 2022-08-08 15:15:29 -04:00
Jose Diaz-Gonzalez
5ee0619888 fix: install the lambda-builder package in ci and development 2022-08-08 15:15:28 -04:00
Jose Diaz-Gonzalez
fbd77ee5e8 docs: document the lambda builder 2022-08-08 15:14:49 -04:00
Jose Diaz-Gonzalez
35c248fb5c fix: use correct variable name for lambda.yml path 2022-08-08 15:14:49 -04:00
Jose Diaz-Gonzalez
7eecbefdd0 chore: run shfmt 2022-08-08 15:14:49 -04:00
Jose Diaz-Gonzalez
2715d2a485 chore: drop extra cp statement 2022-08-08 15:14:49 -04:00
Jose Diaz-Gonzalez
951dd98f17 feat: ensure the container is routable by dokku
- Keep the container alive via DOCKER_LAMBDA_STAY_OPEN=1
- Set the default listening port to 5000 (which is what herokuish will use)
2022-08-08 15:14:49 -04:00
Jose Diaz-Gonzalez
8ca71d9ff5 fix: add com.dokku.builder-type label to built image
This will allow schedulers to make decisions when interacting with images from specific builders.
2022-08-08 15:14:49 -04:00
Jose Diaz-Gonzalez
f2e791f48f fix: do not detect builder-lambda on armhf
While the lambda-builder project builds for armhf, the underlying images are not armhf/arm compatible (only arm64).
2022-08-08 15:14:48 -04:00
Jose Diaz-Gonzalez
f549934740 fix: update lambda-builder usage and write out Procfile/lambda.zip 2022-08-08 15:14:48 -04:00
Jose Diaz-Gonzalez
3a09d2217f feat: initial templates for scheduling (not building, but i need them somewhere) 2022-08-08 15:14:48 -04:00
Jose Diaz-Gonzalez
92790b70e8 feat: broken support for lambda-builder
It's currently broken because there are flags in there that aren't actually implemented
2022-08-08 15:14:48 -04:00
Jose Diaz-Gonzalez
02d6813209 scratch: initial implementation 2022-08-08 15:14:48 -04:00
Jose Diaz-Gonzalez
96ef82cbc9 Merge pull request #5227 from dokku/josegonzalez-patch-1
Drop forwarded port from vagrant setup
2022-08-08 15:08:32 -04:00
Jose Diaz-Gonzalez
f9c2251711 Merge branch 'master' into josegonzalez-patch-1 2022-08-08 15:08:22 -04:00
Jose Diaz-Gonzalez
fb73c9e1d9 Merge pull request #5285 from dokku/update-dev-dependencies
Update all development dependencies
2022-08-08 15:07:57 -04:00
Jose Diaz-Gonzalez
15695eded2 Merge pull request #5240 from dokku/drop-unsupported-os
Drop support for CentOS, Fedora, OpenSuse, as well as Debian 9
2022-08-07 18:36:52 -04:00
Jose Diaz-Gonzalez
70fc35c317 chore: drop unsupported operating systems
We will no longer support CentOS, Fedora, and Opensuse as installation targets. These are not actively maintained by anyone with commit rights and occasionally cause issues for users as they are not tested during the release process.

Rather than have subpar support for an untested operating system, we're removing support for them completely. Users of these operating systems should take a look migration to the docker-based installation method, which will always be tested and supported by the project.

Additionally, drop support for Debian 9 as it is now EOL.
2022-08-07 18:36:30 -04:00
Jose Diaz-Gonzalez
0835e7706f Merge pull request #5281 from dokku/dependabot/pip/tests/apps/multi/flask-2.2.1
chore(deps): bump flask from 2.1.3 to 2.2.1 in /tests/apps/multi
2022-08-07 18:34:43 -04:00
Jose Diaz-Gonzalez
c4d1196975 Merge pull request #5280 from dokku/dependabot/pip/tests/apps/python-flask/flask-2.2.1
chore(deps): bump flask from 2.1.3 to 2.2.1 in /tests/apps/python-flask
2022-08-07 18:34:37 -04:00
Jose Diaz-Gonzalez
4ce2d63a0e Merge pull request #5284 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-223
chore(deps-dev): bump heroku/heroku-buildpack-php from 222 to 223 in /tests/apps/php
2022-08-07 18:34:21 -04:00
Jose Diaz-Gonzalez
e4db82aebf chore: update all development dependencies 2022-08-07 14:16:16 -04:00
dependabot[bot]
3f05666d59 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 222 to 223.
- [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/v222...v223)

---
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-08-05 13:10:58 +00:00
Jose Diaz-Gonzalez
35e1ac9825 Merge pull request #5283 from alexgleason/homepage-install-link
Homepage: fix link in quick install guide
2022-08-04 13:59:57 -04:00
Alex Gleason
4a81bce0e7 Homepage: fix link in quick install guide 2022-08-04 12:33:05 -05:00
dependabot[bot]
1d9b8fdda8 chore(deps): bump flask from 2.1.3 to 2.2.1 in /tests/apps/multi
Bumps [flask](https://github.com/pallets/flask) from 2.1.3 to 2.2.1.
- [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.1.3...2.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 13:10:51 +00:00
dependabot[bot]
571a96fc77 chore(deps): bump flask from 2.1.3 to 2.2.1 in /tests/apps/python-flask
Bumps [flask](https://github.com/pallets/flask) from 2.1.3 to 2.2.1.
- [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.1.3...2.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 13:10:45 +00:00
Dokku Bot
63f7f39048 Release 0.27.10
# History

## 0.27.10

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.27.10/bootstrap.sh
sudo DOKKU_TAG=v0.27.10 bash bootstrap.sh
```

### Bug Fixes

- #5276: @d6rkaiz Remove duplicate syntax for nginx.conf

### Other

- #5274: @kennell readme: mention Ubuntu 22.04 compability
2022-08-01 15:09:46 +00:00
Jose Diaz-Gonzalez
ef5a2a9f5b Merge pull request #5276 from d6rkaiz/fix_duplicate_nginxconf
Remove duplicate syntax for nginx.conf
2022-08-01 11:08:50 -04:00
Isao Sugimoto
51547b7688 fix duplicate syntax for nginx.conf 2022-07-31 15:38:53 +00:00
Jose Diaz-Gonzalez
6fe2559c01 Merge pull request #5274 from kennell/patch-1 2022-07-30 17:30:31 -04:00
Kevin Kennell
af069041c5 readme: mention Ubuntu 22.04 compability 2022-07-30 23:30:06 +02:00
Dokku Bot
9192198096 Release 0.27.9
# History

## 0.27.9

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.27.9/bootstrap.sh
sudo DOKKU_TAG=v0.27.9 bash bootstrap.sh
```

### Bug Fixes

- #5273: @josegonzalez Correct issue where more complex docker args were not properly parsed when scheduling containers
- #5272: @josegonzalez Add support for --global as app name when calling config-get trigger
- #5263: @alexgleason Update deprecated apt-key command

### New Features

- #5262: @josegonzalez Run shfmt against all test files
- #5257: @chrisjdixon Move nginx.conf.d includes after all other hard-coded config to allow for overrides

### Other

- #5184: @yasoob New website. Closes #5175
- #5270: @dependabot[bot] chore(deps): bump werkzeug from 2.2.0 to 2.2.1 in /tests/apps/python-flask
- #5265: @dependabot[bot] chore(deps): bump werkzeug from 2.1.2 to 2.2.0 in /tests/apps/python-flask
- #5264: @dependabot[bot] chore(deps): bump sinatra from 2.2.1 to 2.2.2 in /tests/apps/ruby
- #5261: @dependabot[bot] chore(deps): bump luizm/action-sh-checker from 0.4.0 to 0.5.0
- #5258: @dependabot[bot] chore(deps): bump sinatra from 2.2.0 to 2.2.1 in /tests/apps/ruby
2022-07-30 19:42:09 +00:00
Jose Diaz-Gonzalez
d68fbd5e09 Merge pull request #5184 from yasoob/new-website
New website. Closes #5175
2022-07-30 15:41:10 -04:00
Jose Diaz-Gonzalez
39561bde4a Merge pull request #5273 from dokku/complex-docker-args
Correct issue where more complex docker args were not properly parsed when scheduling containers
2022-07-30 12:58:46 -04:00
Jose Diaz-Gonzalez
16090e58c7 Merge pull request #5272 from dokku/5269-global-config-trigger-flag
Add support for --global as app name when calling config-get trigger
2022-07-30 00:49:28 -04:00
Jose Diaz-Gonzalez
d8e9511769 fix: correct issue where more complex docker args were not properly parsed when scheduling containers
In cases where a docker arg uses backticks - which may happen with docker labels - scheduled containers would fail to support these due to performing a double-eval. This is particularly noticeable for traefik labels, where backticks and parenthesis are common. This fix properly handles docker args as an array instead of performing an extra eval when scheduling containers.
2022-07-30 00:48:38 -04:00
Jose Diaz-Gonzalez
652a9ec26c chore: switch to correct trigger when getting a global argument
While both will now work, using the correct trigger will skip some extra logic.
2022-07-29 22:45:23 -04:00
Jose Diaz-Gonzalez
d243433625 fix: add support for --global as app name when calling config-get trigger
The trigger in use _should_ be config-get-global, but some calling code does not check, so adding support here will ensure the calling code gets what it expects.

Refs #5269
2022-07-29 22:44:23 -04:00
M.Yasoob Ullah Khalid ☺
40143622ad Merge branch 'master' into new-website 2022-07-29 09:34:14 +05:00
Jose Diaz-Gonzalez
bfe679fb50 Merge pull request #5270 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-2.2.1
chore(deps): bump werkzeug from 2.2.0 to 2.2.1 in /tests/apps/python-flask
2022-07-28 19:28:52 -04:00
Jose Diaz-Gonzalez
e7a8793414 Merge pull request #5263 from alexgleason/apt-key
Update deprecated apt-key command
2022-07-28 19:26:18 -04:00
dependabot[bot]
a9f3ed206b chore(deps): bump werkzeug in /tests/apps/python-flask
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.2.0...2.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 13:20:21 +00:00
Jose Diaz-Gonzalez
2f58ab0637 Merge pull request #5265 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-2.2.0
chore(deps): bump werkzeug from 2.1.2 to 2.2.0 in /tests/apps/python-flask
2022-07-26 14:49:23 -04:00
Jose Diaz-Gonzalez
abaf6db3e3 Merge pull request #5264 from dokku/dependabot/bundler/tests/apps/ruby/sinatra-2.2.2
chore(deps): bump sinatra from 2.2.1 to 2.2.2 in /tests/apps/ruby
2022-07-26 14:49:14 -04:00
Jose Diaz-Gonzalez
235dfd2257 Merge pull request #5261 from dokku/dependabot/github_actions/luizm/action-sh-checker-0.5.0
chore(deps): bump luizm/action-sh-checker from 0.4.0 to 0.5.0
2022-07-26 14:49:04 -04:00
dependabot[bot]
a09262b35e chore(deps): bump werkzeug in /tests/apps/python-flask
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.1.2...2.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 13:10:56 +00:00
dependabot[bot]
2daf25186f chore(deps): bump sinatra from 2.2.1 to 2.2.2 in /tests/apps/ruby
Bumps [sinatra](https://github.com/sinatra/sinatra) from 2.2.1 to 2.2.2.
- [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.2.1...v2.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 13:04:33 +00:00
dependabot[bot]
2648e90f29 chore(deps): bump luizm/action-sh-checker from 0.4.0 to 0.5.0
Bumps [luizm/action-sh-checker](https://github.com/luizm/action-sh-checker) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/luizm/action-sh-checker/releases)
- [Commits](38985be9e8...edd0e45ecf)

---
updated-dependencies:
- dependency-name: luizm/action-sh-checker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 03:59:32 +00:00
Jose Diaz-Gonzalez
fa9595ea35 Merge pull request #5262 from dokku/shfmt
Run shfmt against all test files
2022-07-24 23:59:05 -04:00
Alex Gleason
480ee7b9af Update deprecated apt-key command 2022-07-24 11:12:16 -05:00
Jose Diaz-Gonzalez
9d332e9b2d chore: run shfmt against all test files 2022-07-21 14:57:42 -04:00
Jose Diaz-Gonzalez
e6b9851b52 Merge pull request #5257 from chrisjdixon/master
Move nginx.conf.d includes after all other hard-coded config to allow for overrides
2022-07-21 14:56:28 -04:00
Jose Diaz-Gonzalez
71210df5ec Merge pull request #5258 from dokku/dependabot/bundler/tests/apps/ruby/sinatra-2.2.1
chore(deps): bump sinatra from 2.2.0 to 2.2.1 in /tests/apps/ruby
2022-07-18 15:44:07 -04:00
dependabot[bot]
99b25d3e91 chore(deps): bump sinatra from 2.2.0 to 2.2.1 in /tests/apps/ruby
Bumps [sinatra](https://github.com/sinatra/sinatra) from 2.2.0 to 2.2.1.
- [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.2.0...v2.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 13:05:44 +00:00
chrisjdixon
a8a9bc93ab moved "include {{ $.DOKKU_ROOT }}/{{ $.APP }}/nginx.conf.d/*.conf" after default error pages 2022-07-18 17:29:19 +10:00
Dokku Bot
d5590b61af Release 0.27.8
# History

## 0.27.8

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.27.8/bootstrap.sh
sudo DOKKU_TAG=v0.27.8 bash bootstrap.sh
```

### Bug Fixes

- #5232: @YuukiHogo builder-build fix for DOKKU_DOCKERFILE_CACHE_BUILD and DOKKU_DOCKER_BUILD_OPTS variables

### New Features

- #5255: @josegonzalez export DOKKU_COMMAND for use in authentication systems

### Other

- #5250: @dependabot[bot] chore(deps): bump flask from 2.1.2 to 2.1.3 in /tests/apps/multi
- #5251: @dependabot[bot] chore(deps): bump flask from 2.1.2 to 2.1.3 in /tests/apps/python-flask
- #5245: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 221 to 222 in /tests/apps/php
2022-07-17 23:07:58 +00:00
Jose Diaz-Gonzalez
84aee0909d Merge pull request #5255 from dokku/josegonzalez-patch-2
export DOKKU_COMMAND for use in authentication systems
2022-07-17 19:05:05 -04:00
Jose Diaz-Gonzalez
cfc1cfb305 feat: export DOKKU_COMMAND for use in authentication systems
Some auth systems may decide that an app is not available for use by a particular command vs making them wholly available or not. Exporting the variable here allows such systems to function correctly.
2022-07-17 17:58:37 -04:00
Jose Diaz-Gonzalez
4d8e8148d5 Merge pull request #5250 from dokku/dependabot/pip/tests/apps/multi/flask-2.1.3
chore(deps): bump flask from 2.1.2 to 2.1.3 in /tests/apps/multi
2022-07-17 15:23:45 -04:00
Jose Diaz-Gonzalez
beec7f8468 Merge pull request #5232 from YuukiHogo/builder-dockerfile-patch-1
builder-build fix for DOKKU_DOCKERFILE_CACHE_BUILD and DOKKU_DOCKER_BUILD_OPTS variables
2022-07-17 14:03:42 -04:00
dependabot[bot]
5b35bab62c chore(deps): bump flask from 2.1.2 to 2.1.3 in /tests/apps/multi
Bumps [flask](https://github.com/pallets/flask) from 2.1.2 to 2.1.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.1.2...2.1.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-07-17 18:03:11 +00:00
Jose Diaz-Gonzalez
ebed25693a Merge pull request #5251 from dokku/dependabot/pip/tests/apps/python-flask/flask-2.1.3
chore(deps): bump flask from 2.1.2 to 2.1.3 in /tests/apps/python-flask
2022-07-17 14:02:47 -04:00
dependabot[bot]
6ae507a0b2 chore(deps): bump flask from 2.1.2 to 2.1.3 in /tests/apps/python-flask
Bumps [flask](https://github.com/pallets/flask) from 2.1.2 to 2.1.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.1.2...2.1.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-07-14 13:11:13 +00:00
Jose Diaz-Gonzalez
5182638599 Merge branch 'master' into builder-dockerfile-patch-1 2022-07-13 03:45:28 -04:00
Jose Diaz-Gonzalez
23341bd0c5 Merge pull request #5245 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-222
chore(deps-dev): bump heroku/heroku-buildpack-php from 221 to 222 in /tests/apps/php
2022-07-10 20:54:08 -04:00
dependabot[bot]
8a2f7401a3 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 221 to 222.
- [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/v221...v222)

---
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-07-08 13:22:28 +00:00
Dokku Bot
6c3de8c628 Release 0.27.7
# History

## 0.27.7

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.27.7/bootstrap.sh
sudo DOKKU_TAG=v0.27.7 bash bootstrap.sh
```

### Bug Fixes

- #5238: @josegonzalez Respect dokku system user/group when setting storage permissions on installation

### New Features

- #5239: @josegonzalez Add builder-type and image-stage labels to all images

### Documentation

- #5241: @josegonzalez Clarify where logs are pulled from and general log shipping stance
- #5237: @josegonzalez Fix builder-pack:set command example

### Other

- #5235: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 220 to 221 in /tests/apps/php
2022-07-05 23:20:17 +00:00
Jose Diaz-Gonzalez
99dd31ceeb Merge pull request #5239 from dokku/builder-labels
Add builder-type and image-stage labels to all images
2022-07-05 19:06:26 -04:00
Jose Diaz-Gonzalez
b983afe9fa feat: add builder-type and image-stage labels to all images
This allows users to further introspect where an image came from, and therefore what - if any - custom logic to perform.
2022-07-05 15:09:59 -04:00
Jose Diaz-Gonzalez
ef64210821 Merge pull request #5241 from dokku/5234-log-docs
Clarify where logs are pulled from and general log shipping stance
2022-07-05 14:50:38 -04:00
Jose Diaz-Gonzalez
dcb880b0f2 docs: clarify log shipping stance
While it is unfortunate that we don't store logs locally, doing so is actually a fairly difficult ask. Rather than pretending the problem doesn't exist, we'll clarify how logs are currently fetched, as well as point users to integrations/tools that may make their lives easier.

Refs #5234
2022-07-05 14:49:21 -04:00
Jose Diaz-Gonzalez
b26aec249c Merge pull request #5235 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-221
chore(deps-dev): bump heroku/heroku-buildpack-php from 220 to 221 in /tests/apps/php
2022-07-05 14:16:45 -04:00
Jose Diaz-Gonzalez
3903b8a331 Merge pull request #5238 from dokku/storage-perms
Respect dokku system user/group when setting storage permissions on installation
2022-07-05 14:16:28 -04:00
Jose Diaz-Gonzalez
5f192ec3a1 fix: respect dokku system user/group when setting storage permissions on installation 2022-07-04 23:32:58 -04:00
Jose Diaz-Gonzalez
f42972fc3c Merge pull request #5237 from dokku/cnb-docs
Fix builder-pack:set command example
2022-07-04 23:31:18 -04:00
Jose Diaz-Gonzalez
f4f3d4adc6 docs: fix builder-pack:set command example 2022-07-04 23:30:38 -04:00
dependabot[bot]
7e0a8dca94 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 220 to 221.
- [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/v220...v221)

---
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-07-04 13:15:04 +00:00
YuukiHogo
ab45435473 Update builder-build 2022-06-28 12:28:59 +03:00
Dokku Bot
23322b6dde Release 0.27.6
# History

## 0.27.6

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.27.6/bootstrap.sh
sudo DOKKU_TAG=v0.27.6 bash bootstrap.sh
```

### Bug Fixes

- #5225: @josegonzalez Use original app name when setting include_labels for vector source
- #5228: @josegonzalez Always respect app.json formations in scale settings
- #5201: @josegonzalez Use pack as default builder for arm64 servers

### Documentation

- #5230: @josegonzalez Clarify usage of build args to set environment variables for Dockerfile deploys
- #5208: @asokoloski-m Fix typo in dockerfile builder docs
- #5206: @AxelTheGerman Added dokku-litestream to list of community plugins

### Other

- #5218: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 219 to 220 in /tests/apps/php
- #5222: @dependabot[bot] chore(deps): bump jetty-servlet from 11.0.10 to 11.0.11 in /tests/apps/java
- #5224: @josegonzalez Document that the community registry plugin should be uninstalled before upgrading past 0.24.x
- #5220: @dependabot[bot] chore(deps): bump jetty-servlet from 11.0.9 to 11.0.10 in /tests/apps/java
- #5212: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 218 to 219 in /tests/apps/php
- #5210: @dependabot[bot] chore(deps): bump monolog/monolog from 1.27.0 to 1.27.1 in /tests/apps/php
- #5204: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 217 to 218 in /tests/apps/php
2022-06-27 17:19:21 +00:00
Jose Diaz-Gonzalez
fbf136bbe3 Merge pull request #5218 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-220
chore(deps-dev): bump heroku/heroku-buildpack-php from 219 to 220 in /tests/apps/php
2022-06-27 12:28:40 -04:00
Jose Diaz-Gonzalez
952e7c6fda Merge pull request #5230 from dokku/josegonzalez-patch-2
Clarify usage of build args to set environment variables for Dockerfile deploys
2022-06-27 10:54:44 -04:00
Jose Diaz-Gonzalez
ae10527b8a docs: clarify usage of build args to set environment variables for Dockerfile deploys
While documented under Dockerfile deploys, developers looking at docs might not know to go to those docs to find this information out.
2022-06-27 10:53:09 -04:00
dependabot[bot]
b4d0456f5f 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 219 to 220.
- [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/v219...v220)

---
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-06-27 14:47:33 +00:00
Jose Diaz-Gonzalez
3f28c24b57 Merge pull request #5225 from dokku/5221-inflected-app-name
Use original app name when setting include_labels for vector source
2022-06-27 10:46:25 -04:00
Jose Diaz-Gonzalez
9da3b4e155 Merge pull request #5228 from dokku/5205-sync-ps-with-app-json
Always respect app.json formations in scale settings
2022-06-27 10:46:13 -04:00
Jose Diaz-Gonzalez
dded26625b fix: always respect app.json formations in scale settings
Without this change, it was possible would end up in a state where we might still try to scale processes up that no longer exists.

Closes #5205
2022-06-26 14:33:19 -04:00
Jose Diaz-Gonzalez
dac21b7280 chore: drop forwarded port from vagrant setup
This isn't necessary since routing should be performed via the exposed `DOKKU_IP` or `dokku.me` hostname.
2022-06-26 12:41:17 -04:00
Jose Diaz-Gonzalez
515eb372a4 Merge pull request #5201 from dokku/5113-switch-to-pack
Use pack as default builder for arm64 servers
2022-06-25 01:17:11 -04:00
Jose Diaz-Gonzalez
abe06b3d84 docs: fix the error message to be slightly more readable 2022-06-25 01:16:53 -04:00
Jose Diaz-Gonzalez
229d97e502 Merge pull request #5222 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.11
chore(deps): bump jetty-servlet from 11.0.10 to 11.0.11 in /tests/apps/java
2022-06-25 01:15:27 -04:00
Jose Diaz-Gonzalez
51cd7fd85e fix: use original app name when setting include_labels for vector source
Closes #5221
2022-06-25 01:06:28 -04:00
Jose Diaz-Gonzalez
9a52cbdd27 Merge pull request #5224 from dokku/5223-uninstall-registry
Document that the community registry plugin should be uninstalled before upgrading past 0.24.x
2022-06-25 00:26:54 -04:00
Jose Diaz-Gonzalez
7d5c242fa9 docs: document that the community registry plugin should be uninstalled first
Without this, it's unknown what will happen.

Refs #5223
2022-06-25 00:26:31 -04:00
dependabot[bot]
e665243ae1 chore(deps): bump jetty-servlet in /tests/apps/java
Bumps [jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.10 to 11.0.11.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.10...jetty-11.0.11)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-servlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-23 15:11:04 +00:00
Jose Diaz-Gonzalez
6f79fb2e87 Merge pull request #5220 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.10
chore(deps): bump jetty-servlet from 11.0.9 to 11.0.10 in /tests/apps/java
2022-06-23 01:29:07 -04:00
dependabot[bot]
211f0ef049 chore(deps): bump jetty-servlet in /tests/apps/java
Bumps [jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.9 to 11.0.10.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.9...jetty-11.0.10)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-servlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 13:08:59 +00:00
Jose Diaz-Gonzalez
07aa343140 Merge pull request #5212 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-219
chore(deps-dev): bump heroku/heroku-buildpack-php from 218 to 219 in /tests/apps/php
2022-06-10 10:44:57 -04:00
dependabot[bot]
ab658ec274 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 218 to 219.
- [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/v218...v219)

---
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-06-10 13:11:39 +00:00
Jose Diaz-Gonzalez
a2eab242b6 Merge pull request #5210 from dokku/dependabot/composer/tests/apps/php/monolog/monolog-1.27.1
chore(deps): bump monolog/monolog from 1.27.0 to 1.27.1 in /tests/apps/php
2022-06-09 10:28:27 -04:00
dependabot[bot]
321b94db19 chore(deps): bump monolog/monolog in /tests/apps/php
Bumps [monolog/monolog](https://github.com/Seldaek/monolog) from 1.27.0 to 1.27.1.
- [Release notes](https://github.com/Seldaek/monolog/releases)
- [Changelog](https://github.com/Seldaek/monolog/blob/1.27.1/CHANGELOG.md)
- [Commits](https://github.com/Seldaek/monolog/compare/1.27.0...1.27.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-09 13:18:32 +00:00
Jose Diaz-Gonzalez
e17f87d62d Merge pull request #5208 from asokoloski-m/patch-1
Fix docs: incorrect command for app storage status
2022-06-08 11:05:29 -04:00
asokoloski-m
4fc23a8ffb Fix incorrect command for app storage status 2022-06-08 09:08:31 -05:00
Jose Diaz-Gonzalez
044027e31b Merge pull request #5206 from AxelTheGerman/patch-1
Added dokku-litestream
2022-06-05 22:08:39 -04:00
Jose Diaz-Gonzalez
e4be7e38ad Merge pull request #5204 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-218
chore(deps-dev): bump heroku/heroku-buildpack-php from 217 to 218 in /tests/apps/php
2022-06-05 22:07:06 -04:00
Axel Gustav
5a93e875a3 Added dokku-litestream
I recently created a plugin for SQLite replication via Litestream to S3. Been using it myself in production for a couple of weeks and was able to successfully restore a backed up DB so I guess it's ready for people to try and be added to this list.
2022-05-31 21:51:05 -07:00
M.Yasoob Ullah Khalid ☺
ddfbdbe6d3 Merge branch 'master' into new-website 2022-05-30 23:23:32 +05:00
dependabot[bot]
24fdc0a778 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 217 to 218.
- [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/v217...v218)

---
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-05-30 13:14:40 +00:00
Jose Diaz-Gonzalez
3db3bfb150 feat: use pack as default builder for arm64 servers
Herokuish is not and will never be supported on arm servers, so attempting to use it will only fail builds.

Also fail when trying to default to herokuish on armhf instances. We can't default to pack as it's just not built for armhf/arm (only arm64).

Closes #5113
2022-05-29 16:41:42 -04:00
Dokku Bot
37036ec2fa Release 0.27.5
# History

## 0.27.5

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.27.5/bootstrap.sh
sudo DOKKU_TAG=v0.27.5 bash bootstrap.sh
```

### Bug Fixes

- #5183: @josegonzalez Filter apps when verifying app names
- #5199: @josegonzalez Revert "fix: Vector fails to start container due to --watch-config flag"
- #5197: @holamendi fix: Vector fails to start container due to --watch-config flag
- #5192: @josegonzalez Confirm installation of universe packages when installing on ubuntu
- #5193: @josegonzalez Force-set correct permissions on env files
- #5181: @josegonzalez Ensure we default SSH_NAME to NAME when filtering apps

### New Features

- #5196: @josegonzalez Disable herokuish usage on both armhf and arm64 platforms
- #5194: @josegonzalez Upgrade base Dockerfile image to phusion/baseimage:focal-1.2.0

### Other

- #5200: @dependabot[bot] chore(deps): bump rack from 2.2.3 to 2.2.3.1 in /tests/apps/ruby
- #5198: @dependabot[bot] chore(deps): bump grunt from 1.5.2 to 1.5.3 in /tests/apps/multi
- #5187: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 216 to 217 in /tests/apps/php
2022-05-29 19:12:03 +00:00
Jose Diaz-Gonzalez
4b94a37f72 Merge pull request #5183 from dokku/user-access-to-app
Filter apps when verifying app names
2022-05-29 12:50:44 -04:00
Yasoob Khalid
863eead7fd added asciicasts 2022-05-29 21:22:10 +05:00
Jose Diaz-Gonzalez
db4d8dba88 refactor: consolidate app name verification into golang binary
This change ensures we only have to change this logic once in order to get them to apply to both languages in the codebase.
2022-05-29 11:32:24 -04:00
Jose Diaz-Gonzalez
cc9d76aa11 fix: set globally 2022-05-29 00:00:26 -04:00
Jose Diaz-Gonzalez
97bbded5bb tests: set the PLUGIN_ENABLED_PATH for config tests 2022-05-28 23:23:25 -04:00
Jose Diaz-Gonzalez
a95e5d210d tests: test the command funcs to exercise app validation 2022-05-28 18:23:34 -04:00
Jose Diaz-Gonzalez
0f7b24fcc7 Merge pull request #5200 from dokku/dependabot/bundler/tests/apps/ruby/rack-2.2.3.1
chore(deps): bump rack from 2.2.3 to 2.2.3.1 in /tests/apps/ruby
2022-05-28 18:08:02 -04:00
dependabot[bot]
3a2e9973b6 chore(deps): bump rack from 2.2.3 to 2.2.3.1 in /tests/apps/ruby
Bumps [rack](https://github.com/rack/rack) from 2.2.3 to 2.2.3.1.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/2.2.3...2.2.3.1)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-28 16:22:59 +00:00
Jose Diaz-Gonzalez
5b5f6031b2 Merge pull request #5198 from dokku/dependabot/npm_and_yarn/tests/apps/multi/grunt-1.5.3
chore(deps): bump grunt from 1.5.2 to 1.5.3 in /tests/apps/multi
2022-05-28 12:22:26 -04:00
Jose Diaz-Gonzalez
96a2ec01f5 fix: ensure go tests have PLUGIN_ENABLED_PATH set 2022-05-28 12:22:11 -04:00
dependabot[bot]
9473ac5f38 chore(deps): bump grunt from 1.5.2 to 1.5.3 in /tests/apps/multi
Bumps [grunt](https://github.com/gruntjs/grunt) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/gruntjs/grunt/releases)
- [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG)
- [Commits](https://github.com/gruntjs/grunt/compare/v1.5.2...v1.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-28 03:59:34 +00:00
Jose Diaz-Gonzalez
d803dbb84a fix: drop extra unnecessary validation of app name
The app name is already validated when calling subcommands, so no need to validate it yet again here.
2022-05-27 23:44:46 -04:00
Jose Diaz-Gonzalez
5981ff8e9b refactor: split out config logic to remove need to check app name for function-based usage
This MR splits out the logic such that there is now a binary that handles function based calls without validating the app name. We should only every check the app name for the subcommands and not internally. Internal calls should have their arguments taken at face value.
2022-05-27 23:28:59 -04:00
Jose Diaz-Gonzalez
b3d7174a7a fix: filter apps when verifying app names
This ensures folks can't interact with apps that are hidden from them via the filtering performed in app listing.
2022-05-27 23:28:59 -04:00
Jose Diaz-Gonzalez
9ea888f62e Merge pull request #5199 from dokku/revert-5197-fix-vector-start-container
Revert "fix: Vector fails to start container due to --watch-config flag"
2022-05-26 10:22:54 -04:00
Jose Diaz-Gonzalez
2ba5c9df50 Revert "fix: Vector fails to start container due to --watch-config flag" 2022-05-26 10:22:32 -04:00
Jose Diaz-Gonzalez
d30fb7b85c Merge pull request #5197 from holamendi/fix-vector-start-container
fix: Vector fails to start container due to --watch-config flag
2022-05-25 10:52:18 -04:00
Pablo Orellana
0a895b2d11 remove --watch-config argument on startVectorContainer 2022-05-25 07:44:38 +02:00
Jose Diaz-Gonzalez
20ed65efdd Merge pull request #5196 from dokku/herokuish-arm64
Disable herokuish usage on both armhf and arm64 platforms
2022-05-23 12:21:46 -04:00
Jose Diaz-Gonzalez
27769f54b0 feat: disable herokuish usage on both armhf and arm64 platforms
We will not provide support for herokuish on either as herokuish is meant to be Heroku-compatible, and the Heroku stack does not support arm. Use 'pack' or Dockerfiles for app building instead.
2022-05-22 17:12:52 -04:00
Jose Diaz-Gonzalez
0748b3eec8 Merge pull request #5194 from dokku/josegonzalez-patch-1
Upgrade base Dockerfile image to phusion/baseimage:focal-1.2.0
2022-05-22 16:39:05 -04:00
Jose Diaz-Gonzalez
469156ac98 Merge pull request #5187 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-217
chore(deps-dev): bump heroku/heroku-buildpack-php from 216 to 217 in /tests/apps/php
2022-05-21 14:42:49 -04:00
Jose Diaz-Gonzalez
6f5f3fa908 feat: upgrade base Dockerfile image to phusion/baseimage:focal-1.2.0 2022-05-21 13:42:45 -04:00
Jose Diaz-Gonzalez
fe84ec08a8 Merge pull request #5192 from dokku/5191-jammy-bootstrap
Confirm installation of universe packages when installing on ubuntu
2022-05-21 13:37:13 -04:00
Jose Diaz-Gonzalez
f6cd3f5c89 Merge pull request #5193 from dokku/5190-env-perms
Force-set correct permissions on env files
2022-05-21 13:37:03 -04:00
Jose Diaz-Gonzalez
88c1abc608 fix: force-set correct permissions on env files
If an env file is written as a root user - for example, during plugin install - the permissions on the file may change to root. This forces those permissions back to what they should be so that the dokku user can edit the files later on.

Closes #5190
2022-05-21 03:45:05 -04:00
Jose Diaz-Gonzalez
a937e6de50 fix: confirm installation of universe packages when installing on ubuntu
This fixes installs stalling on Ubuntu 22.04 because of necessary confirmation of the addition.

Closes #5191
2022-05-21 02:47:06 -04:00
dependabot[bot]
5d36264dd2 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 216 to 217.
- [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/v216...v217)

---
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-05-19 13:20:54 +00:00
Yasoob Khalid
2d5799625c added a small freelance tooltip :) 2022-05-17 10:47:13 +05:00
Yasoob Khalid
156da6c30a triggering the animation once images are loaded. Wasn't playing correctly on safari earlier 2022-05-17 10:42:05 +05:00
Yasoob Khalid
22fd5ea0f0 improved display on mobile 2022-05-17 10:34:59 +05:00
Yasoob Khalid
0fca7f5256 increased padding for larger screens 2022-05-17 10:26:59 +05:00
Yasoob Khalid
aeae7cea53 scale the svg based on screen size 2022-05-17 10:26:04 +05:00
Yasoob Khalid
cbe8376bdb added asciinema demo on homepage 2022-05-17 10:10:14 +05:00
Yasoob Khalid
8cbe7e66a3 updated copy on homepage 2022-05-17 05:49:59 +05:00
Yasoob Khalid
2994e724c2 moved SVG hover group to the left to balance out the page 2022-05-17 03:13:57 +05:00
Yasoob Khalid
9b76012f1c modified the quickstart commands 2022-05-17 03:04:23 +05:00
Yasoob Khalid
21ad711055 make use of versioned css 2022-05-17 02:57:08 +05:00
Yasoob Khalid
70217bcc13 apparently tooltips can not be initialized twice 2022-05-17 02:42:40 +05:00
Yasoob Khalid
53d1a21638 dropdown toggle should stay white when it is toggled 2022-05-17 02:30:08 +05:00
Yasoob Khalid
f26ca309e3 New website ✨ 2022-05-17 02:21:24 +05:00
Jose Diaz-Gonzalez
af88aabfb6 Merge pull request #5181 from dokku/fix-user-auth-app
Ensure we default SSH_NAME to NAME when filtering apps
2022-05-15 22:18:08 -04:00
Jose Diaz-Gonzalez
4491142a7b fix: ensure we default SSH_NAME to NAME when filtering apps
This mirrors how SSH_NAME is populated for the user-auth trigger.
2022-05-15 21:19:11 -04:00
Dokku Bot
5df4bd710a Release 0.27.4
# History

## 0.27.4

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.27.4/bootstrap.sh
sudo DOKKU_TAG=v0.27.4 bash bootstrap.sh
```

### Documentation

- #5180: @Bilal-io fixes rst-versions height
2022-05-15 23:44:34 +00:00
Jose Diaz-Gonzalez
a41cb46b77 Merge pull request #5180 from Bilal-io/master
fixes rst-versions height
2022-05-15 18:29:18 -04:00
BK
7477f6438a fixes rst-versions height 2022-05-15 15:27:50 -07:00
Dokku Bot
ed2c4493a4 Release 0.27.3
# History

## 0.27.3

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.27.3/bootstrap.sh
sudo DOKKU_TAG=v0.27.3 bash bootstrap.sh
```

### Bug Fixes

- #5178: @josegonzalez Fix app filtering for authenticated usage
- #5173: @bitjockey42 Add 22.04 to supported distro versions

### Documentation

- #5179: @Bilal-io Fixes to the Docs version switcher
- #5177: @josegonzalez docs: cleanup experimental warning in scheduler docs
- #5176: @josegonzalez Update installation requirements to mention arm64 and ubuntu 22.04
- #5174: @vladdoster Fix typos and phrasing in remote commands documentation
2022-05-15 21:52:19 +00:00
Jose Diaz-Gonzalez
2ed14fc81c Merge pull request #5179 from Bilal-io/master
Fixes to the Docs version switcher
2022-05-15 17:21:57 -04:00
BK
978e2fd702 Merge branch 'dokku:master' into master 2022-05-15 14:18:18 -07:00
BK
712954560a fixes version switcher height
The panel expands to a max-height of 600, and shrinks to 100vh - 100px on browsers with height smaller than 600px.
2022-05-15 14:17:25 -07:00
BK
5e648c29ed Fixes the overflow in the docs' version switcher
hides the scroll bar from the overflow switcher and displays a vertical scroll when the panel is expanded.
2022-05-15 14:13:54 -07:00
Jose Diaz-Gonzalez
ea84e4d5e4 Merge pull request #5178 from dokku/fix-app-filtering
Fix app filtering for authenticated usage
2022-05-15 17:11:34 -04:00
BK
f2a32ae0f6 Fix docs version switcher to display latest first
Changes the old sorting which displays master then the oldest to newest, so that it would display master followed by the newest version
2022-05-15 14:08:33 -07:00
Jose Diaz-Gonzalez
358b02ac39 fix: add missing app-list event 2022-05-15 15:52:30 -04:00
Jose Diaz-Gonzalez
268c318bc5 fix: ensure we do not filter apps for certain commands and triggers
Some things must pull *all* apps vs filtered apps (mostly things that write out config files or install triggers). Using an unflitered list is best.

Also, we default to filtering, which should be what most usage needs.
2022-05-15 15:47:13 -04:00
Jose Diaz-Gonzalez
f87cd22340 feat: allow returning an unfiltered list of users
This is useful for upgrades or commands that _must_ perform against all apps.
2022-05-15 15:33:19 -04:00
Jose Diaz-Gonzalez
b1223cd6cc Merge pull request #5177 from dokku/docs-experimental
docs: cleanup experimental warning in scheduler docs
2022-05-15 10:10:23 -04:00
Jose Diaz-Gonzalez
9fb4ce6cb4 docs: cleanup experimental warning in kubernetes docs 2022-05-15 10:10:16 -04:00
Jose Diaz-Gonzalez
d73eee201d docs: cleanup experimental warning in nomad docs 2022-05-15 10:09:39 -04:00
Jose Diaz-Gonzalez
dd900a3975 Merge pull request #5176 from dokku/josegonzalez-patch-1
Update installation requirements to mention arm64 and ubuntu 22.04
2022-05-15 10:06:42 -04:00
Jose Diaz-Gonzalez
9452699aaf docs: update installation requirements to mention arm64 and ubuntu 22.04 2022-05-15 10:05:54 -04:00
Jose Diaz-Gonzalez
f2081505eb Merge pull request #5174 from vladdoster/patch-1 2022-05-14 16:04:13 -04:00
vladislav doster
857724984e docs: fix typos & phrasing in remote-commands.md
- `interpretting` -> `interpreting`
- `overriden`      -> `overridden`
- correct article agreement
2022-05-14 14:29:45 -05:00
Jose Diaz-Gonzalez
4e36ab9361 Merge pull request #5173 from bitjockey42/add_2204_to_supported_distro_versions
Add 22.04 to supported distro versions
2022-05-14 03:26:03 -04:00
Bitjockey
b3ac4f36f7 Add 22.04 to supported distro versions 2022-05-14 03:13:29 -04:00
Dokku Bot
d4246fc8be Release 0.27.2
# History

## 0.27.2

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.27.2/bootstrap.sh
sudo DOKKU_TAG=v0.27.2 bash bootstrap.sh
```

### Bug Fixes

- #5166: @josegonzalez Ensure permissions for global VHOST file are set to the dokku user on install
- #5141: @josegonzalez fix: set correct version on scheduler plugin
- #5069: @josegonzalez Do not start intermediate container when calling dokku run after a failed build

### New Features

- #5168: @josegonzalez Add support for Ubuntu 22.04
- #5125: @abulava Start the vector logging container after Docker daemon restarts
- #5117: @josegonzalez Upgrade to golang 1.17.9

### Documentation

- #5167: @scottpashley Update client documentation to remove reference to unmaintained python client

### Other

- #5120: @dependabot[bot] chore(deps): bump github/codeql-action from 1 to 2
- #5145: @dependabot[bot] chore(deps): bump jinja2 from 3.1.1 to 3.1.2 in /tests/apps/python-flask
- #5157: @dependabot[bot] chore(deps): bump luizm/action-sh-checker from 0.3.0 to 0.4.0
- #5160: @dependabot[bot] chore(deps): bump docker/setup-buildx-action from 1 to 2
- #5161: @dependabot[bot] chore(deps): bump docker/login-action from 1 to 2
- #5162: @dependabot[bot] chore(deps): bump docker/setup-qemu-action from 1 to 2
- #5153: @dependabot[bot] chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/config
- #5152: @dependabot[bot] chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/nodejs-express-noappjson
- #5151: @dependabot[bot] chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/nodejs-express-noprocfile
- #5150: @dependabot[bot] chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/nodejs-express
- #5154: @dependabot[bot] chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/gitsubmodules
- #5155: @dependabot[bot] chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/.websocket.disabled
- #5163: @dependabot[bot] chore(deps): bump minimist from 1.2.5 to 1.2.6 in /tests/apps/multi
- #5149: @dependabot[bot] chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/dockerfile-dokku-scale
- #5148: @dependabot[bot] chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/dockerfile-procfile-bad
- #5147: @dependabot[bot] chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/dockerfile-procfile
- #5144: @dependabot[bot] chore(deps): bump flask from 2.1.1 to 2.1.2 in /tests/apps/python-flask
- #5143: @dependabot[bot] chore(deps): bump werkzeug from 2.1.1 to 2.1.2 in /tests/apps/python-flask
- #5142: @dependabot[bot] chore(deps): bump flask from 2.1.1 to 2.1.2 in /tests/apps/multi
- #5137: @dependabot[bot] chore(deps): bump grunt from 1.4.1 to 1.5.2 in /tests/apps/multi
- #5119: @dependabot[bot] chore(deps): bump socket.io from 4.4.1 to 4.5.0 in /tests/apps/.websocket.disabled
2022-05-12 22:52:08 +00:00
Jose Diaz-Gonzalez
efaf717443 Merge pull request #5120 from dokku/dependabot/github_actions/github/codeql-action-2
chore(deps): bump github/codeql-action from 1 to 2
2022-05-12 00:14:14 -04:00
Jose Diaz-Gonzalez
0adeca1c51 Merge pull request #5168 from dokku/5123-jammy
Add support for Ubuntu 22.04
2022-05-10 17:39:53 -04:00
Jose Diaz-Gonzalez
dfa5b21d71 feat: add support for Ubuntu 22.04
Closes #5123
2022-05-10 17:39:25 -04:00
Jose Diaz-Gonzalez
5106952799 Merge pull request #5166 from dokku/default-vhost-perms
Ensure permissions for global VHOST file are set to the dokku user on install
2022-05-10 17:29:17 -04:00
Jose Diaz-Gonzalez
a65412a019 Merge pull request #5167 from scottpashley/patch-1 2022-05-10 15:32:31 -04:00
Scott Pashley
0956b777cb Update clients.md
The Python library was last updated 8 years ago
2022-05-10 20:23:11 +01:00
Jose Diaz-Gonzalez
4edfb11150 Merge pull request #5125 from abulava/vector-container-up
Start the vector logging container after Docker daemon restarts
2022-05-10 12:54:28 -04:00
Jose Diaz-Gonzalez
c68ae008cc fix: ensure permissions for global VHOST file are set to the dokku user on install 2022-05-10 12:44:01 -04:00
Jose Diaz-Gonzalez
46d733ffe9 Merge pull request #5145 from dokku/dependabot/pip/tests/apps/python-flask/jinja2-3.1.2
chore(deps): bump jinja2 from 3.1.1 to 3.1.2 in /tests/apps/python-flask
2022-05-10 12:37:46 -04:00
Jose Diaz-Gonzalez
876e7cf6f7 Merge pull request #5157 from dokku/dependabot/github_actions/luizm/action-sh-checker-0.4.0
chore(deps): bump luizm/action-sh-checker from 0.3.0 to 0.4.0
2022-05-10 10:26:35 -04:00
Jose Diaz-Gonzalez
c589206b64 Merge pull request #5160 from dokku/dependabot/github_actions/docker/setup-buildx-action-2
chore(deps): bump docker/setup-buildx-action from 1 to 2
2022-05-10 10:26:20 -04:00
Jose Diaz-Gonzalez
ae8c093bc8 Merge pull request #5161 from dokku/dependabot/github_actions/docker/login-action-2
chore(deps): bump docker/login-action from 1 to 2
2022-05-10 10:25:57 -04:00
Jose Diaz-Gonzalez
5d5996cfd7 Merge pull request #5162 from dokku/dependabot/github_actions/docker/setup-qemu-action-2
chore(deps): bump docker/setup-qemu-action from 1 to 2
2022-05-10 10:25:39 -04:00
Jose Diaz-Gonzalez
228c8a3540 Merge pull request #5153 from dokku/dependabot/npm_and_yarn/tests/apps/config/express-4.18.1
chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/config
2022-05-10 10:25:08 -04:00
Jose Diaz-Gonzalez
e2a49311d2 Merge pull request #5152 from dokku/dependabot/npm_and_yarn/tests/apps/nodejs-express-noappjson/express-4.18.1
chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/nodejs-express-noappjson
2022-05-10 10:24:57 -04:00
Jose Diaz-Gonzalez
b67c8b7737 Merge pull request #5151 from dokku/dependabot/npm_and_yarn/tests/apps/nodejs-express-noprocfile/express-4.18.1
chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/nodejs-express-noprocfile
2022-05-10 10:24:52 -04:00
Jose Diaz-Gonzalez
04dd10abe4 Merge pull request #5150 from dokku/dependabot/npm_and_yarn/tests/apps/nodejs-express/express-4.18.1
chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/nodejs-express
2022-05-10 10:24:44 -04:00
Jose Diaz-Gonzalez
e427cccf9e Merge pull request #5154 from dokku/dependabot/npm_and_yarn/tests/apps/gitsubmodules/express-4.18.1
chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/gitsubmodules
2022-05-10 10:24:38 -04:00
Jose Diaz-Gonzalez
6adfaa973a Merge pull request #5155 from dokku/dependabot/npm_and_yarn/tests/apps/dot-websocket.disabled/express-4.18.1
chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/.websocket.disabled
2022-05-10 10:24:32 -04:00
Jose Diaz-Gonzalez
34e5b2e059 Merge pull request #5163 from dokku/dependabot/npm_and_yarn/tests/apps/multi/minimist-1.2.6
chore(deps): bump minimist from 1.2.5 to 1.2.6 in /tests/apps/multi
2022-05-10 10:24:11 -04:00
dependabot[bot]
8cf7d80414 chore(deps): bump express in /tests/apps/nodejs-express-noappjson
Bumps [express](https://github.com/expressjs/express) from 4.17.3 to 4.18.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.17.3...4.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-10 14:21:58 +00:00
dependabot[bot]
bb6f7f7402 chore(deps): bump express in /tests/apps/.websocket.disabled
Bumps [express](https://github.com/expressjs/express) from 4.17.3 to 4.18.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.17.3...4.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-10 14:21:54 +00:00
dependabot[bot]
4c84674872 chore(deps): bump express in /tests/apps/gitsubmodules
Bumps [express](https://github.com/expressjs/express) from 4.17.3 to 4.18.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.17.3...4.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-10 14:21:50 +00:00
dependabot[bot]
e24ecd711f chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/config
Bumps [express](https://github.com/expressjs/express) from 4.17.3 to 4.18.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.17.3...4.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-10 14:21:47 +00:00
dependabot[bot]
caa26a3519 chore(deps): bump express in /tests/apps/nodejs-express-noprocfile
Bumps [express](https://github.com/expressjs/express) from 4.17.3 to 4.18.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.17.3...4.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-10 14:21:41 +00:00
dependabot[bot]
77793d8464 chore(deps): bump express in /tests/apps/nodejs-express
Bumps [express](https://github.com/expressjs/express) from 4.17.3 to 4.18.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.17.3...4.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-10 14:21:27 +00:00
Jose Diaz-Gonzalez
6135c5be4c Merge pull request #5149 from dokku/dependabot/npm_and_yarn/tests/apps/dockerfile-dokku-scale/express-4.18.1
chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/dockerfile-dokku-scale
2022-05-10 10:21:08 -04:00
Jose Diaz-Gonzalez
d6966f8670 Merge pull request #5148 from dokku/dependabot/npm_and_yarn/tests/apps/dockerfile-procfile-bad/express-4.18.1
chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/dockerfile-procfile-bad
2022-05-10 10:21:04 -04:00
Jose Diaz-Gonzalez
89d83fb026 Merge pull request #5147 from dokku/dependabot/npm_and_yarn/tests/apps/dockerfile-procfile/express-4.18.1
chore(deps): bump express from 4.17.3 to 4.18.1 in /tests/apps/dockerfile-procfile
2022-05-10 10:20:39 -04:00
dependabot[bot]
e64749858e chore(deps): bump jinja2 from 3.1.1 to 3.1.2 in /tests/apps/python-flask
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.1...3.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-10 14:20:00 +00:00
Jose Diaz-Gonzalez
2d75c8bcd9 Merge pull request #5144 from dokku/dependabot/pip/tests/apps/python-flask/flask-2.1.2
chore(deps): bump flask from 2.1.1 to 2.1.2 in /tests/apps/python-flask
2022-05-10 10:19:14 -04:00
dependabot[bot]
8ed81e70d5 chore(deps): bump flask from 2.1.1 to 2.1.2 in /tests/apps/python-flask
Bumps [flask](https://github.com/pallets/flask) from 2.1.1 to 2.1.2.
- [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.1.1...2.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-06 20:41:20 +00:00
dependabot[bot]
9fd8c2f267 chore(deps): bump minimist from 1.2.5 to 1.2.6 in /tests/apps/multi
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-06 20:41:17 +00:00
Jose Diaz-Gonzalez
83b8321525 Merge pull request #5143 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-2.1.2
chore(deps): bump werkzeug from 2.1.1 to 2.1.2 in /tests/apps/python-flask
2022-05-06 16:40:58 -04:00
Jose Diaz-Gonzalez
6d77bbdd20 Merge pull request #5142 from dokku/dependabot/pip/tests/apps/multi/flask-2.1.2
chore(deps): bump flask from 2.1.1 to 2.1.2 in /tests/apps/multi
2022-05-06 16:40:48 -04:00
Jose Diaz-Gonzalez
bb3477169e Merge pull request #5137 from dokku/dependabot/npm_and_yarn/tests/apps/multi/grunt-1.5.2
chore(deps): bump grunt from 1.4.1 to 1.5.2 in /tests/apps/multi
2022-05-06 16:40:36 -04:00
dependabot[bot]
ecdb701685 chore(deps): bump docker/setup-qemu-action from 1 to 2
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-06 13:30:16 +00:00
dependabot[bot]
4dc49f9154 chore(deps): bump docker/login-action from 1 to 2
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-06 13:30:13 +00:00
dependabot[bot]
0c7d15371f chore(deps): bump docker/setup-buildx-action from 1 to 2
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-06 13:30:10 +00:00
dependabot[bot]
380ee349e8 chore(deps): bump luizm/action-sh-checker from 0.3.0 to 0.4.0
Bumps [luizm/action-sh-checker](https://github.com/luizm/action-sh-checker) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/luizm/action-sh-checker/releases)
- [Commits](7f44869033...38985be9e8)

---
updated-dependencies:
- dependency-name: luizm/action-sh-checker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-03 13:37:53 +00:00
dependabot[bot]
1c0a306a9b chore(deps): bump express in /tests/apps/dockerfile-dokku-scale
Bumps [express](https://github.com/expressjs/express) from 4.17.3 to 4.18.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.17.3...4.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 13:13:21 +00:00
dependabot[bot]
f8eda4421f chore(deps): bump express in /tests/apps/dockerfile-procfile-bad
Bumps [express](https://github.com/expressjs/express) from 4.17.3 to 4.18.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.17.3...4.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 13:13:20 +00:00
dependabot[bot]
e7b7a029ad chore(deps): bump express in /tests/apps/dockerfile-procfile
Bumps [express](https://github.com/expressjs/express) from 4.17.3 to 4.18.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.17.3...4.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 13:13:19 +00:00
dependabot[bot]
df580ac151 chore(deps): bump werkzeug in /tests/apps/python-flask
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.1.1...2.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-29 13:11:05 +00:00
dependabot[bot]
5c2e953283 chore(deps): bump flask from 2.1.1 to 2.1.2 in /tests/apps/multi
Bumps [flask](https://github.com/pallets/flask) from 2.1.1 to 2.1.2.
- [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.1.1...2.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-29 13:10:53 +00:00
Jose Diaz-Gonzalez
dc869603bf Merge pull request #5141 from dokku/josegonzalez-patch-1
fix: set correct version on scheduler plugin
2022-04-28 03:01:15 -04:00
Jose Diaz-Gonzalez
ea1046b96d fix: set correct version on scheduler plugin 2022-04-28 03:00:43 -04:00
dependabot[bot]
d16870ee21 chore(deps): bump grunt from 1.4.1 to 1.5.2 in /tests/apps/multi
Bumps [grunt](https://github.com/gruntjs/grunt) from 1.4.1 to 1.5.2.
- [Release notes](https://github.com/gruntjs/grunt/releases)
- [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG)
- [Commits](https://github.com/gruntjs/grunt/compare/v1.4.1...v1.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-27 10:50:54 +00:00
Andrey Bulava
8d640ac958 Set RestartPolicy:"unless-stopped" for the vector container. 2022-04-26 13:42:10 +03:00
Jose Diaz-Gonzalez
12656a111a Merge pull request #5119 from dokku/dependabot/npm_and_yarn/tests/apps/dot-websocket.disabled/socket.io-4.5.0
chore(deps): bump socket.io from 4.4.1 to 4.5.0 in /tests/apps/.websocket.disabled
2022-04-25 10:20:13 -04:00
dependabot[bot]
74e0583be2 chore(deps): bump github/codeql-action from 1 to 2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 13:44:33 +00:00
dependabot[bot]
8540006372 chore(deps): bump socket.io in /tests/apps/.websocket.disabled
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.4.1...4.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 13:12:05 +00:00
Jose Diaz-Gonzalez
d0d56f9472 Merge pull request #5117 from dokku/upgrade-golang
Upgrade to golang 1.17.9
2022-04-23 14:13:54 -04:00
Jose Diaz-Gonzalez
05c4ac6460 chore: run 'go mod tidy' on all plugins 2022-04-23 01:51:42 -04:00
Jose Diaz-Gonzalez
92d5bd8584 feat: upgrade to golang 1.17.9 2022-04-23 01:02:18 -04:00
Jose Diaz-Gonzalez
d38a873423 Merge pull request #5069 from dokku/5065-enter-run-fix
Do not start intermediate container when calling dokku run after a failed build
2022-04-21 01:17:03 -04:00
Jose Diaz-Gonzalez
73b75970df fix: remove extra whitespace 2022-04-20 23:27:55 -04:00
Jose Diaz-Gonzalez
86985ad2c9 fix: properly build args so they expand 2022-04-20 23:18:11 -04:00
Jose Diaz-Gonzalez
3daf33d5c2 fix: correct shfmt issue 2022-04-20 20:09:16 -04:00
Jose Diaz-Gonzalez
880dae3f21 fix: add image-stage tag to herokuish builder 2022-04-20 20:09:16 -04:00
Jose Diaz-Gonzalez
334e15fbb5 fix: do not attempt to start a container based on a non-release image
Closes #5065
2022-04-20 20:09:16 -04:00
Jose Diaz-Gonzalez
8b6e88000a feat: ensure we handle build failures correctly
Always exit properly and ensure we cleanup the intermediate tar container.
2022-04-20 20:09:16 -04:00
Jose Diaz-Gonzalez
157297ab87 feat: ensure the image tag is correct if a build fails
Either retag the original image or remove the tag completely.
2022-04-20 20:09:16 -04:00
Jose Diaz-Gonzalez
92ecc76000 chore: always use long-form for image removal 2022-04-20 20:09:16 -04:00
Jose Diaz-Gonzalez
d9659b8cf2 fix: use array for arguments to container creation 2022-04-20 20:09:16 -04:00
Jose Diaz-Gonzalez
01b9f6f730 chore: drop commented out code 2022-04-20 20:09:16 -04:00
Jose Diaz-Gonzalez
53f7c89e46 fix: do not call procfile-get-command if there is no command specified 2022-04-20 20:09:16 -04:00
Jose Diaz-Gonzalez
63d7d28036 fix: correct a few shellcheck issues 2022-04-20 20:09:16 -04:00
Jose Diaz-Gonzalez
d3eb1f24cf fix: add missing image-stage label to dockerfile builder 2022-04-20 20:09:15 -04:00
Dokku Bot
72c18da687 Release 0.27.1
# History

## 0.27.1

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.27.1/bootstrap.sh
sudo DOKKU_TAG=v0.27.1 bash bootstrap.sh
```

### Bug Fixes

- #5095: @josegonzalez Ensure we properly clone and rename common properties
- #5094: @josegonzalez Handle case when apps:clone is run in a directory the dokku user does not have access to
- #5093: @josegonzalez Fix deploy branch setting
- #5068: @josegonzalez Properly set cron-id from flag

### New Features

- #5092: @josegonzalez Warn and exit non-zero when attempting to rebuild from a non-existent branch
- #5103: @naveensrinivasan Included githubactions in the dependabot config

### Documentation

- #5090: @josegonzalez Clarify the exact command that is run once a day by cron tasks
- #5085: @josegonzalez Use issue template form functionality on github
- #5076: @stamp-cmd Lint Markdown, Remove unused links
- #5070: @josegonzalez Add discord as support channel

### Other

- #5107: @dependabot[bot] chore(deps): bump actions/checkout from 2 to 3
- #5105: @dependabot[bot] chore(deps): bump ibiqlik/action-yamllint from 3.0.4 to 3.1
- #5109: @dependabot[bot] chore(deps): bump actions/upload-artifact from 2 to 3
- #5108: @dependabot[bot] chore(deps): bump hadolint/hadolint-action from 1.6.0 to 2.1.0
- #5110: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 215 to 216 in /tests/apps/php
- #5104: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 214 to 215 in /tests/apps/php
- #5097: @dependabot[bot] chore(deps): bump werkzeug from 2.1.0 to 2.1.1 in /tests/apps/python-flask
- #5098: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 213 to 214 in /tests/apps/php
- #5096: @dependabot[bot] chore(deps): bump jetty-servlet from 11.0.8 to 11.0.9 in /tests/apps/java
- #5091: @josegonzalez Update all dependencies for multi test app
- #5089: @dependabot[bot] chore(deps): bump minimist from 1.2.5 to 1.2.6 in /tests/apps/multi
- #5081: @dependabot[bot] chore(deps): bump jinja2 from 3.0.3 to 3.1.1 in /tests/apps/python-flask
- #5071: @dependabot[bot] chore(deps): bump monolog/monolog from 1.26.1 to 1.27.0 in /tests/apps/php
- #5075: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 212 to 213 in /tests/apps/php
- #5082: @dependabot[bot] chore(deps): bump werkzeug from 2.0.3 to 2.1.0 in /tests/apps/python-flask
- #5086: @dependabot[bot] chore(deps): bump flask from 2.0.3 to 2.1.1 in /tests/apps/multi
- #5087: @dependabot[bot] chore(deps): bump flask from 2.0.3 to 2.1.1 in /tests/apps/python-flask
- #5067: @dependabot[bot] chore(deps): bump maven-dependency-plugin from 3.2.0 to 3.3.0 in /tests/apps/java
2022-04-21 00:00:37 +00:00
Jose Diaz-Gonzalez
64e5cfd43c Merge pull request #5107 from dokku/dependabot/github_actions/actions/checkout-3
chore(deps): bump actions/checkout from 2 to 3
2022-04-16 18:14:55 -04:00
Jose Diaz-Gonzalez
229dfc8906 Merge pull request #5092 from dokku/4898-git-warnings
Warn and exit non-zero when attempting to rebuild from a non-existent branch
2022-04-16 18:14:42 -04:00
dependabot[bot]
c0ab69c209 chore(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-16 06:47:38 +00:00
Jose Diaz-Gonzalez
83dc326318 Merge pull request #5105 from dokku/dependabot/github_actions/ibiqlik/action-yamllint-3.1
chore(deps): bump ibiqlik/action-yamllint from 3.0.4 to 3.1
2022-04-16 02:47:11 -04:00
Jose Diaz-Gonzalez
d64a4ed339 Merge pull request #5109 from dokku/dependabot/github_actions/actions/upload-artifact-3
chore(deps): bump actions/upload-artifact from 2 to 3
2022-04-16 02:46:59 -04:00
Jose Diaz-Gonzalez
83bf2faf06 Merge pull request #5108 from dokku/dependabot/github_actions/hadolint/hadolint-action-2.1.0
chore(deps): bump hadolint/hadolint-action from 1.6.0 to 2.1.0
2022-04-16 02:46:50 -04:00
Jose Diaz-Gonzalez
49d08a8fb6 fix: pass along failed build status when building from image 2022-04-16 02:44:51 -04:00
Jose Diaz-Gonzalez
ba7c685e11 fix: pass failed exit codes around as necessary 2022-04-16 02:25:48 -04:00
Jose Diaz-Gonzalez
eec49878a5 fix: skip rebuild during clone/rename if there is no code 2022-04-16 01:40:22 -04:00
Jose Diaz-Gonzalez
1b6861cdbb feat: add plugin trigger for checking if an app has code
This will allow us to short-circuit build processes that would otherwise be triggered due to various commands in Dokku.
2022-04-16 01:40:22 -04:00
Jose Diaz-Gonzalez
68c0d7e964 feat: warn and exit non-zero when attempting to rebuild from a non-existent branch
Closes #4898
2022-04-16 01:40:22 -04:00
Jose Diaz-Gonzalez
5fc738f001 Merge pull request #5110 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-216
chore(deps-dev): bump heroku/heroku-buildpack-php from 215 to 216 in /tests/apps/php
2022-04-16 01:37:39 -04:00
dependabot[bot]
4f08a62411 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 215 to 216.
- [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/v215...v216)

---
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-04-15 13:10:56 +00:00
dependabot[bot]
5ba4c71ac2 chore(deps): bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 15:32:24 +00:00
dependabot[bot]
776cdcbbe1 chore(deps): bump hadolint/hadolint-action from 1.6.0 to 2.1.0
Bumps [hadolint/hadolint-action](https://github.com/hadolint/hadolint-action) from 1.6.0 to 2.1.0.
- [Release notes](https://github.com/hadolint/hadolint-action/releases)
- [Changelog](https://github.com/hadolint/hadolint-action/blob/master/.releaserc)
- [Commits](d7b3858233...f988afea3d)

---
updated-dependencies:
- dependency-name: hadolint/hadolint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 15:32:20 +00:00
dependabot[bot]
2eb94c6522 chore(deps): bump ibiqlik/action-yamllint from 3.0.4 to 3.1
Bumps [ibiqlik/action-yamllint](https://github.com/ibiqlik/action-yamllint) from 3.0.4 to 3.1.
- [Release notes](https://github.com/ibiqlik/action-yamllint/releases)
- [Commits](ed2b6e9115...81e214fd48)

---
updated-dependencies:
- dependency-name: ibiqlik/action-yamllint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 15:32:09 +00:00
Jose Diaz-Gonzalez
b4e9c0d004 Merge pull request #5104 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-215
chore(deps-dev): bump heroku/heroku-buildpack-php from 214 to 215 in /tests/apps/php
2022-04-14 11:31:33 -04:00
Jose Diaz-Gonzalez
f348df87a5 Merge pull request #5103 from turrisxyz/naveen/feat/dependabot
Included githubactions in the dependabot config
2022-04-14 11:31:24 -04:00
dependabot[bot]
b5782def2f 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 214 to 215.
- [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/v214...v215)

---
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-04-11 13:36:15 +00:00
Naveen
d6287755de Included githubactions in the dependabot config
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
2022-04-10 17:39:46 -05:00
Jose Diaz-Gonzalez
01e16e1265 Merge pull request #5097 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-2.1.1
chore(deps): bump werkzeug from 2.1.0 to 2.1.1 in /tests/apps/python-flask
2022-04-04 18:11:24 -04:00
dependabot[bot]
d927b3ac18 chore(deps): bump werkzeug in /tests/apps/python-flask
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.1.0...2.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 19:54:59 +00:00
Jose Diaz-Gonzalez
b277bec988 Merge pull request #5098 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-214
chore(deps-dev): bump heroku/heroku-buildpack-php from 213 to 214 in /tests/apps/php
2022-04-04 15:54:26 -04:00
Jose Diaz-Gonzalez
5df570daa0 Merge pull request #5096 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.9
chore(deps): bump jetty-servlet from 11.0.8 to 11.0.9 in /tests/apps/java
2022-04-04 15:54:00 -04:00
Jose Diaz-Gonzalez
0078cc0ea9 Merge pull request #5095 from dokku/clone-rename-common-properties
Ensure we properly clone and rename common properties
2022-04-04 15:53:42 -04:00
Jose Diaz-Gonzalez
a0199e9a44 Merge pull request #5094 from dokku/fix-clone-as-root
Handle case when apps:clone is run in a directory the dokku user does not have access to
2022-04-04 15:53:25 -04:00
dependabot[bot]
11317c1197 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 213 to 214.
- [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/v213...v214)

---
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-04-04 13:13:22 +00:00
dependabot[bot]
1c3c317e1f chore(deps): bump jetty-servlet in /tests/apps/java
Bumps [jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.8 to 11.0.9.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.8...jetty-11.0.9)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-servlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 13:12:54 +00:00
Jose Diaz-Gonzalez
66e7a84b8a Merge pull request #5093 from dokku/fix-deploy-branch-setting
Fix deploy branch setting
2022-04-03 14:34:54 -04:00
Jose Diaz-Gonzalez
1c79b60952 fix: ensure we properly clone and rename common properties 2022-04-03 14:34:14 -04:00
Jose Diaz-Gonzalez
29bf40fa60 fix: handle case when apps:clone is run in a directory the dokku user does not have access to 2022-04-03 14:13:26 -04:00
Jose Diaz-Gonzalez
548bb6eae2 chore: always use DOKKU_ROOT env var instead of /home/dokku 2022-04-03 13:14:52 -04:00
Jose Diaz-Gonzalez
98e38bd70d chore: update log output for deploy-branch setting
The code was referencing an env var that is no longer used in favor of a git plugin setting.
2022-04-03 13:14:27 -04:00
Jose Diaz-Gonzalez
e197aa62d1 fix: use correct env var for app name when setting initial DOKKU_DEPLOY_BRANCH propery 2022-04-03 13:11:52 -04:00
Jose Diaz-Gonzalez
68aa14292e Merge pull request #5091 from dokku/update-multi-deps
Update all dependencies for multi test app
2022-04-02 04:21:10 -04:00
Jose Diaz-Gonzalez
9b118cdfe3 chore: drop trailing whitespace 2022-04-02 02:17:43 -04:00
Jose Diaz-Gonzalez
045dfb45d1 chore: update all dependencies for multi test app 2022-04-02 02:02:56 -04:00
Jose Diaz-Gonzalez
7a72afe880 Merge pull request #5089 from dokku/dependabot/npm_and_yarn/tests/apps/multi/minimist-1.2.6
chore(deps): bump minimist from 1.2.5 to 1.2.6 in /tests/apps/multi
2022-04-02 01:45:32 -04:00
Jose Diaz-Gonzalez
5c3921e457 Merge pull request #5090 from dokku/5078-clarify-docs
Clarify the exact command that is run once a day by cron tasks
2022-04-02 00:55:23 -04:00
Jose Diaz-Gonzalez
a2fc3443d2 docs: clarify the exact command that is run once a day by cron tasks
Refs #5078
2022-04-02 00:55:10 -04:00
Jose Diaz-Gonzalez
a6eb7bbdfe Merge pull request #5081 from dokku/dependabot/pip/tests/apps/python-flask/jinja2-3.1.1
chore(deps): bump jinja2 from 3.0.3 to 3.1.1 in /tests/apps/python-flask
2022-04-01 23:58:21 -04:00
Jose Diaz-Gonzalez
456e70c1e2 Merge pull request #5071 from dokku/dependabot/composer/tests/apps/php/monolog/monolog-1.27.0
chore(deps): bump monolog/monolog from 1.26.1 to 1.27.0 in /tests/apps/php
2022-04-01 23:58:07 -04:00
Jose Diaz-Gonzalez
3bbb5bf160 Update feature_request.yaml 2022-04-01 19:39:05 -04:00
Jose Diaz-Gonzalez
d5cfa529c5 Update bug_report.yaml 2022-04-01 19:38:16 -04:00
Jose Diaz-Gonzalez
155ffc3cc9 Merge pull request #5085 from dokku/josegonzalez-patch-1
Use issue template form functionality on github
2022-04-01 19:34:47 -04:00
Jose Diaz-Gonzalez
699e6f3be6 Create feature_request.yaml 2022-04-01 19:32:41 -04:00
Jose Diaz-Gonzalez
2b4c3d4df1 Create buildpack_issue.yaml 2022-04-01 19:32:26 -04:00
Jose Diaz-Gonzalez
a6cc44d507 Update bug_report.yaml 2022-04-01 19:32:00 -04:00
dependabot[bot]
8539edfdeb chore(deps): bump monolog/monolog in /tests/apps/php
Bumps [monolog/monolog](https://github.com/Seldaek/monolog) from 1.26.1 to 1.27.0.
- [Release notes](https://github.com/Seldaek/monolog/releases)
- [Changelog](https://github.com/Seldaek/monolog/blob/1.27.0/CHANGELOG.md)
- [Commits](https://github.com/Seldaek/monolog/compare/1.26.1...1.27.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 23:05:46 +00:00
dependabot[bot]
9bc424f858 chore(deps): bump jinja2 from 3.0.3 to 3.1.1 in /tests/apps/python-flask
Bumps [jinja2](https://github.com/pallets/jinja) from 3.0.3 to 3.1.1.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.0.3...3.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 23:04:54 +00:00
Jose Diaz-Gonzalez
053959b0dc Merge pull request #5075 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-213
chore(deps-dev): bump heroku/heroku-buildpack-php from 212 to 213 in /tests/apps/php
2022-04-01 19:04:43 -04:00
dependabot[bot]
ba4aa5f4d6 chore(deps): bump minimist from 1.2.5 to 1.2.6 in /tests/apps/multi
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 23:04:22 +00:00
Jose Diaz-Gonzalez
51bd36c1a1 Merge pull request #5082 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-2.1.0
chore(deps): bump werkzeug from 2.0.3 to 2.1.0 in /tests/apps/python-flask
2022-04-01 19:04:13 -04:00
Jose Diaz-Gonzalez
2d002c53a8 Merge pull request #5086 from dokku/dependabot/pip/tests/apps/multi/flask-2.1.1
chore(deps): bump flask from 2.0.3 to 2.1.1 in /tests/apps/multi
2022-04-01 19:04:04 -04:00
Jose Diaz-Gonzalez
da787b1cfa Merge pull request #5087 from dokku/dependabot/pip/tests/apps/python-flask/flask-2.1.1
chore(deps): bump flask from 2.0.3 to 2.1.1 in /tests/apps/python-flask
2022-04-01 19:03:55 -04:00
Jose Diaz-Gonzalez
59439c3907 Merge pull request #5076 from stamp-cmd/lint-markdown
Lint Markdown, Remove unused links
2022-04-01 19:02:55 -04:00
dependabot[bot]
35ebc8060b chore(deps): bump flask from 2.0.3 to 2.1.1 in /tests/apps/python-flask
Bumps [flask](https://github.com/pallets/flask) from 2.0.3 to 2.1.1.
- [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.3...2.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-31 13:13:17 +00:00
dependabot[bot]
02427a66dc chore(deps): bump flask from 2.0.3 to 2.1.1 in /tests/apps/multi
Bumps [flask](https://github.com/pallets/flask) from 2.0.3 to 2.1.1.
- [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.3...2.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-31 13:13:16 +00:00
Jose Diaz-Gonzalez
6d437f7d3e feat: create issue template for project 2022-03-30 14:32:14 -04:00
dependabot[bot]
19768460b0 chore(deps): bump werkzeug in /tests/apps/python-flask
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.0.3...2.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 13:10:59 +00:00
Kantanat Stamp
6af03ee5c7 Lint Markdown, Remove unused links 2022-03-20 13:39:24 +07:00
dependabot[bot]
bff9ee8729 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 212 to 213.
- [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/v212...v213)

---
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-03-18 13:19:17 +00:00
Jose Diaz-Gonzalez
ae0374fc01 docs: use correct invite link 2022-03-13 18:32:11 -04:00
Jose Diaz-Gonzalez
aa2f66f74d Merge pull request #5070 from dokku/discord
Add discord as support channel
2022-03-13 18:25:18 -04:00
Jose Diaz-Gonzalez
4031b35af6 docs: add discord as support channel 2022-03-13 18:24:59 -04:00
Jose Diaz-Gonzalez
9daaf13a4d Merge pull request #5067 from dokku/dependabot/maven/tests/apps/java/org.apache.maven.plugins-maven-dependency-plugin-3.3.0
chore(deps): bump maven-dependency-plugin from 3.2.0 to 3.3.0 in /tests/apps/java
2022-03-12 19:44:40 -05:00
dependabot[bot]
8b938f0094 chore(deps): bump maven-dependency-plugin in /tests/apps/java
Bumps [maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.2.0...maven-dependency-plugin-3.3.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-dependency-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-12 11:22:08 +00:00
Jose Diaz-Gonzalez
b3d3b0be98 Merge pull request #5068 from dokku/fix-cron-id
Properly set cron-id from flag
2022-03-12 06:21:29 -05:00
Jose Diaz-Gonzalez
ab13477865 fix: properly set cron-id from flag 2022-03-12 02:25:43 -05:00
Dokku Bot
f35a430c8c Release 0.27.0
# History

## 0.27.0

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.27.0/bootstrap.sh
sudo DOKKU_TAG=v0.27.0 bash bootstrap.sh
```

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

### Bug Fixes

- #5063: @josegonzalez Fix buildx support for releases
- #5061: @josegonzalez Use correct token when publish unit test results
- #5057: @josegonzalez Ensure we use the correct variable for WAIT
- #5052: @josegonzalez Run crontab under sudo to support rhel systems
- #5051: @josegonzalez Ensure vector component sources have valid names
- #5035: @nerg4l Fix help flag for logs command
- #5019: @josegonzalez Only rename app domains associated with a global domain

### New Features

- #5064: @josegonzalez Upgrade docker image to ubuntu focal
- #5058: @josegonzalez Add .shellcheckrc
- #5055: @josegonzalez Release dokku for 32-bit Raspbian Bullseye
- #5050: @josegonzalez Set the default memory unit type to megabytes
- #5017: @josegonzalez Add command to clear all proxy configs

### Refactors

- #4921: @josegonzalez Add ability to filter returnable apps

### Documentation

- #5056: @miku86 Fix typo in port management docs
- #5018: @josegonzalez Add warning for setting PORT environment variable

### Other

- #5062: @dependabot[bot] chore(deps): bump django from 3.1.13 to 3.1.14 in /tests/apps/dockerfile-release
- #5053: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 211 to 212 in /tests/apps/php
- #5038: @dependabot[bot] chore(deps): bump flask from 2.0.2 to 2.0.3 in /tests/apps/multi
- #5048: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 210 to 211 in /tests/apps/php
- #5039: @dependabot[bot] chore(deps): bump sinatra from 2.1.0 to 2.2.0 in /tests/apps/ruby
- #5037: @dependabot[bot] chore(deps): bump flask from 2.0.2 to 2.0.3 in /tests/apps/python-flask
- #5036: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 207 to 210 in /tests/apps/php
- #5025: @dependabot[bot] chore(deps): bump jetty-servlet from 11.0.7 to 11.0.8 in /tests/apps/java
- #5026: @dependabot[bot] chore(deps): bump werkzeug from 2.0.2 to 2.0.3 in /tests/apps/python-flask
- #5027: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 206 to 207 in /tests/apps/php
- #5021: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 205 to 206 in /tests/apps/php
- #4975: @tcurdt add arm64 to the build
2022-03-08 16:40:53 +00:00
Jose Diaz-Gonzalez
a7e03fae5d Merge pull request #5063 from dokku/buildx
Fix buildx support for releases
2022-03-08 02:54:52 -05:00
Jose Diaz-Gonzalez
c134912d6a chore: ignore lintian errors 2022-03-08 01:31:59 -05:00
Jose Diaz-Gonzalez
198664ac58 fix: use correct epo 2022-03-08 01:31:47 -05:00
Jose Diaz-Gonzalez
334e85273e fix: use correct platforms for buildx 2022-03-08 01:31:26 -05:00
Jose Diaz-Gonzalez
19cdc00345 chore: remove quiet flags from apt calls for debugging 2022-03-08 01:31:25 -05:00
Jose Diaz-Gonzalez
d4eaa1dc15 fix: move files into correct place when installing via make 2022-03-08 01:31:25 -05:00
Jose Diaz-Gonzalez
9e10fbf808 fix: reference correct urls for amd64 tarballs 2022-03-08 01:31:25 -05:00
Jose Diaz-Gonzalez
e0090d9bf6 fix: use generic architecture version of sshcommand 2022-03-08 01:31:25 -05:00
Jose Diaz-Gonzalez
af8327e76b chore: update build/test dependency versions 2022-03-08 01:31:25 -05:00
Jose Diaz-Gonzalez
669c232562 feat: test building the docker image when building a non-release 2022-03-08 01:31:25 -05:00
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
Jose Diaz-Gonzalez
6285f576a4 Merge pull request #5027 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-207
chore(deps-dev): bump heroku/heroku-buildpack-php from 206 to 207 in /tests/apps/php
2022-02-08 11:41:08 -05:00
dependabot[bot]
92718565be 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 206 to 207.
- [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/v206...v207)

---
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-08 13:12:15 +00:00
dependabot[bot]
6711dda41a chore(deps): bump werkzeug in /tests/apps/python-flask
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.0.2...2.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-08 13:11:53 +00:00
dependabot[bot]
8da1632fcb chore(deps): bump jetty-servlet in /tests/apps/java
Bumps [jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.7 to 11.0.8.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.7...jetty-11.0.8)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-servlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-08 13:11:51 +00:00
Jose Diaz-Gonzalez
2db9a53288 Merge pull request #5021 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-206
chore(deps-dev): bump heroku/heroku-buildpack-php from 205 to 206 in /tests/apps/php
2022-02-05 03:52:41 -05:00
dependabot[bot]
d65713a8cb 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 205 to 206.
- [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/v205...v206)

---
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-02 13:12:30 +00:00
Jose Diaz-Gonzalez
9d3f4ff508 Merge pull request #5019 from dokku/4965-global-domain-renames
Only rename app domains associated with a global domain
2022-01-29 07:24:36 -05:00
Jose Diaz-Gonzalez
7e45cbccc7 Merge pull request #5017 from dokku/5002-proxy-clear-config
Add command to clear all proxy configs
2022-01-29 05:31:25 -05:00
Jose Diaz-Gonzalez
21ecf4b299 fix: run shfmt 2022-01-29 05:31:10 -05:00
Jose Diaz-Gonzalez
26e7a16fd7 fix: only rename app domains associated with a global domain
Closes #4965
2022-01-28 22:38:24 -05:00
Jose Diaz-Gonzalez
00d11b8440 docs: document proxy:clear-config 2022-01-28 21:32:58 -05:00
Jose Diaz-Gonzalez
4e5ae25d5f fix: generate clear-config subcommand 2022-01-28 21:31:13 -05:00
Jose Diaz-Gonzalez
ecea1488e1 fix: ignore errors clearing proxy configs
If one fails to rebuild for whatever reason, just continue onward.
2022-01-28 20:58:31 -05:00
Jose Diaz-Gonzalez
7136da1aa5 feat: add a command to clear all proxy configs
Closes #5002
2022-01-28 20:58:31 -05:00
Jose Diaz-Gonzalez
3b0bf4d8f2 feat: use --all flag for clearing proxy config during ps:restore
Without this, we might end up with one or more apps that still have a proxy config.
2022-01-28 20:58:31 -05:00
Jose Diaz-Gonzalez
c75149fb9f feat: add support for clearing all nginx proxy entries in a single go 2022-01-28 20:58:31 -05:00
Jose Diaz-Gonzalez
9bde10cdef Merge pull request #5018 from dokku/4799-port-warn
Add warning for setting PORT environment variable
2022-01-28 20:40:34 -05:00
Jose Diaz-Gonzalez
1c681d23eb docs: add warning for setting PORT
Closes #4799
2022-01-28 20:40:05 -05:00
Jose Diaz-Gonzalez
647c4578e2 Merge pull request #4975 from tcurdt/master
add arm64 to the build
2022-01-28 19:26:41 -05:00
Jose Diaz-Gonzalez
110aa1f4d9 fix: run shfmt 2022-01-28 18:31:42 -05:00
Jose Diaz-Gonzalez
7a7f44614d fix: build correct image as multi-platform image 2022-01-28 18:25:18 -05:00
Jose Diaz-Gonzalez
4fede344fc refactor: build docker image for all architectures 2022-01-28 17:55:46 -05:00
Dokku Bot
705fb16d70 Release 0.26.8
# History

## 0.26.8

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.26.8/bootstrap.sh
sudo DOKKU_TAG=v0.26.8 bash bootstrap.sh
```

### Bug Fixes

- #5016: @josegonzalez Properly support the --global flag when detecting the scheduler
- #5015: @josegonzalez Avoid popd errors when dokku is run as root

### New Features

- #5006: @josegonzalez Better go mod support in VSCode Dev Containers

### Documentation

- #5014: @josegonzalez Clarify that all run containers are removed at the end of process execution
- #5010: @josegonzalez Add documentation for ps:restore
- #5009: @josegonzalez Clarify installation documentation
2022-01-28 16:35:25 +00:00
Jose Diaz-Gonzalez
2d8c3cd247 Merge pull request #5016 from dokku/global-scheduler-detection
Properly support the --global flag when detecting the scheduler
2022-01-28 11:34:30 -05:00
Jose Diaz-Gonzalez
c42916c027 Merge pull request #5015 from dokku/5012-clone-fixes
Avoid popd errors when dokku is run as root
2022-01-28 11:34:16 -05:00
Jose Diaz-Gonzalez
02927b3866 fix: properly support the --global flag when detecting the scheduler
Previously this caused errors when fetching the global scheduler.
2022-01-27 22:16:22 -05:00
Jose Diaz-Gonzalez
b0faf2e1f2 fix: avoid popd errors when dokku is run as root
When running the dokku command in a directory that the dokku user does not have access to - such as /root - popd will fail loudly (starting in Ubuntu 16.04). This change ignores those errors and changes the working dir in the bin to /tmp.

Refs #5012
2022-01-27 22:14:14 -05:00
Jose Diaz-Gonzalez
faf204c03a Merge pull request #5014 from dokku/4701-remove-containers
Clarify that all run containers are removed at the end of process execution
2022-01-27 21:09:05 -05:00
Jose Diaz-Gonzalez
b706b6f579 docs: clarify that all run containers are removed at the end of process execution 2022-01-27 21:08:34 -05:00
Jose Diaz-Gonzalez
51fe0836dc Merge pull request #5010 from dokku/4966-restore-docs
Add documentation for ps:restore
2022-01-24 01:38:21 -05:00
Jose Diaz-Gonzalez
8cbec57bf5 docs: add documentation for ps:restore
Also document dokku-event-listener usage.

Closes #4966
2022-01-24 01:37:59 -05:00
Jose Diaz-Gonzalez
c034f509e7 docs: drop extra words 2022-01-23 22:38:04 -05:00
Jose Diaz-Gonzalez
4f4cb88a81 Merge pull request #5009 from dokku/4947-update-install-docs
Clarify installation documentation
2022-01-23 22:28:40 -05:00
Jose Diaz-Gonzalez
30cd670a16 docs: clarify installation documentation
- Simplify first-install instructions
- Move advanced docs around
- Drop references to web installer

Closes #4947
2022-01-23 22:28:17 -05:00
Jose Diaz-Gonzalez
0a2ea6786d Merge pull request #5006 from dokku/devcontainer-go-mod-support
Better go mod support in VSCode Dev Containers
2022-01-22 04:46:00 -05:00
Jose Diaz-Gonzalez
2bd5794ab9 chore: run go mod download/tidy for all plugins
This cleans up the development environment for each module.
2022-01-22 02:56:27 -05:00
Jose Diaz-Gonzalez
d3b01ffb2f refactor: use vscode workspace to better support go modules in devcontainer
This allows gopls to handle autocompletion by setting multiple workspace roots it can traverse for dependencies.
2022-01-22 02:52:08 -05:00
Dokku Bot
3bb8812e33 Release 0.26.7
# History

## 0.26.7

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.26.7/bootstrap.sh
sudo DOKKU_TAG=v0.26.7 bash bootstrap.sh
```

### Bug Fixes

- #5003: @josegonzalez Respect pre-existing .env files when preparing the herokuish buildenv
- #4950: @emdienn Use exported environment vars during pack build
- #4999: @elhu Purge cache for all apps when calling buildpacks:set-property with --global flag
- #4988: @fomojola Conditionally restart NGINX
- #4922: @josegonzalez Gitignore more built plugin triggers in apps plugin

### New Features

- #4964: @josegonzalez Add log message when running state is false
- #4970: @josegonzalez Log the string error and not bytes when there is an issue updating the cron schedule
- #4924: @josegonzalez Update devcontainer to include aliased go packages
- #4920: @josegonzalez Ensure related go source and vscode plugins are installed in devcontainer

### Documentation

- #4949: @IlyaSemenov docs: update herokuish upgrade instructions
- #4992: @anthonyshew Typo for deploying using image SHA
- #4976: @josegonzalez Update link in header to dokku pro
- #4972: @Dam-Buty Clarify cron:report command
- #4943: @Stormheg Fix typo in registry management documentation
- #4935: @josegonzalez Reword note about env vars in nginx config templates

### Other

- #4995: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 203 to 205 in /tests/apps/php
- #4978: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 201 to 203 in /tests/apps/php
- #4936: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 200 to 201 in /tests/apps/php
- #4937: @dependabot[bot] chore(deps): bump socket.io from 4.3.2 to 4.4.0 in /tests/apps/.websocket.disabled
2022-01-18 09:35:34 +00:00
Jose Diaz-Gonzalez
230a1dbcc4 Merge pull request #5003 from dokku/4894-dotenv
Respect pre-existing .env files when preparing the herokuish buildenv
2022-01-18 04:06:52 -05:00
Jose Diaz-Gonzalez
07f2ef1411 fix: respect pre-existing .env files when preparing the herokuish buildenv
Closes #4894
2022-01-18 02:21:12 -05:00
Jose Diaz-Gonzalez
3c68114ad3 Merge pull request #4950 from emdienn/bugfix/env-at-build-time
Use exported environment vars during pack build
2022-01-16 18:23:56 -05:00
Jose Diaz-Gonzalez
4f870512f4 fix: correct lint error 2022-01-15 08:44:02 -05:00
Jose Diaz-Gonzalez
5b7464f525 refactor: use new name for pack format 2022-01-15 08:39:53 -05:00
Jose Diaz-Gonzalez
64d6c28e30 Merge pull request #4999 from elhu/4990-set-stack-global-cache
Purge cache for all apps when calling buildpacks:set-property with --global flag
2022-01-15 08:37:43 -05:00
Jose Diaz-Gonzalez
6f55b89149 refactor: simplify env var passing by using a new config:export format
Also add a test for env vars during build time for pack-built applications.
2022-01-15 08:34:02 -05:00
TheDoctor
7f213beefa Mirror env behaviour from herokuish builder, adapt to pack
Docker accepts its flags as --env=FOO but pack requires --env FOO, which is why ENV_ARGS_VALUES is iterated into ENV_ARGS, then pack run through eval
2022-01-15 06:54:03 -05:00
TheDoctor
bc1aba6c7a Use exported environment vars during pack build
Config was exported, but the result never used.
2022-01-15 06:54:03 -05:00
Jose Diaz-Gonzalez
861dc9fe95 Merge pull request #4949 from IlyaSemenov/fix/herokuish_update
docs: update herokuish upgrade instructions
2022-01-15 06:46:44 -05:00
Jose Diaz-Gonzalez
0a7994b67f Merge pull request #4964 from dokku/josegonzalez-patch-1
Add log message when running state is false
2022-01-15 06:44:06 -05:00
Jose Diaz-Gonzalez
a5441ff03e Merge pull request #4970 from dokku/4969-log-err
Log the string error and not bytes when there is an issue updating the cron schedule
2022-01-15 06:42:18 -05:00
Jose Diaz-Gonzalez
dd7ae8c617 Merge pull request #4995 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-205
chore(deps-dev): bump heroku/heroku-buildpack-php from 203 to 205 in /tests/apps/php
2022-01-15 06:41:41 -05:00
Vincent Boisard
cf4eed2de0 Add test for buildpacks:set-property --global 2022-01-13 23:21:57 +01:00
Vincent Boisard
d7dfc5d30b Purge cache for all apps when calling buildpacks:set-property with --global flag 2022-01-13 19:42:11 +01:00
dependabot[bot]
27cda5dd31 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 203 to 205.
- [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/v203...v205)

---
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-01-10 13:11:38 +00:00
Jose Diaz-Gonzalez
cbacdb7e2c Merge pull request #4992 from anthonyshew/patch-1
Typo for deploying using image SHA
2022-01-07 14:34:16 -05:00
Anthony Shew
0fbb92f3ad Typo for deploying using image SHA
The command for using an image doesn't include a colon before the `@sha`. Just wanted to help out others because this was tripping me up for like an hour!
2022-01-07 12:31:44 -07:00
Jose Diaz-Gonzalez
7e857b3846 Merge pull request #4988 from fomojola/patch-4
Conditionally restart NGINX
2021-12-31 11:43:12 -05:00
Femi Omojola
c75fe998e2 shfmt fixes 2021-12-31 00:48:47 -05:00
fomojola
55d8e2db81 Formatting fixes 2021-12-30 22:56:47 -05:00
fomojola
c209787de8 Conditionally restart NGINX
Before restarting nginx, check if the current app is using a proxy and if the selected proxy is in fact NGINX. Only then should we bother invoking the nginx reload.

Fixes https://github.com/dokku/dokku/issues/4987
2021-12-30 22:49:57 -05:00
Jose Diaz-Gonzalez
c4ce25415b Merge pull request #4978 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-203
chore(deps-dev): bump heroku/heroku-buildpack-php from 201 to 203 in /tests/apps/php
2021-12-26 15:40:16 -05:00
dependabot[bot]
423493ac8d 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 201 to 203.
- [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/v201...v203)

---
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>
2021-12-20 13:12:26 +00:00
Jose Diaz-Gonzalez
7818c82075 Merge pull request #4976 from dokku/dokku-pro-link
Update link in header to dokku pro
2021-12-15 02:33:51 -05:00
Jose Diaz-Gonzalez
84b9988330 Merge pull request #4972 from Dam-Buty/patch-1
Clarify cron:report command
2021-12-15 02:33:35 -05:00
Jose Diaz-Gonzalez
ddf6755d0c chore: update header link to dokku pro 2021-12-15 02:32:41 -05:00
Jose Diaz-Gonzalez
850a7d55d9 docs: update link in header to dokku pro 2021-12-15 02:31:52 -05:00
Torsten Curdt
e2403c8d94 chain the builders to build up all the builds in one dir 2021-12-14 22:07:32 +01:00
Torsten Curdt
46c9d0e33f copy the right binaries 2021-12-14 21:32:32 +01:00
Torsten Curdt
a89cc87a43 removed commented out lines 2021-12-14 21:31:28 +01:00
Torsten Curdt
4a86650a49 removed empty lines 2021-12-14 21:25:31 +01:00
Torsten Curdt
9f981328d2 also release arm64 package 2021-12-14 20:20:35 +01:00
Torsten Curdt
848f60eae1 also build for arm64 2021-12-14 20:13:00 +01:00
Damien BUTY
f6a819351f Update scheduled-cron-tasks.md 2021-12-10 11:05:34 +01:00
Jose Diaz-Gonzalez
c6f4e4bc14 fix: log the string error and not bytes
Refs #4969
2021-12-07 09:27:07 -05:00
Jose Diaz-Gonzalez
e24a3603ac feat: add log message when running state is false
Without this, its not clear why we are releasing an app when calling `ps:start` or `ps:restore`.
2021-12-02 11:53:13 -05:00
Ilya Semenov
1186f3fccf docs: update herokuish upgrade instructions
Closes #4944
2021-11-24 18:40:53 +07:00
Jose Diaz-Gonzalez
e0c2e7846a Merge pull request #4943 from Stormheg/patch-1
Fix typo in registry management documentation
2021-11-21 12:57:36 -05:00
Storm Heg
416b25d6ae Fix typo in registry-management.md 2021-11-21 14:54:12 +01:00
Jose Diaz-Gonzalez
9075b7b175 Merge pull request #4936 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-201
chore(deps-dev): bump heroku/heroku-buildpack-php from 200 to 201 in /tests/apps/php
2021-11-19 10:31:51 -05:00
Jose Diaz-Gonzalez
780cb5a2e7 Merge pull request #4937 from dokku/dependabot/npm_and_yarn/tests/apps/dot-websocket.disabled/socket.io-4.4.0
chore(deps): bump socket.io from 4.3.2 to 4.4.0 in /tests/apps/.websocket.disabled
2021-11-19 10:31:40 -05:00
dependabot[bot]
27521bf5d6 chore(deps): bump socket.io in /tests/apps/.websocket.disabled
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.3.2 to 4.4.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/4.3.2...4.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-19 13:11:27 +00:00
dependabot[bot]
5d255301b4 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 200 to 201.
- [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/v200...v201)

---
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>
2021-11-19 13:11:13 +00:00
Jose Diaz-Gonzalez
2d2d4247a1 Merge pull request #4935 from dokku/josegonzalez-patch-1
Reword note about env vars in nginx config templates
2021-11-18 13:42:52 -05:00
Jose Diaz-Gonzalez
496488cb3e docs: reword note about env vars in nginx config templates
Refs #3686
2021-11-18 13:42:38 -05:00
Jose Diaz-Gonzalez
dacbb0f2dc Merge pull request #4924 from dokku/josegonzalez-patch-1
Update devcontainer to include aliased go packages
2021-11-13 22:08:12 -05:00
Jose Diaz-Gonzalez
36c0f7c160 chore: update devcontainer to include aliased go packages
These don't get installed by the go list hack for various reasons. While it would be best to download the _exact_ versions in use, installing the "latest" is better than nothing for local development.
2021-11-13 22:07:00 -05:00
Jose Diaz-Gonzalez
78a984b52f Merge pull request #4920 from dokku/full-devcontainer-env
Ensure related go source and vscode plugins are installed in devcontainer
2021-11-12 17:02:48 -05:00
Jose Diaz-Gonzalez
bc7a3de68d Merge pull request #4922 from dokku/josegonzalez-patch-1
Gitignore more built plugin triggers in apps plugin
2021-11-12 16:45:13 -05:00
Jose Diaz-Gonzalez
53f963f028 fix: gitignore more built plugin triggers in apps plugin 2021-11-12 16:42:35 -05:00
Jose Diaz-Gonzalez
02b3b8e7e6 feat: ensure related go source and vscode plugins are installed in devcontainer 2021-11-12 16:41:52 -05:00
Dokku Bot
c45b61d402 Release 0.26.6
# History

## 0.26.6

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.26.6/bootstrap.sh
sudo DOKKU_TAG=v0.26.6 bash bootstrap.sh
```

### Bug Fixes

- #4919: @nerg4l fix: do not validate global flag as an app name
- #4918: @josegonzalez Use netrc binary to properly release dokku client homebrew formula
2021-11-12 15:09:05 +00:00
Jose Diaz-Gonzalez
f1b0be30e0 Merge pull request #4919 from nerg4l/fix-network-global
fix: do not validate global flag as an app name
2021-11-12 10:08:26 -05:00
László Görög
1222b9fdb4 fix: do not validate global flag as an app name 2021-11-12 10:37:15 +01:00
Jose Diaz-Gonzalez
bb54231233 Merge pull request #4918 from dokku/formula-release-with-creds
Use netrc binary to properly release dokku client homebrew formula
2021-11-11 19:29:58 -05:00
Jose Diaz-Gonzalez
4306178966 fix: use netrc binary to properly release dokku client homebrew formula 2021-11-11 18:59:03 -05:00
Dokku Bot
dde29c5d77 Release 0.26.5
# History

## 0.26.5

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.26.5/bootstrap.sh
sudo DOKKU_TAG=v0.26.5 bash bootstrap.sh
```

### Bug Fixes

- #4917: @josegonzalez Update golang to fix golang tests
- #4915: @josegonzalez Add support for --global flag to network:set command

### Documentation

- #4911: @josegonzalez Add initial dokku-pro documentation
- #4910: @josegonzalez Fix typo on persistent storage docs

### Tests

- #4916: @josegonzalez Ignore new SC2295 shellcheck warning
- #4906: @josegonzalez Upgrade ci linters

### Other

- #4914: @dependabot[bot] chore(deps): bump jinja2 from 3.0.2 to 3.0.3 in /tests/apps/python-flask
2021-11-11 23:46:03 +00:00
Jose Diaz-Gonzalez
4cd9feae7b Merge pull request #4917 from dokku/upgrade-golang
Update golang to fix golang tests
2021-11-11 18:04:04 -05:00
Jose Diaz-Gonzalez
9a403aa1ce fix: update golang to fix golang tests
Also ensure we're running the same version of golang in our test apps.
2021-11-11 16:51:48 -05:00
Jose Diaz-Gonzalez
daf574188a Merge pull request #4916 from dokku/josegonzalez-patch-1
Ignore new SC2295 shellcheck warning
2021-11-11 16:49:17 -05:00
Jose Diaz-Gonzalez
5cf3dfa451 Merge pull request #4915 from dokku/add-missing-global-network-flag
Add support for --global flag to network:set command
2021-11-11 16:44:08 -05:00
Jose Diaz-Gonzalez
c607af658e Update lint.yml 2021-11-11 16:05:31 -05:00
Jose Diaz-Gonzalez
58f96a6068 fix: ignore new SC2295 error 2021-11-11 15:38:57 -05:00
Jose Diaz-Gonzalez
1a1673095e Merge pull request #4914 from dokku/dependabot/pip/tests/apps/python-flask/jinja2-3.0.3
chore(deps): bump jinja2 from 3.0.2 to 3.0.3 in /tests/apps/python-flask
2021-11-11 15:37:58 -05:00
Jose Diaz-Gonzalez
509cd3e95f fix: add support for --global flag to network:set command 2021-11-11 15:35:51 -05:00
dependabot[bot]
0347748c50 chore(deps): bump jinja2 from 3.0.2 to 3.0.3 in /tests/apps/python-flask
Bumps [jinja2](https://github.com/pallets/jinja) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.0.2...3.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-10 13:09:17 +00:00
Jose Diaz-Gonzalez
6fab646a61 docs: update dokku pro purchase link 2021-11-09 14:50:29 -05:00
Jose Diaz-Gonzalez
5a9405a315 docs: add script tag for dokku pro 2021-11-09 12:51:44 -05:00
Jose Diaz-Gonzalez
24c7adb346 chore: drop script tag as github strips it 2021-11-09 12:50:46 -05:00
Jose Diaz-Gonzalez
bad9649200 docs: fix script tag 2021-11-09 11:07:44 -05:00
Jose Diaz-Gonzalez
12e5cbb297 Merge pull request #4911 from dokku/dokku-pro
Add initial dokku-pro documentation
2021-11-09 11:06:24 -05:00
Jose Diaz-Gonzalez
5d54866e52 docs: add initial dokku-pro documentation 2021-11-09 11:04:34 -05:00
Jose Diaz-Gonzalez
f39d8d93ab Merge pull request #4910 from dokku/4909-typo
Fix typo on persistent storage docs
2021-11-08 10:17:50 -05:00
Jose Diaz-Gonzalez
f8b1b02df5 docs: fix typo on persistent storage docs
Closes #4909
2021-11-08 10:17:29 -05:00
Jose Diaz-Gonzalez
74ba52b883 Merge pull request #4906 from dokku/update-linters
Upgrade ci linters
2021-11-05 12:13:16 -04:00
Jose Diaz-Gonzalez
5d4a65a3cb feat: upgrade linters 2021-11-05 01:24:50 -04:00
Dokku Bot
a5c4543282 Release 0.26.4
# History

## 0.26.4

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.26.4/bootstrap.sh
sudo DOKKU_TAG=v0.26.4 bash bootstrap.sh
```

### Bug Fixes

- #4899: @josegonzalez Ensure we respect quotes and dollar signs in config vars
- #4890: @josegonzalez Drop which in favor of command -v

### Other

- #4897: @josegonzalez Silence errors when verifying the ssl certificate
- #4891: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 199 to 200 in /tests/apps/php
2021-11-03 22:44:31 +00:00
Jose Diaz-Gonzalez
0b34544125 Merge pull request #4899 from dokku/4895-fix-env-vars
Ensure we respect quotes and dollar signs in config vars
2021-11-03 16:15:49 -04:00
Jose Diaz-Gonzalez
cd33ec2f02 fix: remove trace mode 2021-11-03 14:40:21 -04:00
Jose Diaz-Gonzalez
57fc5ec333 Merge pull request #4897 from dokku/josegonzalez-patch-1
Silence errors when verifying the ssl certificate
2021-11-03 12:17:28 -04:00
Jose Diaz-Gonzalez
a756786f93 fix: ensure we respect quotes and dollar signs in config vars
Due to various changes in how containers are started, these keys were set incorrectly for apps. Since we can use the short-hand --env=ENV format for setting env vars on docker containers, lets do so.

Closes #4895
Closes #4896
2021-11-03 12:13:52 -04:00
Jose Diaz-Gonzalez
daddabc7b1 feat: silence errors when verifying the ssl certificate 2021-11-03 10:49:34 -04:00
Jose Diaz-Gonzalez
6014b7208f Merge pull request #4891 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-200
chore(deps-dev): bump heroku/heroku-buildpack-php from 199 to 200 in /tests/apps/php
2021-10-29 10:06:03 -04:00
dependabot[bot]
527b076732 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 199 to 200.
- [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/v199...v200)

---
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>
2021-10-29 13:08:29 +00:00
Jose Diaz-Gonzalez
de67bd19b2 Merge pull request #4890 from dokku/drop-which
Drop which in favor of command -v
2021-10-28 19:10:34 -04:00
Jose Diaz-Gonzalez
6c709f2386 fix: drop which in favor of command -v 2021-10-28 18:22:20 -04:00
Dokku Bot
d26c12e6eb Release 0.26.3
# History

## 0.26.3

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.26.3/bootstrap.sh
sudo DOKKU_TAG=v0.26.3 bash bootstrap.sh
```

### Bug Fixes

- #4889: @josegonzalez Skip herokuish version in report output and disable the herokuish builder on armhf architectures
2021-10-28 14:49:09 +00:00
Jose Diaz-Gonzalez
74d230c11c Merge pull request #4889 from dokku/arm-detect
Skip herokuish version in report output and disable the herokuish builder on armhf architectures
2021-10-28 10:35:18 -04:00
Jose Diaz-Gonzalez
b146483940 fix: skip herokuish version in report output and disable the herokuish builder on armhf architectures
We don't skip pack as in theory they may be able to support arm in the future. Dockerfile builds should work fine, as long as all images in the FROM directives have arm versions.
Finally, the null builder _should_ always work, but of course YMMV :D
2021-10-28 10:07:18 -04:00
Dokku Bot
9e2c79c5ed Release 0.26.2
# History

## 0.26.2

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.26.2/bootstrap.sh
sudo DOKKU_TAG=v0.26.2 bash bootstrap.sh
```

### Bug Fixes

- #4888: @josegonzalez Ensure installations treat raspbian as similar to debian buster as possible
- #4887: @josegonzalez Ensure we do not add two debian folders in a single armhf package

### New Features

- #4886: @josegonzalez Add created-at time to apps:report output
2021-10-28 07:41:04 +00:00
Jose Diaz-Gonzalez
a0cece197f Merge pull request #4888 from dokku/proper-raspbian-install
Ensure installations treat raspbian as similar to debian buster as possible
2021-10-28 02:42:02 -04:00
Jose Diaz-Gonzalez
57858c1788 fix: ensure installations treat raspbian as similar to debian buster as possible 2021-10-28 02:41:10 -04:00
Jose Diaz-Gonzalez
88736c1000 Merge pull request #4887 from dokku/fix-armhf-package
Ensure we do not add two debian folders in a single armhf package
2021-10-28 01:13:50 -04:00
Jose Diaz-Gonzalez
48357adac1 fix: ensure we do not add two debian folders in a single package 2021-10-28 01:13:28 -04:00
Jose Diaz-Gonzalez
3b4d101a42 Merge pull request #4886 from dokku/apps-created-at
Add created-at time to apps:report output
2021-10-27 22:25:51 -04:00
Jose Diaz-Gonzalez
c3871e7da9 feat: add created-at time to apps:report output 2021-10-27 21:03:04 -04:00
Dokku Bot
7a4ead4db4 Release 0.26.1
# History

## 0.26.1

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.26.1/bootstrap.sh
sudo DOKKU_TAG=v0.26.1 bash bootstrap.sh
```

### Bug Fixes

- #4884: @josegonzalez Correct recommends entry for bash-completion

### New Features

- #4885: @josegonzalez Add experimental support for arm devices
2021-10-27 23:28:04 +00:00
Jose Diaz-Gonzalez
c32d0cc791 Merge pull request #4885 from dokku/arm-support
Add support for arm devices
2021-10-27 19:26:51 -04:00
Jose Diaz-Gonzalez
b3c732e487 debug: show the packages being installed 2021-10-27 12:39:31 -04:00
Jose Diaz-Gonzalez
ae14b02cbd fix: pull manpage from amd64 stage 2021-10-27 12:07:35 -04:00
Jose Diaz-Gonzalez
1532590b50 fix: ensure we pass the correct args to both derived builder stages 2021-10-26 11:30:58 -04:00
Jose Diaz-Gonzalez
d3cbb730ac feat: add support for arm devices
This specifically targets Raspbian Buster, though releases may work on other debian-based operating systems.

Note that this does _not_ port buildpacks - either herokuish or pack - to Raspbian, and it is likely that users will need to use pack for buildpack support (if/when it is supported on ARM) or Dockerfile for image building.
2021-10-26 00:16:00 -04:00
Jose Diaz-Gonzalez
ffd5c896ed Merge pull request #4884 from dokku/josegonzalez-patch-1
Correct recommends entry for bash-completion
2021-10-26 00:10:03 -04:00
Jose Diaz-Gonzalez
6bc960e10c fix: correct recommends entry for bash-completion 2021-10-26 00:08:56 -04:00
Dokku Bot
2e237041ec Release 0.26.0
# History

## 0.26.0

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.26.0/bootstrap.sh
sudo DOKKU_TAG=v0.26.0 bash bootstrap.sh
```

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

### Bug Fixes

- #4882: @josegonzalez Add missing setup/teardown of builder plugin properties
- #4880: @josegonzalez Ensure the null scheduler reports the app as running when in use
- #4871: @josegonzalez Do not error when default Procfile path does not exist when using a custom procfile-path
- #4861: @josegonzalez Add missing clone/rename code for plugins

### New Features

- #4864: @josegonzalez Switch to unauthenticated tap for formula bumping
- #4860: @josegonzalez Add ability to increase the max parallelism when deploying a given process type

### Documentation

- #4883: @josegonzalez Enable vertical scrolling on the version selector
- #4879: @josegonzalez Clarify that the docker-based dokku installation is ready when a certain message appears
- #4863: @josegonzalez Clarify what is necessary for implementing a scheduler plugin

### Other

- #4874: @josegonzalez Upgrade vector log integration to 0.17.x
- #4881: @josegonzalez Drop bindutils as alternative dependency to bind-utils
- #4869: @dependabot[bot] chore(deps): bump socket.io from 4.2.0 to 4.3.0 in /tests/apps/.websocket.disabled
- #4868: @dependabot[bot] chore(deps): bump jetty-servlet from 11.0.6 to 11.0.7 in /tests/apps/java
- #4866: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 198 to 199 in /tests/apps/php
- #4862: @josegonzalez Set deploy-source and metadata at deploy time
- #4853: @josegonzalez Remove dangling images
- #4765: @josegonzalez Allow specifying a single process type to restart
- #4859: @josegonzalez Remove deprecated tar plugin
- #4858: @josegonzalez Remove deprecated tags plugin
- #4857: @josegonzalez Implement scheduler management plugin
2021-10-26 00:39:53 +00:00
Jose Diaz-Gonzalez
23798b575b Merge pull request #4874 from dokku/josegonzalez-patch-1
Upgrade vector log integration to 0.17.x
2021-10-24 21:29:37 -04:00
Jose Diaz-Gonzalez
b690d9d18d Merge pull request #4883 from dokku/scroll-versions
Enable vertical scrolling on the version selector
2021-10-24 20:37:49 -04:00
Jose Diaz-Gonzalez
cd030f4fa0 docs: enable vertical scrolling on the version selector
We now have too many versions for it to show up on a modern-ish laptop screen, so enabling scrolling will allow folks to choose older versions more easily.
2021-10-24 20:37:24 -04:00
Jose Diaz-Gonzalez
6db82861e6 Merge pull request #4882 from dokku/setup-config
Add missing setup/teardown of builder plugin properties
2021-10-24 20:21:33 -04:00
Jose Diaz-Gonzalez
a637ffc848 tests: skip test when in remote vscode container and also ensure the docker daemon config is valid 2021-10-24 20:21:03 -04:00
Jose Diaz-Gonzalez
760be655e9 fix: handle both stderr and stdout when tailing container logs
Previously, stderr was ignored when tailing container log output in golang. This change ensures we capture it and also use the correct helper for that output method.
2021-10-24 20:20:35 -04:00
Jose Diaz-Gonzalez
01e317259b refactor: use default sink variable
This allows us to update the sink at the same time as updating the vector integration.
2021-10-24 15:14:37 -04:00
Jose Diaz-Gonzalez
c74c542b1f feat: upgrade vector and set default sink variable 2021-10-24 15:14:37 -04:00
Jose Diaz-Gonzalez
c4ad455aad Merge pull request #4880 from dokku/null-app-status
Ensure the null scheduler reports the app as running when in use
2021-10-24 15:13:27 -04:00
Jose Diaz-Gonzalez
8c43542f2e Merge pull request #4881 from dokku/4852-bindutils-dep-removal
Drop bindutils as alternative dependency to bind-utils
2021-10-24 15:13:09 -04:00
Jose Diaz-Gonzalez
61f8590553 fix: add missing setup/teardown of builder plugin properties 2021-10-24 15:12:16 -04:00
Jose Diaz-Gonzalez
d84c17d9e2 fix: drop bindutils as alternative dependency to bind-utils
Unfortunately, this breaks CentOS compatibility as they use an older version of yum in CentOS 7. Rather than inconvenience the larger user base, Photon users may wish to provide their own `bind-utils` metapackage that depends on `bindutils`.

Closes #4852
2021-10-23 13:50:28 -04:00
Jose Diaz-Gonzalez
c9d10b8a2b fix: ensure the null scheduler reports the app as running when in use 2021-10-23 13:32:02 -04:00
Jose Diaz-Gonzalez
b43cec2d6b Merge pull request #4879 from dokku/josegonzalez-patch-2
Clarify that the docker-based dokku installation is ready when a certain message appears
2021-10-23 12:21:22 -04:00
Jose Diaz-Gonzalez
e1d5228796 docs: clarify that the docker-based dokku installation is ready when a certain message appears
Closes #4878
2021-10-23 12:20:58 -04:00
Jose Diaz-Gonzalez
fd77f9c7a0 chore: use updated github access token variable 2021-10-22 06:43:03 -04:00
Jose Diaz-Gonzalez
f6b03dd55f Merge pull request #4871 from dokku/4870-fix-procfile-remove
Do not error when default Procfile path does not exist when using a custom procfile-path
2021-10-17 15:10:49 -04:00
Jose Diaz-Gonzalez
43631e8847 fix: do not error when default Procfile path does not exist when using a custom procfile-path
Closes #4870
2021-10-16 16:34:34 -04:00
Jose Diaz-Gonzalez
afea3b54a8 Merge pull request #4869 from dokku/dependabot/npm_and_yarn/tests/apps/dot-websocket.disabled/socket.io-4.3.0
chore(deps): bump socket.io from 4.2.0 to 4.3.0 in /tests/apps/.websocket.disabled
2021-10-14 09:58:52 -04:00
dependabot[bot]
17a2b333f3 chore(deps): bump socket.io in /tests/apps/.websocket.disabled
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.2.0 to 4.3.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/4.2.0...4.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-14 13:09:09 +00:00
Jose Diaz-Gonzalez
06e63c8f95 Merge pull request #4868 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.7
chore(deps): bump jetty-servlet from 11.0.6 to 11.0.7 in /tests/apps/java
2021-10-13 10:59:56 -04:00
dependabot[bot]
1bc8bb2a24 chore(deps): bump jetty-servlet in /tests/apps/java
Bumps [jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.6 to 11.0.7.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.6...jetty-11.0.7)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-servlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-13 13:10:45 +00:00
Jose Diaz-Gonzalez
1bf8493cd1 Merge pull request #4866 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-199
chore(deps-dev): bump heroku/heroku-buildpack-php from 198 to 199 in /tests/apps/php
2021-10-11 10:29:33 -04:00
dependabot[bot]
e705d4eed8 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 198 to 199.
- [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/v198...v199)

---
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>
2021-10-11 13:11:16 +00:00
Jose Diaz-Gonzalez
6e46bacf92 Merge pull request #4861 from dokku/fix-clone
Add missing clone/rename code for plugins
2021-10-10 02:38:59 -04:00
Jose Diaz-Gonzalez
69bb8e3077 Merge pull request #4864 from dokku/josegonzalez-patch-1
Switch to unauthenticated tap for formula bumping
2021-10-10 02:20:03 -04:00
Jose Diaz-Gonzalez
3aa7d39358 chore: switch to unauthenticated tap for formula bumping 2021-10-10 02:19:49 -04:00
Jose Diaz-Gonzalez
867403f589 Merge pull request #4863 from dokku/scheduler-docs
Clarify what is necessary for implementing a scheduler plugin
2021-10-10 02:07:29 -04:00
Jose Diaz-Gonzalez
cce7c5cb97 Merge pull request #4862 from dokku/4464-deploy-source
Set deploy-source and metadata at deploy time
2021-10-10 02:07:16 -04:00
Jose Diaz-Gonzalez
6ad8aa7988 docs: clarify what is necessary for implementing a scheduler plugin
Also split out kubernetes and nomad scheduler docs into their own pages.
2021-10-10 02:06:36 -04:00
Jose Diaz-Gonzalez
36294e09a3 fix: add missing clone/rename setup to builder plugins 2021-10-09 23:57:48 -04:00
Jose Diaz-Gonzalez
fddf130abd fix: add missing clone/rename setup code for golang plugins 2021-10-09 23:49:46 -04:00
Jose Diaz-Gonzalez
c0b6942392 refactor: set deploy-source and metadata at deploy time
This ensures the value is correct, where previously it was computed based on a file - and therefore did not distinguish between git:from-archive and git:from-image.

Closes #4464
2021-10-09 23:37:53 -04:00
Jose Diaz-Gonzalez
f949fe2a49 Merge pull request #4860 from dokku/parallel-process-deploys
Add ability to increase the max parallelism when deploying a given process type
2021-10-09 23:35:54 -04:00
Jose Diaz-Gonzalez
55554ce9bd feat: add ability to increase the max parallelism when deploying a given process type 2021-10-09 22:44:03 -04:00
Jose Diaz-Gonzalez
904894722f fix: add missing event for scheduler-detect 2021-10-09 21:12:56 -04:00
Jose Diaz-Gonzalez
a8a167f87f chore: fix documentation in migration guide 2021-10-09 21:12:56 -04:00
Jose Diaz-Gonzalez
cd7b8afccb Merge pull request #4853 from dokku/4825-dangling-images
Remove dangling images
2021-10-09 21:12:53 -04:00
Jose Diaz-Gonzalez
6c6e72ca04 Merge pull request #4765 from dokku/2184-process-type-restarts
Allow specifying a single process type to restart
2021-10-09 21:11:01 -04:00
Jose Diaz-Gonzalez
9616473c3a fix: ensure we retire any alternate tags
Dokku currently injects an alternate tag into the image. Without this change, deploying new image tags (via push with a Dockerfile or git:from-image) would result in the old images lying around forever. This change ensures they are registered for removal.

Closes #4825
2021-10-09 18:46:48 -04:00
Jose Diaz-Gonzalez
e53e8bb59f fix: register all containers for retirement on app stop
This ensures that unused docker images are _also_ removed. While this will mean a `ps:start` requires a rebuild in the case of a force-stop, it ensures we don't have unused images when destroying apps.
2021-10-09 18:46:48 -04:00
Jose Diaz-Gonzalez
5cfe7610b2 refactor: inject labels in builder-dockerfile using dockerfile
While this is slower, it ensures we have a proper image parent and can track images for retirement correctly.
2021-10-09 18:46:47 -04:00
Jose Diaz-Gonzalez
6b50ba66a9 fix: properly set label args on dockerfile and herokuish-built images 2021-10-09 18:46:47 -04:00
Jose Diaz-Gonzalez
685ef90018 fix: use release-and-deploy to ensure env vars get re-injected after config changes 2021-10-09 18:46:19 -04:00
Jose Diaz-Gonzalez
b48b79f5ca feat: allow specifying a single process type to restart
This changes restarts to drop the 'release' part that currently gets triggered, which also helps reduce the possibility that a new image layer will be added due to predeploy deploy triggers.

Note that the old method essentially halfway-rebuilt the app (which was what added the extra layer). This refactor removes that, which is a bc-break.

Additionally, scaling processes will result in deploying _only_ restarting the processes being scaled.

Closes #2184
2021-10-09 18:46:17 -04:00
Jose Diaz-Gonzalez
8f7f03a7d8 Merge pull request #4859 from dokku/remove-tar-plugin
Remove deprecated tar plugin
2021-10-09 18:44:19 -04:00
Jose Diaz-Gonzalez
d1a16717b3 chore: remove deprecated tar plugin
This plugin was deprecated in 0.24.0 in favor of git:from-archive. Users should migrate to the new command.
2021-10-09 18:43:53 -04:00
Jose Diaz-Gonzalez
aa77638ca7 Merge pull request #4858 from dokku/remove-tags-plugin
Remove deprecated tags plugin
2021-10-09 18:40:23 -04:00
Jose Diaz-Gonzalez
e893ac2aaa chore: remove deprecated tags plugin
This plugin was deprecated in 0.24.0 in favor of git:from-image. Users should migrate to the new command.
2021-10-09 18:34:01 -04:00
Jose Diaz-Gonzalez
1f8c5509cf Merge pull request #4857 from dokku/4739-scheduler-plugin
Implement scheduler management plugin
2021-10-09 18:32:20 -04:00
Jose Diaz-Gonzalez
3c6396fbca feat: implement the scheduler plugin
This also performs a one-time migration of the DOKKU_SCHEDULER values the scheduler plugin properties.

Closes #4739
2021-10-09 18:31:59 -04:00
Jose Diaz-Gonzalez
8984b748c5 docs: document the null builder 2021-10-09 18:31:42 -04:00
Dokku Bot
9fc7c49da5 Release 0.25.7
# History

## 0.25.7

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.25.7/bootstrap.sh
sudo DOKKU_TAG=v0.25.7 bash bootstrap.sh
```

### Bug Fixes

- #4855: @josegonzalez Output remote client help when there is no remote host

### New Features

- #4854: @josegonzalez Fix parallel usage for scheduler-docker-local

### Documentation

- #4856: @josegonzalez Add a note to the migration guide regarding using a Procfile for Dockerfile deploys
- #4843: @schmijos Clarify that docker-options are not passed to the launched process but instead to the docker run command

### Other

- #4844: @dependabot[bot] chore(deps): bump werkzeug from 2.0.1 to 2.0.2 in /tests/apps/python-flask
2021-10-09 21:53:56 +00:00
Jose Diaz-Gonzalez
650eb57e91 Merge pull request #4855 from dokku/4793-remote-help
Output remote client help when there is no remote host
2021-10-09 17:48:36 -04:00
Jose Diaz-Gonzalez
33a6c29517 Merge pull request #4854 from dokku/parallel-fixes
Fix parallel usage for scheduler-docker-local
2021-10-09 17:48:25 -04:00
Jose Diaz-Gonzalez
ba2126c57a Merge pull request #4856 from dokku/josegonzalez-patch-1
Add a note to the migration guide regarding using a Procfile for Dockerfile deploys
2021-10-09 16:33:18 -04:00
Jose Diaz-Gonzalez
00bb9fad9f docs: add a note to the migration guide regarding using a Procfile for Dockerfile deploys
Closes #4769
2021-10-09 16:32:59 -04:00
Jose Diaz-Gonzalez
396ba7b1ab fix: output remote client help when there is no remote host
Closes #4793
2021-10-09 16:16:45 -04:00
Jose Diaz-Gonzalez
6fb306eb03 feat: ignore will-cite message in the output
Dokku's users will basically never publish any papers about how we deploy code, so this is safe.
2021-10-09 16:12:06 -04:00
Jose Diaz-Gonzalez
d12c9d7362 fix: add missing parallel binary to Vagrant environment 2021-10-09 15:59:31 -04:00
Jose Diaz-Gonzalez
363039fe34 Merge pull request #4843 from schmijos/patch-1
Clarify that docker-options are not passed to the launched process but instead to the docker run command
2021-10-06 12:44:19 -04:00
Jose Diaz-Gonzalez
ef4eeab029 docs: clarify container option usage 2021-10-06 12:41:35 -04:00
Jose Diaz-Gonzalez
9ffd262801 Merge pull request #4844 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-2.0.2
chore(deps): bump werkzeug from 2.0.1 to 2.0.2 in /tests/apps/python-flask
2021-10-06 11:09:16 -04:00
dependabot[bot]
a4318ecdbd chore(deps): bump werkzeug in /tests/apps/python-flask
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.0.1...2.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 13:10:57 +00:00
Josua Schmid
c335eb9ad6 Update docker-options.md 2021-10-06 15:04:31 +02:00
Dokku Bot
9d883f53c7 Release 0.25.6
# History

## 0.25.6

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.25.6/bootstrap.sh
sudo DOKKU_TAG=v0.25.6 bash bootstrap.sh
```

### Bug Fixes

- #4841: @josegonzalez Ensure pack is run as root user when building apps in docker
- #4836: @josegonzalez Fix custom dockerfile path detection
- #4839: @josegonzalez Choose the correct app when a named remote is specified in the remote ssh client

### New Features

- #4829: @josegonzalez Add ability to schedule process types in parallel
- #4837: @josegonzalez Filter --link and --volume flags during Dockerfile builds

### Documentation

- #4840: @josegonzalez Explain sha256 image digest alternative when reusing docker image tags for git:from-image deployments

### Tests

- #4842: @josegonzalez Set default process list in test cnb buildpacks

### Other

- #4832: @dependabot[bot] chore(deps): bump flask from 2.0.1 to 2.0.2 in /tests/apps/python-flask
- #4833: @dependabot[bot] chore(deps): bump jinja2 from 3.0.1 to 3.0.2 in /tests/apps/python-flask
- #4831: @dependabot[bot] chore(deps): bump flask from 2.0.1 to 2.0.2 in /tests/apps/multi
2021-10-06 08:58:30 +00:00
Jose Diaz-Gonzalez
a25071f02f Merge pull request #4842 from dokku/fix-pack-tests
Set default process list in test cnb buildpacks
2021-10-06 03:59:28 -04:00
Jose Diaz-Gonzalez
5f5efe2563 Merge pull request #4829 from dokku/parallel-container-scheduling
Add ability to schedule process types in parallel
2021-10-06 03:51:26 -04:00
Jose Diaz-Gonzalez
fa1f3d0a08 Merge pull request #4841 from dokku/pack-in-docker
Ensure pack is run as root user when building apps in docker
2021-10-06 03:50:47 -04:00
Jose Diaz-Gonzalez
0720c3ef66 Merge pull request #4836 from dokku/4830-fix-dockerfile-detection
Fix custom dockerfile path detection
2021-10-06 03:30:05 -04:00
Jose Diaz-Gonzalez
ea86a9f2ca fix: ensure pack is run as root user when building apps in docker
Without this, using the pack builder fails since it cannot communicate with a root-mounted docker socket.
2021-10-06 03:07:40 -04:00
Jose Diaz-Gonzalez
4cf717baf8 fix: set default process list in test buildpacks
Also include the packeto-buildpacks/procfile buildpack to ensure the Procfile is interpolated for a process list.
2021-10-06 03:06:54 -04:00
Jose Diaz-Gonzalez
bab3e714f7 feat: require parallel package 2021-10-06 02:04:22 -04:00
Jose Diaz-Gonzalez
74b2961f8d fix: correct shfmt issues 2021-10-06 02:04:22 -04:00
Jose Diaz-Gonzalez
76201aed64 feat: add ability to deploy process types in parallel 2021-10-06 02:04:21 -04:00
Jose Diaz-Gonzalez
9e27b07772 refactor: split out docker-local scheduler deploys into separate binaries
This will allow those binaries to run in parallel.
2021-10-06 02:04:21 -04:00
Jose Diaz-Gonzalez
51c5c58354 fix: do not attempt to move the Dockerfile if it is the default path
Also drop the unnecessary rm call
2021-10-06 02:03:39 -04:00
Jose Diaz-Gonzalez
2d1b93c354 Merge pull request #4837 from dokku/filter-link
Filter --link and --volume flags during Dockerfile builds
2021-10-06 02:00:23 -04:00
Jose Diaz-Gonzalez
f945696d15 Merge pull request #4839 from dokku/4838-client-remote
Choose the correct app when a named remote is specified in the remote ssh client
2021-10-06 02:00:08 -04:00
Jose Diaz-Gonzalez
4687b96003 Merge pull request #4840 from dokku/josegonzalez-patch-1
Explain sha256 image digest alternative when reusing docker image tags for git:from-image deployments
2021-10-05 13:48:37 -04:00
Jose Diaz-Gonzalez
92524c2da0 docs: explain sha256 image digest alternative when reusing docker image tags for git:from-image deployments 2021-10-05 13:48:12 -04:00
Jose Diaz-Gonzalez
a5ea0ba896 Merge pull request #4832 from dokku/dependabot/pip/tests/apps/python-flask/flask-2.0.2
chore(deps): bump flask from 2.0.1 to 2.0.2 in /tests/apps/python-flask
2021-10-05 13:35:28 -04:00
Jose Diaz-Gonzalez
b7c7155852 fix: choose the correct app when a named remote is specified in the remote ssh client
Closes #4838
2021-10-05 13:18:19 -04:00
Jose Diaz-Gonzalez
fd28bf53de fix: move custom dockerfiles into place during the core-post-extract phase
Closes #4830
2021-10-05 12:21:29 -04:00
Jose Diaz-Gonzalez
52d9cb6188 fix: filter link and volume flags for dockerfile builds
The link flag was previously not filtered _after_ fetching build args for dockerfile builds, which meant if a plugin exposed that in it's own docker-args-build trigger, it would break deploys.

Additionally, allow for whitespaces between link and volume flags.
2021-10-05 12:20:34 -04:00
dependabot[bot]
5dcdce8b62 chore(deps): bump flask from 2.0.1 to 2.0.2 in /tests/apps/python-flask
Bumps [flask](https://github.com/pallets/flask) from 2.0.1 to 2.0.2.
- [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.1...2.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-05 15:28:41 +00:00
Jose Diaz-Gonzalez
b41b5c0a68 Merge pull request #4833 from dokku/dependabot/pip/tests/apps/python-flask/jinja2-3.0.2
chore(deps): bump jinja2 from 3.0.1 to 3.0.2 in /tests/apps/python-flask
2021-10-05 11:28:10 -04:00
Jose Diaz-Gonzalez
a9f820bfaa Merge pull request #4831 from dokku/dependabot/pip/tests/apps/multi/flask-2.0.2
chore(deps): bump flask from 2.0.1 to 2.0.2 in /tests/apps/multi
2021-10-05 11:27:27 -04:00
dependabot[bot]
a2e40de597 chore(deps): bump jinja2 from 3.0.1 to 3.0.2 in /tests/apps/python-flask
Bumps [jinja2](https://github.com/pallets/jinja) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.0.1...3.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-05 13:09:34 +00:00
dependabot[bot]
2fa7baa035 chore(deps): bump flask from 2.0.1 to 2.0.2 in /tests/apps/multi
Bumps [flask](https://github.com/pallets/flask) from 2.0.1 to 2.0.2.
- [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.1...2.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-05 13:09:24 +00:00
Dokku Bot
177f0be21c Release 0.25.5
# History

## 0.25.5

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.25.5/bootstrap.sh
sudo DOKKU_TAG=v0.25.5 bash bootstrap.sh
```

### Bug Fixes

- #4787: @josegonzalez Do not require double quotes when issuing dokku run commands
- #4816: @josegonzalez Set the DOKKU_HOST_ROOT on docker container start
- #4810: @josegonzalez Handle udp ports when fetching network config
- #4812: @josegonzalez Silence stderr when fetching a command from the Procfile
- #4800: @josegonzalez Add help2man os package for copyfiles make target to devcontainer
- #4796: @josegonzalez Remove the --restart flag from pre-deploy chown containers

### New Features

- #4809: @josegonzalez Implement storage:ensure-directory command
- #4801: @josegonzalez Expose git-from-archive and git-from-image plugin triggers
- #4785: @josegonzalez Add support for VSCode Dev Containers

### Documentation

- #4819: @stephenheron Fixed typo in tar documentation
- #4824: @dy3l Fix GitLab case
- #4822: @josegonzalez Add a note about using the registry:login command for private image deployments
- #4808: @francipvb Added a comment about Dockerfile deployment
- #4807: @FinnWoelm Docs: Fix instructions for enabling Docker Buildkit
- #4786: @josegonzalez Add missing argument from trigger documentation
- #4780: @adam12 Update source for `dokku-update`

### Tests

- #4828: @josegonzalez Update golang in test apps to latest version
- #4815: @josegonzalez tests: use python3 shebang for shellcheck-to-junit script
- #4814: @josegonzalez Add wget to devcontainer to fix shfmt installation
- #4791: @josegonzalez Fix test running in devcontainer

### Other

- #4813: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 197 to 198 in /tests/apps/php
- #4802: @dependabot[bot] chore(deps): bump django from 3.1.12 to 3.1.13 in /tests/apps/dockerfile-release
- #4784: @josegonzalez Upgrade vector image to 0.16.x
2021-10-05 01:42:35 +00:00
Jose Diaz-Gonzalez
c29def79f3 Merge pull request #4828 from dokku/update-golang
Update golang in test apps to latest version
2021-10-04 01:30:09 -04:00
Jose Diaz-Gonzalez
8fb50bbf68 tests: update golang in test apps to latest version 2021-10-04 00:46:45 -04:00
Jose Diaz-Gonzalez
ed9d356f60 Merge pull request #4787 from dokku/fix-run-quoting
Do not require double quotes when issuing dokku run commands
2021-10-03 23:35:24 -04:00
Jose Diaz-Gonzalez
a4be3a06f9 fix: properly quote arguments so that they preserve whitespace 2021-10-03 22:56:25 -04:00
Jose Diaz-Gonzalez
e636609fa8 fix: declare RUN_COMMAND after all other argument parsing has been performed
If it is declared sooner, the transformation of the command to the Procfile entry will be ignored.
2021-10-03 22:42:06 -04:00
Jose Diaz-Gonzalez
1d1cf56692 fix: run shfmt 2021-10-03 22:31:05 -04:00
Jose Diaz-Gonzalez
82778a0aad Merge pull request #4816 from dokku/josegonzalez-patch-2
Set the DOKKU_HOST_ROOT on docker container start
2021-10-03 22:30:13 -04:00
Jose Diaz-Gonzalez
3d239344fe refactor: use eval set hack to preserve whitespace 2021-10-03 20:09:16 -04:00
Jose Diaz-Gonzalez
c266d8c41e chore: ignore shellcheck issues 2021-10-03 20:08:56 -04:00
Jose Diaz-Gonzalez
6f2c218f29 chore: fix shfmt issue 2021-10-03 19:47:54 -04:00
Jose Diaz-Gonzalez
abfb0d3977 fix: do not require double quotes when issuing dokku run commands
This was broken in the #4736.
2021-10-03 19:46:42 -04:00
Jose Diaz-Gonzalez
9a1a97d56f docs: document DOKKU_HOST_ROOT 2021-10-03 19:45:06 -04:00
Jose Diaz-Gonzalez
44caf44ce6 fix: set the DOKKU_HOST_ROOT on docker container start
Without this change, cache doesn't work when running in a docker container.
2021-10-03 19:44:44 -04:00
Jose Diaz-Gonzalez
e800b8a9a7 Merge pull request #4815 from dokku/josegonzalez-patch-1
tests: use python3 shebang for shellcheck-to-junit script
2021-10-03 19:43:26 -04:00
Jose Diaz-Gonzalez
4d0ff4a834 Merge pull request #4810 from dokku/4804-skip-udp-port
Handle udp ports when fetching network config
2021-10-03 17:59:48 -04:00
Jose Diaz-Gonzalez
ce4fe7850b Merge pull request #4819 from stephenheron/patch-1
Fixed typo in tar documentation
2021-10-03 17:58:46 -04:00
Jose Diaz-Gonzalez
869a6ce553 Merge pull request #4824 from dy3l/fix-gitlab-case
Fix GitLab case
2021-10-01 16:21:20 -04:00
dy3l
43b90f1ae8 Fix GitLab case 2021-10-01 21:16:58 +01:00
Jose Diaz-Gonzalez
3e694926c9 Merge pull request #4822 from dokku/josegonzalez-patch-3
Add a note about using the registry:login command for private image deployments
2021-10-01 12:39:36 -04:00
Jose Diaz-Gonzalez
1c277a99cb docs: add a note about using the registry:login command for private image deployments 2021-10-01 12:39:10 -04:00
Stephen Heron
071416ef11 Fixed tar.md typo
Small typo: arhive  to archive
2021-09-30 15:57:13 +01:00
Jose Diaz-Gonzalez
5502a61452 Merge pull request #4809 from dokku/4805-ensure-directory
Implement storage:ensure-directory command
2021-09-30 01:25:33 -04:00
Jose Diaz-Gonzalez
96924e54c4 fix: decode bytes to a string 2021-09-30 01:25:05 -04:00
Jose Diaz-Gonzalez
8cff88dea0 tests: use python3 shebang for shellcheck-to-junit script 2021-09-29 12:21:58 -04:00
Jose Diaz-Gonzalez
fbff08a580 Merge pull request #4814 from dokku/josegonzalez-patch-1
Add wget to devcontainer to fix shfmt installation
2021-09-29 11:38:38 -04:00
Jose Diaz-Gonzalez
9b45aed6f0 dev: add wget to devcontainer to fix shfmt installation 2021-09-29 11:38:16 -04:00
Jose Diaz-Gonzalez
d9eea74f18 feat: implement storage:ensure-directory command
Closes #4805
2021-09-29 11:36:02 -04:00
Jose Diaz-Gonzalez
301d5a19b0 Merge pull request #4812 from dokku/silence-procfile-get-errors
Silence stderr when fetching a command from the Procfile
2021-09-29 11:32:11 -04:00
Jose Diaz-Gonzalez
8cb4bb74fa Merge pull request #4813 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-198
chore(deps-dev): bump heroku/heroku-buildpack-php from 197 to 198 in /tests/apps/php
2021-09-29 11:31:58 -04:00
dependabot[bot]
61447f9ffd 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 197 to 198.
- [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/v197...v198)

---
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>
2021-09-29 13:11:48 +00:00
Jose Diaz-Gonzalez
06742cfcc4 fix: silence stderr when fetching a command from the Procfile
When deploying, if the procfile-get-command fails for a given process, this causes an error to output to stderr. We instead silence this as the error isn't important.
2021-09-29 00:48:26 -04:00
Jose Diaz-Gonzalez
82dfcc01e2 fix: handle udp ports when fetching network config
When an app only has UDP ports exposed, deploys will fail as we expect there to be a single TCP port.

While we _should_ support both, the easier fix is to ignore things and move on. Users can manually expose UDP ports as necessary via the -p flag (or by not specifying the port as a UDP port).

One quirk discovered during tests is that disabling zero-downtime deploys results in odd output, but also a deploy can succeed even if one of the processes that skipped zero-downtime fails. We should fix this in another PR, but this is documented in tests for now.

Closes #4804
2021-09-29 00:37:38 -04:00
Jose Diaz-Gonzalez
892391a7fd Merge pull request #4808 from francipvb/patch-1
Added a comment about Dockerfile deployment
2021-09-28 22:34:06 -04:00
Jose Diaz-Gonzalez
44a43cb130 docs: update note to clarify how port mapping works for Dockerfile apps 2021-09-28 22:25:52 -04:00
Francisco R. Del Roio
e00c98546f A comment about Dockerfile deployment.
I found issues while trying to deploy an app from a dockerfile and I found that the expose instruction causes problems with the dokku proxy.
2021-09-28 21:19:12 -03:00
Jose Diaz-Gonzalez
27e2f7ab3d Merge pull request #4807 from FinnWoelm/patch-1
Docs: Fix instructions for enabling Docker Buildkit
2021-09-28 15:14:04 -04:00
Finn Woelm
eadf9f1f8e Docs: Fix instructions for enabling Docker Buildkit
Docker Buildkit must be enabled via `/etc/default/dokku`. It cannot be enabled via `dokku config` because those variables are not made available during the `build` phase of Docker containers for security reasons (see https://dokku.com/docs/deployment/builders/dockerfiles/#build-time-configuration-variables).

See: https://github.com/dokku/dokku/pull/4723#issuecomment-927381185
2021-09-28 21:11:09 +02:00
Jose Diaz-Gonzalez
597fb7d219 Merge pull request #4801 from dokku/4778-git-hooks
Expose git-from-archive and git-from-image plugin triggers
2021-09-27 15:01:40 -04:00
Jose Diaz-Gonzalez
e27d19a346 Merge pull request #4802 from dokku/dependabot/pip/tests/apps/dockerfile-release/django-3.1.13
chore(deps): bump django from 3.1.12 to 3.1.13 in /tests/apps/dockerfile-release
2021-09-27 15:01:26 -04:00
dependabot[bot]
15bf4a8386 chore(deps): bump django in /tests/apps/dockerfile-release
Bumps [django](https://github.com/django/django) from 3.1.12 to 3.1.13.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.1.12...3.1.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-26 21:53:29 +00:00
Jose Diaz-Gonzalez
003ed01e30 Merge pull request #4784 from dokku/upgrade-vector
feat: upgrade vector image to 0.16.x
2021-09-26 17:50:02 -04:00
Jose Diaz-Gonzalez
db239debf1 feat: expose git-from-archive and git-from-image plugin triggers
This will allow other plugins to create apps on the fly by specifying either an archive url or a docker image.

Closes #4778
2021-09-22 12:32:17 -04:00
Jose Diaz-Gonzalez
fccd4e1a20 fix: add missing event hook 2021-09-22 12:31:35 -04:00
Jose Diaz-Gonzalez
0c8c093cf7 Merge pull request #4800 from dokku/help2man-devcontainer
Add help2man os package for copyfiles make target to devcontainer
2021-09-22 00:26:00 -04:00
Jose Diaz-Gonzalez
f74b702c5e fix: add os package for copyfiles make target to devcontainer
This ensures 'make copyfiles' can run appropriately within a devcontainer.
2021-09-22 00:25:16 -04:00
Jose Diaz-Gonzalez
75309bf3a0 Merge pull request #4791 from dokku/tests-in-devcontainer
Fix test running in devcontainer
2021-09-22 00:13:41 -04:00
Jose Diaz-Gonzalez
dc310c4ce4 Merge pull request #4796 from dokku/4783-drop-restart
Remove the --restart flag from pre-deploy chown containers
2021-09-22 00:13:11 -04:00
Jose Diaz-Gonzalez
0aa3c3fa53 fix: remove the --restart flag from pre-deploy chown containers
Closes #4783
2021-09-18 18:54:30 -04:00
Jose Diaz-Gonzalez
2d180f5e0f tests: remove extra call to list apps 2021-09-16 00:26:11 -04:00
Jose Diaz-Gonzalez
d83471bd46 fix: do not delete devcontainers when running tests in a docker container 2021-09-16 00:26:11 -04:00
Jose Diaz-Gonzalez
974f601fa9 dev: speed up devcontainer building by only copying the tests.mk file as Makefile first 2021-09-16 00:26:11 -04:00
Jose Diaz-Gonzalez
4a8ed5cd06 feat: add uuid-runtime to fix random id generation in tests 2021-09-16 00:26:11 -04:00
Jose Diaz-Gonzalez
709d8d411c fix: mount correct path for DOKKU_HOST_ROOT 2021-09-16 00:26:11 -04:00
Jose Diaz-Gonzalez
e79b750b6d Merge pull request #4786 from dokku/ps-restore-docs
Add missing argument from trigger documentation
2021-09-14 02:25:33 -04:00
Jose Diaz-Gonzalez
bb4a2da52e docs: add missing argument from trigger documentation 2021-09-14 02:25:08 -04:00
Jose Diaz-Gonzalez
79bb5cb9a7 fix: add make change for devcontainer support 2021-09-14 02:24:16 -04:00
Jose Diaz-Gonzalez
70877e351c Merge pull request #4785 from dokku/devcontainer-support
Add support for VSCode Dev Containers
2021-09-14 02:23:31 -04:00
Jose Diaz-Gonzalez
8877abb83f feat: add support for VSCode Dev Containers
This cannot be used in codespaces due to the extra mount, but it does allow for local development.
2021-09-14 02:22:52 -04:00
Jose Diaz-Gonzalez
cdc5eb9909 feat: upgrade vector image to 0.16.x 2021-09-14 02:19:49 -04:00
Jose Diaz-Gonzalez
e1482df157 Merge pull request #4780 from adam12/adam12-patch-1
Update source for `dokku-update`
2021-09-13 20:54:00 -04:00
Adam Daniels
b45b2db8e7 Update source for dokku-update
The `dokku-update` tool has been extracted into it's own repository, and is
no longer available inside the `dokku` source.
2021-09-13 20:42:41 -04:00
Dokku Bot
d21efd90b4 Release 0.25.4
# History

## 0.25.4

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.25.4/bootstrap.sh
sudo DOKKU_TAG=v0.25.4 bash bootstrap.sh
```

### Bug Fixes

- #4775: @josegonzalez Add support for url-encoded vector-sink config values …
- #4777: @josegonzalez Set correct version for registry plugin

### Documentation

- #4776: @josegonzalez Clarify valid values for container-type when entering containers

### Other

- #4774: @dependabot[bot] chore(deps): bump sqlparse from 0.4.1 to 0.4.2 in /tests/apps/dockerfile-release
2021-09-11 08:09:10 +00:00
Jose Diaz-Gonzalez
d82a259bab Merge pull request #4775 from dokku/vector-escaped-uri-support
Add support for url-encoded vector-sink config values …
2021-09-11 01:32:15 -04:00
Jose Diaz-Gonzalez
6f64a59f49 Merge pull request #4777 from dokku/josegonzalez-patch-1
Set correct version for registry plugin
2021-09-11 01:32:06 -04:00
Jose Diaz-Gonzalez
d67aa94709 fix: set correct version for registry plugin 2021-09-11 01:31:53 -04:00
Jose Diaz-Gonzalez
f8376c8845 Merge pull request #4776 from dokku/4768-document-enter
Clarify valid values for container-type when entering containers
2021-09-10 23:22:03 -04:00
Jose Diaz-Gonzalez
52f3cf2af0 docs: clarify valid values for container-type when entering containers
Refs #4768
2021-09-10 23:20:16 -04:00
Jose Diaz-Gonzalez
0997fd3347 fix: add support for url-encoded vector-sink config values
We additionally force-replace \u0026 with an ampersand to ensure we properly support & in config values (such as for URIs).
2021-09-10 23:04:41 -04:00
Jose Diaz-Gonzalez
2c4fec77bb refactor: force-set the type and inputs for a vector sink
Previously, a user could inadvertently override the type or the inputs value by specifying those in their config. Instead, we force-set these so that users do not have potentially invalid config.
2021-09-10 23:03:29 -04:00
Jose Diaz-Gonzalez
2a04ed70b6 fix: do not attempt to sprintf properties
Previously, any properties with a % would be formatted using sprintf, causing issues when consuming those values later on.
2021-09-10 23:02:21 -04:00
Jose Diaz-Gonzalez
1ea821a6c3 docs: document the vector-logs command 2021-09-10 23:01:33 -04:00
Jose Diaz-Gonzalez
3358254212 Merge pull request #4774 from dokku/dependabot/pip/tests/apps/dockerfile-release/sqlparse-0.4.2
chore(deps): bump sqlparse from 0.4.1 to 0.4.2 in /tests/apps/dockerfile-release
2021-09-10 19:22:27 -04:00
dependabot[bot]
dbde0b2719 chore(deps): bump sqlparse in /tests/apps/dockerfile-release
Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/andialbrecht/sqlparse/releases)
- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG)
- [Commits](https://github.com/andialbrecht/sqlparse/compare/0.4.1...0.4.2)

---
updated-dependencies:
- dependency-name: sqlparse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-10 18:45:52 +00:00
Dokku Bot
9ead92a490 Release 0.25.3
# History

## 0.25.3

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.25.3/bootstrap.sh
sudo DOKKU_TAG=v0.25.3 bash bootstrap.sh
```

### Bug Fixes

- #4767: @josegonzalez Output logs when container rename fails and continue on
- #4764: @josegonzalez Reference correct plugin when setting up app-json plugin

### Refactors

- #4741: @josegonzalez Use a Dockerfile to speed up env var injection for herokuish app builds

### Documentation

- #4763: @josegonzalez Remove install doc references to removed web installer

### Other

- #4766: @josegonzalez Capitalize certain log messages for aesthetic reasons
2021-09-06 18:04:19 +00:00
Jose Diaz-Gonzalez
feb6f2fed6 Merge pull request #4767 from dokku/3900-log-on-rename-fail
Output logs when container rename fails and continue on
2021-09-05 02:31:16 -04:00
Jose Diaz-Gonzalez
128c442b17 Merge pull request #4741 from dokku/faster-builds
Use a Dockerfile to speed up env var injection for herokuish app builds
2021-09-05 02:13:34 -04:00
Jose Diaz-Gonzalez
162db40370 Merge pull request #4766 from dokku/nicer-log-output
Capitalize certain log messages for aesthetic reasons
2021-09-05 02:06:59 -04:00
Jose Diaz-Gonzalez
5855fd069f fix: use RANDOM in upcoming name
This fixes issues where a previous deploy may have failed, consuming that other slot.
2021-09-05 01:15:38 -04:00
Jose Diaz-Gonzalez
c045b1ca6b chore: capitalize certain log messages for aesthetic reasons 2021-09-05 00:36:58 -04:00
Jose Diaz-Gonzalez
d1319977d6 fix: add log message when rename fails and continue
This allows folks to later investigate why the rename failed (probably an app bug) and helpfully posts the container logs.

If multiple containers fail, they may have a ton of output, but this is better than not knowing what is going on.

Closes #3900
2021-09-05 00:35:57 -04:00
Jose Diaz-Gonzalez
9c073364f5 feat: set initial container name for docker-local deploys
This makes it easier to track a Dokku container vs an intermediate container or something created external to Dokku.

The container is properly renamed later on, so the `upcoming` part is just an indicator that the container has potentially not yet passed healthchecks.
2021-09-05 00:35:03 -04:00
Jose Diaz-Gonzalez
e9554447d6 Merge pull request #4764 from dokku/josegonzalez-patch-1
Reference correct plugin when setting up app-json plugin
2021-09-04 23:26:25 -04:00
Jose Diaz-Gonzalez
f3f9d37d59 fix: reference correct plugin when setting up app-json plugin 2021-09-04 22:43:10 -04:00
Jose Diaz-Gonzalez
0454f3bc8f Merge pull request #4763 from dokku/4762-installer-docs
Remove install doc references to removed web installer
2021-09-04 16:31:37 -04:00
Jose Diaz-Gonzalez
aa81bc0589 docs: remove web installer from homepage 2021-09-04 16:31:28 -04:00
Jose Diaz-Gonzalez
3f70ee3e54 Update README.md 2021-09-04 16:27:27 -04:00
Dokku Bot
e922615cc7 Release 0.25.2
# History

## 0.25.2

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.25.2/bootstrap.sh
sudo DOKKU_TAG=v0.25.2 bash bootstrap.sh
```

### Bug Fixes

- #4760: @josegonzalez Add missing rsync to OS dependency list for git:sync command

### New Features

- #4761: @josegonzalez Correct permissions for userns support
- #4742: @ashkulz bootstrap: add support for Debian 11 (bullseye)

### Documentation

- #4747: @erickedji Fix process management references to formation key in app.json

### Other

- #4753: @dependabot[bot] chore(deps): bump socket.io from 4.1.3 to 4.2.0 in /tests/apps/.websocket.disabled
- #4750: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 196 to 197 in /tests/apps/php
- #4758: @ltalirz Fix typo in network docs
- #4748: @trival Remove spare backtick in 0.25.0-migration-guide.md
2021-09-04 20:13:55 +00:00
Jose Diaz-Gonzalez
d6a70c7e7b Merge pull request #4761 from dokku/4746-userns-support
Correct permissions for userns support
2021-09-04 14:10:41 -04:00
Jose Diaz-Gonzalez
c725506d63 fix: correct permissions for userns support
Closes #4746
2021-09-04 02:38:31 -04:00
Jose Diaz-Gonzalez
cafcf5cb7c Merge pull request #4753 from dokku/dependabot/npm_and_yarn/tests/apps/dot-websocket.disabled/socket.io-4.2.0
chore(deps): bump socket.io from 4.1.3 to 4.2.0 in /tests/apps/.websocket.disabled
2021-09-04 00:26:00 -04:00
Jose Diaz-Gonzalez
54e6dd59f1 Merge pull request #4750 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-197
chore(deps-dev): bump heroku/heroku-buildpack-php from 196 to 197 in /tests/apps/php
2021-09-04 00:25:53 -04:00
Jose Diaz-Gonzalez
bd89c31cb7 Merge pull request #4760 from dokku/4754-install-rsync
Add missing rsync to OS dependency list for git:sync command
2021-09-04 00:25:42 -04:00
Jose Diaz-Gonzalez
4136c2682f Merge pull request #4742 from ashkulz/debian_bullseye
bootstrap: add support for Debian 11 (bullseye)
2021-09-03 21:59:49 -04:00
Jose Diaz-Gonzalez
5b8c93fd29 fix: install rsync
Closes #4754
2021-09-03 21:55:27 -04:00
Jose Diaz-Gonzalez
0337a21f66 Merge pull request #4758 from ltalirz/patch-3
Fix typo in network docs
2021-09-03 11:33:49 -04:00
Leopold Talirz
407c54757d Update network.md 2021-09-03 15:00:27 +02:00
Leopold Talirz
5dbefcbd9c docs: fix typo 2021-09-03 14:58:20 +02:00
dependabot[bot]
70e552535b chore(deps): bump socket.io in /tests/apps/.websocket.disabled
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.1.3 to 4.2.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/4.1.3...4.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 13:13:42 +00:00
dependabot[bot]
8e6b19c36e 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 196 to 197.
- [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/v196...v197)

---
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>
2021-08-27 13:08:48 +00:00
Jose Diaz-Gonzalez
c379b3e477 Merge pull request #4748 from trival/patch-1
Remove spare backtick in 0.25.0-migration-guide.md
2021-08-25 10:14:20 -04:00
Thomas Gorny
2271c476e9 Remove spare backtick in 0.25.0-migration-guide.md 2021-08-25 11:44:59 +02:00
Ashish Kulkarni
c70be7a386 bootstrap: add support for Debian 11 (bullseye)
fixes #4740
2021-08-24 13:26:18 +05:30
Jose Diaz-Gonzalez
6c7217b873 Merge pull request #4747 from erickedji/patch-1
Fix process management references to formation key in app.json
2021-08-23 10:57:14 -04:00
Komlan Akpédjé KEDJI
aa276f0b18 Fix process management: s/formations/formation/ (app.json)
app.json expects a "formation" (singular) key, not a "formations" (plural) key
2021-08-23 01:39:44 +02:00
Jose Diaz-Gonzalez
c43149f4c9 fix: lint 2021-08-18 03:23:28 -04:00
Jose Diaz-Gonzalez
3d4252f43c refactor: use a Dockerfile to speed up env var injection for herokuish app builds
Herokuish app builds currently spin up a temporary container and then commit that container. The new approach uses a Dockerfile to perform those same actions, avoiding the need for the temporary container.
2021-08-18 03:16:11 -04:00
Dokku Bot
d0219ced67 Release 0.25.1
# History

## 0.25.1

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.25.1/bootstrap.sh
sudo DOKKU_TAG=v0.25.1 bash bootstrap.sh
```

### Bug Fixes

- #4736: @josegonzalez Ensure herokuish deploys respects the env vars during the release process

### Documentation

- #4734: @josegonzalez docs: add github sponsorship link to contributing docs
2021-08-14 06:35:43 +00:00
Jose Diaz-Gonzalez
2bc7b7e2cc Merge pull request #4736 from dokku/josegonzalez-patch-1
Ensure herokuish deploys respects the env vars during the release process
2021-08-14 02:34:59 -04:00
Jose Diaz-Gonzalez
8c42e85fcc fix: move pre-deploy trigger to before image retagging 2021-08-14 01:58:35 -04:00
Jose Diaz-Gonzalez
257abfaee8 refactor: move pre-deploy call to post-release-builder
Some of the hooks should happen before we push images out...
2021-08-14 01:58:35 -04:00
Jose Diaz-Gonzalez
faf53aa479 fix: install pack for run tests 2021-08-12 22:59:33 -04:00
Jose Diaz-Gonzalez
d9204083f7 fix: install pack
Also move the installation into a helper method.
2021-08-12 22:07:53 -04:00
Jose Diaz-Gonzalez
775e78bd08 fix: disable some shellcheck rules 2021-08-12 21:15:15 -04:00
Jose Diaz-Gonzalez
997cc4f466 tests: shore up test checks 2021-08-12 21:12:15 -04:00
Jose Diaz-Gonzalez
a825e2678c fix: ensure env vars are injected for all run containers
CNB containers would otherwise not have them injected.
2021-08-12 21:12:01 -04:00
Jose Diaz-Gonzalez
6c6e26712d refactor: move helper function to internal-functions 2021-08-12 21:11:11 -04:00
Jose Diaz-Gonzalez
c4985bca67 fix: inject global env vars into cnb containers 2021-08-12 19:44:49 -04:00
Jose Diaz-Gonzalez
620a36be82 tests: enhance release tests to check global secrets 2021-08-12 17:36:01 -04:00
Jose Diaz-Gonzalez
7bf61b401f fix: call pre-deploy before deploy but after release
The dokku_release command adds more "stuff" by virtue of calling builder-release (the herokuish builder injects env vars).

This more closely matches previous order of operations.

Closes #4737
2021-08-12 17:35:54 -04:00
Jose Diaz-Gonzalez
10f6d00e04 tests: add test to ensure herokuish respects the env vars during the release process 2021-08-12 16:16:08 -04:00
Jose Diaz-Gonzalez
dfae840ace Merge pull request #4734 from dokku/josegonzalez-patch-1
docs: add github sponsorship link to contributing docs
2021-08-11 15:57:55 -04:00
Jose Diaz-Gonzalez
f6ec744a1f docs: add github sponsorship link to contributing docs 2021-08-11 15:57:44 -04:00
Dokku Bot
8f1b142949 Release 0.25.0
# History

## 0.25.0

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.25.0/bootstrap.sh
sudo DOKKU_TAG=v0.25.0 bash bootstrap.sh
```

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

### Bug Fixes

- #4733: @josegonzalez Force grep to run in quiet mode in domains:add call
- #4732: @josegonzalez Ensure image cleanup does not impact the stack image and refactor container/image cleanup
- #4731: @josegonzalez Respect debconf selections where possible
- #4729: @josegonzalez Correct count check for user-auth trigger
- #4721: @josegonzalez Recursively sync submodules
- #4717: @josegonzalez Silence stderr when checking for ufw on debian systems
- #4716: @josegonzalez Suppress dos2unix stderr output during Dockerfile builds
- #4686: @josegonzalez Ensure repository is bare when calling git:sync
- #4684: @josegonzalez Install gpg-agent in bootstrap script
- #4683: @josegonzalez Strip published port flags when triggering deploy tasks
- #4651: @josegonzalez Do not attempt to retire when there was no pre-existing container
- #4639: @josegonzalez Correct path for azure-vm releases

### New Features

- #4730: @josegonzalez Execute motd at the end of the install
- #4719: @josegonzalez Add support for routing an app to a specified host:port
- #4715: @josegonzalez Switch from xip.io to sslip.io
- #4460: @josegonzalez Implement registry plugin
- #4711: @josegonzalez Enable installing on RPM systems where bind-utils is bindutils
- #4687: @josegonzalez Output message explaining how to remove a deploy lock when a lock is encountered
- #4682: @josegonzalez Properly space report output
- #4502: @josegonzalez Add monorepo support
- #4509: @josegonzalez Add ability to specify initial network
- #4641: @dbazile Add initial support for installing onto Fedora

### Refactors

- #4508: @josegonzalez Add support for the formation key in app.json
- #4507: @josegonzalez Drop support for Ubuntu 16.04

### Documentation

- #4723: @josegonzalez Clarify buildkit instructions
- #4718: @josegonzalez Update link to azure installation on homepage
- #4714: @josegonzalez Swap from freenode to libera.chat
- #4712: @josegonzalez Clarify the shape of the command that should be entered in app.json for a cron task
- #4709: @josegonzalez Add migration note for deprecation of ubuntu 16.04
- #4697: @josegonzalez Specify that run containers use the same image
- #4688: @josegonzalez Add a note on recovering networks
- #4689: @josegonzalez Add a note about wildcards in the installation doc page
- #4680: @josegonzalez Cleanup markdown lint errors
- #4679: @josegonzalez Cleanup markdown lint errors
- #4678: @josegonzalez Cleanup markdown lint errors
- #4677: @josegonzalez Cleanup markdown lint errors
- #4672: @bjab Fix typo in pack builder docs
- #4668: @RealOrangeOne Make example gitlab-ci script a list
- #4673: @eltociear Fix comment typo in dokku binary
- #4661: @dy3l Fix case style
- #4647: @AngCosmin Fixed unable to find version `v1` for official Github Action

### Tests

- #4693: @josegonzalez Add package.lock for test app
- #4685: @josegonzalez Remove ci skip note in PULL_REQUEST_TEMPLATE.md
- #4681: @josegonzalez Ignore duplication warnings in codacy
- #4644: @josegonzalez Update unit test publisher to latest

### Other

- #4726: @josegonzalez Drop web installer in favor of setup via cli
- #4713: @josegonzalez Make heroku-20/focal the default stack for herokuish builds
- #4707: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 195 to 196 in /tests/apps/php
- #4701: @josegonzalez Revamp dokku run command
- #4671: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 193 to 195 in /tests/apps/php
- #4674: @dependabot[bot] chore(deps): bump jetty-servlet from 11.0.5 to 11.0.6 in /tests/apps/java
- #4652: @dependabot[bot] chore(deps): bump jetty-servlet from 11.0.4 to 11.0.5 in /tests/apps/java
- #4653: @dependabot[bot] chore(deps): bump maven-dependency-plugin from 3.1.2 to 3.2.0 in /tests/apps/java
- #4648: @dependabot[bot] chore(deps): bump django from 3.1.9 to 3.1.12 in /tests/apps/dockerfile-release
- #4645: @dependabot[bot] chore(deps): bump jetty-servlet from 11.0.3 to 11.0.4 in /tests/apps/java
- #4642: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 192 to 193 in /tests/apps/php
2021-08-10 17:02:39 +00:00
Jose Diaz-Gonzalez
94c298a1e3 Merge pull request #4733 from dokku/quiet-grep
Force grep to run in quiet mode in domains:add call
2021-08-08 14:52:10 -04:00
Jose Diaz-Gonzalez
6e7e69b19d fix: force grep to run in quiet mode in domains:add call 2021-08-08 14:50:44 -04:00
Jose Diaz-Gonzalez
e34e36c390 Merge pull request #4732 from dokku/cleanup-common
Ensure image cleanup does not impact the stack image and refactor container/image cleanup
2021-08-08 04:15:34 -04:00
Jose Diaz-Gonzalez
5103ee21aa chore: drop redundant if guard 2021-08-08 03:40:08 -04:00
Jose Diaz-Gonzalez
c58cb02689 fix: add flag to list 2021-08-08 03:31:53 -04:00
Jose Diaz-Gonzalez
72eb61d1fc feat: call scheduler-retire when destroying an app
This helps ensure we don't keep around old containers related to a given app.
2021-08-08 03:04:50 -04:00
Jose Diaz-Gonzalez
9e18736475 feat: add ability to scope retire call to a single app
Also cleanup the log output a bit for the ps:retire command.
2021-08-08 03:04:25 -04:00
Jose Diaz-Gonzalez
7a564f3185 fix: do not retire the original image
By removing the image cleanup registration, we avoid cases where we delete gliderlabs/herokuish, which may cause issues for users in airgapped installations (where the image may not be pullable from a registry).
2021-08-08 02:24:27 -04:00
Jose Diaz-Gonzalez
e8d9982330 chore: drop unnecessary scheduler-docker-cleanup hook
All the logic was already called from docker-cleanup, so this just lengthened the cleanup time.
2021-08-08 01:57:44 -04:00
Jose Diaz-Gonzalez
e1f1531d42 refactor: call golang version of docker cleanup from shell
This ensures there is only a single implementation.
2021-08-08 01:56:43 -04:00
Jose Diaz-Gonzalez
5e6b27a63f Merge pull request #4731 from dokku/4065-respect-debconf
Respect debconf selections where possible
2021-08-07 20:45:33 -04:00
Jose Diaz-Gonzalez
9f326b3f28 fix: respect debconf selections where possible
This will continue to not override anyone's global domain preferences, but will at least ensure we set the domain prior to the default injected in 00_dokku-standard#install.

Closes #4065
2021-08-07 19:25:01 -04:00
Jose Diaz-Gonzalez
66bded4910 Merge pull request #4730 from dokku/execute-motd
Execute motd at the end of the install
2021-08-07 19:18:53 -04:00
Jose Diaz-Gonzalez
9c96394369 Merge pull request #4729 from dokku/user-auth-count-check
Correct count check for user-auth trigger
2021-08-07 18:44:38 -04:00
Jose Diaz-Gonzalez
df02a1c1cc feat: execute motd at the end of the install
This should prompt users to complete the install as normal.
2021-08-07 18:34:19 -04:00
Jose Diaz-Gonzalez
f0ca3fef54 fix: correct count check for user-auth trigger
There are cases where the user-auth plugin exists but the events plugin is not enabled, and this accounts for that.
2021-08-07 17:55:56 -04:00
Jose Diaz-Gonzalez
ca680c3aeb Merge pull request #4726 from dokku/2247-remove-web-installer
Drop web installer in favor of setup via cli
2021-08-07 17:13:58 -04:00
Jose Diaz-Gonzalez
a1c768b9b3 refactor: drop web installer in favor of setup via cli
This makes the installation a bit more secure by ensuring a user does not accidentally expose a way for unauthorized users to add new ssh keys to the system.

Additionally, this removes the extra HOSTNAME file to make the initial install process easier (that file was not modifiable by any dokku commands.

Closes #2247
2021-08-07 16:36:41 -04:00
Jose Diaz-Gonzalez
857850b4c6 Merge pull request #4723 from dokku/josegonzalez-patch-1
Clarify buildkit instructions
2021-08-06 13:40:45 -04:00
Jose Diaz-Gonzalez
da92be3030 docs: clarify buildkit instructions
There is no need for a reboot
2021-08-06 13:40:34 -04:00
Jose Diaz-Gonzalez
e290965acf Merge pull request #4693 from dokku/add-package-lock
Add package.lock for test app
2021-08-06 13:17:13 -04:00
Jose Diaz-Gonzalez
d1b67f1fff Merge pull request #4721 from dokku/4624-git-submodule-sync
Recursively sync submodules
2021-08-06 12:43:50 -04:00
Jose Diaz-Gonzalez
7c4381bfd5 chore: add package.lock for test app 2021-08-06 12:41:10 -04:00
Jose Diaz-Gonzalez
bc410b4111 fix: recursively sync submodules
Closes #4624
2021-08-06 11:40:28 -04:00
Jose Diaz-Gonzalez
534a5f0898 Merge pull request #4719 from dokku/4665-route-internal
Add support for routing an app to a specified host:port
2021-08-06 11:11:41 -04:00
Jose Diaz-Gonzalez
1a2153585e Merge pull request #4717 from dokku/4710-silence-installer
Silence stderr when checking for ufw on debian systems
2021-08-06 03:13:48 -04:00
Jose Diaz-Gonzalez
547c14d18e Merge pull request #4713 from dokku/4621-default-focal
Make heroku-20/focal the default stack for herokuish builds
2021-08-06 03:06:23 -04:00
Jose Diaz-Gonzalez
d0c0543659 Merge pull request #4716 from dokku/suppress-dos2unix
Suppress dos2unix stderr output during Dockerfile builds
2021-08-06 02:16:17 -04:00
Jose Diaz-Gonzalez
e0a513650e Merge pull request #4715 from dokku/2574-use-sslip
Switch from xip.io to sslip.io
2021-08-06 02:15:53 -04:00
Jose Diaz-Gonzalez
9ecfa843f0 feat: add support for routing an app to a specified host:port
This is useful when there is a service not managed by Dokku but should be exposed via the Dokku routing layer. As an example, some binaries (consul, nomad, vault) expose web uis, and are traditionally run on the host directly vs in a container.

Closes #4665
2021-08-06 01:29:25 -04:00
Jose Diaz-Gonzalez
afd64c3e04 Merge pull request #4718 from dokku/docs-azure-link-update
Update link to azure installation on homepage
2021-08-05 23:52:57 -04:00
Jose Diaz-Gonzalez
9b3ed8d614 docs: update link to azure installation on homepage 2021-08-05 23:52:37 -04:00
Jose Diaz-Gonzalez
79f181cd55 fix: silence stderr when checking for ufw on debian systems
Closes #4710
2021-08-05 23:49:37 -04:00
Jose Diaz-Gonzalez
d5b14769dd feat: make heroku-20/focal the default stack for herokuish builds
Closes #4621
2021-08-05 23:43:07 -04:00
Jose Diaz-Gonzalez
bdc89e5907 Merge pull request #4460 from dokku/4219-registry-plugin
Implement registry plugin
2021-08-05 23:42:28 -04:00
Jose Diaz-Gonzalez
a68234bdf4 chore: suppress dos2unix stderr output during Dockerfile builds 2021-08-05 23:41:03 -04:00
Jose Diaz-Gonzalez
3f2079b4ea Merge pull request #4711 from dokku/4706-bind-utils
Enable installing on RPM systems where bind-utils is bindutils
2021-08-05 23:40:17 -04:00
Jose Diaz-Gonzalez
ecb8a02356 feat: switch from xip.io to sslip.io
xip.io appears to be unsupported after an exodus at basecamp. Switching to sslip.io seems like a decent move.

Refs #2574
2021-08-05 23:30:58 -04:00
Jose Diaz-Gonzalez
39d8465938 Merge pull request #4714 from dokku/libera-chat
Swap from freenode to libera.chat
2021-08-05 23:04:12 -04:00
Jose Diaz-Gonzalez
b15244e672 docs: swap from freenode to libera.chat
Freenode is basically offline at this point and we've had a libera.chat for a while, so we should point to that.

Also default all real-time communication to Slack.

Finally, remove prominent links to IRC. While libera is still available, the lack of monitoring makes it not a great way to provide support to users.
2021-08-05 23:01:35 -04:00
Jose Diaz-Gonzalez
a9905d3508 Merge pull request #4712 from dokku/4695-cron-docs
Clarify the shape of the command that should be entered in app.json for a cron task
2021-08-05 20:28:30 -04:00
Jose Diaz-Gonzalez
77340011bd docs: clarify the shape of the command that should be entered in app.json for a cron task 2021-08-05 20:27:58 -04:00
Jose Diaz-Gonzalez
5c1d99a04c feat: enable installing on RPM systems where bind-utils is bindutils
Closes #4706
2021-08-05 20:24:52 -04:00
Jose Diaz-Gonzalez
b02f8ba88b docs: fix deprecation warning 2021-08-05 20:14:30 -04:00
Jose Diaz-Gonzalez
f973239379 docs: link to registry management docs 2021-08-05 20:14:20 -04:00
Jose Diaz-Gonzalez
f0a125f070 fix: remove the test-app:2 image
The dokku-retire call needs two passes because a later image was a child image of test-app:2.
2021-08-05 18:58:33 -04:00
Jose Diaz-Gonzalez
5a19cebfd7 fix: do not mark images dead when they still have tags 2021-08-05 17:48:09 -04:00
Jose Diaz-Gonzalez
d5697b9399 tests: inject docker credentials for tests 2021-08-05 16:48:22 -04:00
Jose Diaz-Gonzalez
8f98bbc66f fix: do not append trailing slash on empty server values 2021-08-05 15:17:32 -04:00
Jose Diaz-Gonzalez
d4ec8d3ab5 tests: add tests for registry plugin 2021-08-05 04:20:22 -04:00
Jose Diaz-Gonzalez
0a08911800 fix: do not aggressively clean up when using the docker-local scheduler 2021-08-05 04:17:37 -04:00
Jose Diaz-Gonzalez
30a15aaa7a fix: respect pre-deploy task image manipulation
This requires a bc-incompatible break in terms of what triggers the pre-deploy hook (dokku internals vs schedulers).
2021-08-05 04:17:21 -04:00
Jose Diaz-Gonzalez
d727dd76ce fix: ensure we push and cleanup the correct images 2021-08-05 01:13:36 -04:00
Jose Diaz-Gonzalez
39af6359be feat: add a Start() helper function 2021-08-05 01:12:40 -04:00
Jose Diaz-Gonzalez
d1728a4653 fix: avoid returning a numbered image tag if push is not enabled 2021-08-05 01:12:30 -04:00
Jose Diaz-Gonzalez
13608df0ef fix: properly pass in password to docker login command 2021-08-05 01:12:10 -04:00
Jose Diaz-Gonzalez
c07b3161fc fix: build all registry triggers 2021-08-05 01:11:59 -04:00
Jose Diaz-Gonzalez
1f2e2ba61d docs: update registry docs for clarity 2021-08-05 01:11:50 -04:00
Jose Diaz-Gonzalez
93bd3cd9e3 fix: add godoc 2021-08-04 21:49:40 -04:00
Jose Diaz-Gonzalez
9930c0493d docs: update docs for new features 2021-08-04 21:49:38 -04:00
Jose Diaz-Gonzalez
455a80e09d chore: drop unimplemented code 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
9a845664e1 feat: implement image cleanup 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
36c96be091 fix: add missing event hook 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
1a99271fa8 feat: push tag 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
dc04ab912d feat: tag image 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
93f819609e feat: filled in more of pushToRegistry 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
6480957c4f feat: add computed image-repo 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
b33cd266e7 chore: drop unused code 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
88cbae2a6d feat: implement more of the registry plugin 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
3848b467a2 fix: add missing return 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
e68c04b9a6 fix: handle lint issues 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
5d8340d305 feat: stub out a bunch of code 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
336e901c1e fix: add some simple validation 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
a6e4949264 refactor: drop property 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
1b325435b8 docs: add initial registry docs 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
f8edf6b07a docs: move schedulers to live under deployment 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
9e6091e665 feat: add a new hook for global builder-release 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
a755f69e92 feat: first pass at registry plugin 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
518337812f chore: fix comment 2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
324e1ad1b5 Merge pull request #4709 from dokku/deprecation-note
Add migration note for deprecation of ubuntu 16.04
2021-08-04 13:51:41 -04:00
Jose Diaz-Gonzalez
e95384f76b docs: add migration note for deprecation of ubuntu 16.04 2021-08-04 13:45:49 -04:00
Jose Diaz-Gonzalez
111d5c68bf Merge pull request #4707 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-196
chore(deps-dev): bump heroku/heroku-buildpack-php from 195 to 196 in /tests/apps/php
2021-08-03 15:21:48 -04:00
dependabot[bot]
25ecbcdbbd 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 195 to 196.
- [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/v195...v196)

---
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>
2021-08-02 13:08:38 +00:00
Jose Diaz-Gonzalez
ca75d4162d Merge pull request #4508 from dokku/4500-formation-scale
Add support for the formation key in app.json
2021-08-02 00:27:35 -04:00
Jose Diaz-Gonzalez
a8a43812a0 chore: make deprecation notice more readable 2021-08-01 23:15:01 -04:00
Jose Diaz-Gonzalez
7058989941 chore: delete this file on import 2021-08-01 22:34:42 -04:00
Jose Diaz-Gonzalez
0decb386d5 fix: correct issues in parsing and writing an updated app.json 2021-08-01 21:52:05 -04:00
Jose Diaz-Gonzalez
4967cc1d1c fix: do not manually create an app during tests
This will cause weird things to happen due to not initializing the app correctly.
2021-08-01 20:13:50 -04:00
Jose Diaz-Gonzalez
06cb7a0d55 fix: properly update formations 2021-08-01 19:06:33 -04:00
Jose Diaz-Gonzalez
fcd16e849d fix: set correct initial formation 2021-08-01 19:06:25 -04:00
Jose Diaz-Gonzalez
eb55ba5dd0 fix: correct guard 2021-08-01 18:46:41 -04:00
Jose Diaz-Gonzalez
a7593db0c3 refactor: allow specifying clearExisting when calling ps-set-scale 2021-08-01 17:54:12 -04:00
Jose Diaz-Gonzalez
7502cbd13d fix: actually build triggers 2021-08-01 17:53:34 -04:00
Jose Diaz-Gonzalez
823629d332 docs: document ps-can-scale 2021-08-01 17:53:25 -04:00
Jose Diaz-Gonzalez
401683a305 refactor: write DOKKU_SCALE contents to scale property
- remove extraction of DOKKU_SCALE
- migrate to property system
- rewrite internals to use a FormationSlice instead of a map
2021-08-01 17:47:04 -04:00
Jose Diaz-Gonzalez
8fc0cb67ec chore: drop unnecessary line stripping
Since this comes out of ps-current-scale, we can ensure the contents are always valid.
2021-08-01 16:33:42 -04:00
Jose Diaz-Gonzalez
a1dcc2c173 refactor: move ParseScaleOutput to common.go so that it can be used by all plugins 2021-08-01 16:29:50 -04:00
Jose Diaz-Gonzalez
bd4621070c feat: implement ps-can-scale 2021-08-01 16:27:13 -04:00
Jose Diaz-Gonzalez
70eb751868 fix: correct ps-can-scale guard 2021-08-01 16:26:29 -04:00
Jose Diaz-Gonzalez
ef262c26e8 feat: override all existing scale parameters when calling ps-set-scale 2021-08-01 16:20:19 -04:00
Jose Diaz-Gonzalez
5ad5a29a00 docs: add godoc 2021-08-01 16:14:12 -04:00
Jose Diaz-Gonzalez
46d333df4b feat: implement ps-set-scale trigger 2021-08-01 16:13:03 -04:00
Jose Diaz-Gonzalez
247698fea6 refactor: move can-scale check out to command
If the internals call ps-set-scale, we should always respect it.
2021-08-01 16:07:55 -04:00
Jose Diaz-Gonzalez
302537efd2 refactor: skip image fetching when deploys are skipped 2021-08-01 16:07:26 -04:00
Jose Diaz-Gonzalez
a62f04fa7e docs: add godoc 2021-08-01 15:47:55 -04:00
Jose Diaz-Gonzalez
1c98b48e5d fix: add trigger to gitignore 2021-08-01 15:32:08 -04:00
Jose Diaz-Gonzalez
33bf6f59b3 fix: do not output extra newlines 2021-08-01 15:31:59 -04:00
Jose Diaz-Gonzalez
550a0bd07b fix: properly parse input from ps-current-scale 2021-08-01 01:53:46 -04:00
Jose Diaz-Gonzalez
213f7d224c refactor: use ps-current-scale instead of parsing DOKKU_SCALE file when iterating over deployed processes 2021-08-01 01:43:35 -04:00
Jose Diaz-Gonzalez
c62bff3002 refactor: hide dokku scale file parsing inside ps plugin 2021-08-01 01:21:46 -04:00
Jose Diaz-Gonzalez
31f3c429ab docs: fix DOKKU_SCALE reference 2021-08-01 00:33:36 -04:00
Jose Diaz-Gonzalez
fee6773ef3 docs: add deprecation note to migration guide
Also add documentation for formations key.
2021-08-01 00:31:28 -04:00
Jose Diaz-Gonzalez
bc49a2e124 fix: ignore DOKKU_SCALE file if app.json has formations key 2021-08-01 00:30:31 -04:00
Jose Diaz-Gonzalez
3fe10efd09 fix: correct issue with assignment to nil map 2021-07-31 23:00:37 -04:00
Jose Diaz-Gonzalez
772e4286f2 fix: variable reference 2021-07-31 22:44:05 -04:00
Jose Diaz-Gonzalez
b9e30e7e19 fix: remove redundant if check 2021-07-31 22:23:19 -04:00
Jose Diaz-Gonzalez
67317f88df fix: do not force fetching of the DOKKU_SCALE file 2021-07-31 20:54:14 -04:00
Jose Diaz-Gonzalez
c6d99722eb fix: correct stickler errors 2021-07-31 20:54:14 -04:00
Jose Diaz-Gonzalez
bd2aa1bd43 feat: migrate the DOKKU_SCALE property during pre-deploy to app.json 2021-07-31 20:54:14 -04:00
Jose Diaz-Gonzalez
6d9520e599 feat: add support for formation key in app.json file
Still needs triggers for ps-can-scale and ps-scale-set.

Refs #4500
2021-07-31 20:54:14 -04:00
Jose Diaz-Gonzalez
9d0bc930a6 fix: handle empty lines and comments in DOKKU_SCALE file 2021-07-31 20:54:14 -04:00
Jose Diaz-Gonzalez
f63c2d18a3 Merge pull request #4701 from dokku/4699-run-list
Revamp dokku run command
2021-07-27 14:42:56 -04:00
Jose Diaz-Gonzalez
1bdedf1e28 tests: fix for instant run container removal 2021-07-27 13:26:37 -04:00
Jose Diaz-Gonzalez
14b511d673 fix: correct lint error 2021-07-27 13:16:33 -04:00
Jose Diaz-Gonzalez
86a2b7d2e3 docs: clarify when the cli changes were made 2021-07-27 03:03:18 -04:00
Jose Diaz-Gonzalez
a91a0f8abb docs: application => app 2021-07-27 02:59:33 -04:00
Jose Diaz-Gonzalez
5a1a30efeb feat: add ability to list one-off dynos 2021-07-27 02:58:45 -04:00
Jose Diaz-Gonzalez
3d913d89f6 docs: add run:detached to documentation 2021-07-27 02:58:45 -04:00
Jose Diaz-Gonzalez
e0453dbc15 refactor: use cron as the dyno type for one-off commands when running cron tasks 2021-07-27 02:58:45 -04:00
Jose Diaz-Gonzalez
1c6f847c55 docs: update help output 2021-07-27 02:58:45 -04:00
Jose Diaz-Gonzalez
61d4b478ce feat: add --no-tty flag to run and run:detached commands 2021-07-27 02:58:45 -04:00
Jose Diaz-Gonzalez
350a84d253 refactor: deprecate the --detach flag in favor of run:detached 2021-07-27 02:58:44 -04:00
Jose Diaz-Gonzalez
618158a0f3 refactor: deprecate the --rm and --rm-container flags
These flags are not commonly invoked by users, causing issues when cleaning up old containers. Rather than instruct users to use some random flag, just change the default to what is likely to be more common.
2021-07-27 02:58:19 -04:00
Jose Diaz-Gonzalez
dbc3d82017 refactor: move run command to it's own plugin 2021-07-27 02:56:39 -04:00
Jose Diaz-Gonzalez
bd3f753d85 Merge pull request #4697 from dokku/josegonzalez-patch-1
Specify that run containers use the same image
2021-07-27 02:56:34 -04:00
Jose Diaz-Gonzalez
864562221d docs: specify that run containers use the same image 2021-07-24 13:41:03 -04:00
Jose Diaz-Gonzalez
52f2ce35f6 Merge pull request #4686 from dokku/4636-git-sync-bare
Ensure repository is bare when calling git:sync
2021-07-12 00:52:06 -04:00
Jose Diaz-Gonzalez
623aa737e0 fix: set correct variable for git repo root 2021-07-12 00:01:01 -04:00
Jose Diaz-Gonzalez
e8c3472581 Merge pull request #4684 from dokku/4659-add-gpg-agent
Install gpg-agent in bootstrap script
2021-07-11 22:31:12 -04:00
Jose Diaz-Gonzalez
730af2e552 Merge pull request #4687 from dokku/4649-apps-unlock-note
Output message explaining how to remove a deploy lock when a lock is encountered
2021-07-11 22:20:50 -04:00
Jose Diaz-Gonzalez
04ee7a7020 Merge pull request #4683 from dokku/4664-strip-port-publishing
Strip published port flags when triggering deploy tasks
2021-07-11 22:20:02 -04:00
Jose Diaz-Gonzalez
8612f1a926 Merge pull request #4688 from dokku/4633-network-recovery
Add a note on recovering networks
2021-07-11 22:19:21 -04:00
Jose Diaz-Gonzalez
69135ff37e Merge pull request #4689 from dokku/4257-wildcard-note
Add a note about wildcards in the installation doc page
2021-07-11 22:19:11 -04:00
Jose Diaz-Gonzalez
0edb027a53 docs: add a note about wildcards in the installation doc page
Closes #4257
2021-07-11 22:03:56 -04:00
Jose Diaz-Gonzalez
18b0c90d0e docs: add a note on recovering networks
Closes #4633
2021-07-11 21:45:14 -04:00
Jose Diaz-Gonzalez
26a3a8fd0a feat: output message explaining how to remove a deploy lock when a lock is encountered 2021-07-11 21:33:32 -04:00
Jose Diaz-Gonzalez
97b0aa3eb8 fix: ensure repository is bare when calling git:sync
Closes #4636
2021-07-11 21:26:14 -04:00
Jose Diaz-Gonzalez
745473322a Merge pull request #4685 from dokku/josegonzalez-patch-1
tests: Remove ci skip note in PULL_REQUEST_TEMPLATE.md
2021-07-11 21:00:13 -04:00
Jose Diaz-Gonzalez
0066de604e tests: delete PULL_REQUEST_TEMPLATE.md
Tests are no longer skippable.
2021-07-11 20:59:24 -04:00
Jose Diaz-Gonzalez
6797dc7df1 fix: install gpg-agent in bootstrap script
Closes #4659
2021-07-11 20:58:26 -04:00
Jose Diaz-Gonzalez
f9247a9c42 fix: strip published port flags when triggering deploy tasks
Closes #4664
2021-07-11 20:55:12 -04:00
Jose Diaz-Gonzalez
20f9fae613 Merge pull request #4682 from dokku/better-report-output
Properly space report output
2021-07-10 18:01:10 -04:00
Jose Diaz-Gonzalez
84b34b2221 feat: properly space report output 2021-07-10 17:57:01 -04:00
Jose Diaz-Gonzalez
69ec927fd7 Merge pull request #4502 from dokku/4501-monorepo-support
Add monorepo support
2021-07-10 17:07:23 -04:00
Jose Diaz-Gonzalez
19f9648b40 fix: correct shfmt and shellcheck warnings 2021-07-10 15:44:41 -04:00
Jose Diaz-Gonzalez
be6c4dc6df fix: correct shfmt and shellcheck warnings 2021-07-10 15:38:19 -04:00
Jose Diaz-Gonzalez
7292eaefc3 tests: add test for builder-pack:set projectoml-path 2021-07-10 15:32:59 -04:00
Jose Diaz-Gonzalez
84ca9ff7e5 fix: call correct function 2021-07-10 14:57:59 -04:00
Jose Diaz-Gonzalez
24905e74a5 chore: drop unused variable 2021-07-10 14:57:59 -04:00
Jose Diaz-Gonzalez
4022ebd31c refactor: allow missing project.toml
We should treat the project.toml as an optional file, as is the Procfile. Additionally, moving the file into place early will ensure there is no chance of selecting the wrong file.
2021-07-10 14:57:59 -04:00
Jose Diaz-Gonzalez
135e78c868 tests: add test for procfile-path 2021-07-10 14:57:59 -04:00
Jose Diaz-Gonzalez
a22391b7ad fix: copy the specified Procfile into place at the earliest possibility 2021-07-10 14:57:59 -04:00
Jose Diaz-Gonzalez
a4b024d6f9 tests: add a test for dockerfile-path 2021-07-10 14:57:58 -04:00
Jose Diaz-Gonzalez
d4016223d5 tests: add tests for build-dir 2021-07-10 14:57:58 -04:00
Jose Diaz-Gonzalez
2580ad305c tests: ensure app deploys successfully by default in appjson-path test 2021-07-10 14:57:58 -04:00
Jose Diaz-Gonzalez
377ca5ca22 fix: properly handle directory replacement
The previous version _also_ deleted the temp working dir, causing issues with subsequent directory access.
2021-07-10 14:57:58 -04:00
Jose Diaz-Gonzalez
fda75cbaa5 fix: gitignore correct file 2021-07-10 14:57:58 -04:00
Jose Diaz-Gonzalez
441d1c2676 tests: add test for non-existent file 2021-07-10 14:57:58 -04:00
Jose Diaz-Gonzalez
0ab135b034 tests: add test for app-json:set 2021-07-10 14:57:58 -04:00
Jose Diaz-Gonzalez
5901c57bde docs: fix style issues 2021-07-10 14:57:58 -04:00
Jose Diaz-Gonzalez
0bd6970b4b chore: update go.sum 2021-07-10 14:57:57 -04:00
Jose Diaz-Gonzalez
bdfb1ee549 fix: add entries to app-json gitignore 2021-07-10 14:57:57 -04:00
Jose Diaz-Gonzalez
f62373c3fa docs: add notes for what happens if the specified values do not exist 2021-07-10 14:57:57 -04:00
Jose Diaz-Gonzalez
79cd7e4cab feat: do not fail build when missing project.toml 2021-07-10 14:57:57 -04:00
Jose Diaz-Gonzalez
326031d289 fix: drop unnecessary report hook 2021-07-10 14:57:57 -04:00
Jose Diaz-Gonzalez
d68473bfc2 refactor: cleanup Dockerfile and project.toml lookups 2021-07-10 14:57:57 -04:00
Jose Diaz-Gonzalez
cb16e11cf5 fix: correct filename 2021-07-10 14:57:57 -04:00
Jose Diaz-Gonzalez
5c04328081 fix: correct filename 2021-07-10 14:57:57 -04:00
Jose Diaz-Gonzalez
913f709c39 fix: add missing trigger to builder plugin 2021-07-10 14:57:56 -04:00
Jose Diaz-Gonzalez
41f6480834 fix: add missing report trigger to app-json plugin 2021-07-10 14:57:56 -04:00
Jose Diaz-Gonzalez
ae6b0b07aa fix: add missing report trigger for builder-herokuish 2021-07-10 14:57:56 -04:00
Jose Diaz-Gonzalez
a6113f88e7 featfeat: add ability to specify a custom app.json path 2021-07-10 14:57:56 -04:00
Jose Diaz-Gonzalez
c3ece32145 feat: add ability to specify a custom Procfile path 2021-07-10 14:57:56 -04:00
Jose Diaz-Gonzalez
9082c51074 feat: add ability to specify a custom project.toml path 2021-07-10 14:57:56 -04:00
Jose Diaz-Gonzalez
da2b54823b feat: add ability to specify a custom Dockerfile for an app 2021-07-10 14:57:55 -04:00
Jose Diaz-Gonzalez
6d40d52d7d feat: add ability to specify a custom build directory for an app 2021-07-10 14:57:55 -04:00
Jose Diaz-Gonzalez
fbdb76e705 Merge pull request #4681 from dokku/ignore-duplication
Ignore duplication warnings in codacy
2021-07-10 14:57:23 -04:00
Jose Diaz-Gonzalez
847a405712 tests: ignore duplication warnings in codacy 2021-07-10 14:52:11 -04:00
Jose Diaz-Gonzalez
7cce5b1b79 Merge pull request #4680 from dokku/docs-cleanup
Cleanup markdown lint errors
2021-07-09 23:13:40 -04:00
Jose Diaz-Gonzalez
b75dc20a7d docs: more cleanup 2021-07-09 23:13:21 -04:00
Jose Diaz-Gonzalez
0c7562c6f8 Merge pull request #4679 from dokku/docs-cleanup
Cleanup markdown lint errors
2021-07-09 23:07:19 -04:00
Jose Diaz-Gonzalez
539f08f627 docs: more cleanup 2021-07-09 23:06:38 -04:00
Jose Diaz-Gonzalez
4448399e71 Merge pull request #4678 from dokku/docs-cleanup
Cleanup markdown lint errors
2021-07-09 22:48:18 -04:00
Jose Diaz-Gonzalez
c50f39b4fa docs: more cleanup 2021-07-09 22:46:52 -04:00
Jose Diaz-Gonzalez
4469b7428a Merge pull request #4677 from dokku/docs-cleanup
Cleanup markdown lint errors
2021-07-09 22:27:20 -04:00
Jose Diaz-Gonzalez
a108856a98 docs: more cleanup 2021-07-09 22:22:51 -04:00
Jose Diaz-Gonzalez
1b216841a8 docs: more cleanup 2021-07-09 22:16:52 -04:00
Jose Diaz-Gonzalez
db421c97dc docs: cleanup deployment-tasks.md and plugins.md 2021-07-09 22:16:52 -04:00
Jose Diaz-Gonzalez
93f1a8e59d Merge pull request #4509 from dokku/4477-initial-network
Add ability to specify initial network
2021-07-09 22:06:28 -04:00
Jose Diaz-Gonzalez
d72c3ac6bf Merge pull request #4671 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-195
chore(deps-dev): bump heroku/heroku-buildpack-php from 193 to 195 in /tests/apps/php
2021-07-09 21:20:07 -04:00
Jose Diaz-Gonzalez
a3d9db0e00 docs: clarify bridge network 2021-07-09 21:17:42 -04:00
Jose Diaz-Gonzalez
e8a4a4c89e tests: always delete the initial-network in tests 2021-07-09 21:14:18 -04:00
Jose Diaz-Gonzalez
50361505db chore: add deprecation notice 2021-07-09 21:14:06 -04:00
Jose Diaz-Gonzalez
267cc3fd54 fix: respect custom networks when computing the container ip
We also change the inspect format to support network names with non alphanumeric characters. See https://github.com/moby/moby/issues/35886 for details.
2021-07-09 21:13:57 -04:00
Jose Diaz-Gonzalez
a086302fc5 fix: actually create the network triggers 2021-07-09 21:12:43 -04:00
Jose Diaz-Gonzalez
bd894ceaaf docs: add note to migration guide 2021-07-09 20:30:09 -04:00
Jose Diaz-Gonzalez
3ed019d708 tests: add test for initial network 2021-07-09 20:30:09 -04:00
Jose Diaz-Gonzalez
012040d5c7 chore: drop unused function 2021-07-09 20:30:09 -04:00
Jose Diaz-Gonzalez
8d26d06f5e feat: allow all network properties to be globally set
Global settings are cool if managed in a standard way (ugh env vars) so we'll add them back for golang plugins as necessary.
2021-07-09 20:30:09 -04:00
Jose Diaz-Gonzalez
84907be0cd fix: gitignore binaries in common plugin 2021-07-09 20:30:09 -04:00
Jose Diaz-Gonzalez
21aef2eef1 chore: properly format go.mod files 2021-07-09 20:30:09 -04:00
Jose Diaz-Gonzalez
017037586c feat: add ability to specify the initial container network
Closes #4477
2021-07-09 20:30:09 -04:00
Jose Diaz-Gonzalez
1bb4e4920b Merge pull request #4672 from bjab/patch-1
Fix typo in pack builder docs
2021-07-09 19:57:08 -04:00
dependabot[bot]
1ff3b57f88 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 193 to 195.
- [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/v193...v195)

---
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>
2021-07-09 23:56:35 +00:00
Jose Diaz-Gonzalez
d473352f7f Merge pull request #4668 from RealOrangeOne/patch-1
Make scripts a list
2021-07-09 19:56:27 -04:00
Jose Diaz-Gonzalez
bf0d7bc23a Merge pull request #4674 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.6
chore(deps): bump jetty-servlet from 11.0.5 to 11.0.6 in /tests/apps/java
2021-07-09 19:55:38 -04:00
Jose Diaz-Gonzalez
7fe94596cd Merge pull request #4673 from eltociear/patch-1
Fix comment typo in dokku binary
2021-07-09 19:55:28 -04:00
dependabot[bot]
6135b762af chore(deps): bump jetty-servlet in /tests/apps/java
Bumps [jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.5 to 11.0.6.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.5...jetty-11.0.6)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-servlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-07 13:09:37 +00:00
Ikko Ashimine
cd35f7e545 refactor: fix typo in dokku
arugments -> arguments
2021-07-05 20:59:15 +09:00
bjab
acfdbd5d4d Update pack duilder docs
pack plugin searches for `project.toml` (without dot)
2021-07-04 16:31:36 +02:00
Jake Howard
37a048d201 Make scripts a list
Without this, the config is invalid.

Technically this is only necessary for `after_script`, but changed both for consistency.
2021-06-26 22:07:15 +01:00
Jose Diaz-Gonzalez
506ebc3f23 Merge pull request #4652 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.5
chore(deps): bump jetty-servlet from 11.0.4 to 11.0.5 in /tests/apps/java
2021-06-24 23:02:06 -04:00
Jose Diaz-Gonzalez
6c20d29e55 Merge pull request #4653 from dokku/dependabot/maven/tests/apps/java/org.apache.maven.plugins-maven-dependency-plugin-3.2.0
chore(deps): bump maven-dependency-plugin from 3.1.2 to 3.2.0 in /tests/apps/java
2021-06-24 23:00:53 -04:00
Jose Diaz-Gonzalez
88244b2918 Merge pull request #4661 from dy3l/fix-case-style
Fix case style
2021-06-24 17:57:06 -04:00
dy3l
30dac07817 Fix case style 2021-06-24 22:42:02 +01:00
dependabot[bot]
40e50c9a2f chore(deps): bump maven-dependency-plugin in /tests/apps/java
Bumps [maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.1.2 to 3.2.0.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.1.2...maven-dependency-plugin-3.2.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-dependency-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 08:02:23 +00:00
dependabot[bot]
5894c334b9 chore(deps): bump jetty-servlet in /tests/apps/java
Bumps [jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.4 to 11.0.5.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.4...jetty-11.0.5)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-servlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 08:02:20 +00:00
Jose Diaz-Gonzalez
9c05854928 Merge pull request #4651 from dokku/josegonzalez-patch-1
fix: do not attempt to retire when there was no pre-existing container
2021-06-13 16:29:37 -04:00
Jose Diaz-Gonzalez
d666d67877 fix: do not attempt to retire when there was no pre-existing container 2021-06-12 13:55:35 -04:00
Jose Diaz-Gonzalez
c09444ae39 Merge pull request #4648 from dokku/dependabot/pip/tests/apps/dockerfile-release/django-3.1.12
chore(deps): bump django from 3.1.9 to 3.1.12 in /tests/apps/dockerfile-release
2021-06-10 20:21:34 -04:00
Jose Diaz-Gonzalez
2f10d04452 Merge pull request #4647 from AngCosmin/patch-1
GitHub Actions: Fixed unable to find version `v1`
2021-06-10 20:21:02 -04:00
dependabot[bot]
1caa12a526 chore(deps): bump django in /tests/apps/dockerfile-release
Bumps [django](https://github.com/django/django) from 3.1.9 to 3.1.12.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.1.9...3.1.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 20:11:45 +00:00
Cosmin Anghel
1d7354f8a3 Fixed unable to find version v1
Unable to resolve action `dokku/github-action@v1`, unable to find version `v1`
2021-06-10 13:59:41 +03:00
Jose Diaz-Gonzalez
8f56787bf1 Merge pull request #4507 from dokku/4505-drop-xenial
Drop support for Ubuntu 16.04
2021-06-09 14:22:05 -04:00
Jose Diaz-Gonzalez
01f90374b7 Merge pull request #4645 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.4
chore(deps): bump jetty-servlet from 11.0.3 to 11.0.4 in /tests/apps/java
2021-06-09 14:21:26 -04:00
Jose Diaz-Gonzalez
b34ec89871 Merge pull request #4644 from dokku/josegonzalez-patch-1
Update unit test publisher to latest
2021-06-09 14:21:06 -04:00
dependabot[bot]
c345882a2a chore(deps): bump jetty-servlet in /tests/apps/java
Bumps [jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.3 to 11.0.4.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.3...jetty-11.0.4)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-servlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 06:28:16 +00:00
Jose Diaz-Gonzalez
b16e5516bf fix: properly quote traps with variables 2021-06-09 01:17:48 -04:00
Jose Diaz-Gonzalez
5fdae7dc1e tests: fix sorting of output 2021-06-09 00:46:36 -04:00
Jose Diaz-Gonzalez
2757f4157e debug: check the trace output to see what is leaving a lock 2021-06-08 23:02:58 -04:00
Jose Diaz-Gonzalez
ae8a12a4b4 tests: fix sorting of output 2021-06-08 23:02:42 -04:00
Jose Diaz-Gonzalez
a585b07522 fix: properly fetch the internal ip on ubuntu 18.04 2021-06-08 20:36:28 -04:00
Jose Diaz-Gonzalez
3b655fb6a1 debug: check network 2021-06-08 20:36:28 -04:00
Jose Diaz-Gonzalez
62ef52a4cd debug: enable set -x 2021-06-08 20:36:28 -04:00
Jose Diaz-Gonzalez
135c7d4b2c chore: drop support for Ubuntu 16.04
As of April 2021, it will no longer be an LTS release, and thus us supporting it will increase maintenance burdens.

Also switch CI to use 18.04, so as to test what we currently support.

Closes #4505
2021-06-08 20:36:26 -04:00
Jose Diaz-Gonzalez
88606e272f chore: update unit test publisher to latest
By using v1, github actions will resolve to the latest v1.x release.
2021-06-08 20:34:51 -04:00
Jose Diaz-Gonzalez
b00061fa0f Merge pull request #4642 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-193
chore(deps-dev): bump heroku/heroku-buildpack-php from 192 to 193 in /tests/apps/php
2021-06-08 13:17:37 -04:00
dependabot[bot]
9562a75351 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 192 to 193.
- [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/v192...v193)

---
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>
2021-06-08 06:35:36 +00:00
Jose Diaz-Gonzalez
d633f4be06 Merge pull request #4641 from dbazile/master
Add initial support for installing onto Fedora
2021-06-07 13:00:17 -04:00
David Bazile
2577233ff0 Add nascent support for Fedora 2021-06-07 10:18:32 -04:00
Jose Diaz-Gonzalez
a15797ce6c Merge pull request #4639 from dokku/josegonzalez-patch-1
Correct path for azure-vm releases
2021-06-06 20:34:57 -04:00
Jose Diaz-Gonzalez
c7700e8cc2 fix: correct path for azure-vm releases
[ci skip]
2021-06-06 20:34:42 -04:00
Dokku Bot
248577d4f4 Release 0.24.10
# History

## 0.24.10

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.24.10/bootstrap.sh
sudo DOKKU_TAG=v0.24.10 bash bootstrap.sh
```

### Bug Fixes

- #4638: @josegonzalez Schedule a retire as early as possible

### Documentation

- #4635: @hiepxanh Add buildkit cache example to Dockerfile docs
- #4632: @scflode Fix typo in docs for GitHub Actions

### Other

- #4637: @dependabot[bot] chore(deps): bump django from 3.1.8 to 3.1.9 in /tests/apps/dockerfile-release
2021-06-07 00:25:18 +00:00
Jose Diaz-Gonzalez
46746babd5 Merge pull request #4635 from hiepxanh/patch-1
Add buildkit cache example to Dockerfile docs
2021-06-06 17:50:23 -04:00
Jose Diaz-Gonzalez
0759c055d3 chore: reword buildkit cache docs 2021-06-06 17:49:40 -04:00
Jose Diaz-Gonzalez
06eb9e5b02 Merge pull request #4638 from dokku/4576-always-schedule-retire
Schedule a retire as early as possible
2021-06-06 17:45:43 -04:00
Jose Diaz-Gonzalez
bf7d6f40ce refactor: schedule a retire as early as possible
Rather than wait for all containers to come up successfully, immediately schedule a retirement of the old container. We'll still perform a disown'd removal after a successful deploy, but we _also_ schedule a retirement when:

- the new container is run successfully, before we update the container id file
- the new container fails and we run the kill_new command (the schedule is there to ensure removal if the container removal commands fail)

Closes #4576
2021-06-06 17:04:49 -04:00
Jose Diaz-Gonzalez
49c18e94e8 Merge pull request #4637 from dokku/dependabot/pip/tests/apps/dockerfile-release/django-3.1.9
chore(deps): bump django from 3.1.8 to 3.1.9 in /tests/apps/dockerfile-release
2021-06-06 16:16:37 -04:00
Jose Diaz-Gonzalez
efa34d4bcf Merge pull request #4632 from scflode/patch-1
Fix typo in docs for GitHub Actions
2021-06-05 18:30:31 -04:00
dependabot[bot]
8f2c1ea389 chore(deps): bump django in /tests/apps/dockerfile-release
Bumps [django](https://github.com/django/django) from 3.1.8 to 3.1.9.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.1.8...3.1.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 23:59:02 +00:00
hiepxanh
c1df31b106 docs: dockerfiles buildkit add cache directory ex 2021-06-04 15:21:35 +07:00
hiepxanh
b3d0dfb704 docs: dockerfiles buildkit add cache directory ex
Add example how to cache directory on dockerfile
2021-06-04 15:14:04 +07:00
Flo Schuessel
28a132ba33 Fix typo in docs
The PR fixes a small typo in the docs
2021-06-02 11:25:33 +02:00
Dokku Bot
29d2113f64 Release 0.24.9
# History

## 0.24.9

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.24.9/bootstrap.sh
sudo DOKKU_TAG=v0.24.9 bash bootstrap.sh
```

### Bug Fixes

- #4617: @josegonzalez Actually use the null buildpack for the sample python app
- #4616: @josegonzalez Update azure-vm file paths to handled azure renames

### New Features

- #4629: @josegonzalez Upgrade dokku docker image to latest bionic release

### Documentation

- #4622: @allanitis Update nginx logging configuration example to better support AWS Cloudwatch

### Other

- #4627: @Tarow Respect custom stack when using cloud native builder
- #4619: @dependabot[bot] chore(deps): bump flask from 2.0.0 to 2.0.1 in /tests/apps/python-flask
- #4628: @dependabot[bot] chore(deps): bump monolog/monolog from 1.26.0 to 1.26.1 in /tests/apps/php
- #4618: @dependabot[bot] chore(deps): bump jetty-servlet from 11.0.2 to 11.0.3 in /tests/apps/java
2021-05-31 23:52:25 +00:00
Jose Diaz-Gonzalez
6d505fc75a Merge pull request #4629 from dokku/4625-upgrade-base
Upgrade dokku docker image to latest bionic release
2021-05-31 16:52:44 -04:00
Jose Diaz-Gonzalez
8d016faf90 Merge pull request #4617 from dokku/actual-null
Actually use the null buildpack for the sample python app
2021-05-31 16:36:52 -04:00
Jose Diaz-Gonzalez
f099681e3d feat: upgrade dokku docker image to latest bionic release
Refs #4625
2021-05-31 16:05:35 -04:00
Jose Diaz-Gonzalez
634c8b48d1 fix: ensure the python app has a requirements.txt file
Without this, detection will fail on the heroku/python buildpack.
2021-05-31 16:02:09 -04:00
Jose Diaz-Gonzalez
244651dcba fix: actually use the null buildpack for the sample python app 2021-05-31 16:00:28 -04:00
Jose Diaz-Gonzalez
edb5d067b8 Merge pull request #4627 from Tarow/custom-cnb-stack
Respect custom stack when using cloud native builder
2021-05-31 15:53:51 -04:00
Jose Diaz-Gonzalez
3687c1800e Merge pull request #4619 from dokku/dependabot/pip/tests/apps/python-flask/flask-2.0.1
chore(deps): bump flask from 2.0.0 to 2.0.1 in /tests/apps/python-flask
2021-05-31 15:53:09 -04:00
Jose Diaz-Gonzalez
33d6133f49 Merge pull request #4628 from dokku/dependabot/composer/tests/apps/php/monolog/monolog-1.26.1
chore(deps): bump monolog/monolog from 1.26.0 to 1.26.1 in /tests/apps/php
2021-05-31 15:52:59 -04:00
dependabot[bot]
8ac63b9f65 chore(deps): bump monolog/monolog in /tests/apps/php
Bumps [monolog/monolog](https://github.com/Seldaek/monolog) from 1.26.0 to 1.26.1.
- [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.26.0...1.26.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 07:50:59 +00:00
Jose Diaz-Gonzalez
8bbeb90f6f docs: use correct variable name 2021-05-30 15:32:54 -04:00
Jose Diaz-Gonzalez
c969a1a742 fix: use correct variable 2021-05-30 15:31:19 -04:00
Jose Diaz-Gonzalez
3d745b7c12 chore: use one fewer variable 2021-05-30 15:30:02 -04:00
Niklas Tasler
e38905765b respect custom stack when using cloud native builder 2021-05-30 17:54:39 +02:00
Jose Diaz-Gonzalez
765bc82028 Merge pull request #4622 from allanitis/patch-1
Fix typo in nginx logging configuration example
2021-05-27 02:20:03 -04:00
Matt Allan
c5d329db70 Fix typo: Remove extra space in nginx logging config example 2021-05-27 16:11:00 +10:00
Jose Diaz-Gonzalez
6e0dec7aa2 Merge pull request #4618 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.3
chore(deps): bump jetty-servlet from 11.0.2 to 11.0.3 in /tests/apps/java
2021-05-24 23:49:04 -04:00
dependabot[bot]
f6bc8c7f5b chore(deps): bump flask from 2.0.0 to 2.0.1 in /tests/apps/python-flask
Bumps [flask](https://github.com/pallets/flask) from 2.0.0 to 2.0.1.
- [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.0...2.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 07:47:00 +00:00
dependabot[bot]
5214a3518c chore(deps): bump jetty-servlet in /tests/apps/java
Bumps [jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.2 to 11.0.3.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.2...jetty-11.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 07:46:35 +00:00
Jose Diaz-Gonzalez
8b836a4743 Merge pull request #4616 from dokku/josegonzalez-patch-1
Update azure-vm file paths to handled azure renames
2021-05-23 19:51:57 -04:00
Jose Diaz-Gonzalez
de3167c146 Update azure-vm file paths to handled azure renames 2021-05-23 19:51:42 -04:00
Dokku Bot
c6404f813d Release 0.24.8
# History

## 0.24.8

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.24.8/bootstrap.sh
sudo DOKKU_TAG=v0.24.8 bash bootstrap.sh
```

### Bug Fixes

- #4615: @josegonzalez Remove empty plugin directories during upgrade
- #4613: @josegonzalez Correct failing repo test
- #4612: @josegonzalez fix: always retire deployment task containers

### Documentation

- #4607: @serixscorpio Update link to dokku on Azure deployment page
- #4583: @josegonzalez Set correct redirect for installation

### Other

- #4610: @dependabot[bot] chore(deps): bump jinja2 from 2.11.3 to 3.0.1 in /tests/apps/python-flask
- #4614: @dependabot[bot] chore(deps): bump flask from 2.0.0 to 2.0.1 in /tests/apps/multi
- #4611: @dependabot[bot] chore(deps): bump thin from 1.8.0 to 1.8.1 in /tests/apps/ruby
- #4609: @dependabot[bot] chore(deps): bump socket.io from 4.0.2 to 4.1.2 in /tests/apps/.websocket.disabled
- #4608: @dependabot[bot] chore(deps): bump werkzeug from 1.0.1 to 2.0.1 in /tests/apps/python-flask
- #4600: @dependabot[bot] chore(deps): bump flask from 1.1.2 to 2.0.0 in /tests/apps/multi
- #4598: @dependabot[bot] chore(deps): bump flask from 1.1.2 to 2.0.0 in /tests/apps/python-flask
- #4592: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 191 to 192 in /tests/apps/php
- #4581: @dependabot-preview[bot] Upgrade to GitHub-native Dependabot
2021-05-23 23:34:19 +00:00
Jose Diaz-Gonzalez
8d0977f015 Merge pull request #4615 from dokku/4593-remove-empty-plugins
Remove empty plugin directories during upgrade
2021-05-23 18:26:52 -04:00
Jose Diaz-Gonzalez
f9deab94f9 fix: remove empty plugin directories during upgrade
Closes #4593
2021-05-23 17:37:08 -04:00
Jose Diaz-Gonzalez
a54b49362d Merge pull request #4610 from dokku/dependabot/pip/tests/apps/python-flask/jinja2-3.0.1
chore(deps): bump jinja2 from 2.11.3 to 3.0.1 in /tests/apps/python-flask
2021-05-22 22:40:48 -04:00
dependabot[bot]
360c10d90e chore(deps): bump jinja2 in /tests/apps/python-flask
Bumps [jinja2](https://github.com/pallets/jinja) from 2.11.3 to 3.0.1.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/2.11.3...3.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-23 02:40:40 +00:00
Jose Diaz-Gonzalez
9201860aa8 Merge pull request #4614 from dokku/dependabot/pip/tests/apps/multi/flask-2.0.1
chore(deps): bump flask from 2.0.0 to 2.0.1 in /tests/apps/multi
2021-05-22 22:40:32 -04:00
dependabot[bot]
3a5942b75d chore(deps): bump flask from 2.0.0 to 2.0.1 in /tests/apps/multi
Bumps [flask](https://github.com/pallets/flask) from 2.0.0 to 2.0.1.
- [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.0...2.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-23 02:40:27 +00:00
Jose Diaz-Gonzalez
5bf4c41c1d Merge pull request #4611 from dokku/dependabot/bundler/tests/apps/ruby/thin-1.8.1
chore(deps): bump thin from 1.8.0 to 1.8.1 in /tests/apps/ruby
2021-05-22 22:40:18 -04:00
Jose Diaz-Gonzalez
0f1682a9b7 Merge pull request #4609 from dokku/dependabot/npm_and_yarn/tests/apps/dot-websocket.disabled/socket.io-4.1.2
chore(deps): bump socket.io from 4.0.2 to 4.1.2 in /tests/apps/.websocket.disabled
2021-05-22 22:39:59 -04:00
Jose Diaz-Gonzalez
1222ff9c92 Merge pull request #4608 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-2.0.1
chore(deps): bump werkzeug from 1.0.1 to 2.0.1 in /tests/apps/python-flask
2021-05-22 22:39:43 -04:00
dependabot[bot]
410c3dd103 chore(deps): bump socket.io in /tests/apps/.websocket.disabled
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.0.2 to 4.1.2.
- [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/4.0.2...4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-22 23:58:04 +00:00
dependabot[bot]
3028dc4182 chore(deps): bump thin from 1.8.0 to 1.8.1 in /tests/apps/ruby
Bumps [thin](https://github.com/macournoyer/thin) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/macournoyer/thin/releases)
- [Changelog](https://github.com/macournoyer/thin/blob/master/CHANGELOG)
- [Commits](https://github.com/macournoyer/thin/compare/v1.8.0...v1.8.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-22 23:57:52 +00:00
dependabot[bot]
69e449788d chore(deps): bump werkzeug in /tests/apps/python-flask
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 1.0.1 to 2.0.1.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/1.0.1...2.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-22 23:57:30 +00:00
Jose Diaz-Gonzalez
c3d23103e2 Merge pull request #4600 from dokku/dependabot/pip/tests/apps/multi/flask-2.0.0
chore(deps): bump flask from 1.1.2 to 2.0.0 in /tests/apps/multi
2021-05-22 19:57:06 -04:00
Jose Diaz-Gonzalez
e5d626574c Merge pull request #4598 from dokku/dependabot/pip/tests/apps/python-flask/flask-2.0.0
chore(deps): bump flask from 1.1.2 to 2.0.0 in /tests/apps/python-flask
2021-05-22 19:56:56 -04:00
Jose Diaz-Gonzalez
cce61f52ad Merge pull request #4592 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-192
chore(deps-dev): bump heroku/heroku-buildpack-php from 191 to 192 in /tests/apps/php
2021-05-22 19:56:46 -04:00
Jose Diaz-Gonzalez
bfe21844ea Merge pull request #4613 from dokku/fix-repo-test
Correct failing repo test
2021-05-22 19:56:26 -04:00
Jose Diaz-Gonzalez
0532cae666 fix: correct failing repo test
The previous version grepped for the number 0, which is now output in the repo cache line count. We should check for the exact value instead.
2021-05-22 19:28:06 -04:00
Jose Diaz-Gonzalez
a6b36ae62f Merge pull request #4612 from dokku/retire-task-containers
fix: always retire deployment task containers
2021-05-22 18:35:15 -04:00
Jose Diaz-Gonzalez
8766820974 fix: always retire deployment task containers
Without this, the normal cleanup routine would not remove the containers, and removal would require a manual call to 'dokku cleanup'.
2021-05-22 15:37:21 -04:00
Jose Diaz-Gonzalez
85b09e11cf Merge pull request #4607 from serixscorpio/patch-1
Update link to dokku on Azure deployment page [ci skip]
2021-05-16 23:13:06 -04:00
Eric Ti-Yu Chiang
5d1d466edb Update link to dokku on Azure deployment page
The old link is broken.
2021-05-16 23:06:27 -04:00
dependabot[bot]
a9930fb167 chore(deps): bump flask from 1.1.2 to 2.0.0 in /tests/apps/multi
Bumps [flask](https://github.com/pallets/flask) from 1.1.2 to 2.0.0.
- [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/1.1.2...2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 06:19:02 +00:00
dependabot[bot]
b628b68aef chore(deps): bump flask from 1.1.2 to 2.0.0 in /tests/apps/python-flask
Bumps [flask](https://github.com/pallets/flask) from 1.1.2 to 2.0.0.
- [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/1.1.2...2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 06:18:54 +00:00
dependabot[bot]
a1e7f19580 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 191 to 192.
- [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/v191...v192)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 08:08:37 +00:00
Jose Diaz-Gonzalez
f4b4752e20 Merge pull request #4583 from dokku/josegonzalez-patch-1
Set correct redirect for installation
2021-05-01 18:00:36 -04:00
Jose Diaz-Gonzalez
b3d547db30 fix: set correct redirect for installation
[ci skip]
2021-05-01 17:59:39 -04:00
Jose Diaz-Gonzalez
23a54f58b0 Merge pull request #4581 from dokku/dependabot/add-v2-config-file
Upgrade to GitHub-native Dependabot
2021-04-28 12:49:38 -04:00
Jose Diaz-Gonzalez
e16ec3ab9d chore: fix formatting 2021-04-28 12:48:22 -04:00
dependabot-preview[bot]
9e8f6a36f5 Upgrade to GitHub-native Dependabot 2021-04-28 16:46:14 +00:00
Dokku Bot
496ea86840 Release 0.24.7
# History

## 0.24.7

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.24.7/bootstrap.sh
sudo DOKKU_TAG=v0.24.7 bash bootstrap.sh
```

### Bug Fixes

- #4574: @Cellane Fix alternate-tags content & escaping

### Other

- #4575: @Cellane Exclude additional ShellCheck tests
2021-04-22 05:58:42 +00:00
Jose Diaz-Gonzalez
b3854eb2c3 Merge pull request #4575 from Cellane/patch-2
Exclude additional ShellCheck tests
2021-04-22 01:57:29 -04:00
Milan Vit
2be6c8b86d Add explanation for exclusion 2021-04-22 14:25:23 +09:00
Milan Vit
3db6dbfcb3 Exclude additional ShellCheck tests 2021-04-22 14:22:12 +09:00
Jose Diaz-Gonzalez
dfd55d0eb0 Merge pull request #4574 from Cellane/patch-1
Fix alternate-tags content & escaping
2021-04-22 01:05:36 -04:00
Milan Vit
ca6ac610a2 Fix alternate-tags content & escaping 2021-04-22 13:23:33 +09:00
Dokku Bot
b943edcd24 Release 0.24.6
# History

## 0.24.6

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.24.6/bootstrap.sh
sudo DOKKU_TAG=v0.24.6 bash bootstrap.sh
```

### Bug Fixes

- #4493: @Cellane Ensure alternate-tags is properly injected for git:from-image deploys
- #4563: @Akirtovskis Tough netrc file when setting git:auth entries
- #4566: @jasiek Normalize Dockerfile line terminators to handle issues in port extraction
- #4567: @josegonzalez Ensure plugin:update updates all plugins when no plugin is specified
- #4568: @josegonzalez Do not insert log max-size when log-driver is set at daemon-level
- #4554: @josegonzalez Ensure deployment task containers get associated to internal networks

### New Features

- #4557: @josegonzalez Add bash-completion to debian package recommends
- #4484: @lunswor Bumps vector image version to 0.12.x

### Other

- #4569: @dependabot-preview[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 190 to 191 in /tests/apps/php
2021-04-17 01:53:29 +00:00
Jose Diaz-Gonzalez
03ff6e9824 add verbose debugging to formula releasing 2021-04-16 14:45:54 -04:00
Jose Diaz-Gonzalez
7847c8b99c Merge pull request #4493 from Cellane/add-failing-test-for-image-labeling
Ensure alternate-tags is properly injected for git:from-image deploys
2021-04-16 14:37:55 -04:00
Jose Diaz-Gonzalez
8660d58eb0 fix: inject alternate label when building from an image
This label is otherwise missing, causing tooling that might want to know about it's pre-existing labels - specifically, docker-image-labeler - to fail to run as expected.
2021-04-16 12:28:56 -04:00
Jose Diaz-Gonzalez
9de027167d tests: make test a bit clearer 2021-04-16 12:28:56 -04:00
Milan Vit
65095fa4f7 💚 Alter tests further 2021-04-16 12:28:56 -04:00
Milan Vit
f07f489ef6 💚 Break test by fixing it 2021-04-16 12:28:56 -04:00
Milan Vit
15f4e94b4f ✅ Add (hopefully) failing test for image labeling 2021-04-16 12:28:56 -04:00
Jose Diaz-Gonzalez
6d66590fd4 Merge pull request #4563 from Akirtovskis/add-and-remove-netrc-for-git-auth
Tough netrc file when setting git:auth entries
2021-04-16 12:28:20 -04:00
Jose Diaz-Gonzalez
cc1e9562b0 Merge pull request #4566 from jasiek/master
Normalize Dockerfile line terminators to handle issues in port extraction
2021-04-16 12:27:45 -04:00
Jose Diaz-Gonzalez
ecad66bf22 Merge pull request #4567 from dokku/4553-plugin-update
Ensure plugin:update updates all plugins when no plugin is specified
2021-04-16 12:26:43 -04:00
Jose Diaz-Gonzalez
d8ae1bd06c Merge pull request #4568 from dokku/4519-respect-daemon-log-settings
Do not insert log max-size when log-driver is set at daemon-level
2021-04-16 12:26:34 -04:00
Jose Diaz-Gonzalez
1679024926 Merge pull request #4569 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-191
chore(deps-dev): bump heroku/heroku-buildpack-php from 190 to 191 in /tests/apps/php
2021-04-16 12:26:22 -04:00
dependabot-preview[bot]
690233c02b 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 190 to 191.
- [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/v190...v191)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-16 06:26:56 +00:00
Jose Diaz-Gonzalez
4cccaebac5 fix: do not insert log max-size when log-driver is set at daemon-level
Closes #4519
2021-04-16 01:54:44 -04:00
Jose Diaz-Gonzalez
42e9164050 fix: ensure plugin:update updates all plugins when no plugin is specified
Closes #4553
2021-04-16 01:00:53 -04:00
Jan Szumiec
4af837b987 Some Dockerfiles will have CRLF line terminators which will prevent us
from parsing EXPOSE directives.
2021-04-15 21:28:46 +02:00
Jan Szumiec
a23a7c4488 Fixed a linter warning. 2021-04-15 07:05:00 +02:00
arturs
46c4a93468 chore(plugins): remove unnecessary command 2021-04-14 22:00:28 +03:00
arturs
84daf1ae52 fix(plugins): add touch netrc and remove netrc in git auth fn 2021-04-14 21:41:33 +03:00
Jose Diaz-Gonzalez
be01d2f7ec Merge pull request #4557 from dokku/4538-bash-completion
Add bash-completion to debian package recommends
2021-04-14 06:11:41 -04:00
Jose Diaz-Gonzalez
9273e634ce Merge pull request #4484 from lunswor/bump-vector-image
Bumps vector image version
2021-04-14 05:43:42 -04:00
Jose Diaz-Gonzalez
dd9d5d67a1 feat: add bash-completion to debian package recommends
We're skipping adding this to the yum package as we're going to start phasing out support for non-debian hosts in favor of installing via the Docker image.

Closes #4538
2021-04-14 05:40:54 -04:00
Jose Diaz-Gonzalez
f5dda60e5b Merge pull request #4554 from dokku/josegonzalez-patch-1
Ensure deployment task containers get associated to internal networks
2021-04-14 05:35:13 -04:00
Jose Diaz-Gonzalez
578f6e7ba5 fix: ensure deployment task containers get associated to internal networks
Closes #4543
2021-04-13 19:47:45 -04:00
Lee Unsworth
ae6452e6e4 Bumps vector image version 2021-03-15 08:55:28 +00:00
973 changed files with 36421 additions and 9362 deletions

View File

@@ -1,4 +1,8 @@
---
engines:
duplication:
exclude_paths:
- "*"
exclude_paths:
- vendor/**/*
- tests/**/*

29
.devcontainer/Dockerfile Normal file
View File

@@ -0,0 +1,29 @@
FROM dokku/dokku:latest
RUN apt-get update
RUN apt-get install --no-install-recommends -y build-essential file nano && \
apt-get install --no-install-recommends -y help2man shellcheck uuid-runtime wget xmlstarlet && \
apt-get clean autoclean && \
apt-get autoremove --yes && \
rm -rf /var/lib/apt/lists/*
ARG TARGETARCH
COPY common.mk common.mk
RUN GOLANG_VERSION=$(grep BUILD_IMAGE common.mk | cut -d' ' -f3 | cut -d':' -f2) && \
wget https://dl.google.com/go/go${GOLANG_VERSION}.linux-${TARGETARCH}.tar.gz && \
tar -xvf go${GOLANG_VERSION}.linux-${TARGETARCH}.tar.gz && \
mv go /usr/local
RUN GOROOT=/usr/local/go /usr/local/go/bin/go install golang.org/x/tools/gopls@latest 2>&1
ADD https://raw.githubusercontent.com/dokku/dokku/master/tests/dhparam.pem /mnt/dokku/etc/nginx/dhparam.pem
COPY .devcontainer/bin/ /usr/local/bin/
COPY ["tests.mk", "Makefile"]
RUN make ci-dependencies
COPY . .
ENV DOKKU_HOSTNAME=dokku.me GOROOT=/usr/local/go PATH=/usr/local/go/bin:/root/go/bin:$PATH PLUGIN_MAKE_TARGET=build
LABEL org.label-schema.schema-version=1.0 org.label-schema.vendor=dokku com.dokku.devcontainer=true

9
.devcontainer/bin/copy-plugin Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
main() {
declare PLUGIN_NAME="$1"
make go-build-plugin copyplugin PLUGIN_NAME=$PLUGIN_NAME PLUGIN_MAKE_TARGET=build
}
main "$@"

42
.devcontainer/bin/setup-dev-env Executable file
View File

@@ -0,0 +1,42 @@
#!/usr/bin/env bash
install-go-devtools() {
go install github.com/go-delve/delve/cmd/dlv@latest
go install honnef.co/go/tools/cmd/staticcheck@latest
}
install-go-mods() {
local plugin_root="/root/go/src/github.com/dokku/dokku/plugins"
export GO111MODULE=off
echo "-----> Fetching onsi/gomega dependency for tests"
go get github.com/onsi/gomega || true
echo "-----> Fetching spf13/pflag dependency for subcommands"
go get github.com/spf13/pflag || true
pushd "$plugin_root" >/dev/null || true
find "$plugin_root/" -mindepth 1 -maxdepth 1 -type d -printf '%f\n' | while read -r plugin; do
pushd "$plugin_root/$plugin" >/dev/null || true
if [[ -f "go.mod" ]]; then
echo "-----> Fetching dependencies for $plugin plugin"
go get || true
fi
popd >/dev/null || true
done
popd >/dev/null || true
}
setup-ci() {
local dokku_root="/root/go/src/github.com/dokku/dokku"
pushd "$plugin_root" >/dev/null || true
make ci-dependencies setup-deploy-tests
popd >/dev/null || true
}
main() {
install-go-mods
install-go-devtools
setup-ci
}
main "$@"

View File

@@ -0,0 +1,30 @@
{
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"containerEnv": {
"DOKKU_HOST_ROOT": "${localWorkspaceFolder}/tmp/data/home/dokku",
"GO_ROOT_MOUNT": "${localWorkspaceFolder}:/go/src/github.com/dokku/dokku"
},
"customizations": {
"vscode": {
"extensions": [
"golang.go",
"mads-hartmann.bash-ide-vscode",
"ms-vscode.makefile-tools",
"sleistner.vscode-fileutils"
]
}
},
"initializeCommand": ["mkdir", "-p", "tmp/data"],
"mounts": [
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind",
"source=${localWorkspaceFolder}/tmp/data/,target=/mnt/dokku/,type=bind"
],
"overrideCommand": false,
"postCreateCommand": "setup-dev-env",
"runArgs": ["--init"],
"workspaceFolder": "/root/go/src/github.com/dokku/dokku",
"workspaceMount": "type=bind,source=${localWorkspaceFolder},target=/root/go/src/github.com/dokku/dokku,consistency=cached"
}

View File

@@ -6,9 +6,12 @@ contrib
build
docs
tests
!build/dokku.deb
!build/package/*
!docs/_build/entrypoint
!docs/_build/requirements.txt
!tests/dhparam.pem
!contrib/dokku-installer.py
!contrib/bash-completion
!contrib/dependencies.json
!contrib/docker
!contrib/update-deb-dependencies
vendor

View File

@@ -15,7 +15,7 @@ insert_final_newline = true
indent_style = tab
indent_size = 4
[*.go]
[*.{go,mod}]
insert_final_newline = true
indent_style = tab
indent_size = 4

66
.github/ISSUE_TEMPLATE/bug_report.yaml vendored Normal file
View File

@@ -0,0 +1,66 @@
---
name: Bug Report
description: File a bug report
labels: ["needs: investigation", "type: bug"]
body:
- type: markdown
attributes:
value: |
Consider [sponsoring Dokku](https://github.com/sponsors/dokku). Sponsorship goes directly to supporting activities such as fixing bugs and general maintenance.
- type: textarea
id: description
attributes:
label: Description of problem
description: What happened? What did you expect to happen?
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to reproduce
description: What are the steps that we need to follow to reproduce this issue?
validations:
required: true
- type: textarea
id: report-output
attributes:
label: dokku report $APP_NAME
description: Please paste the output of the command `dokku report $APP_NAME`, where `$APP_NAME` is the name of your app
validations:
required: true
- type: textarea
id: additional-output
attributes:
label: Additional information
description: |
This information is useful for debugging app issues:
- Container Inspect Output (if applicable) via `dokku ps:inspect APP_NAME`
- The nginx configuration (if applicable) via `dokku nginx:show-config APP_NAME`
- Link to the exact repository being deployed (if possible/applicable)
If a deploy is failing or behaving unexpectedly:
- Application name
- The type of application being deployed (node, php, python, ruby, etc.)
- If using buildpacks, which custom buildpacks are in use
- If using a Dockerfile, the contents of that file
- If it exists, the contents of your Procfile.
validations:
required: false
- type: textarea
id: logs
attributes:
label: "Output of failing commands after running: dokku trace:off"
render: shell
validations:
required: false
- type: textarea
id: trace-logs
attributes:
label: "Output of failing commands after running: dokku trace:on"
description: |
**BEWARE**: `dokku trace:on` will cause some commands to print environment variables, be sure you're not exposing any sensitive information when posting issues. You may replace these values with XXXXXX
render: shell
validations:
required: false

View File

@@ -0,0 +1,71 @@
---
name: Buildpack Issue
description: Is your deploy failing while building your application using buildpacks? Check this out.
labels: ["upstream: buildpacks"]
body:
- type: markdown
attributes:
value: |
If your build is stuck downloading something, compiling a file, or seems to always fail around the same area, Github Issues is not a great place to debug. This is because these sorts of issues tend to take a lot of back and forth to figure out, and the code for buildpacks is not generally maintained by the Dokku project.
<details>
<summary>Debugging tips:</summary>
- If you see text that says `Killed` in your output, attempt to increase free memory by using a larger server or [add swap memory](https://dokku.com/docs/getting-started/troubleshooting/#build-fails-with-killed-message).
- Turn on buildpack trace mode via `dokku config:set $APP_NAME BUILDPACK_XTRACE=1` and retry your deploy. Not all buildpacks support this, but many will output extra debugging information.
- Your hosting provider may have issues accessing AWS S3. Verify a slow/stalled download works by directly curling the file from your host.
- Many buildpacks allow downloading a file from an alternative location specified via environment variable.
- [Increase curl timeouts](https://dokku.com/docs/getting-started/troubleshooting/#deployment-fails-because-of-slow-internet-connection-messages-s) if you see gzip download issues.
- If using multi-buildpack support but a buildpack is failing to apply, ensure you have any files necessary for the `bin/detect` script of the buildpack to `exit 0`. Selected buildpacks must still pass the detection phase in order to be used.
</details>
If you are still having issues, file a ticket here and then further discussing the ticket in one of our [Monitored Support Channels](https://dokku.com/docs/getting-started/where-to-get-help/#monitored-locations) (Discord, Github Discussions, Slack). Your filed ticket may be closed or locked, but any subsequent discovery will be posted to the ticket for posterity.
- type: textarea
id: description
attributes:
label: Description of problem
description: What happened? What did you expect to happen?
validations:
required: true
- type: textarea
id: report-output
attributes:
label: dokku report $APP_NAME
description: Please paste the output of the command `dokku report $APP_NAME`, where `$APP_NAME` is the name of your app.
validations:
required: true
- type: textarea
id: additional-output
attributes:
label: Additional information
description: |
This information is useful for debugging app issues:
- Container Inspect Output (if applicable) via `dokku ps:inspect APP_NAME`
- The nginx configuration (if applicable) via `dokku nginx:show-config APP_NAME`
- Link to the exact repository being deployed (if possible/applicable)
If a deploy is failing or behaving unexpectedly:
- Application name
- The type of application being deployed (node, php, python, ruby, etc.)
- If using buildpacks, which custom buildpacks are in use
- If it exists, the contents of your Procfile.
validations:
required: true
- type: textarea
id: logs
attributes:
label: "Output of failing deploy after running: dokku trace:off"
render: shell
validations:
required: true
- type: textarea
id: trace-logs
attributes:
label: "Output of failing deploy after running: dokku trace:on"
description: |
**BEWARE**: `dokku trace:on` will cause some commands to print environment variables, be sure you're not exposing any sensitive information when posting issues. You may replace these values with XXXXXX
render: shell
validations:
required: true

View File

@@ -0,0 +1,18 @@
---
name: Feature Request
description: Have an idea for a new feature? Ask away!
labels: ["needs: plan", "type: enhancement"]
body:
- type: markdown
attributes:
value: |
While pull requests are always welcome, feel free to fill this out with an idea of what you would like to happen and we can discuss if and how it should be implemented in Dokku.
Consider [sponsoring Dokku](https://github.com/sponsors/dokku). Sponsorship goes directly to supporting activities such as implementing new features and upgrading existing functionality.
- type: textarea
id: description
attributes:
label: Description of feature
description: When you perform what command or action, what do you think should happen?
validations:
required: true

31
.github/actions/build-image/action.yml vendored Normal file
View File

@@ -0,0 +1,31 @@
---
name: 'build-image'
description: 'builds a dokku docker image'
inputs:
architecture:
description: 'platform to build'
required: true
default: 'linux/amd64'
runs:
using: "composite"
steps:
- name: download packages
uses: actions/download-artifact@v3
with:
name: build
path: build
- name: set up docker buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: build docker image
shell: bash
run: |
docker buildx build \
--progress plain \
--tag "dokku/dokku:latest" \
.

View File

@@ -27,16 +27,16 @@ main() {
pushd azure-quickstart-templates >/dev/null
echo "=====> Updating values"
contents="$(jq '.githubUsername = "dokku"' dokku-vm/metadata.json)"
echo "${contents}" >dokku-vm/metadata.json
contents="$(jq --arg DATE_UPDATED "$DATE_UPDATED" '.dateUpdated = $DATE_UPDATED' dokku-vm/metadata.json)"
echo "${contents}" >dokku-vm/metadata.json
contents="$(jq '.githubUsername = "dokku"' application-workloads/dokku/dokku-vm/metadata.json)"
echo "${contents}" >application-workloads/dokku/dokku-vm/metadata.json
contents="$(jq --arg DATE_UPDATED "$DATE_UPDATED" '.dateUpdated = $DATE_UPDATED' application-workloads/dokku/dokku-vm/metadata.json)"
echo "${contents}" >application-workloads/dokku/dokku-vm/metadata.json
contents="$(jq --arg VERSION "$VERSION" '.parameters.dokkuVersion.defaultValue = $VERSION' dokku-vm/azuredeploy.json)"
echo "${contents}" >dokku-vm/azuredeploy.json
contents="$(jq --arg VERSION "$VERSION" '.parameters.dokkuVersion.defaultValue = $VERSION' application-workloads/dokku/dokku-vm/azuredeploy.json)"
echo "${contents}" >application-workloads/dokku/dokku-vm/azuredeploy.json
echo "=====> Updating remote repository"
git add dokku-vm
git add application-workloads/dokku/dokku-vm
git checkout -b dokku-$VERSION
git commit -m "Update dokku-vm dokku version to $VERSION"
git remote set-url origin "https://$BOT_GITHUB_USERNAME:$BOT_GITHUB_API_TOKEN@github.com/dokku/azure-quickstart-templates.git"

View File

@@ -1,19 +1,24 @@
#!/usr/bin/env bash
set -eo pipefail
set -x
DOKKU_DOMAIN=${DOKKU_DOMAIN:="dokku.me"}
echo "=====> set hostname"
hostname
internal_ip="$(ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}')"
sudo hostname "dokku.me"
echo "dokku.me" | sudo tee /etc/hostname
internal_ip="$(ifconfig eth0 | grep 'inet ' | awk '{print $2}')"
sudo hostname "$DOKKU_DOMAIN"
echo "$DOKKU_DOMAIN" | sudo tee /etc/hostname
hostname
sudo cat /etc/hostname
echo "=====> resolve dokku.me"
echo "=====> resolve $DOKKU_DOMAIN"
sudo apt -qq -y --no-install-recommends install net-tools
# dokku.me now resolves to 10.0.0.2. add 10.0.0.2/24 to eth0
ifconfig
sudo ip addr add 10.0.0.2/24 broadcast 10.0.0.255 dev eth0
if [[ "$DOKKU_DOMAIN" == "dokku.me" ]]; then
# dokku.me now resolves to 10.0.0.2. add 10.0.0.2/24 to eth0
ifconfig
sudo ip addr add 10.0.0.2/24 broadcast 10.0.0.255 dev eth0
fi
echo "=====> install ci-dependencies"
make ci-dependencies

399
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,399 @@
---
version: 2
updates:
- package-ecosystem: pip
directory: "/docs/_build"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/app-json"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/apps"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/builder"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/buildpacks"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/common"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/config"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/cron"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/docker-options"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/logs"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/network"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/nginx-vhosts"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/ports"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/proxy"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/ps"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/registry"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/repo"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/resource"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/scheduler-docker-local"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/plugins/scheduler"
schedule:
interval: daily
open-pull-requests-limit: 2
labels:
- "type: dependencies"
- package-ecosystem: bundler
directory: "/tests/apps/ruby"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: bundler
directory: "/tests/apps/multi"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm
directory: "/tests/apps/checks-root"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm
directory: "/tests/apps/config"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm
directory: "/tests/apps/dockerfile-app-json-formations"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm
directory: "/tests/apps/dockerfile-noexpose"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm
directory: "/tests/apps/dockerfile-procfile-bad"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm
directory: "/tests/apps/dockerfile-procfile"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm
directory: "/tests/apps/dockerfile"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm
directory: "/tests/apps/gitsubmodules"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: gomod
directory: "/tests/apps/gogrpc"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
ignore:
- dependency-name: google.golang.org/grpc
versions:
- "> 1.29.1"
- package-ecosystem: pip
directory: "/tests/apps/multi"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: maven
directory: "/tests/apps/java"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm
directory: "/tests/apps/nodejs-express"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm
directory: "/tests/apps/nodejs-worker"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm
directory: "/tests/apps/nodejs-express-noappjson"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm
directory: "/tests/apps/nodejs-express-noprocfile"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: composer
directory: "/tests/apps/php"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: pip
directory: "/tests/apps/python-flask"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm
directory: "/tests/apps/.websocket.disabled"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker"
directory: "/tests/apps/dockerfile-noexpose"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker"
directory: "/tests/apps/dockerfile"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker"
directory: "/tests/apps/dockerfile-procfile"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker"
directory: "/tests/apps/dockerfile-entrypoint"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker"
directory: "/tests/apps/dockerfile-procfile-bad"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker"
directory: "/tests/apps/go-fail-predeploy"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker"
directory: "/tests/apps/zombies-dockerfile-no-tini"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker"
directory: "/tests/apps/dockerfile-release"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker"
directory: "/tests/apps/dockerfile-app-json-formations"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker"
directory: "/tests/apps/gogrpc"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker"
directory: "/tests/apps/zombies-dockerfile-tini"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker"
directory: "/tests/apps/go-fail-postdeploy"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker"
directory: "/docs/_build"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker"
directory: "/.devcontainer"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "type: dependencies"

View File

@@ -8,3 +8,30 @@ MD013: false
# Inline HTML
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md033
MD033: false
# List indentation
# 2 spaces breaks list formatting in mkdocs
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md007
MD007:
indent: 4
# Fenced code blocks should have a language specified
# We use a second, un-languaged code block to denote the output
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md040
MD040: false
# Blank line inside blockquote
# This is typically done when a section has a "New as of" or "Warning" in addition to a note
# May wish to take advantage of github-style admonitions
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md028
MD028: false
# No duplicate headers
# HISTORY.md has a ton of these
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md024
MD024: false
# First line h1
# The issue template doesn't have one
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md041
MD041: false

View File

@@ -10,49 +10,120 @@ on:
branches:
- 'master'
concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
INSTALL_DOCKER_REPO: 1
jobs:
check-commit:
runs-on: ubuntu-20.04
outputs:
skip: ${{ steps.check-commit.outputs.skip }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: check if message contain keywords ace scopeid
id: check-commit
run: |
# checking for "docs" or "[ci skip]" messages
message=$(git log -1 --pretty=format:'%s')
if [[ "$message" =~ "\[(ci skip)\]" ]]; then
echo "Skipping tests due to [ci skip] message"
echo "skip=true" >> $GITHUB_OUTPUT
elif [[ "$message" =~ "^docs:" ]]; then
echo "Skipping tests due to "docs:" prefix on message"
echo "skip=true" >> $GITHUB_OUTPUT
fi
build:
name: build
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
needs: check-commit
if: ${{ needs.check-commit.outputs.skip != 'true' }}
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
strategy:
fail-fast: true
timeout-minutes: 45
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: set up qemu
uses: docker/setup-qemu-action@v3
- name: set up docker buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: build package
run: ./tests/ci/setup.sh build
env:
SKIP_IMAGE_BUILD: true
- name: set matrix for build
id: set-matrix
run: |
json=$(python .github/commands/matrix)
echo $json
echo "::set-output name=matrix::$(echo "$json")"
echo "matrix=$json" >> $GITHUB_OUTPUT
- name: upload packages
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: build
path: build
build-image-amd64:
name: build-image.linux/amd64
needs: build
runs-on: ubuntu-20.04
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: build-image
uses: ./.github/actions/build-image
with:
architecture: linux/amd64
build-image-arm64:
name: build-image.linux/arm64
needs: build
runs-on: buildjet-4vcpu-ubuntu-2204-arm
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: build-image
uses: ./.github/actions/build-image
with:
architecture: linux/arm64
unit-tests:
name: unit.${{ matrix.index }}
needs: build
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix: ${{fromJson(needs.build.outputs.matrix)}}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: download packages
uses: actions/download-artifact@v1
uses: actions/download-artifact@v3
with:
name: build
path: build
- name: ci-setup
run: ./.github/commands/ci-setup
@@ -61,16 +132,18 @@ jobs:
# uses: luchihoratiu/debug-via-ssh@main
# with:
# NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }}
# SSH_PASS: ${{ secrets.SSH_PASS }}
# SSH_PASS: ${{ secrets.NGROK_SSH_PASS }}
- name: run ci
timeout-minutes: 30
run: sudo -E ./.github/commands/ci-run ${{ matrix.index }}
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
SYNC_GITHUB_PASSWORD: ${{ secrets.SYNC_GITHUB_PASSWORD }}
SYNC_GITHUB_USERNAME: ${{ secrets.SYNC_GITHUB_USERNAME }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: test-results-${{ matrix.index }}
path: test-results
@@ -78,17 +151,18 @@ jobs:
docker-deploy-tests:
name: docker
needs: build
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: download packages
uses: actions/download-artifact@v1
uses: actions/download-artifact@v3
with:
name: build
path: build
- name: ci-setup
run: ./.github/commands/ci-setup
@@ -103,7 +177,7 @@ jobs:
go-tests:
name: go.${{ matrix.index }}
needs: build
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -112,12 +186,13 @@ jobs:
GITHUB_NODE_INDEX: ${{ matrix.index }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: download packages
uses: actions/download-artifact@v1
uses: actions/download-artifact@v3
with:
name: build
path: build
- name: ci-setup
run: ./.github/commands/ci-setup
@@ -135,7 +210,7 @@ jobs:
2) sudo -E make -e deploy-test-multi ;;
3) sudo -E make -e deploy-test-go-fail-predeploy deploy-test-go-fail-postdeploy ;;
esac
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: coverage.${{ matrix.index }}
path: test-results/coverage
@@ -143,20 +218,22 @@ jobs:
publish-test-results:
name: publish-test-results
needs: unit-tests
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
permissions:
checks: write
# the build-and-test job might be skipped, we don't need to run this job then
if: success() || failure()
steps:
- name: download test-results
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
path: test-results
- name: Publish Unit Test Results
uses: docker://ghcr.io/enricomi/publish-unit-test-result-action:v1.6
uses: EnricoMi/publish-unit-test-result-action@v2
with:
check_name: Unit Test Results
github_token: ${{ secrets.GITHUB_TOKEN }}
files: test-results/**/*.xml
comment_on_pr: false
junit_files: test-results/**/*.xml
comment_mode: "off"

View File

@@ -23,6 +23,10 @@ on:
schedule:
- cron: '18 22 * * 2'
concurrency:
group: codeql-analysis-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze
@@ -38,11 +42,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +57,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -67,4 +71,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2

43
.github/workflows/docs.yml vendored Normal file
View File

@@ -0,0 +1,43 @@
---
name: 'docs'
# yamllint disable-line rule:truthy
on:
push:
branches:
- master
concurrency:
group: docs-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Cloning repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Setup python 3.10"
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Generate documentation
env:
BOT_GITHUB_USERNAME: ${{ secrets.HOMEBREW_GITHUB_USERNAME }}
BOT_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
run: |
git config --global user.name 'Dokku Bot'
git config --global user.email no-reply@dokku.com
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install gh -y
gh auth login --with-token <<<"$BOT_GITHUB_API_TOKEN"
contrib/build-docs

View File

@@ -10,52 +10,82 @@ on:
branches:
- 'master'
concurrency:
group: lint-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
hadolint:
name: hadolint
runs-on: ubuntu-20.04
steps:
- name: Clone
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Run hadolint
uses: brpaz/hadolint-action@1623ba61710b974b55ba455930e6f2c8ef919778
# v1.3.1 => 1623ba61710b974b55ba455930e6f2c8ef919778
uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf
# v3.0.0 => 4b5806eb9c6bee4954fc0e0cc3ad6175fc9782c1
markdown-lint:
name: markdown-lint
runs-on: ubuntu-20.04
steps:
- name: Clone
uses: actions/checkout@v2
- name: Run markdown-lint
uses: avto-dev/markdown-lint@04d43ee9191307b50935a753da3b775ab695eceb
# v1.5.0 => 04d43ee9191307b50935a753da3b775ab695eceb
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
config: '.github/linters/.markdown-lint.yml'
args: './README.md'
node-version: '20'
cache: 'npm'
cache-dependency-path: '.github/workflows/lint.yml'
- name: Install markdownlint-cli
run: npm install -g markdownlint-cli@0.35.0
- name: Run markdown-lint
run: markdownlint -c .github/linters/.markdown-lint.yml *.md **/*.md
packer:
name: packer
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup packer
uses: hashicorp/setup-packer@main
with:
version: latest
- name: Run packer init
run: "make image/init/digitalocean"
env:
PACKER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get changed files in the docs folder
id: changed-files-specific
uses: tj-actions/changed-files@v40.0.0
with:
files: contrib/images/digitalocean/**
- name: Run `packer validate`
env:
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
if: steps.changed-files-specific.outputs.any_changed == 'true'
run: "make image/validate/digitalocean"
shellcheck:
name: shellcheck
runs-on: ubuntu-20.04
steps:
- name: Clone
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Run shellcheck
uses: ludeeus/action-shellcheck@d586102c117f97e63d7e3b56629d269efc9a7c60
# 1.0.0 => d586102c117f97e63d7e3b56629d269efc9a7c60
env:
# keep in sync with tests/shellcheck-exclude
SHELLCHECK_OPTS: -e SC1001 -e SC1003 -e SC1090 -e SC1091 -e SC1117 -e SC2029 -e SC2034 -e SC2046 -e SC2064 -e SC2068 -e SC2086 -e SC2119 -e SC2120 -e SC2128 -e SC2148 -e SC2153 -e SC2154 -e SC2155 -e SC2162 -e SC2174 -e SC2179 -e SC2191 -e SC2199 -e SC2207 -e SC2219 -e SC2220 -e SC2230 -e SC2231 -e SC2235
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38
# 1.1.0 => 94e0aab03ca135d11a35e5bfc14e6746dc56e7e9
shfmt:
name: shfmt
runs-on: ubuntu-20.04
steps:
- name: Clone
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Run shfmt
uses: luizm/action-sh-checker@442951059cb22d260c6e69309ae59cb7bb2334b8
# v0.1.12 => 442951059cb22d260c6e69309ae59cb7bb2334b8
uses: luizm/action-sh-checker@c6edb3de93e904488b413636d96c6a56e3ad671a
# v0.5.0 => edd0e45ecff35b05f162052b50df50976c1b74fc
env:
SHFMT_OPTS: -l -bn -ci -i 2 -d
with:
@@ -66,9 +96,9 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Clone
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Run yamllint
uses: ibiqlik/action-yamllint@b2aeacc1b7eeb8c23e84bba320d04fb5d6a323ee
# v3.0.0 => b2aeacc1b7eeb8c23e84bba320d04fb5d6a323ee
uses: ibiqlik/action-yamllint@2576378a8e339169678f9939646ee3ee325e845c
# v3.1.1 => 2576378a8e339169678f9939646ee3ee325e845c
with:
config_file: '.github/linters/.yamllint.yml'

View File

@@ -19,7 +19,7 @@ jobs:
outputs:
version: ${{ steps.version.outputs.version }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
@@ -27,12 +27,27 @@ jobs:
with:
ruby-version: 2.6
- name: Login to Docker Hub
uses: docker/login-action@v1
- name: login to docker hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: set up qemu
uses: docker/setup-qemu-action@v3
- name: set up docker buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: inspect builder
run: |
echo "Name: ${{ steps.buildx.outputs.name }}"
echo "Endpoint: ${{ steps.buildx.outputs.endpoint }}"
echo "Status: ${{ steps.buildx.outputs.status }}"
echo "Flags: ${{ steps.buildx.outputs.flags }}"
echo "Platforms: ${{ steps.buildx.outputs.platforms }}"
- name: install package_cloud
run: gem install package_cloud
@@ -42,25 +57,64 @@ jobs:
git config --global user.email no-reply@dokku.com
- name: build package
env:
RELEASE_GITHUB_USERNAME: ${{ secrets.HOMEBREW_GITHUB_USERNAME }}
RELEASE_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
run: contrib/release-dokku ${{ github.event.inputs.release_type }}
- name: output version
id: version
run: echo "::set-output name=version::$(cat build/next-version)"
run: echo "version=$(cat build/next-version)" >> $GITHUB_OUTPUT
- name: upload packages
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: build
path: build
build-digitalocean:
name: build-digitalocean
runs-on: ubuntu-20.04
needs: release
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup packer
uses: hashicorp/setup-packer@main
with:
version: latest
- name: Run packer init
run: "make image/init/digitalocean"
- name: Run `packer validate`
env:
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
run: |
VERSION=${{ needs.release.outputs.version }}
PKR_VAR_dokku_version="${VERSION:1}" make image/validate/digitalocean
- name: Bump Digitalocean Image
env:
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
run: |
VERSION=${{ needs.release.outputs.version }}
PKR_VAR_dokku_version="${VERSION:1}" make image/build/digitalocean
- name: upload packages
uses: actions/upload-artifact@v3
with:
name: digitalocean-manifest.json
path: digitalocean-manifest.json
bump-azure:
name: bump-azure
runs-on: ubuntu-20.04
needs: release
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Bump Azure Template
env:
BOT_GITHUB_USERNAME: ${{ secrets.HOMEBREW_GITHUB_USERNAME }}
@@ -83,5 +137,8 @@ jobs:
run: |
git config --global user.name 'Dokku Bot'
git config --global user.email no-reply@dokku.com
brew tap dokku/repo "https://$HOMEBREW_GITHUB_USERNAME:$HOMEBREW_GITHUB_API_TOKEN@github.com/dokku/homebrew-repo.git"
brew bump-formula-pr -f --no-browse --no-audit --no-fork --url "https://github.com/dokku/dokku/archive/${{ needs.release.outputs.version }}.tar.gz" dokku/repo/dokku
curl -sSL https://github.com/dokku/netrc/releases/download/v0.4.1/netrc_0.4.1_darwin_x86_64.tgz | tar xvf -
mv netrc /usr/local/bin/netrc
netrc set github.com "$HOMEBREW_GITHUB_USERNAME" "$HOMEBREW_GITHUB_API_TOKEN"
brew tap dokku/repo
brew bump-formula-pr -f --no-browse --no-audit --no-fork --debug --verbose --url "https://github.com/dokku/dokku/archive/${{ needs.release.outputs.version }}.tar.gz" dokku/repo/dokku

2
.gitignore vendored
View File

@@ -3,6 +3,7 @@
.DS_Store
.ruby-version
.idea/
.vscode/
.vagrant
build/
data/
@@ -10,3 +11,4 @@ test-results/
stack.tgz
tmp
coverage.out
site

View File

@@ -4,9 +4,11 @@
# SC1091 - Not following: FILE: does not exist (No such file or directory) - https://github.com/koalaman/shellcheck/wiki/SC1091
# SC1117 - Backslash is literal in "\n". Prefer explicit escaping: "\\n" - https://github.com/koalaman/shellcheck/wiki/SC1117
# SC2029 - Note that, unescaped, this expands on the client side - https://github.com/koalaman/shellcheck/wiki/SC2029
# SC2030 - Modification of var is local (to subshell caused by pipeline). - https://github.com/koalaman/shellcheck/wiki/SC2030
# SC2031 - var was modified in a subshell. That change might be lost. - https://github.com/koalaman/shellcheck/wiki/SC2031
# SC2034 - VAR appears unused - https://github.com/koalaman/shellcheck/wiki/SC2034
# SC2046 - Quote this to prevent word splitting - https://github.com/koalaman/shellcheck/wiki/SC2046
# SC2064 - Use single quotes, otherwise this expands now rather than when signalled.
# SC2064 - Use single quotes, otherwise this expands now rather than when signalled. - https://github.com/koalaman/shellcheck/wiki/SC2064
# SC2068 - Double quote array expansions to avoid re-splitting elements - https://github.com/koalaman/shellcheck/wiki/SC2068
# SC2086 - Double quote to prevent globbing and word splitting - https://github.com/koalaman/shellcheck/wiki/SC2086
# SC2119 - Use 'function "$@"' if function's $1 should mean script's $1 - https://github.com/koalaman/shellcheck/wiki/SC2119
@@ -14,7 +16,7 @@
# SC2128 - Expanding an array without an index only gives the first element - https://github.com/koalaman/shellcheck/wiki/SC2128
# SC2148 - Tips depend on target shell and yours is unknown. Add a shebang - https://github.com/koalaman/shellcheck/wiki/SC2148
# SC2153 - Possible misspelling: DOKKU_ROOT may not be assigned, but DOKKU_PORT is - https://github.com/koalaman/shellcheck/wiki/SC2153
# SC2154 - passed_docker_option is referenced but not assigned - https://github.com/koalaman/shellcheck/wiki/SC2154
# SC2154 - Var is referenced but not assigned - https://github.com/koalaman/shellcheck/wiki/SC2154
# SC2155 - Declare and assign separately to avoid masking return values - https://github.com/koalaman/shellcheck/wiki/SC2155
# SC2162 - read without -r will mangle backslashes - https://github.com/koalaman/shellcheck/wiki/SC2162
# SC2174 - When used with -p, -m only applies to the deepest directory - https://github.com/koalaman/shellcheck/wiki/SC2174
@@ -24,6 +26,8 @@
# SC2207 - Prefer mapfile or read -a to split command output (or quote to avoid splitting) - https://github.com/koalaman/shellcheck/wiki/SC2207
# SC2219 - Instead of 'let expr', prefer (( expr )) - https://github.com/koalaman/shellcheck/wiki/SC2219
# SC2220 - Invalid flags are not handled. Add a *) case - https://github.com/koalaman/shellcheck/wiki/SC2220
# SC2230 - which is non-standard. Use builtin 'command -v' instead - https://github.com/koalaman/shellcheck/wiki/SC2230
# SC2231 - Quote expansions in this for loop glob to prevent wordsplitting, e.g. "$dir"/*.txt - https://github.com/koalaman/shellcheck/wiki/SC2231
# SC2235 - Use { ..; } instead of (..) to avoid subshell overhead - https://github.com/koalaman/shellcheck/wiki/SC2235
# SC2267 - GNU xargs -i is deprecated in favor of -I{} - https://github.com/koalaman/shellcheck/wiki/SC2267
# SC2295 - Expansions inside ${..} need to be quoted separately, otherwise they match as patterns - https://github.com/koalaman/shellcheck/wiki/SC2295
disable=SC1001,SC1003,SC1090,SC1091,SC1117,SC2029,SC2030,SC2031,SC2034,SC2046,SC2064,SC2068,SC2086,SC2119,SC2120,SC2128,SC2148,SC2153,SC2154,SC2155,SC2162,SC2174,SC2179,SC2191,SC2199,SC2207,SC2219,SC2220,SC2231,SC2235,SC2267,SC2295

View File

@@ -1,13 +0,0 @@
---
linters:
shellcheck:
shell: bash
exclude: SC2034,SC1090,SC2191
golint:
files:
ignore:
- 'debian/*'
- 'docs/*'
- 'tests/*'
- '*/vendor/*'

View File

@@ -3,30 +3,28 @@
The Dokku project would love to welcome your contributions. There are
several ways to help out:
* Create an [issue](https://github.com/dokku/dokku/issues) on GitHub, if you
have found a bug
* Write [test cases](https://dokku.com/docs/development/testing/) for open bug issues
* Write patches for open bug/feature issues, preferably with test cases
included
* Contribute to the [documentation](https://dokku.com/docs/)
* Come up with new ways, non-commercial to show off our [lovely logo](https://avatars1.githubusercontent.com/u/13455795)
* Blog about different ways you are using dokku
* Sponsor the Dokku project financially on [OpenCollective](https://opencollective.com/dokku#support) or [Patreon](https://www.patreon.com/dokku)
- Create an [issue](https://github.com/dokku/dokku/issues) on GitHub, if you have found a bug
- Write [test cases](https://dokku.com/docs/development/testing/) for open bug issues
- Write patches for open bug/feature issues, preferably with test cases included
- Contribute to the [documentation](https://dokku.com/docs/)
- Come up with new ways, non-commercial to show off our [lovely logo](https://avatars1.githubusercontent.com/u/13455795)
- Blog about different ways you are using dokku
- Sponsor the Dokku project financially on [Github](https://github.com/sponsors/dokku), [OpenCollective](https://opencollective.com/dokku#support) or [Patreon](https://www.patreon.com/dokku)
There are a few guidelines that we need contributors to follow so that we have
a chance of keeping on top of things.
## Topics
* [Reporting Security Issues](#reporting-security-issues)
* [Reporting Issues](#reporting-other-issues)
* [Contributing](#contributing)
* [Making Changes](#making-changes)
* [Which branch to base the work](#which-branch-to-base-the-work)
* [Submitting Changes](#submitting-changes)
* [When will my change be merged?](#when-will-my-change-be-merged)
* [Running tests locally](#running-tests-locally)
* [Additional Resources](#additional-resources)
- [Reporting Security Issues](#reporting-security-issues)
- [Reporting Issues](#reporting-other-issues)
- [Contributing](#contributing)
- [Making Changes](#making-changes)
- [Which branch to base the work](#which-branch-to-base-the-work)
- [Submitting Changes](#submitting-changes)
- [When will my change be merged?](#when-will-my-change-be-merged)
- [Running tests locally](#running-tests-locally)
- [Additional Resources](#additional-resources)
## Reporting security issues
@@ -65,37 +63,36 @@ you.
Before you contribute to the Dokku project, there are a few things that you'll
need to do
* Make sure you have a [GitHub account](https://github.com/signup/free).
* Submit an [issue](https://github.com/dokku/dokku/issues), assuming one
does not already exist.
* Clearly describe the issue including steps to reproduce when it is a bug.
* Make sure you fill in the earliest version that you know has the issue.
* Fork the repository on GitHub.
- Make sure you have a [GitHub account](https://github.com/signup/free).
- Submit an [issue](https://github.com/dokku/dokku/issues), assuming one does not already exist.
- Clearly describe the issue including steps to reproduce when it is a bug.
- Make sure you fill in the earliest version that you know has the issue.
- Fork the repository on GitHub.
### Making Changes
* Create a topic branch from where you want to base your work.
* This is usually the master branch.
* Only target an existing branch if you are certain your fix must be on that
branch.
* To quickly create a topic branch based on master; `git checkout -b my_contribution origin/master`.
It is best to avoid working directly on the `master` branch. Doing so will
- Create a topic branch from where you want to base your work.
- This is usually the master branch.
- Only target an existing branch if you are certain your fix must be on that
branch.
- To quickly create a topic branch based on master; `git checkout -b my_contribution origin/master`.
It is best to avoid working directly on the `master` branch. Doing so will
help avoid conflicts if you pull in updates from origin.
* Make commits of logical units. Implementing a new function and calling it in
- Make commits of logical units. Implementing a new function and calling it in
another file constitute a single logical unit of work.
* Before you make a pull request, squash your commits into logical units of work
using `git rebase -i` and `git push -f`.
* A majority of submissions should have a single commit, so if in doubt,
- Before you make a pull request, squash your commits into logical units of work
using `git rebase -i` and `git push -f`.
- A majority of submissions should have a single commit, so if in doubt,
squash your commits down to one commit.
* Check for unnecessary whitespace with `git diff --check` before committing.
* Use descriptive commit messages and reference the #issue number.
* Core test cases should continue to pass. You can run tests locally or enable
- Check for unnecessary whitespace with `git diff --check` before committing.
- Use descriptive commit messages and reference the #issue number.
- Core test cases should continue to pass. You can run tests locally or enable
[circle-ci](https://circleci.com/gh/dokku/dokku) for your fork, so all
tests and codesniffs will be executed.
* Your work should apply the [Dokku coding standards](https://github.com/progrium/bashstyle)
* Pull requests must be cleanly rebased on top of master without multiple branches
- Your work should apply the [Dokku coding standards](https://github.com/progrium/bashstyle)
- Pull requests must be cleanly rebased on top of master without multiple branches
mixed into the PR.
* **Git tip**: If your PR no longer merges cleanly, use `rebase master` in your
- **Git tip**: If your PR no longer merges cleanly, use `rebase master` in your
feature branch to update your pull request rather than `merge master`.
### Which branch to base the work
@@ -104,8 +101,8 @@ All changes should be be based on the latest master commit.
### Submitting Changes
* Push your changes to a topic branch in your fork of the repository.
* Submit a pull request to the repository on github, with the correct target
- Push your changes to a topic branch in your fork of the repository.
- Submit a pull request to the repository on github, with the correct target
branch.
### When will my change be merged?
@@ -132,10 +129,10 @@ requests:
Please read the [testing docs](https://dokku.com/docs/development/testing/),
which contains test setup information as well as tips for running tests.
# Additional Resources
## Additional Resources
* [Dokku coding standards](https://github.com/progrium/bashstyle)
* [Existing issues](https://github.com/dokku/dokku/issues)
* [General GitHub documentation](https://help.github.com/)
* [GitHub pull request documentation](https://help.github.com/send-pull-requests/)
* [#dokku IRC channel on freenode.org](https://webchat.freenode.net/?channels=dokku)
- [Dokku coding standards](https://github.com/progrium/bashstyle)
- [Existing issues](https://github.com/dokku/dokku/issues)
- [General GitHub documentation](https://help.github.com/)
- [GitHub pull request documentation](https://help.github.com/send-pull-requests/)
- [Gliderlabs Slack in the #dokku channel](https://slack.dokku.com/)

View File

@@ -1,4 +1,4 @@
FROM phusion/baseimage:0.11
FROM phusion/baseimage:focal-1.2.0
CMD ["/sbin/my_init"]
@@ -11,49 +11,55 @@ ARG DOKKU_VHOST_ENABLE=false
ARG DOKKU_WEB_CONFIG=false
RUN addgroup --gid $DOKKU_GID dokku \
&& adduser --uid $DOKKU_UID --gid $DOKKU_GID --disabled-password --gecos "" "dokku"
&& adduser --uid $DOKKU_UID --gid $DOKKU_GID --disabled-password --gecos "" "dokku"
COPY ./tests/dhparam.pem /tmp/dhparam.pem
COPY ./build/dokku.deb /tmp/dokku.deb
COPY ./build/package/ /tmp
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# hadolint ignore=DL3005,DL3008
RUN echo "dokku dokku/hostname string $DOKKU_HOSTNAME" | debconf-set-selections \
&& echo "dokku dokku/skip_key_file boolean $DOKKU_SKIP_KEY_FILE" | debconf-set-selections \
&& echo "dokku dokku/vhost_enable boolean $DOKKU_VHOST_ENABLE" | debconf-set-selections \
&& echo "dokku dokku/web_config boolean $DOKKU_WEB_CONFIG" | debconf-set-selections \
&& curl -sSL https://packagecloud.io/dokku/dokku/gpgkey | apt-key add - \
&& echo "deb https://packagecloud.io/dokku/dokku/ubuntu/ bionic main" | tee /etc/apt/sources.list.d/dokku.list \
&& mkdir -p /etc/nginx/ \
&& cp /tmp/dhparam.pem /etc/nginx/dhparam.pem \
&& apt-get update -qq \
&& apt-get upgrade -qq -y \
&& apt-get -qq -y --no-install-recommends --only-upgrade install openssl openssh-server \
&& apt-get -qq -y --no-install-recommends install rsync /tmp/dokku.deb \
&& apt-get purge -qq -y syslog-ng-core \
&& apt-get autoremove -qq -y \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN mkdir -p /etc/apt/keyrings \
&& mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null \
&& apt-get update \
&& apt-get -y --no-install-recommends install docker-ce docker-ce-cli containerd.io docker-compose-plugin \
&& echo "dokku dokku/hostname string $DOKKU_HOSTNAME" | debconf-set-selections \
&& echo "dokku dokku/skip_key_file boolean $DOKKU_SKIP_KEY_FILE" | debconf-set-selections \
&& echo "dokku dokku/vhost_enable boolean $DOKKU_VHOST_ENABLE" | debconf-set-selections \
&& curl -sSL https://packagecloud.io/dokku/dokku/gpgkey | apt-key add - \
&& echo "deb https://packagecloud.io/dokku/dokku/ubuntu/ focal main" | tee /etc/apt/sources.list.d/dokku.list \
&& mkdir -p /etc/nginx/ \
&& cp /tmp/dhparam.pem /etc/nginx/dhparam.pem \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get -y --no-install-recommends --only-upgrade install openssl openssh-server \
&& apt-get -y --no-install-recommends install rsync "/tmp/dokku-$(dpkg --print-architecture).deb" \
&& apt-get purge -y syslog-ng-core \
&& apt-get autoremove -y \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /tmp
COPY ./docker .
RUN \
rsync -a /tmp/ / \
&& rm -rf /tmp/* \
&& rm /etc/runit/runsvdir/default/sshd/down \
&& chown -R dokku:dokku /home/dokku/ \
&& mkdir -p /skel/etc /skel/home /skel/var/lib/dokku /var/log/services \
&& mv /etc/ssh /skel/etc/ssh \
&& mv /home/dokku /skel/home/dokku \
&& mv /var/lib/dokku/config /skel/var/lib/dokku/config \
&& mv /var/lib/dokku/data /skel/var/lib/dokku/data \
&& ln -sf /mnt/dokku/etc/ssh /etc/ssh \
&& ln -sf /mnt/dokku/home/dokku /home/dokku \
&& ln -sf /mnt/dokku/var/lib/dokku/config /var/lib/dokku/config \
&& ln -sf /mnt/dokku/var/lib/dokku/data /var/lib/dokku/data \
&& mv /etc/my_init.d/00_regen_ssh_host_keys.sh /etc/my_init.d/15_regen_ssh_host_keys \
&& rm -f /etc/nginx/sites-enabled/default /usr/share/nginx/html/index.html /etc/my_init.d/10_syslog-ng.init \
&& rm -f /usr/local/openresty/nginx/conf/sites-enabled/default /usr/share/openresty/html/index.html \
&& sed -i '/imklog/d' /etc/rsyslog.conf \
&& rm -f /var/log/btmp /var/log/wtmp /var/log/*log /var/log/apt/* /var/log/dokku/*.log /var/log/nginx/* /var/log/openresty/*
rsync -a /tmp/ / \
&& rm -rf /tmp/* \
&& rm /etc/runit/runsvdir/default/sshd/down \
&& chown -R dokku:dokku /home/dokku/ \
&& mkdir -p /skel/etc /skel/home /skel/var/lib/dokku /var/log/services \
&& mv /etc/ssh /skel/etc/ssh \
&& mv /home/dokku /skel/home/dokku \
&& mv /var/lib/dokku/config /skel/var/lib/dokku/config \
&& mv /var/lib/dokku/data /skel/var/lib/dokku/data \
&& ln -sf /mnt/dokku/etc/ssh /etc/ssh \
&& ln -sf /mnt/dokku/home/dokku /home/dokku \
&& ln -sf /mnt/dokku/var/lib/dokku/config /var/lib/dokku/config \
&& ln -sf /mnt/dokku/var/lib/dokku/data /var/lib/dokku/data \
&& ln -sf /mnt/dokku/var/lib/dokku/services /var/lib/dokku/services \
&& mv /etc/my_init.d/00_regen_ssh_host_keys.sh /etc/my_init.d/15_regen_ssh_host_keys \
&& rm -f /etc/nginx/sites-enabled/default /usr/share/nginx/html/index.html /etc/my_init.d/10_syslog-ng.init \
&& rm -f /usr/local/openresty/nginx/conf/sites-enabled/default /usr/share/openresty/html/index.html \
&& sed -i '/imklog/d' /etc/rsyslog.conf \
&& rm -f /var/log/btmp /var/log/wtmp /var/log/*log /var/log/apt/* /var/log/dokku/*.log /var/log/nginx/* /var/log/openresty/*

2578
HISTORY.md

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@
>
> If you'd like to sponsor specific functionality, see the project's [Sponsoring](https://github.com/dokku/.github/blob/master/SPONSORING.md) document.
>
> If you need help figuring out how to use a specific buildpack, are seeing an issue in during the buildpack process, or are having issues using multiple buildpacks, please see our [slack channels or github discussion board](https://dokku.com/docs/getting-started/where-to-get-help/#monitored-locations). Issues pertaining to buildpacks may be closed and locked.
> If you need help figuring out how to use a specific buildpack, are seeing an issue in during the buildpack process, or are having issues using multiple buildpacks, please see our [chat channels or github discussion board](https://dokku.com/docs/getting-started/where-to-get-help/#monitored-locations). Issues pertaining to buildpacks may be closed and locked.
>
> If you need support for a version of Dokku that is more than a year old, your issue may be closed without an answer. Please upgrade to a recent version.
@@ -31,7 +31,7 @@
> For problems affecting all applications, the report output for a broken application is useful for our debugging.
> In these cases, you may run `dokku report` without any arguments to display the top-level reporting information.
### How (deb/make/rpm) and where (AWS, VirtualBox, physical, etc.) was Dokku installed?:
### How (deb/make) and where (AWS, VirtualBox, physical, etc.) was Dokku installed?
### Additional information
@@ -39,10 +39,10 @@
- The nginx configuration (if applicable) via `dokku nginx:show-config APP_NAME`
- Link to the exact repository being deployed (if possible/applicable):
- If a deploy is failing or behaving unexpectedly:
- Application name
- The type of application being deployed (node, php, python, ruby, etc.)
- If using buildpacks, which custom buildpacks are in use
- If using a `Dockerfile`, the contents of that file
- If it exists, the contents of your `Procfile`.
- Application name
- The type of application being deployed (node, php, python, ruby, etc.)
- If using buildpacks, which custom buildpacks are in use
- If using a `Dockerfile`, the contents of that file
- If it exists, the contents of your `Procfile`.
- Output of failing Dokku commands after running `dokku trace:on`
(BEWARE: `trace:on` will print environment variables for some commands, be sure you're not exposing any sensitive information when posting issues. You may replace these values with XXXXXX):

View File

@@ -1,20 +1,17 @@
DOKKU_VERSION ?= master
DOCKER_IMAGE_LABELER_VERSION ?= 0.2.2
HEROKUISH_VERSION ?= 0.5.25
NETRC_VERSION ?= 0.3.0
PLUGN_VERSION ?= 0.6.1
PROCFILE_VERSION ?= 0.11.0
SIGIL_VERSION ?= 0.6.0
SSHCOMMAND_VERSION ?= 0.12.0
DOCKER_IMAGE_LABELER_URL ?= https://github.com/dokku/docker-image-labeler/releases/download/v${DOCKER_IMAGE_LABELER_VERSION}/docker-image-labeler_${DOCKER_IMAGE_LABELER_VERSION}_linux_x86_64.tgz
NETRC_URL ?= https://github.com/dokku/netrc/releases/download/v${NETRC_VERSION}/netrc_${NETRC_VERSION}_linux_x86_64.tgz
PLUGN_URL ?= https://github.com/dokku/plugn/releases/download/v${PLUGN_VERSION}/plugn_${PLUGN_VERSION}_linux_x86_64.tgz
PROCFILE_UTIL_URL ?= https://github.com/josegonzalez/go-procfile-util/releases/download/v${PROCFILE_VERSION}/procfile-util_${PROCFILE_VERSION}_linux_x86_64.tgz
SIGIL_URL ?= https://github.com/gliderlabs/sigil/releases/download/v${SIGIL_VERSION}/sigil_${SIGIL_VERSION}_Linux_x86_64.tgz
SSHCOMMAND_URL ?= https://github.com/dokku/sshcommand/releases/download/v${SSHCOMMAND_VERSION}/sshcommand_${SSHCOMMAND_VERSION}_linux_x86_64.tgz
TARGETARCH ?= amd64
DOCKER_IMAGE_LABELER_URL ?= $(shell jq -r --arg name docker-image-labeler --arg arch $(TARGETARCH) '.dependencies[] | select(.name == $$name) | .urls[$$arch]' contrib/dependencies.json)
DOCKER_CONTAINER_HEALTHCHECKER_URL ?= $(shell jq -r --arg name docker-container-healthchecker --arg arch $(TARGETARCH) '.dependencies[] | select(.name == $$name) | .urls[$$arch]' contrib/dependencies.json)
LAMBDA_BUILDER_URL ?= $(shell jq -r --arg name lambda-builder --arg arch $(TARGETARCH) '.dependencies[] | select(.name == $$name) | .urls[$$arch]' contrib/dependencies.json)
NETRC_URL ?= $(shell jq -r --arg name netrc --arg arch $(TARGETARCH) '.dependencies[] | select(.name == $$name) | .urls[$$arch]' contrib/dependencies.json)
PLUGN_URL ?= $(shell jq -r --arg name plugn --arg arch $(TARGETARCH) '.predependencies[] | select(.name == $$name) | .urls[$$arch]' contrib/dependencies.json)
PROCFILE_UTIL_URL ?= $(shell jq -r --arg name procfile-util --arg arch $(TARGETARCH) '.dependencies[] | select(.name == $$name) | .urls[$$arch]' contrib/dependencies.json)
SIGIL_URL ?= $(shell jq -r --arg name gliderlabs-sigil --arg arch $(TARGETARCH) '.predependencies[] | select(.name == $$name) | .urls[$$arch]' contrib/dependencies.json)
SSHCOMMAND_URL ?= $(shell jq -r --arg name sshcommand --arg arch $(TARGETARCH) '.dependencies[] | select(.name == $$name) | .urls[$$arch]' contrib/dependencies.json)
STACK_URL ?= https://github.com/gliderlabs/herokuish.git
PREBUILT_STACK_URL ?= gliderlabs/herokuish:latest
PREBUILT_STACK_URL ?= gliderlabs/herokuish:latest-22
DOKKU_LIB_ROOT ?= /var/lib/dokku
PLUGINS_PATH ?= ${DOKKU_LIB_ROOT}/plugins
CORE_PLUGINS_PATH ?= ${DOKKU_LIB_ROOT}/core-plugins
@@ -36,12 +33,12 @@ endif
include common.mk
.PHONY: all apt-update install version copyfiles copyplugin man-db plugins dependencies docker-image-labeler netrc sshcommand procfile-util plugn docker aufs stack count dokku-installer vagrant-acl-add vagrant-dokku go-build
.PHONY: all apt-update install version copyfiles copyplugin man-db plugins dependencies docker-image-labeler lambda-builder netrc sshcommand procfile-util plugn docker aufs stack count vagrant-acl-add vagrant-dokku go-build
include docs.mk
include tests.mk
include package.mk
include deb.mk
include rpm.mk
include arch.mk
all:
@@ -110,7 +107,11 @@ endif
addman: help2man man-db
mkdir -p /usr/local/share/man/man1
ifneq ("$(wildcard /usr/local/share/man/man1/dokku.1-generated)","")
cp /usr/local/share/man/man1/dokku.1-generated /usr/local/share/man/man1/dokku.1
else
help2man -Nh help -v version -n "configure and get information from your dokku installation" -o /usr/local/share/man/man1/dokku.1 dokku
endif
mandb
version:
@@ -127,12 +128,15 @@ plugin-dependencies: plugn procfile-util
plugins: plugn procfile-util docker
sudo -E dokku plugin:install --core
dependencies: apt-update docker-image-labeler netrc sshcommand plugn procfile-util docker help2man man-db sigil dos2unix jq
dependencies: apt-update docker-image-labeler docker-container-healthchecker lambda-builder netrc sshcommand plugn procfile-util docker help2man man-db sigil dos2unix jq parallel
$(MAKE) -e stack
apt-update:
apt-get update -qq
parallel:
apt-get -qq -y --no-install-recommends install parallel
jq:
apt-get -qq -y --no-install-recommends install jq
@@ -148,22 +152,37 @@ man-db:
docker-image-labeler:
wget -qO /tmp/docker-image-labeler_latest.tgz ${DOCKER_IMAGE_LABELER_URL}
tar xzf /tmp/docker-image-labeler_latest.tgz -C /usr/local/bin
mv /usr/local/bin/docker-image-labeler-${TARGETARCH} /usr/local/bin/docker-image-labeler
docker-container-healthchecker:
wget -qO /tmp/docker-container-healthchecker_latest.tgz ${DOCKER_CONTAINER_HEALTHCHECKER_URL}
tar xzf /tmp/docker-container-healthchecker_latest.tgz -C /usr/local/bin
mv /usr/local/bin/docker-container-healthchecker-${TARGETARCH} /usr/local/bin/docker-container-healthchecker
lambda-builder:
wget -qO /tmp/lambda-builder_latest.tgz ${LAMBDA_BUILDER_URL}
tar xzf /tmp/lambda-builder_latest.tgz -C /usr/local/bin
mv /usr/local/bin/lambda-builder-${TARGETARCH} /usr/local/bin/lambda-builder
netrc:
wget -qO /tmp/netrc_latest.tgz ${NETRC_URL}
tar xzf /tmp/netrc_latest.tgz -C /usr/local/bin
mv /usr/local/bin/netrc-${TARGETARCH} /usr/local/bin/netrc
procfile-util:
wget -qO /tmp/procfile-util_latest.tgz ${PROCFILE_UTIL_URL}
tar xzf /tmp/procfile-util_latest.tgz -C /usr/local/bin
mv /usr/local/bin/procfile-util-${TARGETARCH} /usr/local/bin/procfile-util
plugn:
wget -qO /tmp/plugn_latest.tgz ${PLUGN_URL}
tar xzf /tmp/plugn_latest.tgz -C /usr/local/bin
mv /usr/local/bin/plugn-${TARGETARCH} /usr/local/bin/plugn
sigil:
wget -qO /tmp/sigil_latest.tgz ${SIGIL_URL}
tar xzf /tmp/sigil_latest.tgz -C /usr/local/bin
mv /usr/local/bin/gliderlabs-sigil-${TARGETARCH} /usr/local/bin/sigil
sshcommand:
wget -qO /tmp/sshcommand_latest.tgz ${SSHCOMMAND_URL}
@@ -206,12 +225,6 @@ count:
@echo "Test lines:"
@find tests -type f -not -name .DS_Store | xargs cat | sed 's/^$$//g' | wc -l
dokku-installer:
test -f /var/lib/dokku/.dokku-installer-created || python contrib/dokku-installer.py onboot
test -f /var/lib/dokku/.dokku-installer-created || service dokku-installer start
test -f /var/lib/dokku/.dokku-installer-created || service nginx reload
test -f /var/lib/dokku/.dokku-installer-created || touch /var/lib/dokku/.dokku-installer-created
vagrant-acl-add:
vagrant ssh -- sudo sshcommand acl-add dokku $(USER)

View File

@@ -1 +0,0 @@
**Note:** If this PR is just doc changes, please put [ci skip] in the body that way tests do not run.

131
README.md
View File

@@ -3,8 +3,7 @@
[![Build Status](https://github.com/dokku/dokku/workflows/CI/badge.svg)](https://github.com/dokku/dokku/actions?query=workflow%3ACI)
[![Ubuntu Package](https://img.shields.io/badge/package-ubuntu-brightgreen.svg?style=flat-square "Ubuntu Package")](https://packagecloud.io/dokku/dokku)
[![Arch Package](https://img.shields.io/badge/package-arch-brightgreen.svg?style=flat-square "Arch Package")](https://aur.archlinux.org/packages/dokku/)
[![IRC Network](https://img.shields.io/badge/irc-freenode-blue.svg?style=flat-square "IRC Freenode")](https://webchat.freenode.net/?channels=dokku)
[![Slack Group](https://img.shields.io/badge/irc-slack-blue.svg?style=flat-square "Slack Group")](https://glider-slackin.herokuapp.com/)
[![Slack Group](https://img.shields.io/badge/irc-slack-blue.svg?style=flat-square "Slack Group")](https://slack.dokku.com/)
[![Documentation](https://img.shields.io/badge/docs-site-blue.svg?style=flat-square "Site")](https://dokku.com/docs/getting-started/installation/)
[![OpenCollective](https://opencollective.com/dokku/sponsors/badge.svg?style=flat-square)](#sponsors)
[![OpenCollective](https://opencollective.com/dokku/backers/badge.svg?style=flat-square)](#backers)
@@ -14,81 +13,69 @@ Docker powered mini-Heroku. The smallest PaaS implementation you've ever seen.
## Sponsors
Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/dokku#sponsor)]
Become a sponsor and get your logo on our README on GitHub with a link to your site. [[Become a sponsor](https://opencollective.com/dokku#sponsor)]
<a href="https://opencollective.com/dokku/sponsor/0/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/0/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/1/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/1/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/2/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/2/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/3/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/3/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/4/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/4/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/5/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/5/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/6/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/6/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/7/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/7/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/8/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/8/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/9/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/9/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/10/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/10/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/11/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/11/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/12/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/12/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/13/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/13/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/14/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/14/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/15/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/15/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/16/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/16/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/17/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/17/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/18/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/18/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/19/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/19/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/20/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/20/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/21/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/21/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/22/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/22/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/23/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/23/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/24/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/24/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/25/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/25/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/26/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/26/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/27/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/27/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/28/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/28/avatar.svg"></a>
<a href="https://opencollective.com/dokku/sponsor/29/website" target="_blank"><img src="https://opencollective.com/dokku/sponsor/29/avatar.svg"></a>
[![OpenCollective Sponsor 0](https://opencollective.com/dokku/sponsor/0/avatar.svg)](https://opencollective.com/dokku/sponsor/0/website)
[![OpenCollective Sponsor 1](https://opencollective.com/dokku/sponsor/1/avatar.svg)](https://opencollective.com/dokku/sponsor/1/website)
[![OpenCollective Sponsor 2](https://opencollective.com/dokku/sponsor/2/avatar.svg)](https://opencollective.com/dokku/sponsor/2/website)
[![OpenCollective Sponsor 3](https://opencollective.com/dokku/sponsor/3/avatar.svg)](https://opencollective.com/dokku/sponsor/3/website)
[![OpenCollective Sponsor 4](https://opencollective.com/dokku/sponsor/4/avatar.svg)](https://opencollective.com/dokku/sponsor/4/website)
[![OpenCollective Sponsor 5](https://opencollective.com/dokku/sponsor/5/avatar.svg)](https://opencollective.com/dokku/sponsor/5/website)
[![OpenCollective Sponsor 6](https://opencollective.com/dokku/sponsor/6/avatar.svg)](https://opencollective.com/dokku/sponsor/6/website)
[![OpenCollective Sponsor 7](https://opencollective.com/dokku/sponsor/7/avatar.svg)](https://opencollective.com/dokku/sponsor/7/website)
[![OpenCollective Sponsor 8](https://opencollective.com/dokku/sponsor/8/avatar.svg)](https://opencollective.com/dokku/sponsor/8/website)
[![OpenCollective Sponsor 9](https://opencollective.com/dokku/sponsor/9/avatar.svg)](https://opencollective.com/dokku/sponsor/9/website)
[![OpenCollective Sponsor 10](https://opencollective.com/dokku/sponsor/10/avatar.svg)](https://opencollective.com/dokku/sponsor/10/website)
[![OpenCollective Sponsor 11](https://opencollective.com/dokku/sponsor/11/avatar.svg)](https://opencollective.com/dokku/sponsor/11/website)
[![OpenCollective Sponsor 12](https://opencollective.com/dokku/sponsor/12/avatar.svg)](https://opencollective.com/dokku/sponsor/12/website)
[![OpenCollective Sponsor 13](https://opencollective.com/dokku/sponsor/13/avatar.svg)](https://opencollective.com/dokku/sponsor/13/website)
[![OpenCollective Sponsor 14](https://opencollective.com/dokku/sponsor/14/avatar.svg)](https://opencollective.com/dokku/sponsor/14/website)
[![OpenCollective Sponsor 15](https://opencollective.com/dokku/sponsor/15/avatar.svg)](https://opencollective.com/dokku/sponsor/5/website)
[![OpenCollective Sponsor 6](https://opencollective.com/dokku/sponsor/16/avatar.svg)](https://opencollective.com/dokku/sponsor/16/website)
[![OpenCollective Sponsor 17](https://opencollective.com/dokku/sponsor/17/avatar.svg)](https://opencollective.com/dokku/sponsor/17/website)
[![OpenCollective Sponsor 18](https://opencollective.com/dokku/sponsor/18/avatar.svg)](https://opencollective.com/dokku/sponsor/18/website)
## Backers
Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/dokku#backer)]
<a href="https://opencollective.com/dokku/backer/0/website" target="_blank"><img src="https://opencollective.com/dokku/backer/0/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/1/website" target="_blank"><img src="https://opencollective.com/dokku/backer/1/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/2/website" target="_blank"><img src="https://opencollective.com/dokku/backer/2/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/3/website" target="_blank"><img src="https://opencollective.com/dokku/backer/3/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/4/website" target="_blank"><img src="https://opencollective.com/dokku/backer/4/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/5/website" target="_blank"><img src="https://opencollective.com/dokku/backer/5/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/6/website" target="_blank"><img src="https://opencollective.com/dokku/backer/6/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/7/website" target="_blank"><img src="https://opencollective.com/dokku/backer/7/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/8/website" target="_blank"><img src="https://opencollective.com/dokku/backer/8/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/9/website" target="_blank"><img src="https://opencollective.com/dokku/backer/9/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/10/website" target="_blank"><img src="https://opencollective.com/dokku/backer/10/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/11/website" target="_blank"><img src="https://opencollective.com/dokku/backer/11/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/12/website" target="_blank"><img src="https://opencollective.com/dokku/backer/12/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/13/website" target="_blank"><img src="https://opencollective.com/dokku/backer/13/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/14/website" target="_blank"><img src="https://opencollective.com/dokku/backer/14/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/15/website" target="_blank"><img src="https://opencollective.com/dokku/backer/15/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/16/website" target="_blank"><img src="https://opencollective.com/dokku/backer/16/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/17/website" target="_blank"><img src="https://opencollective.com/dokku/backer/17/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/18/website" target="_blank"><img src="https://opencollective.com/dokku/backer/18/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/19/website" target="_blank"><img src="https://opencollective.com/dokku/backer/19/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/20/website" target="_blank"><img src="https://opencollective.com/dokku/backer/20/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/21/website" target="_blank"><img src="https://opencollective.com/dokku/backer/21/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/22/website" target="_blank"><img src="https://opencollective.com/dokku/backer/22/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/23/website" target="_blank"><img src="https://opencollective.com/dokku/backer/23/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/24/website" target="_blank"><img src="https://opencollective.com/dokku/backer/24/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/25/website" target="_blank"><img src="https://opencollective.com/dokku/backer/25/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/26/website" target="_blank"><img src="https://opencollective.com/dokku/backer/26/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/27/website" target="_blank"><img src="https://opencollective.com/dokku/backer/27/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/28/website" target="_blank"><img src="https://opencollective.com/dokku/backer/28/avatar.svg"></a>
<a href="https://opencollective.com/dokku/backer/29/website" target="_blank"><img src="https://opencollective.com/dokku/backer/29/avatar.svg"></a>
[![OpenCollective Backer 0](https://opencollective.com/dokku/backer/0/avatar.svg)](https://opencollective.com/dokku/backer/0/website)
[![OpenCollective Backer 1](https://opencollective.com/dokku/backer/1/avatar.svg)](https://opencollective.com/dokku/backer/1/website)
[![OpenCollective Backer 2](https://opencollective.com/dokku/backer/2/avatar.svg)](https://opencollective.com/dokku/backer/2/website)
[![OpenCollective Backer 3](https://opencollective.com/dokku/backer/3/avatar.svg)](https://opencollective.com/dokku/backer/3/website)
[![OpenCollective Backer 4](https://opencollective.com/dokku/backer/4/avatar.svg)](https://opencollective.com/dokku/backer/4/website)
[![OpenCollective Backer 5](https://opencollective.com/dokku/backer/5/avatar.svg)](https://opencollective.com/dokku/backer/5/website)
[![OpenCollective Backer 6](https://opencollective.com/dokku/backer/6/avatar.svg)](https://opencollective.com/dokku/backer/6/website)
[![OpenCollective Backer 7](https://opencollective.com/dokku/backer/7/avatar.svg)](https://opencollective.com/dokku/backer/7/website)
[![OpenCollective Backer 8](https://opencollective.com/dokku/backer/8/avatar.svg)](https://opencollective.com/dokku/backer/8/website)
[![OpenCollective Backer 9](https://opencollective.com/dokku/backer/9/avatar.svg)](https://opencollective.com/dokku/backer/9/website)
[![OpenCollective Backer 10](https://opencollective.com/dokku/backer/10/avatar.svg)](https://opencollective.com/dokku/backer/10/website)
[![OpenCollective Backer 11](https://opencollective.com/dokku/backer/11/avatar.svg)](https://opencollective.com/dokku/backer/11/website)
[![OpenCollective Backer 12](https://opencollective.com/dokku/backer/12/avatar.svg)](https://opencollective.com/dokku/backer/12/website)
[![OpenCollective Backer 13](https://opencollective.com/dokku/backer/13/avatar.svg)](https://opencollective.com/dokku/backer/13/website)
[![OpenCollective Backer 14](https://opencollective.com/dokku/backer/14/avatar.svg)](https://opencollective.com/dokku/backer/14/website)
[![OpenCollective Backer 15](https://opencollective.com/dokku/backer/15/avatar.svg)](https://opencollective.com/dokku/backer/15/website)
[![OpenCollective Backer 16](https://opencollective.com/dokku/backer/16/avatar.svg)](https://opencollective.com/dokku/backer/16/website)
[![OpenCollective Backer 17](https://opencollective.com/dokku/backer/17/avatar.svg)](https://opencollective.com/dokku/backer/17/website)
[![OpenCollective Backer 18](https://opencollective.com/dokku/backer/18/avatar.svg)](https://opencollective.com/dokku/backer/18/website)
[![OpenCollective Backer 19](https://opencollective.com/dokku/backer/19/avatar.svg)](https://opencollective.com/dokku/backer/19/website)
[![OpenCollective Backer 20](https://opencollective.com/dokku/backer/20/avatar.svg)](https://opencollective.com/dokku/backer/20/website)
[![OpenCollective Backer 21](https://opencollective.com/dokku/backer/21/avatar.svg)](https://opencollective.com/dokku/backer/21/website)
[![OpenCollective Backer 22](https://opencollective.com/dokku/backer/22/avatar.svg)](https://opencollective.com/dokku/backer/22/website)
[![OpenCollective Backer 23](https://opencollective.com/dokku/backer/23/avatar.svg)](https://opencollective.com/dokku/backer/23/website)
[![OpenCollective Backer 24](https://opencollective.com/dokku/backer/24/avatar.svg)](https://opencollective.com/dokku/backer/24/website)
[![OpenCollective Backer 25](https://opencollective.com/dokku/backer/25/avatar.svg)](https://opencollective.com/dokku/backer/25/website)
[![OpenCollective Backer 26](https://opencollective.com/dokku/backer/26/avatar.svg)](https://opencollective.com/dokku/backer/26/website)
[![OpenCollective Backer 27](https://opencollective.com/dokku/backer/27/avatar.svg)](https://opencollective.com/dokku/backer/27/website)
[![OpenCollective Backer 28](https://opencollective.com/dokku/backer/28/avatar.svg)](https://opencollective.com/dokku/backer/28/website)
[![OpenCollective Backer 29](https://opencollective.com/dokku/backer/29/avatar.svg)](https://opencollective.com/dokku/backer/29/website)
## Requirements
A fresh VM running any of the following operating systems:
- Ubuntu 16.04/18.04/20.04 x64 - Any currently supported release
- Debian 9+ x64
- CentOS 7 x64 *(experimental)*
- Ubuntu 20.04 / 22.04 x64 - Any currently supported release
- Debian 10+ x64
- Arch Linux x64 *(experimental)*
An SSH keypair that can be used for application deployment. If this exists before installation, it will be automatically imported into dokku.
@@ -99,11 +86,11 @@ Otherwise, you will need to import the keypair manually after installation using
To install the latest stable release, run the following commands as a user who has access to `sudo`:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.24.5/bootstrap.sh
sudo DOKKU_TAG=v0.24.5 bash bootstrap.sh
wget -NP . https://dokku.com/install/v0.32.2/bootstrap.sh
sudo DOKKU_TAG=v0.32.2 bash bootstrap.sh
```
You can then proceed to the ip address or domain name associated with your server to complete the web-based installation.
You can then proceed to configure your server domain (via `dokku domains:set-global`) and user access (via `dokku ssh-keys:add`) to complete the installation.
If you wish for a more unattended installation method, see [these](https://dokku.com/docs/getting-started/install/debian/#unattended-installation) docs.
@@ -113,15 +100,15 @@ If you wish for a more unattended installation method, see [these](https://dokku
## Documentation
Full documentation - including advanced installation docs - are available online at [https://dokku.com/docs/getting-started/installation/](https://dokku.com/docs/getting-started/installation/).
Full documentation - including advanced installation docs - are available online at <https://dokku.com/docs/getting-started/installation/>.
## Support
You can use [Github Issues](https://github.com/dokku/dokku/issues), check [Troubleshooting](https://dokku.com/docs/getting-started/troubleshooting/) in the documentation, or join us on [freenode in #dokku](https://webchat.freenode.net/?channels=%23dokku).
You can use [GitHub Issues](https://github.com/dokku/dokku/issues), check [Troubleshooting](https://dokku.com/docs/getting-started/troubleshooting/) in the documentation, or join us on [Gliderlabs Slack in the #dokku channel](https://slack.dokku.com/).
## Contribution
After checking [Github Issues](https://github.com/dokku/dokku/issues), the [Troubleshooting Guide](https://dokku.com/docs/getting-started/troubleshooting/) or having a chat with us on [freenode in #dokku](https://webchat.freenode.net/?channels=%23dokku), feel free to fork and create a Pull Request.
After checking [GitHub Issues](https://github.com/dokku/dokku/issues), the [Troubleshooting Guide](https://dokku.com/docs/getting-started/troubleshooting/) or having a chat with us on [Gliderlabs Slack in the #dokku channel](https://slack.dokku.com/), feel free to fork and create a Pull Request.
While we may not merge your PR as is, they serve to start conversations and improve the general Dokku experience for all users.

27
Vagrantfile vendored
View File

@@ -1,12 +1,11 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
BOX_NAME = ENV["BOX_NAME"] || "bento/ubuntu-18.04"
BOX_NAME = ENV["BOX_NAME"] || "bento/ubuntu-20.04"
BOX_CPUS = ENV["BOX_CPUS"] || "1"
BOX_MEMORY = ENV["BOX_MEMORY"] || "1024"
DOKKU_DOMAIN = ENV["DOKKU_DOMAIN"] || "dokku.me"
DOKKU_IP = ENV["DOKKU_IP"] || "10.0.0.2"
FORWARDED_PORT = (ENV["FORWARDED_PORT"] || '8080').to_i
PREBUILT_STACK_URL = File.exist?("#{File.dirname(__FILE__)}/stack.tgz") ? 'file:///root/dokku/stack.tgz' : nil
PUBLIC_KEY_PATH = "#{Dir.home}/.ssh/id_rsa.pub"
@@ -43,7 +42,6 @@ Vagrant::configure("2") do |config|
config.vm.define "dokku", primary: true do |vm|
vm.vm.synced_folder File.dirname(__FILE__), "/root/dokku"
vm.vm.network :forwarded_port, guest: 80, host: FORWARDED_PORT
vm.vm.hostname = "#{DOKKU_DOMAIN}"
vm.vm.network :private_network, ip: DOKKU_IP
@@ -56,7 +54,6 @@ Vagrant::configure("2") do |config|
end
vm.vm.provision :shell, :inline => "export DEBIAN_FRONTEND=noninteractive && apt-get update -qq >/dev/null && apt-get -qq -y --no-install-recommends install git build-essential >/dev/null && cd /root/dokku && #{make_cmd}"
vm.vm.provision :shell, :inline => "cd /root/dokku && make dokku-installer"
vm.vm.provision :shell do |s|
s.inline = <<-EOT
echo '"\e[5~": history-search-backward' > /root/.inputrc
@@ -65,42 +62,33 @@ Vagrant::configure("2") do |config|
echo 'set completion-ignore-case on' >> /root/.inputrc
EOT
end
if Pathname.new(PUBLIC_KEY_PATH).exist?
vm.vm.provision :shell, :inline => "echo 'Importing ssh key into dokku' && cat /root/.ssh/authorized_keys | dokku ssh-keys:add admin"
end
end
# For windows users. Sharing folder from windows creates problem with sym links and so, sync the repo instead from GOS.
config.vm.define "dokku-windows", autostart: false do |vm|
vm.vm.network :forwarded_port, guest: 80, host: FORWARDED_PORT
vm.vm.hostname = "#{DOKKU_DOMAIN}"
vm.vm.network :private_network, ip: DOKKU_IP
vm.vm.provision :shell, :inline => "export DEBIAN_FRONTEND=noninteractive && apt-get update -qq >/dev/null && apt-get -qq -y --no-install-recommends install git dos2unix >/dev/null"
vm.vm.provision :shell, :inline => "cd /vagrant/ && export DOKKU_BRANCH=`git symbolic-ref -q --short HEAD 2>/dev/null` && export DOKKU_TAG=`git describe --tags --exact-match 2>/dev/null` && cd /root/ && cp /vagrant/bootstrap.sh ./ && dos2unix bootstrap.sh && bash bootstrap.sh"
vm.vm.provision :shell, :inline => "cd /root/dokku && make dokku-installer"
end
config.vm.define "dokku-deb", autostart: false do |vm|
vm.vm.synced_folder File.dirname(__FILE__), "/root/dokku"
vm.vm.network :forwarded_port, guest: 80, host: FORWARDED_PORT
vm.vm.hostname = "#{DOKKU_DOMAIN}"
vm.vm.network :private_network, ip: DOKKU_IP
vm.vm.provision :shell, :inline => "cd /root/dokku && make install-from-deb"
end
config.vm.define "dokku-rpm", autostart: false do |vm|
vm.vm.box = "centos/7"
vm.vm.synced_folder File.dirname(__FILE__), "/root/dokku"
vm.vm.network :forwarded_port, guest: 80, host: FORWARDED_PORT
vm.vm.hostname = "#{DOKKU_DOMAIN}"
vm.vm.network :private_network, ip: DOKKU_IP
vm.vm.provision :shell, :inline => "cd /root/dokku && bash bootstrap.sh"
end
config.vm.define "build", autostart: false do |vm|
vm.vm.synced_folder File.dirname(__FILE__), "/root/dokku"
vm.vm.network :forwarded_port, guest: 80, host: FORWARDED_PORT
vm.vm.hostname = "#{DOKKU_DOMAIN}"
vm.vm.network :private_network, ip: DOKKU_IP
vm.vm.provision :shell, :inline => "export DEBIAN_FRONTEND=noninteractive && apt-get update -qq >/dev/null && apt-get -qq -y --no-install-recommends install git >/dev/null && cd /root/dokku && #{make_cmd}"
vm.vm.provision :shell, :inline => "export IS_RELEASE=true && cd /root/dokku && make deb-all rpm-all"
vm.vm.provision :shell, :inline => "export IS_RELEASE=true && cd /root/dokku && make deb-all"
end
config.vm.define "build-arch", autostart: false do |vm|
@@ -109,7 +97,6 @@ Vagrant::configure("2") do |config|
if Pathname.new("#{File.dirname(__FILE__)}/../dokku-arch").exist?
vm.vm.synced_folder "#{File.dirname(__FILE__)}/../dokku-arch", "/dokku-arch"
end
vm.vm.network :forwarded_port, guest: 80, host: FORWARDED_PORT
vm.vm.hostname = "#{DOKKU_DOMAIN}"
vm.vm.network :private_network, ip: DOKKU_IP
vm.vm.provision :shell, :inline => "cd /dokku && make arch-all", privileged: false
@@ -117,6 +104,6 @@ Vagrant::configure("2") do |config|
if Pathname.new(PUBLIC_KEY_PATH).exist?
config.vm.provision :file, source: PUBLIC_KEY_PATH, destination: '/tmp/id_rsa.pub'
config.vm.provision :shell, :inline => "rm -f /root/.ssh/authorized_keys && mkdir -p /root/.ssh && sudo cp /tmp/id_rsa.pub /root/.ssh/authorized_keys"
config.vm.provision :shell, :inline => "echo 'Copying ssh key into vm' && rm -f /root/.ssh/authorized_keys && mkdir -p /root/.ssh && sudo cp /tmp/id_rsa.pub /root/.ssh/authorized_keys"
end
end

View File

@@ -3,16 +3,16 @@ set -eo pipefail
[[ $TRACE ]] && set -x
# A script to bootstrap dokku.
# It expects to be run on Ubuntu 16.04/18.04/20.04, or CentOS 7 via 'sudo'
# It expects to be run on Ubuntu 20.04/22.04 via 'sudo`
# If installing a tag higher than 0.3.13, it may install dokku via a package (so long as the package is higher than 0.3.13)
# It checks out the dokku source code from Github into ~/dokku and then runs 'make install' from dokku source.
# It checks out the dokku source code from GitHub into ~/dokku and then runs 'make install' from dokku source.
# We wrap this whole script in functions, so that we won't execute
# until the entire script is downloaded.
# That's good because it prevents our output overlapping with wget's.
# It also means that we can't run a partially downloaded script.
SUPPORTED_VERSIONS="Debian [9, 10], CentOS [7], Ubuntu [16.04, 18.04, 20.04]"
SUPPORTED_VERSIONS="Debian [10, 11, 12], Ubuntu [18.04, 20.04, 22.04]"
log-fail() {
declare desc="log fail formatter"
@@ -28,7 +28,7 @@ ensure-environment() {
echo "Preparing to install $DOKKU_TAG from $DOKKU_REPO..."
fi
hostname -f >/dev/null 2>&1 || {
hostname -f &>/dev/null || {
log-fail "This installation script requires that you have a hostname set for the instance. Please set a hostname for 127.0.0.1 in your /etc/hosts"
}
@@ -44,18 +44,26 @@ install-requirements() {
case "$DOKKU_DISTRO" in
debian)
if ! dpkg -l | grep -q gpg-agent; then
apt-get update -qq >/dev/null
apt-get -qq -y --no-install-recommends install gpg-agent
fi
if ! dpkg -l | grep -q software-properties-common; then
apt-get update -qq >/dev/null
apt-get -qq -y --no-install-recommends install software-properties-common
fi
;;
ubuntu)
if ! dpkg -l | grep -q gpg-agent; then
apt-get update -qq >/dev/null
apt-get -qq -y --no-install-recommends install gpg-agent
fi
if ! dpkg -l | grep -q software-properties-common; then
apt-get update -qq >/dev/null
apt-get -qq -y --no-install-recommends install software-properties-common
fi
add-apt-repository universe >/dev/null
add-apt-repository -y universe >/dev/null
apt-get update -qq >/dev/null
;;
esac
@@ -131,9 +139,6 @@ install-dokku-from-package() {
debian | ubuntu)
install-dokku-from-deb-package "$@"
;;
centos | rhel)
install-dokku-from-rpm-package "$@"
;;
*)
log-fail "Unsupported Linux distribution. For manual installation instructions, consult https://dokku.com/docs/getting-started/advanced-installation/"
;;
@@ -155,7 +160,7 @@ install-dokku-from-deb-package() {
local NO_INSTALL_RECOMMENDS=${DOKKU_NO_INSTALL_RECOMMENDS:=""}
local OS_ID
if ! in-array "$DOKKU_DISTRO_VERSION" "16.04" "18.04" "20.04" "9" "10"; then
if ! in-array "$DOKKU_DISTRO_VERSION" "18.04" "20.04" "22.04" "10" "11" "12"; then
log-fail "Unsupported Linux distribution. Only the following versions are supported: $SUPPORTED_VERSIONS"
fi
@@ -180,79 +185,50 @@ install-dokku-from-deb-package() {
wget -nv -O - https://get.docker.com/ | sh
fi
OS_ID="$(lsb_release -cs 2>/dev/null || echo "bionic")"
if ! in-array "$DOKKU_DISTRO" "debian" "ubuntu"; then
OS_ID="$(lsb_release -cs 2>/dev/null || echo "jammy")"
if ! in-array "$DOKKU_DISTRO" "debian" "ubuntu" "raspbian"; then
DOKKU_DISTRO="ubuntu"
OS_ID="bionic"
OS_ID="jammy"
fi
if [[ "$DOKKU_DISTRO" == "ubuntu" ]]; then
OS_IDS=("xenial" "bionic" "focal")
OS_IDS=("focal" "jammy")
if ! in-array "$OS_ID" "${OS_IDS[@]}"; then
OS_ID="bionic"
OS_ID="jammy"
fi
elif [[ "$DOKKU_DISTRO" == "debian" ]]; then
OS_IDS=("stretch" "buster")
OS_IDS=("stretch" "buster" "bullseye" "bookworm")
if ! in-array "$OS_ID" "${OS_IDS[@]}"; then
OS_ID="buster"
OS_ID="bullseye"
fi
elif [[ "$DOKKU_DISTRO" == "raspbian" ]]; then
OS_IDS=("buster" "bullseye")
if ! in-array "$OS_ID" "${OS_IDS[@]}"; then
OS_ID="bullseye"
fi
fi
echo "--> Installing dokku"
wget -nv -O - https://packagecloud.io/dokku/dokku/gpgkey | apt-key add -
wget -qO- https://packagecloud.io/dokku/dokku/gpgkey | sudo tee /etc/apt/trusted.gpg.d/dokku.asc
echo "deb https://packagecloud.io/dokku/dokku/$DOKKU_DISTRO/ $OS_ID main" | tee /etc/apt/sources.list.d/dokku.list
apt-get update -qq >/dev/null
[[ -n $DOKKU_VHOST_ENABLE ]] && echo "dokku dokku/vhost_enable boolean $DOKKU_VHOST_ENABLE" | sudo debconf-set-selections
[[ -n $DOKKU_WEB_CONFIG ]] && echo "dokku dokku/web_config boolean $DOKKU_WEB_CONFIG" | sudo debconf-set-selections
[[ -n $DOKKU_HOSTNAME ]] && echo "dokku dokku/hostname string $DOKKU_HOSTNAME" | sudo debconf-set-selections
[[ -n $DOKKU_SKIP_KEY_FILE ]] && echo "dokku dokku/skip_key_file boolean $DOKKU_SKIP_KEY_FILE" | sudo debconf-set-selections
[[ -n $DOKKU_KEY_FILE ]] && echo "dokku dokku/key_file string $DOKKU_KEY_FILE" | sudo debconf-set-selections
[[ -n $DOKKU_NGINX_ENABLE ]] && echo "dokku dokku/nginx_enable string $DOKKU_NGINX_ENABLE" | sudo debconf-set-selections
if [[ -n $DOKKU_CHECKOUT ]]; then
# shellcheck disable=SC2086
apt-get -qq -y $NO_INSTALL_RECOMMENDS install "dokku=$DOKKU_CHECKOUT"
else
# shellcheck disable=SC2086
apt-get -qq -y $NO_INSTALL_RECOMMENDS install dokku
fi
}
install-dokku-from-rpm-package() {
local DOKKU_CHECKOUT="$1"
if ! in-array "$DOKKU_DISTRO_VERSION" "7"; then
log-fail "Unsupported Linux distribution. Only the following versions are supported: $SUPPORTED_VERSIONS"
fi
echo "--> Installing docker"
curl -fsSL https://get.docker.com/ | sh
echo "--> Installing epel for nginx packages to be available"
yum install -y epel-release
echo "--> Installing herokuish and dokku"
curl -s https://packagecloud.io/install/repositories/dokku/dokku/script.rpm.sh | bash
if [[ -n $DOKKU_CHECKOUT ]]; then
yum -y install herokuish "dokku-$DOKKU_CHECKOUT"
else
yum -y install herokuish dokku
fi
echo "--> Enabling docker and nginx on system startup"
systemctl enable docker
systemctl enable nginx
echo "--> Starting nginx"
systemctl start nginx
}
main() {
export DOKKU_DISTRO DOKKU_DISTRO_VERSION
# shellcheck disable=SC1091
DOKKU_DISTRO=$(. /etc/os-release && echo "$ID")
# shellcheck disable=SC1091
DOKKU_DISTRO_VERSION=$(. /etc/os-release && echo "$VERSION_ID")
export DEBIAN_FRONTEND=noninteractive
@@ -261,6 +237,10 @@ main() {
ensure-environment
install-requirements
install-dokku
if [[ -f /etc/update-motd.d/99-dokku ]]; then
/etc/update-motd.d/99-dokku || true
fi
}
main "$@"

View File

@@ -1,9 +1,11 @@
GO_ARGS ?=
GO_PLUGIN_MAKE_TARGET ?= build
GO_REPO_ROOT := /go/src/github.com/dokku/dokku
BUILD_IMAGE := golang:1.15.6
BUILD_IMAGE := golang:1.21.3
GO_BUILD_CACHE ?= /tmp/dokku-go-build-cache
GO_MOD_CACHE ?= /tmp/dokku-go-mod-mod
GO_MOD_CACHE ?= /tmp/dokku-go-mod-mod
GO_ROOT_MOUNT ?= $$PWD/../..:$(GO_REPO_ROOT)
GOARCH ?= amd64
.PHONY: build-in-docker build clean src-clean
@@ -12,14 +14,14 @@ build: $(BUILD)
build-in-docker: clean
mkdir -p /tmp/dokku-go-build-cache
docker run --rm \
-v $$PWD/../..:$(GO_REPO_ROOT) \
-v $(GO_ROOT_MOUNT) \
-v $(GO_BUILD_CACHE):/root/.cache \
-v $(GO_MOD_CACHE):/go/pkg/mod \
-e PLUGIN_NAME=$(PLUGIN_NAME) \
-e GO111MODULE=on \
-w $(GO_REPO_ROOT)/plugins/$(PLUGIN_NAME) \
$(BUILD_IMAGE) \
bash -c "GO_ARGS='$(GO_ARGS)' make -j4 $(GO_PLUGIN_MAKE_TARGET)" || exit $$?
bash -c "GO_ARGS='$(GO_ARGS)' CGO_ENABLED=0 GOOS=linux GOARCH=$(GOARCH) make -j4 $(GO_PLUGIN_MAKE_TARGET)" || exit $$?
clean:
rm -rf $(BUILD)

View File

@@ -1,6 +1,8 @@
FROM ubuntu:18.04
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -qq && apt-get -qq -y --no-install-recommends install gcc git build-essential wget ruby-dev ruby1.9.1 lintian rpm help2man man-db
RUN command -v fpm >/dev/null || sudo gem install fpm --no-ri --no-rdoc
RUN apt-get update -qq && apt-get -qq -y --no-install-recommends install ca-certificates curl gcc git jq build-essential wget ruby-dev lintian python3 rpm help2man man-db sudo
RUN curl -sL -o /usr/local/share/ca-certificates/GlobalSignRootCA_R3.crt https://raw.githubusercontent.com/rubygems/rubygems/master/lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem
RUN update-ca-certificates
RUN command -v fpm || gem install fpm

154
contrib/build-docs Executable file
View File

@@ -0,0 +1,154 @@
#!/usr/bin/env bash
set -eo pipefail
readonly ROOT_DIR="$(cd "$(dirname "$(dirname "${BASH_SOURCE[0]}")")" && pwd)"
main() {
pushd "$ROOT_DIR" >/dev/null || return 1
rm -rf docs-main tmp/docs-source tmp/docs-build # tmp/docs-build
cp -r docs docs-main
echo "====> Generating docs image"
make docs-build-image
echo "====> Fetching latest docs"
git clone -q https://github.com/dokku/docs.git tmp/docs-build
echo "====> Processing version: latest"
rm -rf tmp/docs-build/docs
git clone -q https://github.com/dokku/dokku.git tmp/docs-source
rm -rf docs/assets
mkdir -p docs/assets
cp -r docs-main/assets/extra.css docs/assets/extra.css
cp -r docs-main/assets/favicons docs/assets/favicons
cp -r docs-main/assets/dokku-logo.svg docs/assets/dokku-logo.svg
rm -rf tmp/docs-build/assets
cp -r docs-main/assets tmp/docs-build/assets
cp docs-main/_build/app-nginx.conf.sigil tmp/docs-build/app-nginx.conf.sigil
mkdir -p tmp/docs-build/nginx.conf.d
touch tmp/docs-build/.static
echo "[]" >tmp/docs-build/versions.json
sed -i.bak "s/outdated/outdated_hidden/g" docs/_overrides/main.html && rm docs/_overrides/main.html.bak
echo "----> Generating docs"
make docs-build
if [[ -n "$GITHUB_ACTION" ]]; then
sudo chown -R "$(whoami)" site
fi
rm -rf site/_build
mv site tmp/docs-build/docs
mv docs/home.html tmp/docs-build/index.html
sed -i.bak "s/{{NAME}}~{{REF}}/docs/g" tmp/docs-build/index.html && rm tmp/docs-build/index.html.bak
sed -i.bak "s/{{NAME}}/docs/g" tmp/docs-build/index.html && rm tmp/docs-build/index.html.bak
sed -i.bak 's/="\/docs\/"/="\/"/g' tmp/docs-build/index.html && rm tmp/docs-build/index.html.bak
jq -C -r '.["max-versions"][]' docs-main/assets/versions.json | while read -r current_version; do
major="$(echo "$current_version" | cut -d'.' -f1)"
minor="$(echo "$current_version" | cut -d'.' -f2)"
patch="$(echo "$current_version" | cut -d'.' -f3)"
while true; do
if [[ "$patch" -lt 0 ]]; then
break
fi
version="${major}.${minor}.${patch}"
echo "====> Processing version: ${major}.${minor}.${patch}"
if [[ "$major" -lt 1 ]]; then
if [[ "$current_version" != "$version" ]]; then
echo " Writing rewrite rule"
echo "rewrite ^/docs~v$version/(.*)$ /docs~v$current_version/\$1 redirect;" >"tmp/docs-build/nginx.conf.d/$version.conf"
echo " Removing old docs"
rm -rf "tmp/docs-build/docs~v${version}"
patch=$((patch - 1))
continue
fi
fi
jq --arg title "v$version" --arg version "docs~v$version" '. += [{"title": $title, "version": $version, "aliases": []}]' tmp/docs-build/versions.json >tmp/docs-build/versions.json.bak
mv tmp/docs-build/versions.json.bak tmp/docs-build/versions.json
if [[ -d "tmp/docs-build/docs~v${version}" ]]; then
echo " ! Docs exist, skipping regeneration"
rm -rf "tmp/docs-build/docs~v${version}/assets/favicons"
cp -r docs-main/assets/favicons "tmp/docs-build/docs~v${version}/assets/favicons"
cp -r docs-main/assets/dokku-logo.svg "tmp/docs-build/docs~v${version}/assets/dokku-logo.svg"
cp -r docs-main/assets/extra.css "tmp/docs-build/docs~v${version}/assets/extra.css"
patch=$((patch - 1))
continue
fi
git -C tmp/docs-source checkout -q -- .
git -C tmp/docs-source checkout -q "tags/v${version}" -b "v${version}-branch"
rm -rf docs
mv tmp/docs-source/docs docs
rm -rf docs/assets
mkdir -p docs/assets
cp -r docs-main/assets/favicons docs/assets/favicons
cp -r docs-main/assets/dokku-logo.svg docs/assets/dokku-logo.svg
cp -r docs-main/assets/extra.css docs/assets/extra.css
cp -r docs-main/_build docs/_build
cp -r docs-main/_overrides docs/_overrides
git checkout -q -- mkdocs.yml
sed -i.bak "s/site_dir: site/site_dir: docs~v$version/g" mkdocs.yml && rm mkdocs.yml.bak
if [[ ! -f docs/template.html ]]; then
if [[ "$patch" -eq 0 ]]; then
break
fi
continue
fi
echo "----> Generating docs"
if ! make docs-build; then
continue
fi
if [[ -d "docs~v${version}" ]]; then
if [[ -n "$GITHUB_ACTION" ]]; then
sudo chown -R "$(whoami)" "docs~v${version}"
fi
rm -rf "docs~v${version}/_build"
mv "docs~v${version}" "tmp/docs-build/docs~v${version}"
fi
if [[ "$patch" -eq 0 ]]; then
break
fi
patch=$((patch - 1))
done
done
echo "====> Rebuild versions"
if [[ -f "tmp/docs-build/versions.json" ]]; then
python contrib/sort-mkdocs-versions
else
echo " No version file exists"
fi
echo "====> Cleanup main repo"
rm -rf docs
mv docs-main docs
git checkout -- mkdocs.yml docs
if [[ "$(git -C tmp/docs-build ls-files -dmo)" == "docs/sitemap.xml.gz" ]]; then
echo " ! No doc changes found"
git -C tmp/docs-build checkout -- docs/sitemap.xml.gz
else
echo "====> Pushing docs"
git -C tmp/docs-build add .
git -C tmp/docs-build commit -m "chore: regenerate docs"
if [[ -n "$BOT_GITHUB_USERNAME" ]] && [[ -n "$BOT_GITHUB_API_TOKEN" ]]; then
git -C tmp/docs-build remote set-url origin "https://$BOT_GITHUB_USERNAME:$BOT_GITHUB_API_TOKEN@github.com/dokku/docs.git"
fi
git -C tmp/docs-build push origin master
fi
}
main "$@"

View File

@@ -1,40 +1,61 @@
FROM dokku/build-base:0.0.1
FROM dokku/build-base:0.1.2 AS builder
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -qq && apt-get -qq -y --no-install-recommends install gcc git build-essential wget ruby-dev ruby1.9.1 lintian rpm help2man man-db
RUN command -v fpm >/dev/null || sudo gem install fpm --no-ri --no-rdoc
ARG GOLANG_VERSION
RUN wget -qO /tmp/go${GOLANG_VERSION}.linux-amd64.tar.gz https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-amd64.tar.gz \
&& tar -C /usr/local -xzf /tmp/go${GOLANG_VERSION}.linux-amd64.tar.gz \
&& cp /usr/local/go/bin/* /usr/local/bin
ARG WORKDIR=/go/src/github.com/dokku/dokku
WORKDIR ${WORKDIR}
RUN wget -qO /tmp/go${GOLANG_VERSION}.linux.tar.gz "https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-$(dpkg --print-architecture).tar.gz" \
&& tar -C /usr/local -xzf /tmp/go${GOLANG_VERSION}.linux.tar.gz \
&& cp /usr/local/go/bin/* /usr/local/bin \
&& mkdir -p ${WORKDIR}/contrib
COPY Makefile ${WORKDIR}/
COPY *.mk ${WORKDIR}/
COPY contrib/dependencies.json ${WORKDIR}/contrib/dependencies.json
RUN make deb-setup rpm-setup sshcommand plugn
RUN make deb-setup sshcommand plugn
COPY . ${WORKDIR}
ENV GOPATH=/go
ENV GOROOT=/usr/local/go
FROM builder as amd64
ARG PLUGIN_MAKE_TARGET
ARG DOKKU_VERSION=master
ARG DOKKU_GIT_REV
ARG IS_RELEASE=false
ENV GOPATH=/go
RUN PLUGIN_MAKE_TARGET=${PLUGIN_MAKE_TARGET} \
DOKKU_VERSION=${DOKKU_VERSION} \
DOKKU_GIT_REV=${DOKKU_GIT_REV} \
IS_RELEASE=${IS_RELEASE} \
SKIP_GO_CLEAN=true \
make version copyfiles \
&& make deb-dokku
FROM builder as arm64
COPY --from=amd64 /tmp /tmp
COPY --from=amd64 /usr/local/share/man/man1/dokku.1 /usr/local/share/man/man1/dokku.1-generated
RUN rm -rf /tmp/build-dokku
ARG PLUGIN_MAKE_TARGET
ARG DOKKU_VERSION=master
ARG DOKKU_GIT_REV
ARG IS_RELEASE=false
RUN PLUGIN_MAKE_TARGET=${PLUGIN_MAKE_TARGET} \
DOKKU_VERSION=${DOKKU_VERSION} \
DOKKU_GIT_REV=${DOKKU_GIT_REV} \
IS_RELEASE=${IS_RELEASE} \
SKIP_GO_CLEAN=true \
make version copyfiles \
&& make deb-dokku rpm-dokku
DOKKU_VERSION=${DOKKU_VERSION} \
DOKKU_GIT_REV=${DOKKU_GIT_REV} \
IS_RELEASE=${IS_RELEASE} \
SKIP_GO_CLEAN=true \
GOARCH=arm64 make version copyfiles \
&& DOKKU_ARCHITECTURE=arm64 GOARCH=arm64 make deb-dokku
RUN ls -lha /tmp/

View File

@@ -5,20 +5,17 @@ import shutil
import subprocess
from requests.auth import HTTPBasicAuth
PACKAGECLOUD_TOKEN = os.getenv('DOKKU_PACKAGECLOUD_TOKEN')
PACKAGECLOUD_TOKEN = os.getenv("DOKKU_PACKAGECLOUD_TOKEN")
def download_file(filename, url):
r = requests.get(url, stream=True)
with open(filename, 'wb') as f:
with open(filename, "wb") as f:
shutil.copyfileobj(r.raw, f)
def upload_file(filename):
versions = [
"xenial"
"focal"
]
versions = ["jammy"]
cmd_template = "package_cloud push dokku/dokku/ubuntu/{0} {1}"
for version in versions:
cmd = cmd_template.format(version, filename)
@@ -26,21 +23,22 @@ def upload_file(filename):
def main():
auth = HTTPBasicAuth(PACKAGECLOUD_TOKEN, '')
base = requests.get('https://packagecloud.io/api/v1/repos/dokku/dokku/packages/deb/ubuntu/bionic.json',
auth=auth)
auth = HTTPBasicAuth(PACKAGECLOUD_TOKEN, "")
base = requests.get(
"https://packagecloud.io/api/v1/repos/dokku/dokku/packages/deb/ubuntu/focal.json",
auth=auth,
)
data = base.json()
urls = []
for package in data:
urls.append(package['versions_url'])
urls.append(package["versions_url"])
download_urls = {}
for url in urls:
base = requests.get('https://packagecloud.io{0}'.format(url),
auth=auth)
base = requests.get("https://packagecloud.io{0}".format(url), auth=auth)
data = base.json()
for version in data:
download_urls['downloads/' + version['filename']] = version['download_url']
download_urls["downloads/" + version["filename"]] = version["download_url"]
for filename, download_url in download_urls.items():
print("downloading {0}".format(filename))

107
contrib/dependencies.json Normal file
View File

@@ -0,0 +1,107 @@
{
"dependencies": [
{
"name": "docker-image-labeler",
"version": "0.6.1",
"urls": {
"amd64": "https://github.com/dokku/docker-image-labeler/releases/download/v0.6.1/docker-image-labeler_0.6.1_linux_amd64.tgz",
"arm64": "https://github.com/dokku/docker-image-labeler/releases/download/v0.6.1/docker-image-labeler_0.6.1_linux_arm64.tgz",
"arm": "https://github.com/dokku/docker-image-labeler/releases/download/v0.6.1/docker-image-labeler_0.6.1_linux_armhf.tgz"
}
},
{
"name": "docker-container-healthchecker",
"version": "0.7.2",
"urls": {
"amd64": "https://github.com/dokku/docker-container-healthchecker/releases/download/v0.7.2/docker-container-healthchecker_0.7.2_linux_amd64.tgz",
"arm4": "https://github.com/dokku/docker-container-healthchecker/releases/download/v0.7.2/docker-container-healthchecker_0.7.2_linux_arm64.tgz",
"arm": "https://github.com/dokku/docker-container-healthchecker/releases/download/v0.7.2/docker-container-healthchecker_0.7.2_linux_armhf.tgz"
}
},
{
"name": "lambda-builder",
"version": "0.5.0",
"urls": {
"amd64": "https://github.com/dokku/lambda-builder/releases/download/v0.5.0/lambda-builder_0.5.0_linux_amd64.tgz",
"arm64": "https://github.com/dokku/lambda-builder/releases/download/v0.5.0/lambda-builder_0.5.0_linux_arm64.tgz",
"arm": "https://github.com/dokku/lambda-builder/releases/download/v0.5.0/lambda-builder_0.5.0_linux_armhf.tgz"
}
},
{
"name": "netrc",
"version": "0.7.1",
"urls": {
"amd64": "https://github.com/dokku/netrc/releases/download/v0.7.1/netrc_0.7.1_linux_amd64.tgz",
"arm64": "https://github.com/dokku/netrc/releases/download/v0.7.1/netrc_0.7.1_linux_arm64.tgz",
"arm": "https://github.com/dokku/netrc/releases/download/v0.7.1/netrc_0.7.1_linux_armhf.tgz"
}
},
{
"name": "procfile-util",
"version": "0.16.0",
"urls": {
"amd64": "https://github.com/dokku/procfile-util/releases/download/v0.16.0/procfile-util_0.16.0_linux_amd64.tgz",
"arm64": "https://github.com/dokku/procfile-util/releases/download/v0.16.0/procfile-util_0.16.0_linux_arm64.tgz",
"arm": "https://github.com/dokku/procfile-util/releases/download/v0.16.0/procfile-util_0.16.0_linux_armhf.tgz"
}
},
{
"name": "sshcommand",
"version": "0.17.1",
"urls": {
"amd64": "https://github.com/dokku/sshcommand/releases/download/v0.17.1/sshcommand_0.17.1_linux_x86_64.tgz",
"arm64": "https://github.com/dokku/sshcommand/releases/download/v0.17.1/sshcommand_0.17.1_linux_x86_64.tgz",
"arm": "https://github.com/dokku/sshcommand/releases/download/v0.17.1/sshcommand_0.17.1_linux_x86_64.tgz"
}
}
],
"predependencies": [
{
"name": "gliderlabs-sigil",
"version": "0.10.1",
"urls": {
"amd64": "https://github.com/gliderlabs/sigil/releases/download/v0.10.1/gliderlabs-sigil_0.10.1_linux_amd64.tgz",
"arm64": "https://github.com/gliderlabs/sigil/releases/download/v0.10.1/gliderlabs-sigil_0.10.1_linux_arm64.tgz",
"arm": "https://github.com/gliderlabs/sigil/releases/download/v0.10.1/gliderlabs-sigil_0.10.1_linux_armhf.tgz"
}
},
{
"name": "plugn",
"version": "0.12.0",
"urls": {
"amd64": "https://github.com/dokku/plugn/releases/download/v0.12.0/plugn_0.12.0_linux_amd64.tgz",
"arm64": "https://github.com/dokku/plugn/releases/download/v0.12.0/plugn_0.12.0_linux_arm64.tgz",
"arm": "https://github.com/dokku/plugn/releases/download/v0.12.0/plugn_0.12.0_linux_armhf.tgz"
}
}
],
"recommendations": [
{
"name": "dokku-event-listener",
"version": "0.15.0",
"urls": {
"amd64": "https://github.com/dokku/dokku-event-listener/releases/download/v0.15.0/dokku-event-listener_0.15.0_linux_amd64.tgz",
"arm64": "https://github.com/dokku/dokku-event-listener/releases/download/v0.15.0/dokku-event-listener_0.15.0_linux_arm64.tgz",
"arm": "https://github.com/dokku/dokku-event-listener/releases/download/v0.15.0/dokku-event-listener_0.15.0_linux_armhf.tgz"
}
},
{
"name": "dokku-update",
"version": "0.7.2",
"urls": {
"amd64": "https://github.com/dokku/dokku-update/releases/download/v0.7.2/dokku-update_0.7.2_linux_x86_64.tgz",
"arm64": "https://github.com/dokku/dokku-update/releases/download/v0.7.2/dokku-update_0.7.2_linux_x86_64.tgz",
"arm": "https://github.com/dokku/dokku-update/releases/download/v0.7.2/dokku-update_0.7.2_linux_x86_64.tgz"
}
},
{
"name": "herokuish",
"version": "0.7.1",
"urls": {
"amd64": "https://github.com/gliderlabs/herokuish/releases/download/v0.7.1/herokuish_0.7.1_linux_x86_64.tgz",
"arm64": "https://github.com/gliderlabs/herokuish/releases/download/v0.7.1/herokuish_0.7.1_linux_x86_64.tgz",
"arm": "https://github.com/gliderlabs/herokuish/releases/download/v0.7.1/herokuish_0.7.1_linux_x86_64.tgz"
}
}
]
}

View File

@@ -4,5 +4,4 @@ set -eo pipefail
DOKKU_DOCKER_CONTAINER_NAME=${DOKKU_DOCKER_CONTAINER_NAME:=dokku}
# TODO: handle cases where we need a tty
# shellcheck disable=SC2086
docker exec $DOKKU_DOCKER_ENV -i "$DOKKU_DOCKER_CONTAINER_NAME" dokku "$@"

View File

@@ -1,438 +0,0 @@
#!/usr/bin/env python3
import cgi
import json
import os
import re
import shutil
try:
import SimpleHTTPServer
import SocketServer
except ImportError:
import http.server as SimpleHTTPServer
import socketserver as SocketServer
import subprocess
import sys
import threading
VERSION = 'v0.24.5'
def bytes_to_string(b):
if type(b) == bytes:
encoding = sys.stdout.encoding
if encoding is None:
encoding = 'utf-8'
b = b.decode(encoding)
b = b.strip()
return b
def string_to_bytes(s):
if type(s) == str:
encoding = sys.stdout.encoding
if encoding is None:
encoding = 'utf-8'
s = s.encode(encoding)
return s
hostname = ''
try:
command = "bash -c '[[ $(dig +short $HOSTNAME) ]] && echo $HOSTNAME || wget -q -O - icanhazip.com'"
hostname = bytes_to_string(subprocess.check_output(command, shell=True))
except subprocess.CalledProcessError:
pass
key_file = os.getenv('KEY_FILE', None)
if os.path.isfile('/home/ec2-user/.ssh/authorized_keys'):
key_file = '/home/ec2-user/.ssh/authorized_keys'
elif os.path.isfile('/home/ubuntu/.ssh/authorized_keys'):
key_file = '/home/ubuntu/.ssh/authorized_keys'
else:
key_file = '/root/.ssh/authorized_keys'
admin_keys = []
if os.path.isfile(key_file):
try:
command = "cat {0}".format(key_file)
admin_keys = bytes_to_string(subprocess.check_output(command, shell=True)).strip().split("\n")
except subprocess.CalledProcessError:
pass
ufw_display = 'block'
try:
command = "sudo ufw status"
ufw_output = bytes_to_string(subprocess.check_output(command, shell=True).strip())
if "inactive" in ufw_output:
ufw_display = 'none'
except subprocess.CalledProcessError:
ufw_display = 'none'
nginx_dir = '/etc/nginx'
nginx_init = '/etc/init.d/nginx'
try:
command = "test -x /usr/bin/openresty"
subprocess.check_output(command, shell=True)
nginx_dir = '/usr/local/openresty/nginx/conf'
nginx_init = '/etc/init.d/openresty'
except subprocess.CalledProcessError:
pass
def check_boot():
if 'onboot' not in sys.argv:
return
init_dir = os.getenv('INIT_DIR', '/etc/init')
systemd_dir = os.getenv('SYSTEMD_DIR', '/etc/systemd/system')
nginx_conf_dir = os.getenv('NGINX_CONF_DIR', '{0}/conf.d'.format(nginx_dir))
if os.path.exists(init_dir):
with open('{0}/dokku-installer.conf'.format(init_dir), 'w') as f:
f.write("start on runlevel [2345]\n")
f.write("exec {0} selfdestruct\n".format(os.path.abspath(__file__)))
if os.path.exists(systemd_dir):
with open('{0}/dokku-installer.service'.format(systemd_dir), 'w') as f:
f.write("[Unit]\n")
f.write("Description=Dokku web-installer\n")
f.write("\n")
f.write("[Service]\n")
f.write("ExecStart={0} selfdestruct\n".format(os.path.abspath(__file__)))
f.write("\n")
f.write("[Install]\n")
f.write("WantedBy=multi-user.target\n")
f.write("WantedBy=graphical.target\n")
if os.path.exists(nginx_conf_dir):
with open('{0}/dokku-installer.conf'.format(nginx_conf_dir), 'w') as f:
f.write("upstream dokku-installer { server 127.0.0.1:2000; }\n")
f.write("server {\n")
f.write(" listen 80;\n")
f.write(" location / {\n")
f.write(" proxy_pass http://dokku-installer;\n")
f.write(" }\n")
f.write("}\n")
subprocess.call('rm -f {0}/sites-enabled/*'.format(nginx_dir), shell=True)
sys.exit(0)
class GetHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
def write_content(self, content):
try:
self.wfile.write(content)
except TypeError:
self.wfile.write(string_to_bytes(content))
def do_GET(self):
content = PAGE.replace('{VERSION}', VERSION)
content = content.replace('{UFW_DISPLAY}', ufw_display)
content = content.replace('{HOSTNAME}', hostname)
content = content.replace('{AUTHORIZED_KEYS_LOCATION}', key_file)
content = content.replace('{ADMIN_KEYS}', "\n".join(admin_keys))
self.send_response(200)
self.end_headers()
self.write_content(content)
def do_POST(self):
if self.path not in ['/setup', '/setup/']:
return
params = cgi.FieldStorage(fp=self.rfile,
headers=self.headers,
environ={
'REQUEST_METHOD': 'POST',
'CONTENT_TYPE': self.headers['Content-Type']})
dokku_root = os.getenv('DOKKU_ROOT', '/home/dokku')
dokku_user = os.getenv('DOKKU_SYSTEM_GROUP', 'dokku')
dokku_group = os.getenv('DOKKU_SYSTEM_USER', 'dokku')
vhost_enable = 'false'
vhost_filename = '{0}/VHOST'.format(dokku_root)
if 'vhost' in params and params['vhost'].value == 'true':
vhost_enable = 'true'
with open(vhost_filename, 'w') as f:
f.write(params['hostname'].value.strip("/"))
shutil.chown(vhost_filename, dokku_user, dokku_group)
else:
try:
os.remove(vhost_filename)
except OSError:
pass
hostname_filename = '{0}/HOSTNAME'.format(dokku_root)
with open(hostname_filename, 'w') as f:
f.write(params['hostname'].value.strip("/"))
shutil.chown(hostname_filename, dokku_user, dokku_group)
for (index, key) in enumerate(params['keys'].value.splitlines(), 1):
user = 'admin'
if self.admin_user_exists() is not None:
user = 'web-admin'
if self.web_admin_user_exists() is not None:
index = int(self.web_admin_user_exists()) + 1
elif self.web_admin_user_exists() is None:
index = 1
elif self.admin_user_exists() is None:
pass
else:
index = int(self.admin_user_exists()) + 1
user = user + str(index)
command = ['sshcommand', 'acl-add', 'dokku', user]
proc = subprocess.Popen(command, stdin=subprocess.PIPE)
try:
proc.stdin.write(key)
except TypeError:
proc.stdin.write(string_to_bytes(key))
proc.stdin.close()
proc.wait()
set_debconf_selection('boolean', 'nginx_enable', 'true')
set_debconf_selection('boolean', 'skip_key_file', 'true')
set_debconf_selection('boolean', 'vhost_enable', vhost_enable)
set_debconf_selection('boolean', 'web_config', 'false')
set_debconf_selection('string', 'hostname', params['hostname'].value)
if 'selfdestruct' in sys.argv:
DeleteInstallerThread()
content = json.dumps({'status': 'ok'})
self.send_response(200)
self.end_headers()
self.write_content(content)
def web_admin_user_exists(self):
return self.user_exists('web-admin(\d+)')
def admin_user_exists(self):
return self.user_exists('admin(\d+)')
def user_exists(self, name):
command = 'dokku ssh-keys:list'
pattern = re.compile(r'NAME="' + name + '"')
proc = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE)
max_num = 0
exists = False
for line in proc.stdout:
m = pattern.search(bytes_to_string(line))
if m:
# User of the form `user` or `user#` exists
exists = True
max_num = max(max_num, int(m.group(1)))
if exists:
return max_num
else:
return None
def set_debconf_selection(debconf_type, key, value):
found = False
with open('/etc/os-release', 'r') as f:
for line in f:
if 'debian' in line:
found = True
if not found:
return
ps = subprocess.Popen(['echo', 'dokku dokku/{0} {1} {2}'.format(
key, debconf_type, value
)], stdout=subprocess.PIPE)
try:
subprocess.check_output(['debconf-set-selections'], stdin=ps.stdout)
except subprocess.CalledProcessError:
pass
ps.wait()
class DeleteInstallerThread(object):
def __init__(self, interval=1):
thread = threading.Thread(target=self.run, args=())
thread.daemon = True
thread.start()
def run(self):
command = "rm {0}/conf.d/dokku-installer.conf && {1} stop && {1} start".format(nginx_dir, nginx_init)
try:
subprocess.call(command, shell=True)
except:
pass
command = "rm -f /etc/init/dokku-installer.conf /etc/systemd/system/dokku-installer.service && (stop dokku-installer || systemctl stop dokku-installer.service)"
try:
subprocess.call(command, shell=True)
except:
pass
def main():
check_boot()
port = int(os.getenv('PORT', 2000))
httpd = SocketServer.TCPServer(("", port), GetHandler)
print("Listening on 0.0.0.0:{0}, CTRL+C to stop".format(port))
httpd.serve_forever()
PAGE = """
<html>
<head>
<meta charset="utf-8" />
<title>Dokku Setup</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<style>
.bd-callout {
padding: 1.25rem;
margin-top: 1.25rem;
margin-bottom: 1.25rem;
border: 1px solid #eee;
border-left-width: .25rem;
border-radius: .25rem;
}
.bd-callout p:last-child {
margin-bottom: 0;
}
.bd-callout-info {
border-left-color: #5bc0de;
}
pre {
font-size: 80%;
margin-bottom: 0;
}
h1 small {
font-size: 50%;
}
h5 {
font-size: 1rem;
}
.container {
width: 640px;
}
.result {
padding-left: 20px;
}
input.form-control, textarea.form-control {
background-color: #fafbfc;
font-size: 14px;
}
input.form-control::placeholder, textarea.form-control::placeholder {
color: #adb2b8
}
</style>
</head>
<body>
<div class="container">
<form id="form" role="form">
<h1 class="pt-3">Dokku Setup <small class="text-muted">{VERSION}</small></h1>
<div class="alert alert-warning small" role="alert">
<strong>Warning:</strong> The SSH key filled out here can grant root access to the server. Please complete the setup as soon as possible.
</div>
<div class="row">
<div class="col">
<h3>Admin Access</h3>
<div class="form-group">
<label for="key">Public SSH Keys</label><br />
<textarea class="form-control" name="keys" rows="5" id="key" placeholder="Begins with 'ssh-rsa', 'ssh-dss', 'ssh-ed25519', 'ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384', or 'ecdsa-sha2-nistp521'">{ADMIN_KEYS}</textarea>
<small class="form-text text-muted">Public keys allow users to ssh onto the server as the <code>dokku</code> user, as well as remotely execute Dokku commands. They are currently auto-populated from: <code>{AUTHORIZED_KEYS_LOCATION}</code>, and can be changed later via the <a href="https://dokku.com/docs/deployment/user-management/" target="_blank"><code>dokku ssh-keys</code></a> plugin.</small>
</div>
</div>
</div>
<div class="row">
<div class="col">
<h3>Hostname Configuration</h3>
<div class="form-group">
<label for="hostname">Hostname</label>
<input class="form-control" type="text" id="hostname" name="hostname" value="{HOSTNAME}" placeholder="A hostname or ip address such as {HOSTNAME}" />
<small class="form-text text-muted">This will be used as the default host for all applications, and can be changed later via the <a href="https://dokku.com/docs/configuration/domains/" target="_blank"><code>dokku domains:set-global</code></a> command.</small>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" id="vhost" name="vhost" value="true">
<label class="form-check-label" for="vhost">Use virtualhost naming for apps</label>
<small class="form-text text-muted">When enabled, Nginx will be run on port 80 and proxy requests to apps based on hostname.</small>
<small class="form-text text-muted">When disabled, a specific port will be setup for each application on first deploy, and requests to that port will be proxied to the relevant app.</small>
</div>
<div class="alert alert-warning small mt-3 d-{UFW_DISPLAY}" role="alert">
<strong>Warning:</strong> UFW is active. To allow traffic to specific ports, run <code>sudo ufw allow PORT</code> for the port in question.
</div>
<div class="bd-callout bd-callout-info">
<h5>What will app URLs look like?</h5>
<pre><code id="example">http://hostname:port</code></pre>
</div>
</div>
</div>
<button type="button" onclick="setup()" class="btn btn-primary">Finish Setup</button> <span class="result"></span>
</form>
</div>
<div id="error-output"></div>
<script>
var $ = document.querySelector.bind(document)
function setup() {
if ($("#key").value.trim() == "") {
alert("Your admin public key cannot be blank.")
return
}
if ($("#hostname").value.trim() == "") {
alert("Your hostname cannot be blank.")
return
}
var data = new FormData($("#form"))
var inputs = [].slice.call(document.querySelectorAll("input, textarea, button"))
inputs.forEach(function (input) {
input.disabled = true
})
var result = $(".result")
fetch("/setup", {method: "POST", body: data})
.then(function(response) {
if (response.ok) {
return response.json()
} else {
throw new Error('Server returned error')
}
})
.then(function(response) {
result.classList.add("text-success");
result.textContent = "Success! Redirecting in 3 seconds. .."
setTimeout(function() {
window.location.href = "https://dokku.com/docs~{VERSION}/deployment/application-deployment/";
}, 3000);
})
.catch(function (error) {
result.classList.add("text-danger");
result.textContent = "Could not send the request"
})
}
function update() {
if ($("#vhost").matches(":checked") && $("#hostname").value.match(/^(\d{1,3}\.){3}\d{1,3}$/)) {
alert("In order to use virtualhost naming, the hostname must not be an IP but a valid domain name.")
$("#vhost").checked = false;
}
if ($("#vhost").matches(':checked')) {
$("#example").textContent = "http://<app-name>."+$("#hostname").value
} else {
$("#example").textContent = "http://"+$("#hostname").value+":<app-port>"
}
}
$("#vhost").addEventListener("change", update);
$("#hostname").addEventListener("input", update);
update();
</script>
</body>
</html>
"""
if __name__ == "__main__":
main()

View File

@@ -49,21 +49,25 @@ fn-dokku-host() {
declare DOKKU_GIT_REMOTE="$1" DOKKU_HOST="$2"
if [[ -z "$DOKKU_HOST" ]]; then
if [[ -d .git ]] || git rev-parse --git-dir >/dev/null 2>&1; then
if [[ -d .git ]] || git rev-parse --git-dir &>/dev/null; then
DOKKU_HOST=$(git remote -v 2>/dev/null | grep -Ei "^${DOKKU_GIT_REMOTE}\s" | head -n 1 | cut -f1 -d' ' | cut -f2 -d '@' | cut -f1 -d':' 2>/dev/null || true)
fi
fi
if [[ -z "$DOKKU_HOST" ]]; then
fn-client-help-msg
return
fi
echo "$DOKKU_HOST"
}
fn-get-remote() {
git config dokku.remote 2>/dev/null || echo "dokku"
}
main() {
declare CMD="$1" APP_ARG="$2"
local APP="" DOKKU_GIT_REMOTE="dokku" DOKKU_REMOTE_HOST=""
local APP="" DOKKU_GIT_REMOTE="$(fn-get-remote)" DOKKU_REMOTE_HOST=""
local cmd_set=false next_index=1 skip=false args=("$@")
for arg in "$@"; do
@@ -100,11 +104,14 @@ main() {
done
DOKKU_REMOTE_HOST="$(fn-dokku-host "$DOKKU_GIT_REMOTE" "$DOKKU_HOST")"
if [[ -z "$DOKKU_REMOTE_HOST" ]] && [[ "$CMD" != remote ]] && [[ "$CMD" != remote:* ]]; then
fn-client-help-msg
fi
if [[ -z "$APP" ]]; then
if [[ -d .git ]] || git rev-parse --git-dir >/dev/null 2>&1; then
if [[ -d .git ]] || git rev-parse --git-dir &>/dev/null; then
set +e
APP=$(git remote -v 2>/dev/null | grep -Ei "dokku@$DOKKU_REMOTE_HOST" | head -n 1 | cut -f2 -d'@' | cut -f1 -d' ' | cut -f2 -d':' 2>/dev/null)
APP=$(git remote -v 2>/dev/null | grep -Ei "^${DOKKU_GIT_REMOTE}\s" | grep -Ei "dokku@$DOKKU_REMOTE_HOST" | head -n 1 | cut -f2 -d'@' | cut -f1 -d' ' | cut -f2 -d':' 2>/dev/null)
set -e
else
echo " ! This is not a git repository" 1>&2
@@ -140,15 +147,49 @@ main() {
apps:destroy)
fn-is-git-repo && fn-has-dokku-remote && git remote remove "$DOKKU_GIT_REMOTE"
;;
remote)
echo "$DOKKU_GIT_REMOTE"
exit 0
;;
remote:add)
shift 1
git remote add "$@"
exit "$?"
;;
remote:list)
git remote
exit "$?"
;;
remote:set)
shift 1
git config dokku.remote "$@"
exit "$?"
;;
remote:remove)
shift 1
git remote remove "$@"
local exit_code="$?"
if [[ "$(git config dokku.remote)" == "$1" ]]; then
git config --unset dokku.remote
fi
exit "$exit_code"
;;
remote:unset)
if [[ -n "$(git config dokku.remote)" ]]; then
git config --unset dokku.remote
exit "$?"
fi
exit 0
;;
esac
[[ " apps certs help ls nginx shell storage trace version " == *" $CMD "* ]] && unset APP
[[ " certs:chain domains:add-global domains:remove-global domains:set-global ps:restore " == *" $CMD "* ]] && unset APP
[[ " storage:ensure-directory " == *" $CMD "* ]] && unset APP
[[ "$CMD" =~ events*|plugin*|ssh-keys* ]] && unset APP
[[ -n "$APP_ARG" ]] && [[ "$APP_ARG" == "--global" ]] && unset APP
[[ -n "$@" ]] && [[ -n "$APP" ]] && app_arg="--app $APP"
# echo "ssh -o LogLevel=QUIET -p $DOKKU_PORT -t dokku@$DOKKU_REMOTE_HOST -- $app_arg $@"
# shellcheck disable=SC2068,SC2086
ssh -o LogLevel=QUIET -p $DOKKU_PORT -t dokku@$DOKKU_REMOTE_HOST -- $app_arg $@ || {
ssh_exit_code="$?"
echo " ! Failed to execute dokku command over ssh: exit code $?" 1>&2
@@ -157,7 +198,7 @@ main() {
}
}
if [[ "$0" == "dokku" ]] || [[ "$0" == *dokku_client.sh ]] || [[ "$0" == $(which dokku) ]]; then
if [[ "$0" == "dokku" ]] || [[ "$0" == *dokku_client.sh ]] || [[ "$0" == $(command -v dokku) ]]; then
main "$@"
exit $?
fi

View File

@@ -0,0 +1,95 @@
# You may add here your
# server {
# ...
# }
# statements for each of your virtual hosts to this file
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
# Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
##
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /var/www/html;
index index.php index.html index.htm;
# Make site accessible from http://localhost/
server_name localhost;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules
}
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
# listen 8000;
# listen somename:8080;
# server_name somename alias another.alias;
# root html;
# index index.html index.htm;
#
# location / {
# try_files $uri $uri/ =404;
# }
#}
# HTTPS server
#
#server {
# listen 443;
# server_name localhost;
#
# root html;
# index index.html index.htm;
#
# ssl on;
# ssl_certificate cert.pem;
# ssl_certificate_key cert.key;
#
# ssl_session_timeout 5m;
#
# ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
# ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNULL:!MD5:!3DES";
# ssl_prefer_server_ciphers on;
#
# location / {
# try_files $uri $uri/ =404;
# }
#}

View File

@@ -0,0 +1,21 @@
#!/bin/sh
#
# Configured as part of the DigitalOcean 1-Click Image build process
myip=$(hostname -I | awk '{print$1}')
cat <<EOF
********************************************************************************
Welcome to DigitalOcean's 1-Click Dokku Droplet.
To keep this Droplet secure, the UFW firewall is enabled.
All ports are BLOCKED except 22 (SSH), 80 (HTTP), 443 (HTTPS).
In a web browser, you can view:
* The Dokku One-Click Quickstart guide: https://do.co/dokku1804#start
For help and more information, visit https://do.co/dokku1804
********************************************************************************
To delete this message of the day: rm -rf $(readlink -f ${0})
To remove the default web landing page: rm -rf /etc/nginx/sites-available/digitalocean
EOF

View File

@@ -0,0 +1,25 @@
#!/bin/bash -x
set +e
exec > >(tee /var/log/one_click_setup.log) 2>&1
ufw --force enable
printf "dokku dokku/hostname string %s" hostname | debconf-set-selections
export DEBIAN_FRONTEND=noninteractive
export LANG=C
export LC_ALL=C
# Install Dokku....
for count in {1..30}; do
dpkg -i /var/lib/digitalocean/debs/*deb || /bin/true
apt-get -f install || /bin/true
version=$(dpkg-query --showformat='${Version}' -W dokku)
if [[ -n "$version" ]]; then
ran=0
exit 0
else
count=$((count + 1))
fi
sleep 5
done

View File

@@ -0,0 +1,9 @@
#!/bin/bash
exec > >(tee /var/log/one_click_setup.log) 2>&1
# Remove the force command
sed -e '/Match user root/d' \
-e '/.*ForceCommand.*droplet.*/d' \
-i /etc/ssh/sshd_config
systemctl restart ssh

View File

@@ -0,0 +1,169 @@
<html>
<head>
<style>
body {
font-family: ProximaNova;
font-size: 15px;
font-style: normal;
font-stretch: normal;
line-height: 1;
letter-spacing: normal;
margin: 0;
}
.button {
border-radius: 3px;
background-color: #0069ff;
color: #ffffff;
display: flex;
flex-direction: column;
height: 48px;
justify-content: center;
text-decoration: none;
width: 148px;
}
.content {
align-items: center;
border: solid 2px #f1f1f1;
border-radius: 3px;
display: flex;
flex-direction: column;
margin: 32px auto;
padding: 32px;
text-align: center;
width: 960px;
;
}
.copyright {
color: #99999999;
font-size: 13px;
margin-left: 10px;
}
.description {
color: #676767;
}
.empty-access {
height: 220px;
margin-bottom: -20px;
}
.header {
align-items: center;
display: flex;
margin: 15px;
}
.logo {
height: 30px;
color: #999999;
width: 30px;
}
.title {
font-family: ProximaNova;
font-size: 21px;
font-weight: 600;
color: #444444;
}
</style>
</head>
<body>
<div class="header">
<svg class="logo" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 30 30" enable-background="new 0 0 30 30"
xml:space="preserve">
<g id="XMLID_17_">
<g id="XMLID_18_">
<g>
<g id="XMLID_225_">
<g id="XMLID_233_">
<path id="XMLID_234_" fill="#0080FF"
d="M15,30v-5.8c6.2,0,10.9-6.1,8.6-12.6c-0.9-2.4-2.8-4.3-5.2-5.2
C11.9,4.1,5.8,8.8,5.8,15l0,0L0,15C0,5.2,9.5-2.5,19.8,0.7c4.5,1.4,8.1,5,9.5,9.5C32.5,20.5,24.8,30,15,30z" />
</g>
<polygon id="XMLID_232_" fill="#0080FF" points="15,24.2 9.2,24.2 9.2,18.4 9.2,18.4 15,18.4 15,18.4" />
<polygon id="XMLID_228_" fill="#0080FF" points="9.2,28.7 4.8,28.7 4.8,28.7 4.8,24.2 9.2,24.2" />
<polygon id="XMLID_226_" fill="#0080FF" points="4.8,24.2 1,24.2 1,24.2 1,20.5 1,20.5 4.8,20.5 4.8,20.5" />
</g>
</g>
</g>
</g>
</svg>
<div class="copyright">&copy; 2023 DigitalOcean, LLC. All rights reserved.</div>
</div>
<div class="content">
<svg width="89" height="62" viewBox="0 0 89 62" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M78.4046 17.1912C84.738 21.1608 86.2188 20.7419 87.6794 19.9955C88.5202 19.5664 88.8496 18.5392 88.4243 17.6985C86.4622 13.818 78.212 0.118992 59.5364 0.118992C43.8588 0.118992 34.4377 13.3435 31.5684 18.0766C31.0067 19.0027 31.4447 20.2158 32.4755 20.5543C34.1357 21.0995 35.9508 21.216 39.8333 18.8625C52.5306 11.8038 78.4046 17.1912 78.4046 17.1912Z"
fill="#F15B55" />
<mask id="mask0_55_415" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="31" y="0" width="58" height="21">
<path
d="M78.4212 17.0723C84.7546 21.0418 86.2354 20.6229 87.696 19.8766C88.5368 19.4474 88.8662 18.4202 88.4409 17.5795C86.4788 13.699 78.2286 3.8147e-06 59.553 3.8147e-06C43.8754 3.8147e-06 34.4543 13.2245 31.585 17.9576C31.0233 18.8837 31.4613 20.0969 32.4921 20.4353C34.1523 20.9805 35.9674 21.097 39.8499 18.7436C52.5472 11.6848 78.4212 17.0723 78.4212 17.0723Z"
fill="#F15B55" />
</mask>
<g mask="url(#mask0_55_415)">
<path d="M43.7907 2.62413C49.4945 9.99967 33.5952 13.8544 45.8049 22.3539" stroke="#FF9580" stroke-width="1.5"
stroke-miterlimit="10" />
<path d="M56.7977 -1.62458C62.8837 6.0383 46.832 8.92189 53.8305 19.6981" stroke="#FF9580" stroke-width="1.5"
stroke-miterlimit="10" />
<path d="M72.3168 -0.867853C76.7291 7.02473 58.5477 8.73199 64.5571 18.3322" stroke="#FF9580" stroke-width="1.5"
stroke-miterlimit="10" />
<path d="M84.2603 7.02465C84.2603 15.1449 71.708 10.5128 72.3169 19.6982" stroke="#FF9580" stroke-width="1.5"
stroke-miterlimit="10" />
</g>
<g opacity="0.399994">
<g opacity="0.399994">
<path opacity="0.399994"
d="M31.3365 18.747C31.2415 19.5146 31.6815 20.2937 32.4751 20.5544C34.1353 21.0993 35.9508 21.2158 39.8333 18.8623C52.5302 11.8039 78.4042 17.1914 78.4042 17.1914C84.7377 21.1606 86.2184 20.7416 87.6795 19.9957C88.3903 19.6328 88.7337 18.8419 88.5657 18.0976C78.1555 10.8635 54.5866 3.8145 31.3365 18.747Z"
fill="black" />
</g>
</g>
<path
d="M67.274 14.8087H56.4204C44.6233 14.8087 38.4193 18.2775 33.8378 24.2005L29.4542 29.8671L27.7038 32.1805C26.3653 33.9491 24.2728 34.9885 22.0517 34.9885C18.6867 34.9885 15.8194 32.6685 15.0623 29.48C15.0512 29.433 15.0385 29.359 15.025 29.2679C14.9103 28.4884 15.5203 27.7899 16.3099 27.7899H18.4798C22.2049 27.7899 25.2246 24.7776 25.2246 21.0614V20.5325C25.2246 19.8467 24.667 19.2904 23.979 19.2904H17.6005C15.0492 19.2904 13.2669 20.6106 12.6674 22.0612C12.0676 20.6106 10.2853 19.2904 7.73397 19.2904H1.35542C0.667492 19.2904 0.109863 19.8467 0.109863 20.5325V21.0614C0.109863 24.7776 3.12951 27.7899 6.85471 27.7899H9.05492C9.75186 27.7899 10.3443 28.2988 10.4476 28.9867L10.6905 30.604C13.3361 48.2223 28.5057 61.2576 46.3638 61.2576H47.2697H59.4081C71.7445 61.2576 82.2727 52.3616 84.302 40.2227L85.8397 31.0254C87.259 22.5369 81.2902 14.8087 67.274 14.8087Z"
fill="#07CBCF" />
<path
d="M81.4705 48.3116C79.3404 48.386 77.5986 49.0698 75.2239 51.4388C72.2001 54.4552 67.1794 57.8702 59.4197 57.8702H45.0417C39.2224 57.8702 35.1162 53.5434 35.1162 53.5434C35.1162 53.5434 31.7479 53.7154 24.4261 49.5603C12.4254 41.9906 11.9501 29.2979 11.7788 27.7043C11.6076 26.1106 10.7517 25.2568 9.04025 25.2568H6.70074C2.34293 25.2568 1.16088 23.1183 0.893741 19.3792C0.434853 19.5628 0.110352 20.0095 0.110352 20.5327V21.0612C0.110352 24.7773 3.13 27.7897 6.85479 27.7897H9.055C9.75235 27.7897 10.3448 28.2986 10.4481 28.9864L10.6906 30.6038C13.3362 48.2221 28.5062 61.2573 46.3643 61.2573H47.2698H59.4086C68.7888 61.2573 77.1226 56.113 81.4705 48.3116Z"
fill="#05B7BF" />
<path
d="M15.0249 29.2677C14.9102 28.4883 15.5203 27.7898 16.3098 27.7898H18.4797C22.2049 27.7898 25.2246 24.7774 25.2246 21.0617V20.5328C25.2246 20.0092 24.8997 19.5624 24.4404 19.3793V19.3797C24.1728 23.1184 22.9908 25.2569 18.633 25.2569H16.8376C14.4411 25.2569 14.7549 27.9512 15.0249 29.2677Z"
fill="#05B7BF" />
<path
d="M24.4257 49.5606C27.1262 52.1789 25.7188 53.2412 21.2307 53.2412H14.3327C13.2428 53.2412 12.697 54.5557 13.4677 55.3245L14.322 56.1767C16.9737 58.8224 20.5707 60.3085 24.3213 60.3085H24.9584C32.4133 60.3085 37.929 52.8239 37.929 52.8239L24.4257 49.5606Z"
fill="#07CBCF" />
<path
d="M35.1162 53.544C32.9984 55.5574 29.4485 58.1536 25.2235 58.1536H24.6339C21.1631 58.1536 17.8345 56.7783 15.3807 54.33L14.59 53.5415C14.497 53.4488 14.4257 53.3474 14.3728 53.2411H14.3327C13.2428 53.2411 12.697 54.5556 13.4677 55.3244L14.322 56.1766C16.9741 58.8223 20.5711 60.3085 24.3213 60.3085H24.9584C29.8025 60.3085 33.8281 57.1482 36.0533 54.9349L36.3528 54.6312L35.1162 53.544Z"
fill="#05B7BF" />
<mask id="mask1_55_415" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="15" width="86" height="47">
<path
d="M67.1641 15.1884H56.3106C44.5134 15.1884 38.3094 18.6572 33.7279 24.5802L29.3443 30.2468L27.594 32.5602C26.2554 34.3288 24.163 35.3682 21.9419 35.3682C18.5768 35.3682 15.7096 33.0482 14.9524 29.8597C14.9413 29.8127 14.9286 29.7387 14.9151 29.6476C14.8004 28.8681 15.4105 28.1696 16.2 28.1696H18.3699C22.0951 28.1696 25.1147 25.1573 25.1147 21.4411V20.9122C25.1147 20.2264 24.5571 19.6701 23.8692 19.6701H17.4906C14.9393 19.6701 13.157 20.9903 12.5576 22.4409C11.9577 20.9903 10.1755 19.6701 7.62411 19.6701H1.24555C0.557629 19.6701 0 20.2264 0 20.9122V21.4411C0 25.1573 3.01965 28.1696 6.74484 28.1696H8.94506C9.64199 28.1696 10.2344 28.6785 10.3377 29.3664L10.5807 30.9837C13.2262 48.602 28.3958 61.6373 46.2539 61.6373H47.1598H59.2983C71.6346 61.6373 82.1628 52.7413 84.1922 40.6024L85.7299 31.4051C87.1491 22.9166 81.1803 15.1884 67.1641 15.1884Z"
fill="#07CBCF" />
</mask>
<g mask="url(#mask1_55_415)">
<path
d="M48.2573 43.0378C50.1929 48.5818 55.4426 52.9185 61.7015 52.9185C72.2568 52.9185 71.2993 45.7048 82.7326 45.7048H84.3526"
stroke="#00576C" stroke-width="1.46" stroke-miterlimit="10" stroke-linecap="round" />
<path d="M50.1195 43.0151H46.9814" stroke="#00576C" stroke-width="1.46" stroke-miterlimit="10"
stroke-linecap="round" />
<path
d="M65.353 42.7305C65.353 41.096 64.0247 39.7709 62.3862 39.7709C60.7478 39.7709 59.4194 41.096 59.4194 42.7305"
stroke="#00576C" stroke-width="1.46" stroke-miterlimit="10" stroke-linecap="round" />
</g>
<path
d="M77.4491 19.774C80.7847 21.9824 82.0434 23.4419 85.095 23.7701C82.9402 18.5919 77.0788 14.8087 67.2741 14.8087H56.4206C45.0819 14.8087 38.9111 18.0148 34.3804 23.5229C37.2443 23.5229 40.3812 21.1661 43.0628 19.698C46.182 17.9907 50.3669 16.3586 59.4197 16.3586C68.4725 16.3586 73.2651 17.004 77.4491 19.774Z"
fill="#05B7BF" />
</svg>
<h1 class="title">Please log into your Droplet with SSH to configure the Dokku installation.</h1>
<p class="description">See the Dokku 1-Click Quickstart guide for detailed assistance.</p>
<a class="button" href="https://do.co/dokku1804#start">Quickstart Guide</a>
</div>
</body>
</html>

View File

@@ -0,0 +1,47 @@
#!/bin/bash
set -eo pipefail
set -o errexit
export DEBIAN_FRONTEND=noninteractive
pkgs=(apt-transport-https
ca-certificates
curl
jq
linux-image-extra-virtual
software-properties-common
)
echo '--> Updating apt repositories'
apt-get -qqy update
echo '--> Updating all packages'
apt-get -qqy -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' full-upgrade
echo "--> Installing basic dependencies: ${pkgs[*]}"
apt-get -qqy install "${pkgs[@]}"
echo '--> Setting up docker apt repository'
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
cat >/etc/apt/sources.list.d/docker.list <<EOM
deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(lsb_release -c -s) stable
EOM
echo '--> Installing docker-ce'
apt-get -y update
apt-get -y install docker-ce docker-compose-plugin
echo '--> Enabling docker-ce'
systemctl enable docker
systemctl start docker
echo '--> Enabling docker live-restore'
if [[ ! -f /etc/docker/daemon.json ]]; then
echo "{}" >/etc/docker/daemon.json
fi
config="$(jq '. + {"live-restore": true}' /etc/docker/daemon.json)"
echo "$config" >/etc/docker/daemon.json
systemctl reload docker
docker info | grep -i live

View File

@@ -0,0 +1,10 @@
#!/bin/bash
set -eo pipefail
set -o errexit
echo '--> Prevent login until after setup is complete'
# Be a bit of a dork about login in
cat >>/etc/ssh/sshd_config <<EOM
Match User root
ForceCommand echo "Please wait while we get your droplet ready..."
EOM

View File

@@ -0,0 +1,67 @@
#!/bin/bash
set -eo pipefail
set -o errexit
export DEBIAN_FRONTEND=noninteractive
pkgs=(apache2-utils
bash-completion
locales
git
cpio
curl
man-db
netcat
net-tools
software-properties-common
parallel
python3-software-properties
rsync
rsyslog
dos2unix
jq
unzip
nginx
dnsutils
cgroupfs-mount
cgroup-lite
sudo
python3
debconf
)
dokku_pkgs=(docker-container-healthchecker
docker-image-labeler
gliderlabs-sigil
lambda-builder
netrc
plugn
procfile-util
sshcommand
)
echo '--> Install core dependencies for dokku'
apt-get -y install "${pkgs[@]}"
echo '--> Setting up dokku apt repository'
curl -fsSL https://packagecloud.io/dokku/dokku/gpgkey -o /etc/apt/keyrings/dokku.asc
cat >/etc/apt/sources.list.d/dokku.list <<EOM
deb [arch=amd64 signed-by=/etc/apt/keyrings/dokku.asc] https://packagecloud.io/dokku/dokku/ubuntu/ jammy main
EOM
echo '--> Install dependencies for dokku from new repository'
apt-get -y clean
apt-get -y update
apt-get -y install "${dokku_pkgs[@]}"
rm -f /etc/nginx/sites-enabled/default
echo '--> Pre-cache dokku bits that are must run on boot'
apt-get -y clean
apt-get -y install --download-only "dokku=${DOKKU_VERSION}" dokku-event-listener herokuish
mkdir -p /var/lib/digitalocean/debs
cp -au /var/cache/apt/archives/*deb /var/lib/digitalocean/debs

View File

@@ -0,0 +1,9 @@
#!/bin/bash
set -eo pipefail
set -o errexit
echo '--> Update grub boot loader'
sed -e 's|GRUB_CMDLINE_LINUX="|GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1|g' \
-i /etc/default/grub
update-grub

View File

@@ -0,0 +1,7 @@
#!/bin/bash
set -eo pipefail
set -o errexit
echo '--> Enable Google DNS for Docker'
sed -e 's|#DOCKER_OPTS|DOCKER_OPTS|g' \
-i /etc/default/docker

View File

@@ -0,0 +1,12 @@
#!/bin/bash
set -eo pipefail
set -o errexit
echo '--> Enable and configure UFW'
sed -e 's|DEFAULT_FORWARD_POLICY=.*|DEFAULT_FORWARD_POLICY="ACCEPT"|g' \
-i /etc/default/ufw
ufw limit ssh
ufw allow 'Nginx Full'
ufw --force enable

View File

@@ -0,0 +1,21 @@
#!/bin/bash
set -eo pipefail
set -o errexit
echo '--> Write the application info'
application_version="$DOKKU_VERSION"
build_date="$(date -I)"
distro_arch="$(uname -m)"
distro_codename="$(lsb_release -sc)"
distro_release="$(lsb_release -sr)"
distro="$(lsb_release -si)"
cat >/var/lib/digitalocean/application.info <<EOM
appiication_name="Dokku"
build_date="${build_date}"
distro="${distro}"
distro_release="${distro_release}"
distro_codename="${distro_codename}"
distro_arch="${distro_arch}"
application_version="${application_version}"
EOM

View File

@@ -0,0 +1,52 @@
#!/bin/bash
set -eo pipefail
set -o errexit
echo '--> Cleaning up tmp dir'
# Ensure /tmp exists and has the proper permissions before
# checking for security updates
# https://github.com/digitalocean/marketplace-partners/issues/94
if [[ ! -d /tmp ]]; then
mkdir /tmp
fi
chmod 1777 /tmp
rm -rf /tmp/* /var/tmp/*
echo '--> Cleaning up apt'
export DEBIAN_FRONTEND=noninteractive
apt-get -y update
apt-get -o Dpkg::Options::="--force-confold" upgrade -q -y --force-yes
apt-get -y autoremove
apt-get -y autoclean
apt-get -y purge droplet-agent
echo '--> Clearing history'
history -c
cat /dev/null >/root/.bash_history
unset HISTFILE
echo '--> Clearing log files'
find /var/log -mtime -1 -type f -exec truncate -s 0 {} \;
rm -rf /var/log/*.gz /var/log/*.[0-9] /var/log/*-????????
cat /dev/null >/var/log/lastlog
cat /dev/null >/var/log/wtmp
rm -rf /var/lib/cloud/instances/*
rm -rf /tmp/* /var/tmp/*
echo '--> Removing keys'
rm -f /root/.ssh/authorized_keys /etc/ssh/*key*
touch /etc/ssh/revoked_keys
chmod 600 /etc/ssh/revoked_keys
echo '--> DO Directory contents'
ls -lah /opt/digitalocean || true
echo '--> Securely erase the unused portion of the filesystem'
printf "\n\033[0;32mWriting zeros to the remaining disk space to securely
erase the unused portion of the file system.
Depending on your disk size this may take several minutes.
The secure erase will complete successfully when you see:\033[0m
dd: writing to '/zerofile': No space left on device\n
Beginning secure erase now\n"
dd if=/dev/zero of=/zerofile bs=4096 || rm /zerofile

View File

@@ -0,0 +1,628 @@
#!/bin/bash
# DigitalOcean Marketplace Image Validation Tool
# © 2021-2022 DigitalOcean LLC.
# This code is licensed under Apache 2.0 license (see LICENSE.md for details)
VERSION="v. 1.8.1"
RUNDATE=$(date)
# Script should be run with SUDO
if [ "$EUID" -ne 0 ]; then
echo "[Error] - This script must be run with sudo or as the root user."
exit 1
fi
STATUS=0
PASS=0
WARN=0
FAIL=0
# $1 == command to check for
# returns: 0 == true, 1 == false
cmdExists() {
if command -v "$1" >/dev/null 2>&1; then
return 0
else
return 1
fi
}
function getDistro {
if [ -f /etc/os-release ]; then
# freedesktop.org and systemd
. /etc/os-release
OS=$NAME
VER=$VERSION_ID
elif type lsb_release >/dev/null 2>&1; then
# linuxbase.org
OS=$(lsb_release -si)
VER=$(lsb_release -sr)
elif [ -f /etc/lsb-release ]; then
# For some versions of Debian/Ubuntu without lsb_release command
. /etc/lsb-release
OS=$DISTRIB_ID
VER=$DISTRIB_RELEASE
elif [ -f /etc/debian_version ]; then
# Older Debian/Ubuntu/etc.
OS=Debian
VER=$(cat /etc/debian_version)
elif [ -f /etc/SuSe-release ]; then
# Older SuSE/etc.
:
elif [ -f /etc/redhat-release ]; then
# Older Red Hat, CentOS, etc.
VER=$(cut -d" " -f3 </etc/redhat-release | cut -d "." -f1)
d=$(cut -d" " -f1 </etc/redhat-release | cut -d "." -f1)
if [[ $d == "CentOS" ]]; then
OS="CentOS Linux"
fi
else
# Fall back to uname, e.g. "Linux <version>", also works for BSD, etc.
OS=$(uname -s)
VER=$(uname -r)
fi
}
function loadPasswords {
SHADOW=$(cat /etc/shadow)
}
function checkAgent {
# Check for the presence of the DO directory in the filesystem
if [ -d /opt/digitalocean ]; then
echo -en "\e[41m[FAIL]\e[0m DigitalOcean directory detected.\n"
((FAIL++))
STATUS=2
if [[ $OS == "CentOS Linux" ]] || [[ $OS == "CentOS Stream" ]] || [[ $OS == "Rocky Linux" ]] || [[ $OS == "AlmaLinux" ]]; then
echo "To uninstall the agent: 'sudo yum remove droplet-agent'"
echo "To remove the DO directory: 'find /opt/digitalocean/ -type d -empty -delete'"
elif [[ $OS == "Ubuntu" ]] || [[ $OS == "Debian" ]]; then
echo "To uninstall the agent and remove the DO directory: 'sudo apt-get purge droplet-agent'"
fi
else
echo -en "\e[32m[PASS]\e[0m DigitalOcean Monitoring agent was not found\n"
((PASS++))
fi
}
function checkLogs {
cp_ignore="/var/log/cpanel-install.log"
echo -en "\nChecking for log files in /var/log\n\n"
# Check if there are log archives or log files that have not been recently cleared.
for f in /var/log/*-????????; do
[[ -e $f ]] || break
if [ "${f}" != "${cp_ignore}" ]; then
echo -en "\e[93m[WARN]\e[0m Log archive ${f} found; Contents:\n"
cat "${f}"
((WARN++))
if [[ $STATUS != 2 ]]; then
STATUS=1
fi
fi
done
for f in /var/log/*.[0-9]; do
[[ -e $f ]] || break
echo -en "\e[93m[WARN]\e[0m Log archive ${f} found; Contents:\n"
cat "${f}"
((WARN++))
if [[ $STATUS != 2 ]]; then
STATUS=1
fi
done
for f in /var/log/*.log; do
[[ -e $f ]] || break
if [[ "${f}" = '/var/log/lfd.log' && "$(grep -E -v '/var/log/messages has been reset| Watching /var/log/messages' "${f}" | wc -c)" -gt 50 ]]; then
if [ "${f}" != "${cp_ignore}" ]; then
echo -en "\e[93m[WARN]\e[0m un-cleared log file, ${f} found; Contents:\n"
cat "${f}"
((WARN++))
if [[ $STATUS != 2 ]]; then
STATUS=1
fi
fi
elif [[ "${f}" != '/var/log/lfd.log' && "$(wc -c <"${f}")" -gt 50 ]]; then
if [ "${f}" != "${cp_ignore}" ]; then
echo -en "\e[93m[WARN]\e[0m un-cleared log file, ${f} found; Contents:\n"
cat "${f}"
((WARN++))
if [[ $STATUS != 2 ]]; then
STATUS=1
fi
fi
fi
done
}
function checkTMP {
# Check the /tmp directory to ensure it is empty. Warn on any files found.
if [[ -n "$(ls -A /tmp)" ]]; then
echo -en "\e[93m[WARN]\e[0m /tmp directory is not empty; Contents\n"
ls -A /tmp
((WARN++))
return 1
fi
echo -en "\e[32m[PASS]\e[0m /tmp directory is empty\n"
return 0
}
function checkRoot {
user="root"
uhome="/root"
for usr in $SHADOW; do
IFS=':' read -r -a u <<<"$usr"
if [[ "${u[0]}" == "${user}" ]]; then
if [[ ${u[1]} == "!" ]] || [[ ${u[1]} == "!!" ]] || [[ ${u[1]} == "*" ]]; then
echo -en "\e[32m[PASS]\e[0m User ${user} has no password set.\n"
((PASS++))
else
echo -en "\e[41m[FAIL]\e[0m User ${user} has a password set on their account.\n"
((FAIL++))
STATUS=2
fi
fi
done
if [ -d ${uhome}/ ]; then
if [ -d ${uhome}/.ssh/ ]; then
if ls ${uhome}/.ssh/* >/dev/null 2>&1; then
for key in "${uhome}"/.ssh/*; do
if [ "${key}" == "${uhome}/.ssh/authorized_keys" ]; then
if [ "$(wc -c <"${key}")" -gt 50 ]; then
echo -en "\e[41m[FAIL]\e[0m User \e[1m${user}\e[0m has a populated authorized_keys file in \e[93m${key}\e[0m\n"
akey=$(cat "${key}")
echo "File Contents:"
echo "$akey"
echo "--------------"
((FAIL++))
STATUS=2
fi
elif [ "${key}" == "${uhome}/.ssh/id_rsa" ]; then
if [ "$(wc -c <"${key}")" -gt 0 ]; then
echo -en "\e[41m[FAIL]\e[0m User \e[1m${user}\e[0m has a private key file in \e[93m${key}\e[0m\n"
akey=$(cat "${key}")
echo "File Contents:"
echo "$akey"
echo "--------------"
((FAIL++))
STATUS=2
else
echo -en "\e[93m[WARN]\e[0m User \e[1m${user}\e[0m has empty private key file in \e[93m${key}\e[0m\n"
((WARN++))
if [[ $STATUS != 2 ]]; then
STATUS=1
fi
fi
elif [ "${key}" != "${uhome}/.ssh/known_hosts" ]; then
echo -en "\e[93m[WARN]\e[0m User \e[1m${user}\e[0m has a file in their .ssh directory at \e[93m${key}\e[0m\n"
((WARN++))
if [[ $STATUS != 2 ]]; then
STATUS=1
fi
else
if [ "$(wc -c <"${key}")" -gt 50 ]; then
echo -en "\e[93m[WARN]\e[0m User \e[1m${user}\e[0m has a populated known_hosts file in \e[93m${key}\e[0m\n"
((WARN++))
if [[ $STATUS != 2 ]]; then
STATUS=1
fi
fi
fi
done
else
echo -en "\e[32m[ OK ]\e[0m User \e[1m${user}\e[0m has no SSH keys present\n"
fi
else
echo -en "\e[32m[ OK ]\e[0m User \e[1m${user}\e[0m does not have an .ssh directory\n"
fi
if [ -f /root/.bash_history ]; then
BH_S=$(wc -c </root/.bash_history)
if [[ $BH_S -lt 200 ]]; then
echo -en "\e[32m[PASS]\e[0m ${user}'s Bash History appears to have been cleared\n"
((PASS++))
else
echo -en "\e[41m[FAIL]\e[0m ${user}'s Bash History should be cleared to prevent sensitive information from leaking\n"
((FAIL++))
STATUS=2
fi
return 1
else
echo -en "\e[32m[PASS]\e[0m The Root User's Bash History is not present\n"
((PASS++))
fi
else
echo -en "\e[32m[ OK ]\e[0m User \e[1m${user}\e[0m does not have a directory in /home\n"
fi
echo -en "\n\n"
return 1
}
function checkUsers {
# Check each user-created account
awk -F: '$3 >= 1000 && $1 != "nobody" {print $1}' </etc/passwd | while IFS= read -r user; do
# Skip some other non-user system accounts
if [[ $user == "centos" ]]; then
:
elif [[ $user == "nfsnobody" ]]; then
:
else
echo -en "\nChecking user: ${user}...\n"
for usr in $SHADOW; do
IFS=':' read -r -a u <<<"$usr"
if [[ "${u[0]}" == "${user}" ]]; then
if [[ ${u[1]} == "!" ]] || [[ ${u[1]} == "!!" ]] || [[ ${u[1]} == "*" ]]; then
echo -en "\e[32m[PASS]\e[0m User ${user} has no password set.\n"
((PASS++))
else
echo -en "\e[41m[FAIL]\e[0m User ${user} has a password set on their account. Only system users are allowed on the image.\n"
((FAIL++))
STATUS=2
fi
fi
done
#echo "User Found: ${user}"
uhome="/home/${user}"
if [ -d "${uhome}/" ]; then
if [ -d "${uhome}/.ssh/" ]; then
if ls "${uhome}/.ssh/*" >/dev/null 2>&1; then
for key in "${uhome}"/.ssh/*; do
if [ "${key}" == "${uhome}/.ssh/authorized_keys" ]; then
if [ "$(wc -c <"${key}")" -gt 50 ]; then
echo -en "\e[41m[FAIL]\e[0m User \e[1m${user}\e[0m has a populated authorized_keys file in \e[93m${key}\e[0m\n"
akey=$(cat "${key}")
echo "File Contents:"
echo "$akey"
echo "--------------"
((FAIL++))
STATUS=2
fi
elif [ "${key}" == "${uhome}/.ssh/id_rsa" ]; then
if [ "$(wc -c <"${key}")" -gt 0 ]; then
echo -en "\e[41m[FAIL]\e[0m User \e[1m${user}\e[0m has a private key file in \e[93m${key}\e[0m\n"
akey=$(cat "${key}")
echo "File Contents:"
echo "$akey"
echo "--------------"
((FAIL++))
STATUS=2
else
echo -en "\e[93m[WARN]\e[0m User \e[1m${user}\e[0m has empty private key file in \e[93m${key}\e[0m\n"
((WARN++))
if [[ $STATUS != 2 ]]; then
STATUS=1
fi
fi
elif [ "${key}" != "${uhome}/.ssh/known_hosts" ]; then
echo -en "\e[93m[WARN]\e[0m User \e[1m${user}\e[0m has a file in their .ssh directory named \e[93m${key}\e[0m\n"
((WARN++))
if [[ $STATUS != 2 ]]; then
STATUS=1
fi
else
if [ "$(wc -c <"${key}")" -gt 50 ]; then
echo -en "\e[93m[WARN]\e[0m User \e[1m${user}\e[0m has a known_hosts file in \e[93m${key}\e[0m\n"
((WARN++))
if [[ $STATUS != 2 ]]; then
STATUS=1
fi
fi
fi
done
else
echo -en "\e[32m[ OK ]\e[0m User \e[1m${user}\e[0m has no SSH keys present\n"
fi
else
echo -en "\e[32m[ OK ]\e[0m User \e[1m${user}\e[0m does not have an .ssh directory\n"
fi
else
echo -en "\e[32m[ OK ]\e[0m User \e[1m${user}\e[0m does not have a directory in /home\n"
fi
# Check for an uncleared .bash_history for this user
if [ -f "${uhome}/.bash_history" ]; then
BH_S=$(wc -c <"${uhome}/.bash_history")
if [[ $BH_S -lt 200 ]]; then
echo -en "\e[32m[PASS]\e[0m ${user}'s Bash History appears to have been cleared\n"
((PASS++))
else
echo -en "\e[41m[FAIL]\e[0m ${user}'s Bash History should be cleared to prevent sensitive information from leaking\n"
((FAIL++))
STATUS=2
fi
echo -en "\n\n"
fi
fi
done
}
function checkFirewall {
if [[ $OS == "Ubuntu" ]]; then
fw="ufw"
ufwa=$(ufw status | head -1 | sed -e "s/^Status:\ //")
if [[ $ufwa == "active" ]]; then
FW_VER="\e[32m[PASS]\e[0m Firewall service (${fw}) is active\n"
((PASS++))
else
FW_VER="\e[93m[WARN]\e[0m No firewall is configured. Ensure ${fw} is installed and configured\n"
((WARN++))
fi
elif [[ $OS == "CentOS Linux" ]] || [[ $OS == "CentOS Stream" ]] || [[ $OS == "Rocky Linux" ]] || [[ $OS == "AlmaLinux" ]]; then
if [ -f /usr/lib/systemd/system/csf.service ]; then
fw="csf"
if [[ $(systemctl status $fw >/dev/null 2>&1) ]]; then
FW_VER="\e[32m[PASS]\e[0m Firewall service (${fw}) is active\n"
((PASS++))
elif cmdExists "firewall-cmd"; then
if [[ $(systemctl is-active firewalld >/dev/null 2>&1 && echo 1 || echo 0) ]]; then
FW_VER="\e[32m[PASS]\e[0m Firewall service (${fw}) is active\n"
((PASS++))
else
FW_VER="\e[93m[WARN]\e[0m No firewall is configured. Ensure ${fw} is installed and configured\n"
((WARN++))
fi
else
FW_VER="\e[93m[WARN]\e[0m No firewall is configured. Ensure ${fw} is installed and configured\n"
((WARN++))
fi
else
fw="firewalld"
if [[ $(systemctl is-active firewalld >/dev/null 2>&1 && echo 1 || echo 0) ]]; then
FW_VER="\e[32m[PASS]\e[0m Firewall service (${fw}) is active\n"
((PASS++))
else
FW_VER="\e[93m[WARN]\e[0m No firewall is configured. Ensure ${fw} is installed and configured\n"
((WARN++))
fi
fi
elif [[ "$OS" =~ Debian.* ]]; then
# user could be using a number of different services for managing their firewall
# we will check some of the most common
if cmdExists 'ufw'; then
fw="ufw"
ufwa=$(ufw status | head -1 | sed -e "s/^Status:\ //")
if [[ $ufwa == "active" ]]; then
FW_VER="\e[32m[PASS]\e[0m Firewall service (${fw}) is active\n"
((PASS++))
else
FW_VER="\e[93m[WARN]\e[0m No firewall is configured. Ensure ${fw} is installed and configured\n"
((WARN++))
fi
elif cmdExists "firewall-cmd"; then
fw="firewalld"
if [[ $(systemctl is-active --quiet $fw) ]]; then
FW_VER="\e[32m[PASS]\e[0m Firewall service (${fw}) is active\n"
((PASS++))
else
FW_VER="\e[93m[WARN]\e[0m No firewall is configured. Ensure ${fw} is installed and configured\n"
((WARN++))
fi
else
# user could be using vanilla iptables, check if kernel module is loaded
fw="iptables"
if lsmod | grep -q '^ip_tables' 2>/dev/null; then
FW_VER="\e[32m[PASS]\e[0m Firewall service (${fw}) is active\n"
((PASS++))
else
FW_VER="\e[93m[WARN]\e[0m No firewall is configured. Ensure ${fw} is installed and configured\n"
((WARN++))
fi
fi
fi
}
function checkUpdates {
if [[ $OS == "Ubuntu" ]] || [[ "$OS" =~ Debian.* ]]; then
# Ensure /tmp exists and has the proper permissions before
# checking for security updates
# https://github.com/digitalocean/marketplace-partners/issues/94
if [[ ! -d /tmp ]]; then
mkdir /tmp
fi
chmod 1777 /tmp
echo -en "\nUpdating apt package database to check for security updates, this may take a minute...\n\n"
apt-get -y update >/dev/null
uc=$(apt-get --just-print upgrade | grep -i "security" -c)
if [[ $uc -gt 0 ]]; then
update_count=$((uc / 2))
else
update_count=0
fi
if [[ $update_count -gt 0 ]]; then
echo -en "\e[41m[FAIL]\e[0m There are ${update_count} security updates available for this image that have not been installed.\n"
echo -en
echo -en "Here is a list of the security updates that are not installed:\n"
sleep 2
apt-get --just-print upgrade | grep -i security | awk '{print $2}' | awk '!seen[$0]++'
echo -en
((FAIL++))
STATUS=2
else
echo -en "\e[32m[PASS]\e[0m There are no pending security updates for this image.\n\n"
((PASS++))
fi
elif [[ $OS == "CentOS Linux" ]] || [[ $OS == "CentOS Stream" ]] || [[ $OS == "Rocky Linux" ]] || [[ $OS == "AlmaLinux" ]]; then
echo -en "\nChecking for available security updates, this may take a minute...\n\n"
update_count=$(yum check-update --security --quiet | wc -l)
if [[ $update_count -gt 0 ]]; then
echo -en "\e[41m[FAIL]\e[0m There are ${update_count} security updates available for this image that have not been installed.\n"
((FAIL++))
STATUS=2
else
echo -en "\e[32m[PASS]\e[0m There are no pending security updates for this image.\n"
((PASS++))
fi
else
echo "Error encountered"
exit 1
fi
return 1
}
function checkCloudInit {
if hash cloud-init 2>/dev/null; then
CI="\e[32m[PASS]\e[0m Cloud-init is installed.\n"
((PASS++))
else
CI="\e[41m[FAIL]\e[0m No valid verison of cloud-init was found.\n"
((FAIL++))
STATUS=2
fi
return 1
}
clear
echo "DigitalOcean Marketplace Image Validation Tool ${VERSION}"
echo "Executed on: ${RUNDATE}"
echo "Checking local system for Marketplace compatibility..."
getDistro
echo -en "\n\e[1mDistribution:\e[0m ${OS}\n"
echo -en "\e[1mVersion:\e[0m ${VER}\n\n"
ost=0
osv=0
if [[ $OS == "Ubuntu" ]]; then
ost=1
if [[ $VER == "22.10" ]] || [[ $VER == "22.04" ]] || [[ $VER == "20.04" ]] || [[ $VER == "18.04" ]] || [[ $VER == "16.04" ]]; then
osv=1
fi
elif [[ "$OS" =~ Debian.* ]]; then
ost=1
case "$VER" in
9)
osv=1
;;
10)
osv=1
;;
11)
osv=1
;;
*)
osv=2
;;
esac
elif [[ $OS == "CentOS Linux" ]]; then
ost=1
if [[ $VER == "8" ]]; then
osv=1
elif [[ $VER == "7" ]]; then
osv=1
elif [[ $VER == "6" ]]; then
osv=1
else
osv=2
fi
elif [[ $OS == "CentOS Stream" ]]; then
ost=1
if [[ $VER == "8" ]]; then
osv=1
else
osv=2
fi
elif [[ $OS == "Rocky Linux" ]]; then
ost=1
if [[ $VER =~ 8\. ]]; then
osv=1
else
osv=2
fi
elif [[ $OS == "AlmaLinux" ]]; then
ost=1
if [[ "$VERSION" =~ 8.* ]] || [[ "$VERSION" =~ 9.* ]]; then
osv=1
else
osv=2
fi
else
ost=0
fi
if [[ $ost == 1 ]]; then
echo -en "\e[32m[PASS]\e[0m Supported Operating System Detected: ${OS}\n"
((PASS++))
else
echo -en "\e[41m[FAIL]\e[0m ${OS} is not a supported Operating System\n"
((FAIL++))
STATUS=2
fi
if [[ $osv == 1 ]]; then
echo -en "\e[32m[PASS]\e[0m Supported Release Detected: ${VER}\n"
((PASS++))
elif [[ $ost == 1 ]]; then
echo -en "\e[41m[FAIL]\e[0m ${OS} ${VER} is not a supported Operating System Version\n"
((FAIL++))
STATUS=2
else
echo "Exiting..."
exit 1
fi
checkCloudInit
echo -en "${CI}"
checkFirewall
echo -en "${FW_VER}"
checkUpdates
loadPasswords
checkLogs
echo -en "\n\nChecking all user-created accounts...\n"
checkUsers
echo -en "\n\nChecking the root account...\n"
checkRoot
echo -en "\n\nChecking the /tmp directory...\n"
checkTMP
checkAgent
# Summary
echo -en "\n\n---------------------------------------------------------------------------------------------------\n"
if [[ $STATUS == 0 ]]; then
echo -en "Scan Complete.\n\e[32mAll Tests Passed!\e[0m\n"
elif [[ $STATUS == 1 ]]; then
echo -en "Scan Complete. \n\e[93mSome non-critical tests failed. Please review these items.\e[0m\e[0m\n"
else
echo -en "Scan Complete. \n\e[41mOne or more tests failed. Please review these items and re-test.\e[0m\n"
fi
echo "---------------------------------------------------------------------------------------------------"
echo -en "\e[1m${PASS} Tests PASSED\e[0m\n"
echo -en "\e[1m${WARN} WARNINGS\e[0m\n"
echo -en "\e[1m${FAIL} Tests FAILED\e[0m\n"
echo -en "---------------------------------------------------------------------------------------------------\n"
if [[ $STATUS == 0 ]]; then
echo -en "We did not detect any issues with this image. Please be sure to manually ensure that all software installed on the base system is functional, secure and properly configured (or facilities for configuration on first-boot have been created).\n\n"
exit 0
elif [[ $STATUS == 1 ]]; then
echo -en "Please review all [WARN] items above and ensure they are intended or resolved. If you do not have a specific requirement, we recommend resolving these items before image submission\n\n"
exit 0
else
echo -en "Some critical tests failed. These items must be resolved and this scan re-run before you submit your image to the DigitalOcean Marketplace.\n\n"
exit 1
fi

View File

@@ -0,0 +1,70 @@
packer {
required_plugins {
digitalocean = {
version = ">= 1.0.4"
source = "github.com/digitalocean/digitalocean"
}
}
}
variable "dokku_version" {
type = string
}
source "digitalocean" "ubuntu" {
image = "ubuntu-22-04-x64"
region = "nyc1"
size = "s-1vcpu-512mb-10gb"
ssh_username = "root"
snapshot_name = "dokku-${var.dokku_version}-snapshot-{{timestamp}}"
}
build {
name = "dokku"
sources = [
"source.digitalocean.ubuntu"
]
provisioner "shell" {
inline = [
"echo '--> Waiting until cloud-init is complete'",
"/usr/bin/cloud-init status --wait",
]
}
provisioner "file" {
source = "${path.root}/files/etc/"
destination = "/etc/"
}
provisioner "file" {
source = "${path.root}/files/var/"
destination = "/var/"
}
provisioner "shell" {
environment_vars = [
"DOKKU_VERSION=${var.dokku_version}",
"DEBIAN_FRONTEND=noninteractive",
"LC_ALL=C",
"LANG=en_US.UTF-8",
"LC_CTYPE=en_US.UTF-8",
]
scripts = [
"${path.root}/in_parts/011-docker",
"${path.root}/in_parts/011-ssh-message",
"${path.root}/in_parts/012-dokku-packages",
"${path.root}/in_parts/012-grub-opts",
"${path.root}/in_parts/014-docker-dns",
"${path.root}/in_parts/014-ufw-rules",
"${path.root}/in_parts/099-application_tag",
"${path.root}/in_parts/099-cleanup",
"${path.root}/in_parts/100-image-check",
]
}
post-processor "manifest" {
output = "digitalocean-manifest.json"
}
}

View File

@@ -1,32 +0,0 @@
{
"builders": [
{
"type": "digitalocean",
"region": "nyc3",
"image": "ubuntu-14-04-x64"
}
],
"provisioners": [
{
"type": "file",
"source": "deb.mk",
"destination": "/tmp/Makefile"
},
{
"type": "shell",
"inline": [
"echo '--> Waiting 30 seconds for core services to be available'",
"sleep 30",
"echo '--> Updating apt repositories'",
"sudo apt-get update -qq >/dev/null",
"echo '--> Installing make requirement'",
"sudo apt-get -qq -y --no-install-recommends install build-essential",
"cd /tmp && make install-from-deb",
"rm /root/.ssh/authorized_keys"
]
}
]
}

View File

@@ -6,22 +6,19 @@ readonly ROOT_DIR="$(cd "$(dirname "$(dirname "${BASH_SOURCE[0]}")")" && pwd)"
readonly TMP_WORK_DIR="$(mktemp -d "/tmp/dokku-release.XXXXXX")"
readonly DOKKU_GIT_REV="$(git rev-parse HEAD)"
trap 'rm -rf "$TMP_WORK_DIR" >/dev/null' RETURN INT TERM EXIT
trap "rm -rf '$TMP_WORK_DIR' >/dev/null" RETURN INT TERM EXIT
log-info() {
# shellcheck disable=SC2034
declare desc="Log info formatter"
echo "$*"
}
log-error() {
# shellcheck disable=SC2034
declare desc="Log error formatter"
echo "! $*" 1>&2
}
log-fail() {
# shellcheck disable=SC2034
declare desc="Log fail formatter"
log-error "$*"
exit 1
@@ -49,6 +46,7 @@ fn-build-dokku() {
--build-arg IS_RELEASE="$IS_RELEASE" \
--build-arg PLUGIN_MAKE_TARGET="build" \
--build-arg GOLANG_VERSION="$GOLANG_VERSION" \
--progress plain \
-f "contrib/build-dokku.Dockerfile" \
-t "$NAME" .
return "$?"
@@ -133,10 +131,20 @@ fn-publish-package() {
local OS_ID ex
[[ "$IS_RELEASE" == "true" ]] && REPOSITORY=dokku/dokku
[[ "$RELEASE_TYPE" == "rpm" ]] && DIST=el/7
[[ "$RELEASE_TYPE" == "raspbian" ]] && DIST=raspbian
if [[ "$DIST" == "ubuntu" ]]; then
OS_IDS=("xenial" "bionic" "focal")
if [[ "$RELEASE_TYPE" == "raspbian" ]]; then
OS_IDS=("buster" "bullseye")
for OS_ID in "${OS_IDS[@]}"; do
log-info "(release-dokku) pushing deb to packagecloud.com/${REPOSITORY}/${DIST}"
package_cloud push "${REPOSITORY}/${DIST}/${OS_ID}" "$PACKAGE_NAME"
ex="$?"
if [[ "$ex" -ne "0" ]]; then
EXIT_CODE="$ex"
fi
done
elif [[ "$DIST" == "ubuntu" ]]; then
OS_IDS=("focal" "jammy")
for OS_ID in "${OS_IDS[@]}"; do
log-info "(release-dokku) pushing ${RELEASE_TYPE} to packagecloud.com/${REPOSITORY}/${DIST}"
package_cloud push "${REPOSITORY}/${DIST}/${OS_ID}" "$PACKAGE_NAME"
@@ -147,7 +155,7 @@ fn-publish-package() {
done
DIST=debian
OS_IDS=("stretch" "buster")
OS_IDS=("buster" "bullseye" "bookworm")
for OS_ID in "${OS_IDS[@]}"; do
log-info "(release-dokku) pushing ${RELEASE_TYPE} to packagecloud.com/${REPOSITORY}/${DIST}"
package_cloud push "${REPOSITORY}/${DIST}/${OS_ID}" "$PACKAGE_NAME"
@@ -175,8 +183,12 @@ fn-replace-version() {
fn-repo-merged-requests() {
declare desc="Retrieves all pull request ids since a given release of dokku"
declare TAG="$1"
git log "v${TAG}..HEAD" --oneline | grep "Merge pull request" | cut -d' ' -f 5 | cut -d '#' -f2
declare TAG="$1" IS_PATCH="$2"
if [[ "$IS_PATCH" == "true" ]]; then
git log "v${TAG}..HEAD" --oneline | grep "Merge pull request" | cut -d' ' -f 5 | cut -d '#' -f2
else
curl -u "$RELEASE_GITHUB_USERNAME:$RELEASE_GITHUB_API_TOKEN" --fail -sS "https://api.github.com/search/issues?q=repo:dokku/dokku+milestone:v${NEXT_VERSION}+is:pr&per_page=100" | jq '.items[].number'
fi
}
fn-repo-push-tags() {
@@ -193,7 +205,7 @@ fn-repo-push-tags() {
fn-repo-update() {
declare desc="Updates files within the repository for a given release"
declare IS_RELEASE="$1" CURRENT_VERSION="$2" NEXT_VERSION="$3"
declare IS_RELEASE="$1" CURRENT_VERSION="$2" NEXT_VERSION="$3" IS_PATCH="$4"
log-info "(release-dokku) Replacing ${CURRENT_VERSION} with ${NEXT_VERSION}"
for f in plugins/*/plugin.toml; do
@@ -204,7 +216,6 @@ fn-repo-update() {
return
fi
fn-replace-version "$CURRENT_VERSION" "$NEXT_VERSION" contrib/dokku-installer.py
fn-replace-version "$CURRENT_VERSION" "$NEXT_VERSION" debian/control
fn-replace-version "$CURRENT_VERSION" "$NEXT_VERSION" Dockerfile
fn-replace-version "$CURRENT_VERSION" "$NEXT_VERSION" docs/advanced-usage/plugin-management.md
@@ -213,7 +224,7 @@ fn-repo-update() {
fn-replace-version "$CURRENT_VERSION" "$NEXT_VERSION" docs/assets/style.css
fn-replace-version "$CURRENT_VERSION" "$NEXT_VERSION" docs/development/release-process.md
fn-replace-version "$CURRENT_VERSION" "$NEXT_VERSION" docs/getting-started/install/docker.md
fn-replace-version "$CURRENT_VERSION" "$NEXT_VERSION" docs/getting-started/installation.md
fn-replace-version "$CURRENT_VERSION" "$NEXT_VERSION" docs/getting-started/installation/index.md
fn-replace-version "$CURRENT_VERSION" "$NEXT_VERSION" docs/home.html
fn-replace-version "$CURRENT_VERSION" "$NEXT_VERSION" docs/template.html
fn-replace-version "$CURRENT_VERSION" "$NEXT_VERSION" README.md
@@ -231,24 +242,34 @@ fn-repo-update() {
fi
log-info "(release-dokku) Adding HISTORY.md, committing and tagging"
fn-repo-update-history-and-commit "$CURRENT_VERSION" "$NEXT_VERSION"
fn-repo-update-history-and-commit "$CURRENT_VERSION" "$NEXT_VERSION" "$IS_PATCH"
git tag "v${NEXT_VERSION}"
}
fn-repo-update-history-and-commit() {
declare desc="Updates the history file and commits the changes"
declare CURRENT_VERSION="$1" NEXT_VERSION="$2"
declare CURRENT_VERSION="$1" NEXT_VERSION="$2" IS_PATCH="$3"
local PULL_REQUEST_ID TITLE AUTHOR TYPE CHANGELOG_TEXT
local COMMIT_MESSAGE HISTORY HISTORY_CONTENTS HISTORY_DOCUMENTATION HISTORY_ENHANCEMENT HISTORY_BC_BREAK HISTORY_REFACTOR HISTORY_BUG HISTORY_OTHER HISTORY_TESTS ISSUE_FILE
local COMMIT_MESSAGE HISTORY HISTORY_CONTENTS HISTORY_BUG HISTORY_DEPENDENCY HISTORY_DEPRECATION HISTORY_DOCUMENTATION HISTORY_ENHANCEMENT HISTORY_BC_BREAK HISTORY_REFACTOR HISTORY_REMOVAL HISTORY_OTHER HISTORY_TESTS ISSUE_FILE
pushd "$ROOT_DIR" >/dev/null
mkdir -p /tmp/github-data
for PULL_REQUEST_ID in $(fn-repo-merged-requests "$CURRENT_VERSION"); do
for PULL_REQUEST_ID in $(fn-repo-merged-requests "$CURRENT_VERSION" "$IS_PATCH"); do
ISSUE_FILE="/tmp/github-data/${PULL_REQUEST_ID}.json"
if [[ ! -f "$ISSUE_FILE" ]]; then
curl -sS "https://api.github.com/repos/dokku/dokku/issues/${PULL_REQUEST_ID}" >"$ISSUE_FILE"
while true; do
if OUTPUT=$(curl -u "$RELEASE_GITHUB_USERNAME:$RELEASE_GITHUB_API_TOKEN" --fail -sS "https://api.github.com/repos/dokku/dokku/issues/${PULL_REQUEST_ID}" 2>&1); then
echo "$OUTPUT" >"$ISSUE_FILE"
break
fi
log-error "Error while fetching info for pull/$PULL_REQUEST_ID, sleeping for 5 seconds"
log-error "$OUTPUT"
sleep 5
log-info " Retrying pull/$PULL_REQUEST_ID"
done
fi
TITLE="$(jq -r '.title' "$ISSUE_FILE")"
@@ -256,16 +277,24 @@ fn-repo-update-history-and-commit() {
TYPE="$(jq -r '.labels[] | select( .name | contains("type") ) | .name' "$ISSUE_FILE" | cut -d' ' -f2)"
CHANGELOG_TEXT="- #${PULL_REQUEST_ID}: @${AUTHOR} ${TITLE}"
if [[ "$TYPE" == "bc-break" ]]; then
if [[ "$TYPE" == "release" ]]; then
continue
elif [[ "$TYPE" == "bc-break" ]]; then
HISTORY_BC_BREAK="${HISTORY_BC_BREAK}"$'\n'"$CHANGELOG_TEXT"
elif [[ "$TYPE" == "bug" ]]; then
HISTORY_BUG="${HISTORY_BUG}"$'\n'"$CHANGELOG_TEXT"
elif [[ "$TYPE" == "dependencies" ]]; then
HISTORY_DEPENDENCY="${HISTORY_DEPENDENCY}"$'\n'"$CHANGELOG_TEXT"
elif [[ "$TYPE" == "deprecation" ]]; then
HISTORY_DEPRECATION="${HISTORY_DEPRECATION}"$'\n'"$CHANGELOG_TEXT"
elif [[ "$TYPE" == "documentation" ]]; then
HISTORY_DOCUMENTATION="${HISTORY_DOCUMENTATION}"$'\n'"$CHANGELOG_TEXT"
elif [[ "$TYPE" == "enhancement" ]]; then
HISTORY_ENHANCEMENT="${HISTORY_ENHANCEMENT}"$'\n'"$CHANGELOG_TEXT"
elif [[ "$TYPE" == "refactor" ]]; then
HISTORY_REFACTOR="${HISTORY_REFACTOR}"$'\n'"$CHANGELOG_TEXT"
elif [[ "$TYPE" == "removal" ]]; then
HISTORY_REMOVAL="${HISTORY_REMOVAL}"$'\n'"$CHANGELOG_TEXT"
elif [[ "$TYPE" == "tests" ]]; then
HISTORY_TESTS="${HISTORY_TESTS}"$'\n'"$CHANGELOG_TEXT"
else
@@ -277,7 +306,7 @@ fn-repo-update-history-and-commit() {
HISTORY="${HISTORY}"$'\n\n'"## ${NEXT_VERSION}"
HISTORY="${HISTORY}"$'\n\n'"Install/update via the bootstrap script:"
HISTORY="${HISTORY}"$'\n\n'"\`\`\`shell"
HISTORY="${HISTORY}"$'\n'"wget https://raw.githubusercontent.com/dokku/dokku/v${NEXT_VERSION}/bootstrap.sh"
HISTORY="${HISTORY}"$'\n'"wget -NP . https://dokku.com/install/v${NEXT_VERSION}/bootstrap.sh"
HISTORY="${HISTORY}"$'\n'"sudo DOKKU_TAG=v${NEXT_VERSION} bash bootstrap.sh"
HISTORY="${HISTORY}"$'\n'"\`\`\`"
@@ -300,6 +329,16 @@ fn-repo-update-history-and-commit() {
HISTORY="${HISTORY}"$'\n'"$HISTORY_ENHANCEMENT"
fi
if [[ "$HISTORY_REMOVAL" ]]; then
HISTORY="${HISTORY}"$'\n\n'"### Removals"
HISTORY="${HISTORY}"$'\n'"$HISTORY_REMOVAL"
fi
if [[ "$HISTORY_DEPRECATION" ]]; then
HISTORY="${HISTORY}"$'\n\n'"### Deprecations"
HISTORY="${HISTORY}"$'\n'"$HISTORY_DEPRECATION"
fi
if [[ "$HISTORY_REFACTOR" ]]; then
HISTORY="${HISTORY}"$'\n\n'"### Refactors"
HISTORY="${HISTORY}"$'\n'"$HISTORY_REFACTOR"
@@ -315,6 +354,11 @@ fn-repo-update-history-and-commit() {
HISTORY="${HISTORY}"$'\n'"$HISTORY_TESTS"
fi
if [[ "$HISTORY_DEPENDENCY" ]]; then
HISTORY="${HISTORY}"$'\n\n'"### Dependencies"
HISTORY="${HISTORY}"$'\n'"$HISTORY_DEPENDENCY"
fi
if [[ "$HISTORY_OTHER" ]]; then
HISTORY="${HISTORY}"$'\n\n'"### Other"
HISTORY="${HISTORY}"$'\n'"$HISTORY_OTHER"
@@ -339,13 +383,27 @@ fn-require-bin() {
fn-build-docker-image() {
declare desc="Builds the dokku docker image and tags it with the given version"
declare VERSION="$1"
docker build -t "dokku/dokku:$VERSION" .
declare VERSION="$1" IS_RELEASE="$2"
if [[ "$IS_RELEASE" == "true" ]]; then
docker buildx build \
--platform linux/arm64,linux/amd64 \
--progress plain \
--push \
--tag "dokku/dokku:latest" \
--tag "dokku/dokku:$VERSION" .
elif [[ "$SKIP_IMAGE_BUILD" != "true" ]]; then
docker buildx build \
--platform linux/arm64,linux/amd64 \
--progress plain \
--tag "dokku/dokku:latest" \
--tag "dokku/dokku:$(echo "$VERSION" | tr + -)" .
fi
}
main() {
declare RELEASE="$1"
local CURRENT_VERSION NEXT_VERSION IS_RELEASE
local CURRENT_VERSION NEXT_VERSION IS_PATCH IS_RELEASE
local VALID_RELEASE_LEVELS=("major" "minor" "patch" "betafish" "build")
if [[ "$RELEASE" == '--trace' ]]; then
@@ -376,34 +434,35 @@ main() {
NEXT_VERSION="$(fn-version-next "$CURRENT_VERSION" "$RELEASE")"
IS_RELEASE="$(fn-is-release "$RELEASE")"
IS_PATCH="false"
if [[ "$RELEASE" == "patch" ]]; then
IS_PATCH="true"
fi
echo "v${NEXT_VERSION}" >build/next-version
fn-repo-update "$IS_RELEASE" "$CURRENT_VERSION" "$NEXT_VERSION"
fn-repo-update "$IS_RELEASE" "$CURRENT_VERSION" "$NEXT_VERSION" "$IS_PATCH"
fn-build-dokku "$IS_RELEASE" "$NEXT_VERSION" || log-fail "Error building package"
fn-extract-package "$IS_RELEASE" "dokku_${NEXT_VERSION}_arm64.deb" || log-fail "Error extracting deb package"
fn-extract-package "$IS_RELEASE" "dokku_${NEXT_VERSION}_amd64.deb" || log-fail "Error extracting deb package"
fn-extract-package "$IS_RELEASE" "dokku-${NEXT_VERSION}-1.x86_64.rpm" || log-fail "Error extracting rpm package"
cp -f "build/dokku_${NEXT_VERSION}_amd64.deb" build/dokku.deb
mkdir -p build/package
cp -f "build/dokku_${NEXT_VERSION}_amd64.deb" build/package/dokku-amd64.deb
cp -f "build/dokku_${NEXT_VERSION}_arm64.deb" build/package/dokku-arm64.deb
if [[ "$RELEASE" != "build" ]]; then
fn-publish-package "$IS_RELEASE" "deb" "build/dokku_${NEXT_VERSION}_arm64.deb" || log-fail "Error publishing deb package"
fn-publish-package "$IS_RELEASE" "deb" "build/dokku_${NEXT_VERSION}_amd64.deb" || log-fail "Error publishing deb package"
fn-publish-package "$IS_RELEASE" "rpm" "build/dokku-${NEXT_VERSION}-1.x86_64.rpm" || log-fail "Error publishing rpm package"
fn-build-docker-image "$NEXT_VERSION" || log-fail "Error building docker image"
fn-build-docker-image "$NEXT_VERSION" "$IS_RELEASE" || log-fail "Error building docker image"
if [[ "$IS_RELEASE" == "true" ]]; then
docker tag "dokku/dokku:$NEXT_VERSION" "dokku/dokku:latest"
docker push "dokku/dokku:$NEXT_VERSION"
docker push "dokku/dokku:latest"
fi
fn-repo-push-tags "$IS_RELEASE"
else
fn-build-docker-image "$NEXT_VERSION" "$IS_RELEASE" || log-fail "Error building docker image"
fi
if [[ "$IS_RELEASE" != "true" ]]; then
git reset -q HEAD plugins/*/plugin.toml
git checkout -- plugins/*/plugin.toml
fi
echo "build/dokku_${NEXT_VERSION}_amd64.deb" >build/deb-filename
echo "build/dokku-${NEXT_VERSION}-1.x86_64.rpm" >build/rpm-filename
}
main "$@"

View File

@@ -4,22 +4,19 @@ set -eo pipefail
readonly TMP_WORK_DIR="$(mktemp -d "/tmp/dokku-plugin-release.XXXXXX")"
trap 'rm -rf "$TMP_WORK_DIR" >/dev/null' RETURN INT TERM EXIT
trap "rm -rf '$TMP_WORK_DIR' >/dev/null" RETURN INT TERM EXIT
log-info() {
# shellcheck disable=SC2034
declare desc="Log info formatter"
echo "$*"
}
log-error() {
# shellcheck disable=SC2034
declare desc="Log error formatter"
echo "! $*" 1>&2
}
log-fail() {
# shellcheck disable=SC2034
declare desc="Log fail formatter"
log-error "$*"
exit 1

View File

@@ -0,0 +1,38 @@
#!/usr/bin/env python
import json
def main():
version_file = "tmp/docs-build/versions.json"
data = []
with open(version_file) as f:
data = json.load(f)
versions = []
for info in data:
if info["title"] == "latest":
continue
versions.append(info["title"].removeprefix("v"))
versions.sort(key=lambda x: list(map(int, x.split('.'))), reverse=True)
data = [
{
"aliases": ["latest"],
"title": "latest",
"version": "docs",
}
]
for version in versions:
data.append({
"aliases": [],
"title": f"v{version}",
"version": f"docs~v{version}",
})
with open(version_file, "w") as f:
json.dump(data, f, indent=4)
if __name__ == "__main__":
main()

32
contrib/update-deb-dependencies Executable file
View File

@@ -0,0 +1,32 @@
#!/usr/bin/env python3
import json
def main():
"""
updates the control file with the tested debian dependencies
"""
deps = {}
with open("contrib/dependencies.json", encoding="utf-8") as handle:
deps = json.load(handle)
control_lines = []
with open("debian/control", encoding="utf-8") as handle:
control_lines = [line for line in handle.readlines()]
for key in ["dependencies", "predependencies", "recommendations"]:
for dependency in deps[key]:
name = dependency["name"]
version = dependency["version"]
for i, line in enumerate(control_lines):
if name in line:
control_lines[i] = control_lines[i].replace(
name, f"{name} (>= {version})"
)
with open("debian/control", mode="w", encoding="utf-8") as handle:
handle.writelines(control_lines)
if __name__ == "__main__":
main()

456
contrib/write-mkdocs Normal file
View File

@@ -0,0 +1,456 @@
#!/usr/bin/env python
import os
import pathlib
import shutil
import sys
from collections.abc import Callable
import yaml
from bs4 import BeautifulSoup
def get_nav_from_selector(soup: BeautifulSoup, selector: str, docs_dir: str):
"""
Generates navigation from template file
"""
navigation = []
header_name = ""
for anchor in soup.select(selector):
classes = anchor.get("class", [])
if classes is None:
continue
if "disabled" in classes:
header_name = anchor.text
navigation.append({header_name: []})
href = anchor.get("href", "")
if href is None:
continue
href = str(href)
if href == "#":
continue
url = href.replace("{{NAME}}", "")
filename = url.replace("http://progrium.viewdocs.io/dokku/", "")
filename = filename.replace("http://dokku.viewdocs.io/dokku/", "")
filename = filename.strip("/") + ".md"
filename = filename.removeprefix("dokku/")
ignore_errors_for = [
"getting-started/installation.md",
"getting-started/upgrading.md",
]
if not os.path.exists(docs_dir + "/" + filename):
if filename not in ignore_errors_for:
print("error fetching markdown file:", filename)
continue
for nav in navigation:
if header_name in nav:
if filename == "getting-started/installation.md":
child_dir = "getting-started/install/"
children = os.listdir(docs_dir + "/" + child_dir)
children = [child_dir + c for c in children]
children.sort()
children.insert(0, "getting-started/advanced-installation.md")
if os.path.exists(docs_dir + "/" + filename):
children.insert(0, filename)
else:
children.insert(0, "getting-started/installation/index.md")
nav[header_name].append(
{
"Getting Started with Dokku": children,
}
)
continue
if filename == "getting-started/upgrading.md":
child_dir = "appendices/"
children = os.listdir(docs_dir + "/" + child_dir)
children.sort(
key=lambda x: list(map(int, x.split("-")[0].split("."))),
reverse=True,
)
children = [child_dir + c for c in children]
if os.path.exists(docs_dir + "/" + filename):
children.insert(0, filename)
else:
children.insert(0, "getting-started/upgrading/index.md")
nav[header_name].append(
{
"Upgrading": children,
}
)
continue
nav[header_name].append(filename)
return navigation
def generate_nav(src: str, dest: str) -> None:
"""
Writes out navigation information to the mkdocs yaml file
"""
navigation = []
repo_dir = pathlib.Path(__file__).parent.parent.resolve()
docs_dir = str(repo_dir) + "/docs"
with open(docs_dir + "/template.html", encoding="utf-8") as response:
soup = BeautifulSoup(response, "html.parser")
selectors = [
".container .row .list-group a",
".container-fluid .row .list-group a",
]
for selector in selectors:
navigation = get_nav_from_selector(soup, selector, docs_dir)
if len(navigation) > 0:
break
if len(navigation) == 0:
print("No navigation found")
sys.exit(1)
with open(src, encoding="utf-8") as handler:
data = yaml.unsafe_load(handler)
data["nav"] = [
{"Docs": navigation},
{"Pro": "https://pro.dokku.com/docs/getting-started/"},
{"Blog": "https://dokku.com/blog/"},
{"Tutorials": "https://dokku.com/tutorials/"},
{
"Purchase Dokku Pro": "https://dokku.dpdcart.com/cart/add?product_id=217344&method_id=236878"
},
]
with open(dest, mode="wt", encoding="utf-8") as handler:
yaml.dump(data, handler)
def modify_content_noop(lines: list[str], _) -> tuple[list[str], bool]:
"""
Simply returns the lines as is
"""
modified = False
updated_lines = []
for line in lines:
updated_lines.append(line)
return updated_lines, modified
def modify_content_links(lines: list[str], filename: str) -> tuple[list[str], bool]:
"""
Modifies links to be relative instead of absolute
"""
filename = filename.replace("/usr/src/source/docs/", "")
parts = filename.split("/")
parts.pop()
replacement = "](" + "/".join([".." for _ in parts]) + "/"
modified = False
updated_lines = []
for line in lines:
if "](/docs/" in line:
line = line.replace("](/docs/", replacement)
modified = True
updated_lines.append(line)
return updated_lines, modified
def modify_content_stripspace(lines: list[str], _) -> tuple[list[str], bool]:
"""
Removes trailing whitespace from each line
"""
modified = False
updated_lines = []
for line in lines:
line = line.rstrip()
updated_lines.append(line)
return updated_lines, modified
def modify_content_inject_newlines(lines: list[str], _) -> tuple[list[str], bool]:
"""
Ensures every line has a trailing newline character
"""
modified = False
updated_lines = []
for line in lines:
updated_lines.append(line.rstrip() + "\n")
return updated_lines, modified
def is_github_new(line: str, next_line: str | None) -> bool:
"""
Checks if a given line is a github "new as of" admonition
"""
if not next_line:
return False
return line.startswith("> [!IMPORTANT]") and "new as of" in next_line.lower()
def is_github_note(line: str) -> bool:
"""
Checks if a given line is a github "note" admonition
"""
return line.startswith("> [!NOTE]")
def is_github_warning(line: str) -> bool:
"""
Checks if a given line is a github "warning" admonition
"""
return line.startswith("> [!WARNING]")
def is_info(line: str) -> bool:
"""
Checks if a given line is an "info" admonition
"""
return line.startswith("> ")
def is_new(line: str) -> bool:
"""
Checks if a given line is a "new as of" admonition
"""
return line.startswith("> ") and "new as of" in line.lower()
def is_note(line: str) -> bool:
"""
Checks if a given line is a "note" admonition
"""
return line.startswith("> Note:")
def is_warning(line: str) -> bool:
"""
Checks if a given line is a "warning" admonition
"""
return line.startswith("> Warning:")
def modify_content_admonition(lines: list[str], _) -> tuple[list[str], bool]:
"""
Applies adminition info to each line in the output
"""
modified = False
updated_lines = []
admonition_lines = []
is_admonition = False
replace_new_in_next_line = False
for index, line in enumerate(lines):
next_line: str | None = None
if index + 1 < len(lines):
next_line = lines[index + 1]
if replace_new_in_next_line:
line = line.replace("New as of", "Introduced in")
line = line.replace("new as of", "introduced in")
replace_new_in_next_line = False
if is_github_new(line, next_line):
line = line.replace("> [!IMPORTANT]", '!!! tip "New"')
is_admonition = True
admonition_lines.append(line)
admonition_lines.append("")
replace_new_in_next_line = True
elif is_github_note(line):
line = line.replace("> [!NOTE]", '!!! note "Note"')
is_admonition = True
admonition_lines.append(line)
admonition_lines.append("")
elif is_github_warning(line):
line = line.replace("> [!WARNING]", '!!! warning "Warning"')
is_admonition = True
admonition_lines.append(line)
admonition_lines.append("")
elif is_new(line):
print("is_new")
line = line.replace("> ", '!!! tip "New"\n\n ')
line = line.replace("New as of", "Introduced in")
line = line.replace("new as of", "introduced in")
is_admonition = True
admonition_lines.append(line)
elif is_note(line):
print("is_note")
line = line.replace("> Note: ", '!!! note "Note"\n\n ')
is_admonition = True
admonition_lines.append(line)
elif is_warning(line):
print("is_warning")
line = line.replace("> Warning: ", '!!! warning "Warning"\n\n ')
is_admonition = True
admonition_lines.append(line)
elif is_info(line):
if not is_admonition:
line = line.replace("> ", '!!! info "Info"\n\n ')
elif line in [">", "> "]:
line = ""
else:
line = " " + line.removeprefix("> ")
is_admonition = True
admonition_lines.append(line)
elif is_admonition and line in [">", "> "]:
line = ""
admonition_lines.append(line)
elif is_admonition and line.startswith("> "):
line = " " + line.removeprefix("> ")
admonition_lines.append(line)
elif line == "":
is_admonition = False
if len(admonition_lines) > 0:
modified = True
updated_lines.extend(admonition_lines)
admonition_lines = []
updated_lines.append("")
else:
updated_lines.append(line)
return updated_lines, modified
def is_shell_codeblock_start(line: str) -> bool:
"""
Checks to see if a line starts a codeblock
"""
return line == "```shell"
def modify_content_terminal_example(lines: list[str], _) -> tuple[list[str], bool]:
"""
Modifies content so that terminal output is shown appropriately
"""
modified = False
updated_lines = []
command_block = []
example_block = []
in_command_block = False
in_example_block = False
previous_block = ""
next_line_must_be = None
for line in lines:
if is_shell_codeblock_start(line):
command_block.append(line)
modified = True
in_command_block = True
continue
elif in_command_block:
command_block.append(line)
if line == "```":
in_command_block = False
previous_block = "command_block"
next_line_must_be = ""
continue
elif line == "```":
if previous_block == "":
updated_lines.append(line)
continue
if previous_block == "command_block":
example_block.append(line)
if in_example_block:
previous_block = ""
in_example_block = False
updated_lines.append('=== "Shell"')
updated_lines.append("")
for command_line in command_block:
updated_lines.append(f" {command_line}")
command_block = []
updated_lines.append("")
updated_lines.append('=== "Output"')
updated_lines.append("")
for example_line in example_block:
updated_lines.append(f" {example_line}")
example_block = []
else:
in_example_block = True
continue
elif previous_block == "command_block":
if next_line_must_be is None:
if in_example_block:
example_block.append(line)
else:
updated_lines.extend(command_block)
updated_lines.append("")
updated_lines.append(line)
command_block = []
previous_block = ""
continue
if next_line_must_be == "":
if line == "":
next_line_must_be = None
continue
updated_lines.append(line)
if len(command_block) > 0:
updated_lines.extend(command_block)
return updated_lines, modified
def update_markdown(src):
"""
Updates all markdown files to be mkdocs compatible
"""
markdown_files = []
allowed_extensions = [".md"]
for subdir, _, files in os.walk(src):
for file in files:
ext = os.path.splitext(file)[-1].lower()
file_path = os.path.join(subdir, file)
if ext in allowed_extensions:
markdown_files.append(file_path)
modifiers: list[Callable[[list[str], str], tuple[list[str], bool]]] = [
modify_content_noop,
modify_content_links,
modify_content_stripspace,
modify_content_admonition,
modify_content_terminal_example,
modify_content_inject_newlines,
]
for file in markdown_files:
is_modified = False
lines = []
with open(file, "r", encoding="utf-8") as handler:
lines = handler.readlines()
for modifier in modifiers:
lines, modified = modifier(lines, file)
if modified:
is_modified = True
if is_modified:
with open(file, "w", encoding="utf-8") as handler:
handler.writelines(lines)
def main():
"""
Main command that performs doc manipulation
"""
print("----> Copying mkdocs.yml")
print(" Generating navigation")
generate_nav("/usr/src/source/mkdocs.yml", "/usr/src/app/mkdocs.yml")
print("----> Copying docs folder")
update_markdown(
"/usr/src/source/docs",
)
if os.path.exists("/usr/src/app/docs"):
print(" Removing old docs folder")
shutil.rmtree("/usr/src/app/docs")
print(" Performing copy")
shutil.copytree("/usr/src/source/docs", "/usr/src/app/docs")
if __name__ == "__main__":
main()

18
deb.mk
View File

@@ -1,8 +1,7 @@
BUILD_DIRECTORY ?= /tmp
DOKKU_DESCRIPTION = 'Docker powered PaaS that helps you build and manage the lifecycle of applications'
DOKKU_REPO_NAME ?= dokku/dokku
DOKKU_ARCHITECTURE = amd64
BUILD_DIRECTORY ?= /tmp
DOKKU_DESCRIPTION = 'Docker powered PaaS that helps you build and manage the lifecycle of applications'
DOKKU_REPO_NAME ?= dokku/dokku
DOKKU_ARCHITECTURE ?= amd64
ifndef IS_RELEASE
IS_RELEASE = true
@@ -20,8 +19,8 @@ install-from-deb:
wget -nv -O - https://get.docker.com/ | sh
@echo "--> Installing dokku"
wget -nv -O - https://packagecloud.io/dokku/dokku/gpgkey | apt-key add -
@echo "deb https://packagecloud.io/dokku/dokku/ubuntu/ $(shell lsb_release -cs 2>/dev/null || echo "bionic") main" | sudo tee /etc/apt/sources.list.d/dokku.list
wget -qO- https://packagecloud.io/dokku/dokku/gpgkey | sudo tee /etc/apt/trusted.gpg.d/dokku.asc
@echo "deb https://packagecloud.io/dokku/dokku/ubuntu/ $(shell lsb_release -cs 2>/dev/null || echo "focal") main" | sudo tee /etc/apt/sources.list.d/dokku.list
sudo apt-get update -qq >/dev/null
sudo DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true apt-get -qq -y --no-install-recommends install dokku
@@ -44,10 +43,11 @@ ifneq (,$(findstring false,$(IS_RELEASE)))
sed -i.bak -e "s/^/`date +%s`:/" /tmp/build-dokku/var/lib/dokku/STABLE_VERSION && rm /tmp/build-dokku/var/lib/dokku/STABLE_VERSION.bak
endif
contrib/update-deb-dependencies
cp -r debian /tmp/build-dokku/DEBIAN
sed -i.bak "s/^Architecture: .*/Architecture: $(DOKKU_ARCHITECTURE)/g" /tmp/build-dokku/DEBIAN/control && rm /tmp/build-dokku/DEBIAN/control.bak
rm -f /tmp/build-dokku/DEBIAN/lintian-overrides
cp debian/lintian-overrides /tmp/build-dokku/usr/share/lintian/overrides/dokku
sed -i.bak "s/^Version: .*/Version: `cat /tmp/build-dokku/var/lib/dokku/STABLE_VERSION`/g" /tmp/build-dokku/DEBIAN/control && rm /tmp/build-dokku/DEBIAN/control.bak
dpkg-deb --build /tmp/build-dokku "$(BUILD_DIRECTORY)/dokku_`cat /tmp/build-dokku/var/lib/dokku/VERSION`_$(DOKKU_ARCHITECTURE).deb"
lintian "$(BUILD_DIRECTORY)/dokku_`cat /tmp/build-dokku/var/lib/dokku/VERSION`_$(DOKKU_ARCHITECTURE).deb"
lintian "$(BUILD_DIRECTORY)/dokku_`cat /tmp/build-dokku/var/lib/dokku/VERSION`_$(DOKKU_ARCHITECTURE).deb" || true

9
debian/config vendored
View File

@@ -3,21 +3,12 @@ set -eo pipefail
[[ $TRACE ]] && set -x
if [[ -e /usr/share/debconf/confmodule ]]; then
# shellcheck disable=SC1091
. /usr/share/debconf/confmodule
fi
readonly ACTION="${1:-configure}"
readonly VERSION="${2:-dev}"
db_input "high" "dokku/web_config" || true
db_go || true
db_get "dokku/web_config"
if [ $RET = "true" ]; then
exit 0
fi
db_input "high" "dokku/nginx_enable" || true
db_input "high" "dokku/hostname" || true
db_input "high" "dokku/vhost_enable" || true

8
debian/control vendored
View File

@@ -1,11 +1,11 @@
Package: dokku
Version: 0.24.5
Version: 0.32.2
Section: web
Priority: optional
Architecture: amd64
Depends: locales, git, cpio, curl, man-db, netcat, sshcommand (>= 0.12.0), docker-engine-cs (>= 17.05.0) | docker-engine (>= 17.05.0) | docker-io (>= 17.05.0) | docker.io (>= 17.05.0) | docker-ce (>= 17.05.0) | docker-ee (>= 17.05.0) | moby-engine, docker-image-labeler (>= 0.2.2), net-tools, netrc, software-properties-common, procfile-util (>= 0.11.0), python-software-properties | python3-software-properties, rsyslog, dos2unix, jq, unzip
Recommends: herokuish (>= 0.3.4), parallel, dokku-update, dokku-event-listener
Pre-Depends: gliderlabs-sigil, nginx (>= 1.8.0) | openresty, dnsutils, cgroupfs-mount | cgroup-lite, plugn (>= 0.3.0), sudo, python3, debconf
Depends: apache2-utils, locales, git, cpio, curl, man-db, netcat, sshcommand, docker-engine-cs (>= 17.05.0) | docker-engine (>= 17.05.0) | docker-io (>= 17.05.0) | docker.io (>= 17.05.0) | docker-ce (>= 17.05.0) | docker-ee (>= 17.05.0) | moby-engine, docker-compose-plugin | moby-compose, docker-buildx-plugin | moby-buildx, docker-container-healthchecker, docker-image-labeler, lambda-builder, net-tools, netrc, software-properties-common, parallel, procfile-util, python-software-properties | python3-software-properties, rsync, rsyslog, dos2unix, jq, unzip, util-linux
Recommends: herokuish, bash-completion, dokku-update, dokku-event-listener
Pre-Depends: gliderlabs-sigil, nginx (>= 1.8.0) | openresty, dnsutils, cgroupfs-mount | cgroup-lite, plugn, sudo, python3, debconf
Maintainer: Jose Diaz-Gonzalez <dokku@josediazgonzalez.com>
Description: Docker-powered PaaS that helps build and manage the lifecycle of applications
Dokku is an extensible, open source Platform as a Service

View File

@@ -10,6 +10,3 @@ dokku: hardening-no-relro
# Built golang binaries link to libc
dokku: missing-dependency-on-libc
# Temporary python dependency until #2247 is resolved
dokku: python-script-but-no-python-dep usr/share/dokku/contrib/dokku-installer.py

60
debian/postinst vendored
View File

@@ -3,12 +3,10 @@ set -eo pipefail
[[ $TRACE ]] && set -x
if [[ -e /usr/share/debconf/confmodule ]]; then
# shellcheck disable=SC1091
. /usr/share/debconf/confmodule
fi
if [[ -r /etc/default/dokku ]]; then
# shellcheck disable=SC1091
source /etc/default/dokku
fi
@@ -43,6 +41,20 @@ setup-storage() {
}
setup-plugins() {
echo "Deleting invalid plugins"
if [ -f "${DOKKU_LIB_ROOT}/core-plugins/available/" ]; then
find "${DOKKU_LIB_ROOT}/core-plugins/available/" -type d -empty -delete
fi
if [ -f "${DOKKU_LIB_ROOT}/core-plugins/enabled/" ]; then
find "${DOKKU_LIB_ROOT}/core-plugins/enabled/" -type d -empty -delete
fi
if [ -f "${DOKKU_LIB_ROOT}/plugins/available/" ]; then
find "${DOKKU_LIB_ROOT}/plugins/available/" -type d -empty -delete
fi
if [ -f "${DOKKU_LIB_ROOT}/plugins/enabled/" ]; then
find "${DOKKU_LIB_ROOT}/plugins/enabled/" -type d -empty -delete
fi
echo "Setting up plugin directories"
# should be replaced by `plugn init`
mkdir -p "${DOKKU_LIB_ROOT}/core-plugins/available" "${DOKKU_LIB_ROOT}/plugins/available"
@@ -88,40 +100,7 @@ setup-sshcommand() {
fi
}
setup-dokku-installer() {
NGINX_ROOT="/etc/nginx"
[[ -x /usr/bin/openresty ]] && NGINX_ROOT="/usr/local/openresty/nginx/conf"
if command -v "python3" &>/dev/null; then
sed -i '1 s/^.*$/#!\/usr\/bin\/env python3/' /usr/share/dokku/contrib/dokku-installer.py
elif command -v "python2.7" &>/dev/null; then
sed -i '1 s/^.*$/#!\/usr\/bin\/env python2.7/' /usr/share/dokku/contrib/dokku-installer.py
fi
if [[ -f "$NGINX_ROOT/conf.d/dokku-installer.conf" ]]; then
echo "Setting up dokku-installer"
/usr/share/dokku/contrib/dokku-installer.py onboot
if command -v systemctl &>/dev/null; then
echo "Enabling dokku-installer"
systemctl enable dokku-installer
fi
installer_status="$(service dokku-installer status 2>/dev/null || true)"
if echo $installer_status | grep -Eq "(inactive|waiting)" >/dev/null; then
echo "Starting dokku-installer"
service dokku-installer start || echo "Unable to start dokku-installer"
fi
fi
}
dpkg-handling() {
db_get "dokku/web_config"
if [ "$RET" = "true" ]; then
db_stop
exit 0
fi
if [ -f "${DOKKU_ROOT}/VHOST" ]; then
echo "VHOST file detected, skipping modification"
else
@@ -130,12 +109,10 @@ dpkg-handling() {
db_get "dokku/hostname"
echo "Setting VHOST contents to $RET"
echo "$RET" >"${DOKKU_ROOT}/VHOST"
chown dokku:dokku "${DOKKU_ROOT}/VHOST"
fi
fi
db_get "dokku/hostname"
echo "$RET" >"${DOKKU_ROOT}/HOSTNAME"
if [ -z "${DEBCONF_RECONFIGURE}" ]; then
db_get "dokku/key_file"
if [ -f "$RET" ]; then
@@ -147,8 +124,7 @@ dpkg-handling() {
case "$1" in
abort-upgrade | abort-remove | abort-deconfigure) ;;
\
configure)
configure)
mandb
[ ! -x /usr/bin/docker.io ] || ln -sf /usr/bin/docker.io /usr/local/bin/docker
if [[ -f /sbin/modprobe ]]; then
@@ -157,10 +133,10 @@ case "$1" in
setup-user
setup-storage
dpkg-handling
setup-plugins
setup-sshcommand
setup-dokku-installer
dpkg-handling
;;
*)

1
debian/postrm vendored
View File

@@ -3,7 +3,6 @@ set -eo pipefail
[[ $TRACE ]] && set -x
if [[ -e /usr/share/debconf/confmodule ]]; then
# shellcheck disable=SC1091
. /usr/share/debconf/confmodule
fi

54
debian/preinst vendored
View File

@@ -3,59 +3,11 @@ set -eo pipefail
[[ $TRACE ]] && set -x
if [[ -e /usr/share/debconf/confmodule ]]; then
# shellcheck disable=SC1091
. /usr/share/debconf/confmodule
fi
setup_dokku_installer() {
NGINX_BASE_PATH="$1"
NGINX_INIT_NAME="$2"
NGINX_CONF="${NGINX_BASE_PATH}/conf.d/dokku-installer.conf"
rm -f $NGINX_CONF
touch $NGINX_CONF
{
echo 'upstream dokku-installer { server 127.0.0.1:2000; }'
echo 'server {'
echo ' listen 80;'
echo ' location / {'
echo ' proxy_pass http://dokku-installer;'
echo ' }'
echo '}'
} >>$NGINX_CONF
rm -f $NGINX_BASE_PATH/sites-enabled/*
DOKKU_DISTRO="$(
. /etc/os-release >/dev/null 2>&1 || true
echo "$ID"
)"
case "$DOKKU_DISTRO" in
debian)
/usr/sbin/invoke-rc.d "$NGINX_INIT_NAME" reload || /usr/sbin/invoke-rc.d "$NGINX_INIT_NAME" start
;;
ubuntu)
if [[ -x /usr/bin/sv ]]; then
/usr/bin/sv reload "$NGINX_INIT_NAME" || /usr/bin/sv start "$NGINX_INIT_NAME"
else
"/etc/init.d/$NGINX_INIT_NAME" reload || "/etc/init.d/$NGINX_INIT_NAME" start
fi
;;
esac
}
case "$1" in
install)
db_get "dokku/web_config"
if [ "$RET" = "true" ]; then
if [[ -x /usr/bin/openresty ]]; then
setup_dokku_installer "/usr/local/openresty/nginx/conf" "openresty"
else
setup_dokku_installer "/etc/nginx" "nginx"
fi
fi
db_get "dokku/skip_key_file"
if [ -z "${DEBCONF_RECONFIGURE}" ] && [ "$RET" != "true" ]; then
db_get "dokku/key_file"
@@ -69,11 +21,9 @@ case "$1" in
upgrade) ;;
\
abort-upgrade) ;;
abort-upgrade) ;;
\
*)
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;

5
debian/templates vendored
View File

@@ -1,8 +1,3 @@
Template: dokku/web_config
Description: Enable the web-based config page?
Type: boolean
Default: true
Template: dokku/vhost_enable
Description: Enable vhost-based deployments?
Type: boolean

View File

@@ -3,40 +3,65 @@ set -eo pipefail
log-info() {
declare desc="Log info formatter"
echo " $*" 1>&2
echo " $*" 1>&2
}
log-fail() {
declare desc="Log fail formatter"
echo "! $*" 1>&2
echo " ! $*" 1>&2
exit 1
}
log-warn() {
declare desc="Log fail formatter"
echo " ! $*" 1>&2
}
support-userns() {
chown 0:0 /usr/bin/sudo
chmod 4755 /usr/bin/sudo
chown 0:0 /usr/lib/sudo/sudoers.so
chown -R 0:0 /etc/sudoers
chown -R 0:0 /etc/sudoers.d
chown -R 0:0 /run/sshd
}
main() {
local NGINX_ROOT
support-userns
if [[ ! -d /mnt/dokku ]]; then
log-info "Creating missing /mnt/dokku"
mkdir -p /mnt/dokku
fi
directories=("/etc/ssh" "/home/dokku" "/var/lib/dokku/config" "/var/lib/dokku/data")
directories=("/etc/ssh" "/home/dokku" "/var/lib/dokku/config" "/var/lib/dokku/data" "/var/lib/dokku/services")
for dir in "${directories[@]}"; do
if [[ ! -e "$dir" ]]; then
log-info "Copying ${dir} skel into place"
mkdir -p "/mnt/dokku${dir}"
rsync -a "/skel${dir}/" "${dir}/" || log-fail "Unable to copy ${dir} skel into place"
if [[ -d "/skel${dir}" ]]; then
rsync -a "/skel${dir}/" "${dir}/" || log-fail "Unable to copy ${dir} skel into place"
fi
fi
# chown mount directories to "dokku:dokku"
if [[ "$dir" != "/etc/ssh" ]]; then
if [[ "$dir" == "/var/lib/dokku/services" ]]; then
chown dokku:dokku /var/lib/dokku/services
elif [[ "$dir" != "/etc/ssh" ]]; then
find "$dir" -print0 | xargs -0 chown -h dokku:dokku
fi
done
if [[ -f /mnt/dokku/plugin-list ]]; then
while read line; do
dokku plugin:install "$(echo "$line" | awk '{print $2}')" "$(echo "$line" | cut -d':' -f1)"
local plugin_name="$(echo "$line" | awk -F: '{print $1}')"
if dokku plugin:installed "$plugin_name"; then
log-warn "Skipping already installed plugin: $plugin_name"
else
dokku plugin:install "$(echo "$line" | awk -F': ' '{print $2}')" --name "$plugin_name"
fi
done </mnt/dokku/plugin-list
fi
@@ -51,6 +76,12 @@ main() {
echo "export DOCKER_BIN=/usr/local/bin/docker" >"/home/dokku/.dokkurc/DOCKER_BIN"
fi
if [[ -n "$DOKKU_HOST_ROOT" ]]; then
touch /etc/default/dokku
echo "export DOKKU_HOST_ROOT=$DOKKU_HOST_ROOT" >>/etc/default/dokku
chown dokku:dokku /etc/default/dokku
fi
NGINX_ROOT="/etc/nginx"
if [[ -x /usr/bin/openresty ]]; then
NGINX_ROOT="/usr/local/openresty/nginx/conf"

View File

@@ -1 +1 @@
dokku ALL=NOPASSWD:SETENV:/usr/bin/docker,/usr/bin/docker-image-labeler
dokku ALL=NOPASSWD:SETENV:/usr/bin/docker,/usr/bin/docker-container-healthchecker,/usr/bin/docker-image-labeler,/usr/bin/pack,/usr/bin/crontab

20
docker/usr/local/bin/pack Executable file
View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -eo pipefail
[[ $TRACE ]] && set -x
main() {
declare desc="re-runs pack commands as sudo"
local PACK_BIN=""
if [[ -x "/usr/bin/pack" ]]; then
PACK_BIN="/usr/bin/pack"
fi
if [[ -z "$PACK_BIN" ]]; then
echo "! No pack binary found" 1>&2
exit 1
fi
sudo -E "$PACK_BIN" "$@"
}
main "$@"

19
docs.mk Normal file
View File

@@ -0,0 +1,19 @@
.PHONY: docs-build-image
docs-build-image:
docker build -f docs/_build/Dockerfile --progress plain -t app/mkdocs .
.PHONY: docs-build
docs-build:
@docker run --rm -p 3487:3487 -v "$(PWD):/usr/src/source" --name docs-serve app/mkdocs build
.PHONY: docs-serve
docs-serve:
docker run --rm -p 3487:3487 -v "$(PWD):/usr/src/source" --name docs-serve app/mkdocs serve
.PHONY: docs-deps
docs-deps:
@docker run --rm -p 3487:3487 -v "$(PWD):/usr/src/app" app/mkdocs deps
.PHONY: docs-enter
docs-enter:
docker exec -it docs-serve bash

12
docs/_build/Dockerfile vendored Normal file
View File

@@ -0,0 +1,12 @@
FROM python:3.12.0-alpine
WORKDIR /usr/src/app
COPY docs/_build/requirements.txt .
RUN apk add --no-cache bash build-base yaml && \
pip install --no-cache-dir -r requirements.txt
COPY docs/_build/entrypoint /bin/entrypoint
ENTRYPOINT [ "/bin/entrypoint" ]

26
docs/_build/app-nginx.conf.sigil vendored Normal file
View File

@@ -0,0 +1,26 @@
worker_processes 1;
error_log stderr;
pid nginx.pid;
daemon off;
events {
worker_connections 768;
}
http {
types_hash_max_size 2048;
include mime.types;
charset UTF-8;
server {
listen {{ $.PORT }};
server_name _;
root /app/www;
index index.html;
port_in_redirect off;
include /app/www/nginx.conf.d/*.conf;
location / {
try_files $uri $uri/ =404;
}
}
}

37
docs/_build/entrypoint vendored Executable file
View File

@@ -0,0 +1,37 @@
#!/usr/bin/env bash
set -eo pipefail
write-mkdocs() {
if [[ -f /usr/src/source/contrib/write-mkdocs ]]; then
if ! python /usr/src/source/contrib/write-mkdocs; then
exit 0
fi
fi
}
main() {
declare CMD="$1" ARGS=("${@:2}")
if [[ "$CMD" == "build" ]]; then
write-mkdocs
echo "----> Executing mkdocs build"
mkdocs build
site_dir="$(grep site_dir mkdocs.yml | awk '{print $2}')"
cp -r "/usr/src/app/${site_dir}" "/usr/src/source/${site_dir}"
return $?
fi
if [[ "$CMD" == "deps" ]]; then
exec pip freeze
fi
if [[ "$CMD" == "serve" ]]; then
write-mkdocs
exec mkdocs serve -a 0.0.0.0:3487
fi
exec "$CMD" "${ARGS[@]}"
}
main "$@"

23
docs/_build/requirements.txt vendored Normal file
View File

@@ -0,0 +1,23 @@
beautifulsoup4==4.12.2
click==8.1.7
ghp-import==2.1.0
importlib-metadata==6.8.0
Jinja2==3.1.2
Markdown>=3.2.1,<3.6
MarkupSafe==2.1.3
mergedeep==1.3.4
mkdocs==1.5.3
mkdocs-exclude==1.0.2
mkdocs-material==9.4.6
mkdocs-material-extensions==1.3
packaging==23.2
Pygments==2.16.1
pymdown-extensions==10.3.1
pyparsing==3.1.1
python-dateutil==2.8.2
PyYAML==6.0.1
pyyaml_env_tag==0.1
six==1.16.0
soupsieve==2.5
watchdog==3.0.0
zipp==3.17.0

56
docs/_overrides/main.html Normal file
View File

@@ -0,0 +1,56 @@
<!--
Copyright (c) 2016-2022 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
-->
{% extends "base.html" %}
<!-- Custom front matter -->
{% block extrahead %}
<!-- Extra style sheets (can't be set in mkdocs.yml due to content hash) -->
<link
rel="stylesheet"
href="{{ 'overrides/assets/stylesheets/main.css' | url }}"
/>
{% endblock %}
<!-- Announcement bar -->
{% block announce %}
<a href="https://twitter.com/dokku">
For updates follow <strong>@dokku</strong> on
<span class="twemoji twitter">
{% include ".icons/fontawesome/brands/twitter.svg" %}
</span>
<strong>Twitter</strong>
</a>
{% endblock %}
<!-- Theme-related JavaScript -->
{% block scripts %}
{{ super() }}
<!-- Extra JavaScript (can't be set in mkdocs.yml due to content hash) -->
<script src="{{ 'overrides/assets/javascripts/bundle.js' | url }}"></script>
{% endblock %}
{% block outdated %}
You're not viewing the latest version.
<a href="{{ page.abs_url }}">
<strong>Click here to go to latest.</strong>
</a>
{% endblock %}

View File

@@ -6,7 +6,8 @@ The best plan for disaster recovery is to always keep multiple (remote) copies o
## TLDR
> Warning: This method has many caveats. Please read this entire document before assuming these backups work as expected, and test your backups on a regular basis.
> [!WARNING]
> This method has many caveats. Please read this entire document before assuming these backups work as expected, and test your backups on a regular basis.
### Creating a backup
@@ -32,7 +33,7 @@ To extract the backup onto another server, copy the backup to the server and ext
sudo tar -xzvf path/to/dokku/backup.tar.gz -C /
```
At this point, all datastores should be individually started and checked for data integrity. Once this is complete, individual applications can be rebuilt. Please consult the [process management documentation](/docs/processes/process-management.md#rebuilding-apps) for more information on how to rebuild applications.
At this point, all datastores should be individually started and checked for data integrity. Once this is complete, individual apps can be rebuilt. Please consult the [process management documentation](/docs/processes/process-management.md#rebuilding-apps) for more information on how to rebuild apps.
## Caveats
@@ -56,9 +57,15 @@ git remote add dokku dokku@[dokku.me:dokku.me]
git push dokku [master]
```
### Docker Networks
Docker networks generated by Dokku should be recreated. Running `dokku network:report` will output all networks in use by various apps, which can then be used to recreate them via `dokku network:create $NETWORK`.
Networks created by tools other than Dokku may be created as they initially were.
### Docker Image and Tar-based Apps
These applications may fail to rebuild via the normal `ps:rebuild` method. Redeploy these apps by running the original commands used to deploy them
These apps may fail to rebuild via the normal `ps:rebuild` method. Redeploy these apps by running the original commands used to deploy them
### Datastores
@@ -81,14 +88,13 @@ The plugin directory is contained at the `/var/lib/dokku/plugins` directory. Cor
Note that restoring a plugin will not trigger any `install` or `dependencies` triggers. You will need to run these manually. See the [plugin management documentation](/docs/advanced-usage/plugin-management.md#installing-a-plugin) for more information on how to trigger these two hooks.
### Volumes and Static Assets
Dokku doesn't enforce a [300mb](https://devcenter.heroku.com/articles/slug-compiler#slug-size) limit on apps, but it's best practice to keep binary assets outside of git. Since containers are considered volatile in Dokku, external stores like s3 or storage mounts should be used for non-volatile items like user uploads. The Dokku storage core plugin can be used to mount local directories / volumes inside the docker container.
System administrators are highly encouraged to store persistent data in app-specific subdirectories of the path `/var/lib/dokku/data/storage`. This will help ensure restores of the aforementioned primary Dokku directories will restore service to all apps.
See the [persistent storage documentation](/docs/advanced-usage/persistent-storage.md) for more information on how to attach persistent storage to your application.
See the [persistent storage documentation](/docs/advanced-usage/persistent-storage.md) for more information on how to attach persistent storage to your app.
## Recovering app code

View File

@@ -1,12 +1,17 @@
# Deployment Tasks
> [!IMPORTANT]
> New as of 0.5.0
## Usage
### Overview
Sometimes you need to run a command on deployment time, but before an app is completely deployed. Common use cases include:
* Checking a database is initialized
* Running database migrations
* Any commands required to set up the server (e.g. something like a Django `collectstatic`)
- Checking a database is initialized
- Running database migrations
- Any commands required to set up the server (e.g. something like a Django `collectstatic`)
To support this, Dokku provides support for a special `release` command within your app's `Procfile`, as well as a special `scripts.dokku` key inside of your app's `app.json` file. Be aware that all commands are run within the context of the built docker image - no commands affect the host unless there are volume mounts attached to your app.
@@ -49,17 +54,95 @@ Please keep the above in mind when utilizing deployment tasks.
> To execute commands on the host during a release phase, see the [plugin creation documentation](/docs/development/plugin-creation.md) docs for more information on building your own custom plugin.
## `app.json` deployment tasks
### Changing the `app.json` location
When deploying a monorepo, it may be desirable to specify the specific path of the `app.json` file to use for a given app. This can be done via the `app-json:set` command. If a value is specified and that file does not exist within the repository, Dokku will continue the build process as if the repository has no `app.json` file.
For deploys via the `git:from-image` and `git:load-image` commands, the `app.json` is extracted from the configured `WORKDIR` property of the image. For all other deploys - git push, `git:from-archive`, `git:sync` - will have the `app.json` extracted directly from the source code. Both cases will respect the configured `appjson-path` property value.
```shell
dokku app-json:set node-js-app appjson-path .dokku/app.json
```
The default value may be set by passing an empty value for the option:
```shell
dokku app-json:set node-js-app appjson-path
```
The `appjson-path` property can also be set globally. The global default is `app.json`, and the global value is used when no app-specific value is set.
```shell
dokku app-json:set --global appjson-path global-app.json
```
The default value may be set by passing an empty value for the option.
```shell
dokku app-json:set --global appjson-path
```
### Displaying app-json reports for an app
> [!IMPORTANT]
> New as of 0.25.0
You can get a report about the app's storage status using the `app-json:report` command:
```shell
dokku app-json:report
```
```
=====> node-js-app app-json information
App-json computed appjson path: app2.json
App-json global appjson path: app.json
App-json appjson path: app2.json
=====> python-sample app-json information
App-json computed appjson path: app.json
App-json global appjson path: app.json
App-json appjson path:
=====> ruby-sample app-json information
App-json computed appjson path: app.json
App-json global appjson path: app.json
App-json appjson path:
```
You can run the command for a specific app also.
```shell
dokku app-json:report node-js-app
```
```
=====> node-js-app app-json information
App-json computed appjson path: app2.json
App-json global appjson path: app.json
App-json appjson path: app2.json
```
You can pass flags which will output only the value of the specific information you want. For example:
```shell
dokku app-json:report node-js-app --app-json-appjson-path
```
```
app2.json
```
### Deployment tasks
#### `app.json` deployment tasks
Dokku provides limited support for the `app.json` manifest from Heroku (documentation available [here](https://devcenter.heroku.com/articles/app-json-schema)). The keys available for use with Deployment Tasks are:
- `scripts.dokku.predeploy`: This is run _after_ an app's docker image is built, but _before_ any containers are scheduled. Changes made to your image are committed at this phase.
- `scripts.dokku.postdeploy`: This is run _after_ an app's containers are scheduled. Changes made to your image are *not* committed at this phase.
- `scripts.postdeploy`: This is run _after_ an app's containers are scheduled. Changes made to your image are *not* committed at this phase.
- `scripts.dokku.postdeploy`: This is run _after_ an app's containers are scheduled. Changes made to your image are _not_ committed at this phase.
- `scripts.postdeploy`: This is run _after_ an app's containers are scheduled. Changes made to your image are _not_ committed at this phase.
For buildpack-based deployments, the location of the `app.json` file should be at the root of your repository. Dockerfile-based app deploys should have the `app.json` in the configured `WORKDIR` directory; otherwise Dokku defaults to the buildpack app behavior of looking in `/app`.
> Warning: Any failed `app.json` deployment task will fail the deploy. In the case of either phase, a failure will not affect any running containers.
> [!WARNING]
> Any failed `app.json` deployment task will fail the deploy. In the case of either phase, a failure will not affect any running containers.
The following is an example `app.json` file. Please note that only the `scripts.dokku.predeploy` and `scripts.dokku.postdeploy` tasks are supported by Dokku at this time. All other fields will be ignored and can be omitted.
@@ -75,8 +158,9 @@ The following is an example `app.json` file. Please note that only the `scripts.
}
```
## Procfile Release command
#### Procfile Release command
> [!IMPORTANT]
> New as of 0.14.0
The `Procfile` also supports a special `release` command which acts in a similar way to the [Heroku Release Phase](https://devcenter.heroku.com/articles/release-phase). This command is executed _after_ an app's docker image is built, but _before_ any containers are scheduled. This is also run _after_ any command executed by `scripts.dokku.predeploy`.
@@ -87,6 +171,7 @@ To use the `release` command, simply add a `release` stanza to your Procfile.
release: curl https://some.external.api.service.com/deployment?state=built
```
Unlike the `scripts.dokku.predeploy` command, changes made during by the `release` command are *not* persisted to disk.
Unlike the `scripts.dokku.predeploy` command, changes made during by the `release` command are _not_ persisted to disk.
> Warning: scaling the release command up will likely result in unspecified issues within your deployment, and is highly discouraged.
> [!WARNING]
> scaling the release command up will likely result in unspecified issues within your deployment, and is highly discouraged.

View File

@@ -1,8 +1,9 @@
# Docker Container Options
> [!IMPORTANT]
> New as of 0.3.17
Pass [options](https://docs.docker.com/engine/reference/run/) to Docker during Dokku's `build`, `deploy` and `run` phases
Pass [container options](https://docs.docker.com/engine/reference/run/) to the `docker run` command during Dokku's `build`, `deploy` and `run` phases
```
docker-options:add <app> <phase(s)> OPTION # Add Docker option to app for phase (comma-separated phase list)
@@ -27,7 +28,9 @@ Dokku deploys your application in multiple "phases" and the `docker-options` plu
Manipulation of docker options will not restart running containers. This enables multiple options to be set/unset before final application. As such, changing an app's docker options must be followed by a `dokku ps:rebuild` in order to take effect.
More information on supported Docker options can be found here: https://docs.docker.com/engine/reference/commandline/run/.
More information on supported Docker options can be found [here](https://docs.docker.com/engine/reference/commandline/run/).
Container options configured via the `docker-options` plugin are not used to modify the process a container runs. Container options are the `[OPTIONS]` portion of the following, where `[CONTAINER_COMMAND]` and `[ARG]` are the process and the arguments passed to it that are launched in the created container: `docker run [OPTIONS] [CONTAINER_COMMAND] [ARG...]`. Please see the documentation for [customizing the run command](/docs/deployment/builders/dockerfiles.md#customizing-the-run-command) or use a [Procfile](/docs/deployment/builders/dockerfiles.md#procfiles-and-multiple-processes) to modify the command used by a Dockerfile-based container.
## Examples
@@ -41,7 +44,8 @@ dokku docker-options:add node-js-app deploy "-v /var/log/node-js-app:/app/logs"
dokku docker-options:add node-js-app run "-v /var/log/node-js-app:/app/logs"
```
> Note: When [mounting a host directory](https://docs.docker.com/engine/reference/run/#volume-shared-filesystems) in a Dokku app you should first create that directory as user `dokku` and then mount the directory under `/app` in the container using `docker-options` as above. Otherwise the app will lack write permission in the directory.
> [!NOTE]
> When [mounting a host directory](https://docs.docker.com/engine/reference/run/#volume-shared-filesystems) in a Dokku app you should first create that directory as user `dokku` and then mount the directory under `/app` in the container using `docker-options` as above. Otherwise the app will lack write permission in the directory.
### Remove a Docker option
@@ -82,6 +86,7 @@ dokku docker-options:clear node-js-app build,run
### Displaying docker-options reports for an app
> [!IMPORTANT]
> New as of 0.8.1
You can get a report about the app's docker-options status using the `docker-options:report` command:

View File

@@ -1,5 +1,6 @@
# Dokku Event Logs
> [!IMPORTANT]
> New as of 0.3.21
Docker provides an _events_ command to show system's real time events. Likewise, Dokku can record events as syslog entries and also provides a plugin to display the last ones.
@@ -33,7 +34,6 @@ dokku events
Jul 3 16:09:48 dokku.me dokku[127630]: INVOKED: pre-release-buildpack( pythonapp )
Jul 3 16:10:02 dokku.me dokku[128095]: INVOKED: docker-args-run( rubyapp )
Jul 3 16:10:02 dokku.me dokku[128114]: INVOKED: docker-args-run( nhl )
Jul 3 16:10:03 dokku.me dokku[128136]: INVOKED: post-release-buildpack( pythonapp )
Jul 3 16:10:03 dokku.me dokku[128195]: INVOKED: pre-deploy( pythonapp )
Jul 3 16:10:23 dokku.me dokku[129253]: INVOKED: docker-args-deploy( pythonapp )
Jul 3 16:10:24 dokku.me dokku[129451]: INVOKED: check-deploy( pythonapp 6274ced0d4be11af4490cd18abaf77cdd593f025133f403d984e80d86a39acec web 5000 10.0.16.80 )
@@ -68,8 +68,6 @@ post-build-dockerfile
post-delete
post-deploy
post-domains-update
post-release-buildpack
post-release-dockerfile
pre-build-buildpack
pre-build-dockerfile
pre-delete
@@ -78,4 +76,4 @@ pre-release-buildpack
pre-release-dockerfile
receive-app
update
```
```

View File

@@ -1,15 +1,16 @@
# Persistent Storage
> [!IMPORTANT]
> New as of 0.5.0
The preferred method to mount external containers to a Dokku managed container, is to use the Dokku storage plugin.
```
storage:list <app> # List bind mounts for app's container(s) (host:container)
storage:mount <app> <host-dir:container-dir> # Create a new bind mount
storage:report [<app>] [<flag>] # Displays a checks report for one or more apps
storage:unmount <app> <host-dir:container-dir> # Remove an existing bind mount
storage:ensure-directory [--chown option] <directory> # Creates a persistent storage directory in the recommended storage path
storage:list <app> [--format text|json] # List bind mounts for app's container(s) (host:container)
storage:mount <app> <host-dir:container-dir> # Create a new bind mount
storage:report [<app>] [<flag>] # Displays a checks report for one or more apps
storage:unmount <app> <host-dir:container-dir> # Remove an existing bind mount
```
> The storage plugin is compatible with storage mounts created with the docker-options. The storage plugin will only list mounts from the deploy/run phase.
@@ -21,53 +22,112 @@ The storage plugin supports the following mount points:
## Usage
This example demonstrates how to mount the recommended directory to `/storage` inside an application called `node-js-app`. For simplicity, the Dokku project recommends using the directory `/var/lib/dokku/data/storage` directory as the root host path for mounts. This directory is created on Dokku installation.
### Listing persistent storage
Persistent storage bind mounts are specified on a per-app basis, and can be listed with the `storage:list` command:
```shell
# we use a subdirectory inside of the host directory to scope it to just the app
dokku storage:mount node-js-app /var/lib/dokku/data/storage/node-js-app:/storage
dokku storage:list node-js-app
```
Dokku will then mount the shared contents of `/var/lib/dokku/data/storage/node-js-app` to `/storage` inside the container. Mounts are only available for containers crated via `run` and by the deploy process, and not during the build process. In addition, the host path is never auto-created by either Dokku or Docker, and should be an explicit path, not one relative to the current working directory.
```
-----> node-js-app volume bind-mounts:
/var/lib/dokku/data/storage/node-js-app:/app/storage
```
> If the `/storage` path within the container had pre-existing content, the container files will be overrwritten. This may be an issue for users that create assets at build time but then mount a directory at the same place during runtime. Files are not merged.
The output format can also be set to `json` for programmatic access:
Once you have mounted persistent storage, you will also need to restart the application. See the
[process scaling documentation](/docs/processes/process-management.md) for more information.
```shell
dokku storage:list node-js-app --format json
```
```
[
{
"host_path": "/var/lib/dokku/data/storage/node-js-app",
"container_path": "/app/storage",
"volume_options": ""
}
]
```
### Creating storage directories
> [!IMPORTANT]
> New as of 0.25.5
A storage directory can be created with the `storage:ensure-directory` command. This command will create a subdirectory in the recommended `/var/lib/dokku/data/storage` path - created during Dokku installation - and prepare it for use with an app.
```shell
dokku storage:ensure-directory node-js-app
```
```
-----> Ensuring /var/lib/dokku/data/storage/node-js-app exists
Setting directory ownership to 32767:32767
Directory ready for mounting
```
By default, permissions are set for usage with Herokuish buildpacks. These permissions can be changed via the `--chown` option according to the following table:
- `--chown herokuish` (default): Use `32767:32767` as the folder permissions.
- This is used for apps deployed with Buildpacks via Herokuish.
- `--chown heroku`: Use `1000:1000` as the folder permissions.
- This is used for apps deployed with Cloud Native Buildpacks using the `heroku/buildpacks` builder.
- `--chown packeto`: Use `2000:2000` as the folder permissions.
- This is used for apps deployed with Cloud Native Buildpacks using the `cloudfoundry/cnb` or `packeto` builders.
- `--chown false`: Skips the `chown` call.
Users deploying via Dockerfile will want to specify `--chown false` and manually `chown` the created directory if the user and/or group id of the runnning process in the deployed container do not correspond to any of the above options.
> [!WARNING]
> Failing to set the correct directory ownership may result in issues in persisting files written to the mounted storage directory.
### Mounting storage into apps
Dokku supports mounting both explicit host paths as well as docker volumes via the `storage:mount` command. This takes two arguments, an app name and a `host-path:container-path` or `docker-volume:container-path` combination.
```shell
# mount the directory into your container's /app/storage directory, relative to the container root (/)
# explicit host paths _must_ exist prior to usage.
dokku storage:mount node-js-app /var/lib/dokku/data/storage/node-js-app:/app/storage
# mount the docker volume into your container's /app/storage directory, relative to the container root (/)
# docker volumes _must_ exist prior to usage.
dokku storage:mount node-js-app some-docker-volume:/app/storage
```
In the first example, Dokku will then mount the shared contents of `/var/lib/dokku/data/storage/node-js-app` to `/app/storage` inside the container. The mount point is *not* relative to your app's working directory, and is instead relative to the root (`/`) of the container. Mounts are only available for containers created via `run` and by the deploy process, and not during the build process. In addition, the host path is never auto-created by either Dokku or Docker, and should be an explicit path, not one relative to the current working directory.
> If the `/storage` path within the container had pre-existing content, the container files will be over-written. This may be an issue for users that create assets at build time but then mount a directory at the same place during runtime. Files are not merged.
Once persistent storage is mounted, the app requires a restart. See the [process scaling documentation](/docs/processes/process-management.md) for more information.
```shell
dokku ps:restart app-name
```
A more complete workflow may require making a custom directory for your application and mounting it within your `/app/storage` directory instead. The mount point is *not* relative to your application's working directory, and is instead relative to the root (`/`) of the container.
### Unmounting storage
If an app no longer requires a mounted volume or directory, the `storage:unmount` command can be called. This takes the same arguments as the `storage:mount` command, an app name and a `host-path:container-path` or `docker-volume:container-path` combination.
```shell
# creating storage for the app 'node-js-app'
mkdir -p /var/lib/dokku/data/storage/node-js-app
# unmount the directory from your container's /app/storage directory, relative to the container root (/)
dokku storage:unmount node-js-app /var/lib/dokku/data/storage/node-js-app:/app/storage
# set the directory ownership. Below is an example for herokuish
# but see the `Directory Permissions` section for more details
chown -R 32767:32767 /var/lib/dokku/data/storage/node-js-app
# mount the directory into your container's /app/storage directory, relative to root
dokku storage:mount app-name /var/lib/dokku/data/storage/node-js-app:/app/storage
# unmount the docker volume from your container's /app/storage directory, relative to the container root (/)
dokku storage:unmount node-js-app some-docker-volume:/app/storage
```
You can mount one or more directories as desired by following the above pattern.
Once persistent storage is unmounted, the app requires a restart. See the [process scaling documentation](/docs/processes/process-management.md) for more information.
### Directory Permissions
The host directory should always be owned by the container user and group id. If this is not the case, files may not persist when written to mounted storage.
- Buildpacks via Herokuish: Use `32767:32767` as the file permissions
- For Cloud Native Buildpacks: This will depend on the builder in question, but can be retrieved via the `CNB_USER_ID` and `CNB_GROUP_ID` environment variables on the builder image. Common builders are as follows:
- heroku/buildpacks: `1000:1000`
- cloudfoundry/cnb: `2000:2000`
- packeto: `2000:2000`
- Dockerfile and Docker Image: Use the user and group id which corresponds to the one running the process within the container.
```shell
dokku ps:restart app-name
```
### Displaying storage reports for an app
> [!IMPORTANT]
> New as of 0.8.1
You can get a report about the app's storage status using the `storage:report` command:
@@ -112,9 +172,9 @@ dokku storage:report node-js-app --storage-deploy-mounts
## Use Cases
### Persistent storage
### Sharing storage across deploys
Dokku is powered by Docker containers, which recommends in their [best practices](https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#containers-should-be-ephemeral) that containers be treated as ephemeral. In order to manage persistent storage for web applications, like user uploads or large binary assets like images, a directory outside the container should be mounted.
Dokku is powered by Docker containers, which recommends in their [best practices](https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#containers-should-be-ephemeral) that containers be treated as ephemeral. In order to manage persistent storage for web apps, like user uploads or large binary assets like images, a directory outside the container should be mounted.
### Shared storage between containers
@@ -138,14 +198,17 @@ dokku docker-options:add node-js-app build "-v /tmp/python-test:/opt/test"
You cannot use mounted volumes during the build phase of a Dockerfile deploy. This is because Docker does not support volumes when executing `docker build`.
> Note: **This can cause data loss** if you bind a mount under `/app` in buildpack apps as herokuish will attempt to remove the original app path during the build phase.
> [!WARNING]
> **This can cause data loss** if you bind a mount under `/app` in buildpack apps as herokuish will attempt to remove the original app path during the build phase.
## Application User and Persistent Storage file ownership (buildpack apps only)
## App User and Persistent Storage file ownership (buildpack apps only)
> [!IMPORTANT]
> New as of 0.7.1
By default, Dokku will execute your buildpack application processes as the `herokuishuser` user. You may override this by setting the `DOKKU_APP_USER` config variable.
By default, Dokku will execute your buildpack app processes as the `herokuishuser` user. You may override this by setting the `DOKKU_APP_USER` config variable.
> NOTE: this user must exist in your herokuish image.
> [!NOTE]
> this user must exist in your herokuish image.
Additionally, the default `docker-local` scheduler that comes with Dokku will ensure your storage mounts are owned by either `herokuishuser` or the overridden value you have set in `DOKKU_APP_USER`. See the [docker-local scheduler documentation](/docs/advanced-usage/schedulers/docker-local.md#disabling-chown-of-persistent-storage) docs for more information.
Additionally, the default `docker-local` scheduler that comes with Dokku will ensure your storage mounts are owned by either `herokuishuser` or the overridden value you have set in `DOKKU_APP_USER`. See the [docker-local scheduler documentation](/docs/deployment/schedulers/docker-local.md#disabling-chown-of-persistent-storage) docs for more information.

View File

@@ -1,17 +1,18 @@
# Plugin Management
> [!IMPORTANT]
> New as of 0.4.0
```
plugin:disable <name> # Disable an installed plugin (third-party only)
plugin:enable <name> # Enable a previously disabled plugin
plugin:install [--core|git-url [--committish tag|branch|commit|--name custom-plugin-name]] # Optionally download git-url (with custom tag/committish) & run install trigger for active plugins (or only core ones)
plugin:install [--core|--git-url] [--committish branch|commit|tag] [--name custom-plugin-name] # Optionally download git-url (and pin to the specified branch/commit/tag) & run install trigger for active plugins (or only core ones)
plugin:installed <name> # Checks if a plugin is installed
plugin:install-dependencies [--core] # Run install-dependencies trigger for active plugins (or only core ones)
plugin:list # Print active plugins
plugin:trigger <args...>. # Trigger an arbitrary plugin hook
plugin:uninstall <name> # Uninstall a plugin (third-party only)
plugin:update [name [committish]] # Optionally update named plugin from git (with custom tag/committish) & run update trigger for active plugins
plugin:update [name [branch|commit|tag]] # Optionally update named plugin from git (and pin to the specified branch/commit/tag) & run update trigger for active plugins
```
```shell
@@ -35,38 +36,39 @@ dokku plugin:list
```
plugn: dev
00_dokku-standard 0.24.5 enabled dokku core standard plugin
20_events 0.24.5 enabled dokku core events logging plugin
app-json 0.24.5 enabled dokku core app-json plugin
apps 0.24.5 enabled dokku core apps plugin
build-env 0.24.5 enabled dokku core build-env plugin
buildpacks 0.24.5 enabled dokku core buildpacks plugin
certs 0.24.5 enabled dokku core certificate management plugin
checks 0.24.5 enabled dokku core checks plugin
common 0.24.5 enabled dokku core common plugin
config 0.24.5 enabled dokku core config plugin
docker-options 0.24.5 enabled dokku core docker-options plugin
domains 0.24.5 enabled dokku core domains plugin
enter 0.24.5 enabled dokku core enter plugin
git 0.24.5 enabled dokku core git plugin
logs 0.24.5 enabled dokku core logs plugin
network 0.24.5 enabled dokku core network plugin
nginx-vhosts 0.24.5 enabled dokku core nginx-vhosts plugin
plugin 0.24.5 enabled dokku core plugin plugin
proxy 0.24.5 enabled dokku core proxy plugin
ps 0.24.5 enabled dokku core ps plugin
repo 0.24.5 enabled dokku core repo plugin
resource 0.24.5 enabled dokku core resource plugin
scheduler-docker-local 0.24.5 enabled dokku core scheduler-docker-local plugin
shell 0.24.5 enabled dokku core shell plugin
ssh-keys 0.24.5 enabled dokku core ssh-keys plugin
storage 0.24.5 enabled dokku core storage plugin
tags 0.24.5 enabled dokku core tags plugin
tar 0.24.5 enabled dokku core tar plugin
trace 0.24.5 enabled dokku core trace plugin
00_dokku-standard 0.32.2 enabled dokku core standard plugin
20_events 0.32.2 enabled dokku core events logging plugin
app-json 0.32.2 enabled dokku core app-json plugin
apps 0.32.2 enabled dokku core apps plugin
build-env 0.32.2 enabled dokku core build-env plugin
buildpacks 0.32.2 enabled dokku core buildpacks plugin
certs 0.32.2 enabled dokku core certificate management plugin
checks 0.32.2 enabled dokku core checks plugin
common 0.32.2 enabled dokku core common plugin
config 0.32.2 enabled dokku core config plugin
docker-options 0.32.2 enabled dokku core docker-options plugin
domains 0.32.2 enabled dokku core domains plugin
enter 0.32.2 enabled dokku core enter plugin
git 0.32.2 enabled dokku core git plugin
logs 0.32.2 enabled dokku core logs plugin
network 0.32.2 enabled dokku core network plugin
nginx-vhosts 0.32.2 enabled dokku core nginx-vhosts plugin
plugin 0.32.2 enabled dokku core plugin plugin
proxy 0.32.2 enabled dokku core proxy plugin
ps 0.32.2 enabled dokku core ps plugin
repo 0.32.2 enabled dokku core repo plugin
resource 0.32.2 enabled dokku core resource plugin
scheduler-docker-local 0.32.2 enabled dokku core scheduler-docker-local plugin
shell 0.32.2 enabled dokku core shell plugin
ssh-keys 0.32.2 enabled dokku core ssh-keys plugin
storage 0.32.2 enabled dokku core storage plugin
tags 0.32.2 enabled dokku core tags plugin
tar 0.32.2 enabled dokku core tar plugin
trace 0.32.2 enabled dokku core trace plugin
```
> Warning: All plugin commands other than `plugin:list` and `plugin:help` require sudo access and must be run directly from the Dokku server.
> [!WARNING]
> All plugin commands other than `plugin:list` and `plugin:help` require sudo access and must be run directly from the Dokku server.
### Checking if a plugin is installed
@@ -78,6 +80,9 @@ dokku plugin:installed postgres
### Installing a plugin
> [!NOTE]
> Plugins installed in this method within a [docker-based installation](/docs/getting-started/install/docker.md) of Dokku do not persist across installs. Please see the [plugin installation section](/docs/getting-started/install/docker.md#plugin-installation) of the docker-based installation docs for further details.
Installing a plugin is easy as well using the `plugin:install` command. This command will also trigger the `install` pluginhook on all existing plugins.
The most common usage is to install a plugin from a url. This url may be any of the following:
@@ -163,6 +168,12 @@ An optional commit SHA-like object may be specified.
dokku plugin:update postgres 2.0.0
```
Any future invocation of `plugin:update` will respect the previously specified SHA-like object. To follow a particular branch again, specify that branch:
```shell
dokku plugin:update postgres main
```
### Uninstalling a plugin
Third party plugins can be uninstalled using the `plugin:uninstall` command:

View File

@@ -0,0 +1,127 @@
# Registry Management
> [!IMPORTANT]
> New as of 0.25.0
```
registry:login [--password-stdin] <server> <username> [<password>] # Login to a docker registry
registry:report [<app>] [<flag>] # Displays a registry report for one or more apps
registry:set <app> <key> (<value>) # Set or clear a registry property for an app
```
The registry plugin enables interacting with remote registries, which is useful when either deploying images via `git:from-image` or when interacting with custom schedulers to deploy built image artifacts.
## Usage
### Logging into a registry
The `registry:login` command can be used to log into a docker registry. The following are examples for logging into various common registries:
```shell
# hub.docker.com
dokku registry:login docker.io $USERNAME $PASSWORD
# digitalocean
# the username and password are both defined as the same api token
dokku registry:login registry.digitalocean.com $DIGITALOCEAN_API_TOKEN $DIGITALOCEAN_API_TOKEN
# github container registry
# see the following link for information on retrieving a personal access token
# https://docs.github.com/en/packages/guides/pushing-and-pulling-docker-images#authenticating-to-github-container-registry
dokku registry:login ghcr.io $USERNAME $REGISTRY_PAT_TOKEN
# quay
# a robot user may be used to login
dokku registry:login quay.io $USERNAME $PASSWORD
```
For security reasons, the password may also be specified as stdin by specifying the `--password-stdin` flag. This is supported regardless of the registry being logged into.
```shell
echo "$PASSWORD" | dokku registry:login --password-stdin docker.io $USERNAME
```
For certain Docker registries - such as Amazon ECR or Google's GCR registries - users may instead wish to use a docker credential helper to automatically authenticate against a server; please see the documentation regarding the credential helper in question for further setup instructions.
### Setting a remote server
To specify a remote server registry for pushes, set the `server` property via the `registry:set` command. The default value for this property is empty string. Setting the value to `docker.io` or `hub.docker.com` will result in the computed value being empty string (as that is the default, implicit registry), while any non-zero length value will have a `/` appended to it if there is not one already.
```shell
dokku registry:set node-js-app server docker.io
```
This property can be set for a single app or globally via the `--global` flag. When set globally, the app-specific value will always overide the global value. The default global value for this property is empty string.
```shell
dokku registry:set --global server docker.io
```
Setting the property value to an empty string will reset the value to the system default. Resetting the value can be done per app or globally.
```shell
# per-app
dokku registry:set node-js-app server
# globally
dokku registry:set --global server
```
The following are the values that should be used for common remote servers:
- Amazon Elastic Container Registry:
- value: `$AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/`
- notes: The `$AWS_ACCOUNT_ID` and `$AWS_REGION` should match the values for your account and region, respectively. Additionally, an IAM profile that allows `push` access to the repository specified by `image-repo` should be attached to your Dokku server.
- Azure Container Registry:
- value `$REGISTRY_NAME.azurecr.io/`
- notes: The `$AKS_REGISTRY_NAME` should match the name of the registry created on your account.
- Docker Hub:
- value: `docker.io/`
- notes: Requires owning the namespace used in the `image-repo` value.
- Digitalocean:
- value: `registry.digitalocean.com/`
- notes: Requires setting the correct `image-repo` value for your registry.
- Github Container Registry:
- value: `ghcr.io/`
- notes: Requires that the authenticated user has access to the namespace used in the `image-repo` value.
- Quay.io:
- value: `quay.io/`
### Specifying an image repository name
By default, Dokku uses the value `dokku/$APP_NAME` as the image repository that is pushed and deployed. For certain registries, the `dokku` namespace may not be available to your user. In these cases, the value can be set by changing the value of the `image-repo` property via the `registry:set` command.
```shell
dokku registry:set node-js-app image-repo my-awesome-prefix/node-js-app
```
Setting the property value to an empty string will reset the value to the system default. Resetting the value has to be done per-app.
```shell
# per-app
dokku registry:set node-js-app push-on-release
```
### Pushing images on build
To push the image on release, set the `push-on-release` property to `true` via the `registry:set` command. The default value for this property is `false`. Setting the property to `true` will result in the image being tagged with an ID that is incremented with every release. This tag will be what is used for running app code.
```shell
dokku registry:set node-js-app push-on-release true
```
This property can be set for a single app or globally via the `--global` flag. When set globally, the app-specific value will always overide the global value. The default global value for this property is `false`.
```shell
dokku registry:set --global push-on-release true
```
Setting the property value to an empty string will reset the value to the system default. Resetting the value can be done per app or globally.
```shell
# per-app
dokku registry:set node-js-app push-on-release
# globally
dokku registry:set --global push-on-release
```

View File

@@ -1,5 +1,6 @@
# Repository Management
> [!IMPORTANT]
> New as of 0.6.0
```

View File

@@ -1,5 +1,6 @@
# Resource Management
> [!IMPORTANT]
> New as of 0.15.0
```
@@ -16,7 +17,8 @@ The resource plugin is meant to allow users to limit or reserve resources for a
By default, Dokku allows unlimited resource access to apps deployed on a server. In some cases, it may be desirable to limit this on a per-app or per-process-type basis. The `resource` plugin allows management of both resource "limits" and resource "reservations", where each resource request type has specific meaning to the scheduler in use for a given app.
> Warning: The meaning of a values and it's units are specific to the scheduler in use for a given app. If a value is incorrect for a scheduler, this may result in containers failing to start correctly. If a scheduler does not support a given resource type combination, it will be ignored. All resource commands require an app rebuild or deploy in order to take effect.
> [!WARNING]
> The meaning of a values and it's units are specific to the scheduler in use for a given app. If a value is incorrect for a scheduler, this may result in containers failing to start correctly. If a scheduler does not support a given resource type combination, it will be ignored. All resource commands require an app rebuild or deploy in order to take effect.
Valid resource options include:
@@ -28,7 +30,7 @@ Valid resource options include:
- `--network-egress`
- `--nvidia-gpu`
See the [Supported Resource Management Properties](/docs/advanced-usage/schedulers/docker-local.md#supported-resource-management-properties) section of the docker local scheduler documentation for more information on how each resource limit maps to Docker.
See the [Supported Resource Management Properties](/docs/deployment/schedulers/docker-local.md#supported-resource-management-properties) section of the docker local scheduler documentation for more information on how each resource limit maps to Docker.
Resource limits and reservations are applied only during the `run` and `deploy` phases of an application, and will not impact the `build` phase of an application.
@@ -103,7 +105,6 @@ dokku resource:limit node-js-app
This may also be combined with the `--process-type` flag to see app limits on a process-type level. Note that the displayed values are not merged with the defaults.
```shell
dokku resource:limit --process-type web node-js-app
```

View File

@@ -1,10 +0,0 @@
# Alternative Schedulers
In addition to the built-in [docker-local scheduler](/docs/advanced-usage/schedulers/docker-local.md), Dokku also supports two scheduler plugins:
- [Kubernetes](https://github.com/dokku/dokku-scheduler-kubernetes)
- [Nomad](https://github.com/dokku/dokku-scheduler-nomad)
These scheduler implementations may not be complete, though provide enough functionality for a user to get an app deployed via the underlying scheduler.
For users that require additional functionality, please refer to the [Sponsoring Documentation](https://github.com/dokku/.github/blob/master/SPONSORING.md).

View File

@@ -1,83 +0,0 @@
# Docker Local Scheduler
> Subcommands new as of 0.12.12
```
scheduler-docker-local:report [<app>] [<flag>] # Displays a scheduler-docker-local report for one or more apps
scheduler-docker-local:set <app> <key> (<value>) # Set or clear a scheduler-docker-local property for an app
```
> New as of 0.12.0
Dokku natively includes functionality to manage application lifecycles for a single server using the `scheduler-docker-local` plugin. It is the default scheduler, but as with all schedulers, it is set on a per-application basis. The scheduler can currently be overridden by running the following command:
```shell
dokku config:set node-js-app DOCKER_SCHEDULER=docker-local
```
As it is the default, unsetting the `DOCKER_SCHEDULER` config variable is also a valid way to reset the scheduler.
```shell
dokku config:unset node-js-app DOCKER_SCHEDULER
```
## Usage
### Disabling chown of persistent storage
The `scheduler-docker-local` plugin will ensure your storage mounts are owned by either `herokuishuser` or the overridden value you have set in `DOKKU_APP_USER`. You may disable this by running the following `scheduler-docker-local:set` command for your application:
```shell
dokku scheduler-docker-local:set node-js-app disable-chown true
```
Once set, you may re-enable it by setting a blank value for `disable-chown`:
```shell
dokku scheduler-docker-local:set node-js-app disable-chown
```
## Implemented Triggers
This plugin implements various functionality through `plugn` triggers to integrate with Docker for running apps on a single server. The following functionality is supported by the `scheduler-docker-local` plugin.
- `check-deploy`
- `core-post-deploy`
- `post-app-clone-setup`
- `post-app-rename-setup`
- `post-create`
- `post-delete`
- `pre-deploy`
- `pre-restore`
- `scheduler-app-status`
- `scheduler-deploy`
- `scheduler-docker-cleanup`
- `scheduler-inspect`
- `scheduler-is-deployed`
- `scheduler-logs`
- `scheduler-logs-failed`
- `scheduler-retire`
- `scheduler-run`
- `scheduler-stop`
- `scheduler-tags-create`
- `scheduler-tags-destroy`
## Supported Resource Management Properties
The `docker-local` scheduler supports a minimal list of resource _limits_ and _reservations_. The following properties are supported:
### Resource Limits
- cpu: (docker option: `--cpus`), is specified in number of CPUs a process can access.
- See the ["CPU" section](https://docs.docker.com/config/containers/resource_constraints/#cpu) of the Docker Runtime Options documentation for more information.
- memory: (docker option: `--memory`) should be specified with a suffix of `b` (bytes), `k` (kilobytes), `m` (megabytes), `g` (gigabytes).
- See the ["Memory" section](https://docs.docker.com/config/containers/resource_constraints/#memory) of the Docker Runtime Options documentation for more information.
- memory-swap: (docker option: `--memory-swap`) should be specified with a suffix of `b` (bytes), `k` (kilobytes), `m` (megabytes), `g` (gigabytes)
- See the ["Memory" section](https://docs.docker.com/config/containers/resource_constraints/#memory) of the Docker Runtime Options documentation for more information.
- nvidia-gpus: (docker option: `--gpus`), is specified in number of Nvidia GPUs a process can access.
- See the ["GPU" section](https://docs.docker.com/config/containers/resource_constraints/#gpu) of the Docker Runtime Options documentation for more information.
### Resource Reservations
- memory: (docker option: `--memory-reservation`) should be specified with a suffix of `b` (bytes), `k` (kilobytes), `m` (megabytes), `g` (gigabytes)
- See the ["Memory" section](https://docs.docker.com/config/containers/resource_constraints/#memory) of the Docker Runtime Options documentation for more information.

View File

@@ -4,10 +4,10 @@
By default, Dokku will ship a PCI Compliant nginx configuration. For developers whose users are on older browsers or mobile devices, you may need to ship a custom `nginx.conf.sigil` to enable ciphers for older browsers.
See the [nginx customization](/docs/configuration/nginx/#customizing-the-nginx-configuration) docs for more details.
See the [nginx customization](/docs/networking/proxies/nginx.md#customizing-the-nginx-configuration) docs for more details.
## Nginx Error Pages
We now ship with nicer error pages by default. You are free to customize your Dokku installation via a custom `nginx.conf.sigil` to change what error pages are displayed in different circumstances.
See the [nginx customization](/docs/configuration/nginx/#customizing-the-nginx-configuration) docs for more details.
See the [nginx customization](/docs/networking/proxies/nginx.md#customizing-the-nginx-configuration) docs for more details.

View File

@@ -50,7 +50,7 @@ Dokku will no longer distribute packages for Debian versions that are not `stabl
- Debian 7 (wheezy)
- Debian 8 (jessie)
### App report flags
### Removed App report flags
The `--git-sha` flag was moved from the `apps:report` command to the `git:report` command.

View File

@@ -8,7 +8,7 @@ The `tls` name is no longer a reserved app name, and can be used by applications
- `git#git_deploy_branch()` is deprecated in favor of `plugn trigger git-deploy-branch`.
- The `config` command is deprecated in favor of `config:show`.
- Usage of this command in conjunction with either the `--export` or `--shell` flag is deprecated in favor of `config:export --format` with the correct format value (`exports` or `shell`, respectively).
- Usage of this command in conjunction with either the `--export` or `--shell` flag is deprecated in favor of `config:export --format` with the correct format value (`exports` or `shell`, respectively).
- The `nginx:build-config` command is deprecated in favor of `proxy:build-config`.
## Removals

View File

@@ -0,0 +1,37 @@
# 0.25.0 Migration Guide
## Registry Plugin
The [dokku-registry](https://github.com/dokku/dokku-registry) plugin is now built-in. This comes with a few changes:
- Builder plugins should call `post-release-builder` at the end of the build.
- The `push` and `pull` command are not implemented. Users wishing to deploy a remote image should use `git:from-image`. Image pushing is not available at this time.
- At this time, remote docker repositories are not automatically created for AWS, and users must create those repositories for their applications as necessary. This may be implemented in the future.
- Docker images are only pushed when configured to do so. See the [registry management documentation](/docs/advanced-usage/registry-management.md) for more details.
Before upgrading, uninstall the registry plugin via `dokku plugin:uninstall registry`. Not doing so will cause issues with Dokku.
## Other
### Changes
- The network plugin can now set an `initial-network` for all containers on creation. This is a replacement for specifying the `--network` flag via the `docker-options` plugin. Please see the [network documentation](/docs/networking/network.md#attaching-an-app-to-a-network) for more information.
- The `dokku run` command now always removes the ephemeral container on exit. Users that need a persistent container should instead specify a `console` process type in their `Procfile` specifying an available shell (usually either `bash` or `sh`) and scale that container appropriately.
- The `pre-deploy` plugin trigger is now called internally by Dokku. Scheduler plugins should avoid calling this trigger, as any image changes introduced by subsequent trigger calls will be ignored.
- The default image used for Herokuish Buildpack builds is now `gliderlabs/herokuish:latest-20`, and is based on both the `heroku-20` stack as well as Ubuntu 20.04. Users that wish to stick with the old, `heroku-18`/Ubuntu 18.04 builder may specify `gliderlabs/herokuish:latest-18` as their builder image. Please see the [herokuish buildpack deployment documentation](/docs/deployment/builders/herokuish-buildpacks.md#customizing-the-buildpack-stack-builder) for more information on how to specify a custom buildpack stack builder.
- This change does not impact any users of Cloud Native Buildpacks.
- We fixed an issue that required extracting Procfiles at the beginning of a deploy. Due to this change, a `Dockerfile` app contains a `Procfile` that does not specify a `web` process will fail to start. Usage of a `Procfile` with _only_ a `release` command should be replaced with a `scripts.dokku.postdeploy` deployment task in the `app.json` file. The alternative is to define the `web` process in the `Procfile`. See the [deployment task documentation](/docs/advanced-usage/deployment-tasks.md) for more information.
### Deprecations
- In previous versions of Dokku, the only way to specify a custom `Dockerfile` was to use the `docker-options` plugin to set the `--file` flag for a docker build. As of 0.25.0, the `builder-dockerfile:set` command should be used instead, as outlined in the [docs here](/docs/deployment/builders/dockerfiles.md#changingthe-dockerfile-location). Usage of the old method should be migrated to the new method.
- The `--rm` and `--rm-container` flags may be specified but no longer have any effect on `dokku run`.
- The `--detach` flag is deprecated in favor of the `run:detached` command.
- The `DOKKU_SCALE` file is deprecated. Please see the [process management documentation](/docs/processes/process-management.md#manually-managing-process-scaling) for more information on it's replacement with the `formation` key of the `app.json` file.
- The hooks `post-release-buildpack`, `post-release-dockerfile`, and `post-release-pack` are deprecated in favor of `post-release-builder`. See the [plugin triggers documentation](https://dokku.com/docs/development/plugin-triggers/#post-release-builder) for more details.
## Removals
- As of April 2021, Ubuntu 16.04 is no longer an LTS release, and support has been removed. Packages may still install on older versions of Ubuntu, but are no longer tested, and therefore no support will be provided.
- The web installer has been removed. Users are now required to setup Dokku via cli commands. This change was made to combat potential security issues where users ignored the web installer, allowing unauthorized users to add their keys to the host.
- The `scheduler-docker-cleanup` plugin trigger has been removed from the scheduler interface, and is no longer invoked.

View File

@@ -0,0 +1,12 @@
# 0.26.0 Migration Guide
## Removals
- The `tags` plugin - deprecated in [0.24.0](/docs/appendices/0.24.0-migration-guide.md) - was removed. Users are highly encouraged to switch their workflows to `git:from-image`.
- The `tar` plugin - deprecated in [0.24.0](/docs/appendices/0.24.0-migration-guide.md) - was removed. Users are highly encouraged to switch their workflows to `git:from-archive`.
## Changes
- The `scheduler` plugin now controls the scheduler in use for deploys. Apps will have their `DOKKU_SCHEDULER` environment variables migrated to the scheduler plugin, after which that value will be removed from said app. Please see the [scheduler documentation](/docs/deployment/schedulers/scheduler-management.md) for more information.
- The `deploy-source` metadata from `apps:report` is now no longer computed on the fly, but hydrated at deploy time via the `deploy-source-set` trigger. This value may be empty until your next deploy.
- Additionally, the `deploy-source` trigger has now been removed.

View File

@@ -0,0 +1,14 @@
# 0.27.0 Migration Guide
## Changes
- Renaming an application will now only rename domains that are associated with global domains. As an example:
```shell
dokku domains:set-global dokku.me
dokku apps:create node-js-app
dokku domains:set node-js-app node-js-app.dokku.me node-js-app.dokku.com
dokku apps:rename node-js-app other-name
dokku domains:report node-js-app --domains-app-vhosts
# output: other-name.dokku.me node-js-app.dokku.com
```

View File

@@ -0,0 +1,25 @@
# 0.28.0 Migration Guide
## Removals
Support for the following operating systems has been removed:
- CentOS 7
- Debian 9 (Stretch)
- Fedora
- OpenSuse
Dokku will no longer provide packages for RPM based systems. Debian 9 users _may_ use new Debian packages, though support is not guaranteed.
All users are encouraged to install Dokku via the [Docker-based installation method](/docs/getting-started/install/docker.md), or switch to a supported operating system.
## Deprecations
Ubuntu 18.04 is now a deprecated installation target. The operating system will be considered EOL by Canonical in April 2023. Users are encouraged to upgrade to Ubuntu 22.04 or consider switching their instllation method to the [Docker-based installation method](/docs/getting-started/install/docker.md) to avoid any disruption in usage.
## Additions
New in 0.28.0 are the Caddy, Haproxy and Traefik plugins. As community plugins wrapping these proxies exist, users should:
- Recommended: Uninstall the community plugin in question and switch all config to the new plugins.
- Upgrade the community plugin to a version that does not use the `proxy:set` value of `caddy`, `haproxy` or `traefik`.

View File

@@ -0,0 +1,19 @@
# 0.29.0 Migration Guide
## Changes
- The output of `run:detached` now uses the container name - eg. `node-js-app.run.1` - vs the container id.
- The ID of `cron` tasks is now base36-encoded instead of base64-encoded.
- The `nginx.conf.sigil` is now extracted when source code is extracted for a build and not from the built image. Users can specify alternative paths via the `nginx-conf-sigil-path` property of the `nginx` plugin. See the [nginx documentation](/docs/networking/proxies/nginx.md#customizing-the-nginx-configuration) for more information on how to configure the `nginx.conf.sigil` path for your application.
- For deploys via `git:from-image`, the `nginx.conf.sigil` file will be extracted from the source image, respecting the value of `nginx-conf-sigil-path`.
- The `Procfile` is now extracted when source code is extracted for a build and not from the built image. Users can specify alternative paths via the `procfile-path` property of the `ps` plugin. See the [process management documentation](/docs/processes/process-management.md#changing-the-procfile-location) for more information on how to configure the `Procfile` path for your application.
- For deploys via `git:from-image`, the `Procfile` file will be extracted from the source image, respecting the value of `procfile-path`.
- The existing `pre-restore` hook has been renamed to `scheduler-pre-restore`. There is a new `pre-restore` hook that is triggered within the `ps:restore` command prior to restoring any apps.
- Nginx init commands are now performed via systemctl on Ubuntu systems when `/usr/bin/systemctl` is available.
## Removals
- The `DOKKU_WAIT_TO_RETIRE` environment variable has been migrated to a `checks` property named `wait-to-retire` and will be ignored if set as an environment variable.
- The `domains-setup` trigger has been removed. Initial app domains will now be automatically setup during app creation.
- The `URLS` file containing generated urls for an app is no longer generated or referenced. Users should retrieve app urls via the new `domains-urls` plugin trigger.
- The common function `get_app_urls` has been removed. Users should retrieve app urls via the new `domains-urls` plugin trigger.

View File

@@ -0,0 +1,41 @@
# 0.30.0 Migration Guide
> **Important**: Due to the removal of `DOKKU_SCALE` support, users with a version older than 0.25.x are heavily encouraged to upgrade to 0.29.x prior to 0.30.x. Not doing so will result in all app containers stopping on rebuild due to having no scale settings.
## Deprecations
- Support for Ubuntu 18.04 has been deprecated. Please upgrade your host OS in advance of the [End Of Life in April 2023](https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes).
## Changes
- The `app.json` file is now extracted from the source code instead of the built image. For deploys via `git:from-image`, the file is extracted from the built image.
## Removals
- Support for [SPDY](https://en.wikipedia.org/wiki/SPDY) has been removed. No major browser supports it as of 2021. Custom `nginx.conf.sigil` templates referencing spdy-related variables will continue to build until the 1.0.0 release.
- Support for the `DOKKU_SCALE` file - deprecated in 0.25.0 - has been removed in favor of the `formation` key in the `app.json` file. Please see the [process management documentation](/docs/processes/process-management.md#manually-managing-process-scaling) for more information on how to use the `formation` key of the `app.json` file.
- The deprecated `--detach` global flag for `dokku run` was removed. Please see the [one-off tasks documentation](/docs/processes/one-off-tasks.md#running-a-detached-container) for more information on running detached containers.
- The following deprecated trigger have been removed in favor of the `post-release-builder` trigger. See the [plugin triggers documentation](https://dokku.com/docs/development/plugin-triggers/#post-release-builder) for more details.
- `post-release-buildpack`
- `post-release-dockerfile`
- `post-release-pack`
- The ability to call `logs:failed` without specifying an app or `--all` flag has been removed. This was deprecated in 0.22.0. Please see the [logs:failed](/docs/deployment/logs.md#failed-deploy-logs).
- The following app shell functions - deprecated since 0.20.0 - have been removed in favor of their plugin trigger equivalents. Sourcing the `app/functions` file will fail going forward.
- `apps#apps_create()` is removed in favor of `plugn trigger app-create`.
- `apps#apps_destroy()` is removed in favor of `plugn trigger app-destroy`.
- `apps#apps_exists()` is removed in favor of `plugn trigger app-exists`.
- `apps#apps_maybe_create()` is removed in favor of `plugn trigger app-maybe-create`.
- The following common shell functions have been removed:
- `common#is_container_running()` (deprecated since 0.12.6) is removed in favor of `common#is_container_status()`.
- `common#is_app_running()` (deprecated since 0.22.0) is removed in favor of `ps#fn-ps-is-app-running()`.
- The global `--rm-container` and `--rm` flags - deprecated since 0.25.0 - have been removed.
- The following git shell functions have been removed:
- `git#use_git_worktree()` (deprecated since 0.23.7) has been removed. There is no alternative as the function has been made internal.
- `git#git_deploy_branch()`(deprecated since 0.21.0) has been removed in favor of `plugn trigger git-deploy-branch`.
- The following nginx commands - deprecated since 0.20.0 - have been removed:
- `nginx:show-conf` has been removed in favor of `nginx:show-config`.
- `nginx:validate` has been removed in favor of `nginx:validate-config`.
- `nginx:build-config` - deprecated since 0.21.0 - has been removed in favor of `proxy:build-config`.
- The following proxy functions - deprecated since 0.20.0 - have been removed in favor of their plugin trigger equivalents. Sourcing the `proxy/functions` file will fail going forward.
- `proxy#is_app_proxy_enabled()` is removed in favor of `plugn trigger proxy-is-enabled`.
- `proxy#get_app_proxy_type()` is removed in favor of `plugn trigger proxy-type`.

View File

@@ -0,0 +1,36 @@
# 0.31.0 Migration Guide
## Changes
- Herokuish build cache is now mounted from a docker volume - eg. `cache-node-js-app` - instead of the local filesystem. All existing app cache will be cleared upon upgrading past 0.29.0.
- The `vector` container integration now mounts config to `/etc/vector` instead of the path `/etc/vector/vector.json`, allowing users the ability to provide extra configuration for Vector Sinks. To take advantage of the new functionality, the vector container should be stopped (via `dokku logs:vector-stop`) and then started (via `dokku logs:vector-start`).
- The `traefik` integration now mounts config to `/data` instead of the path `/acme.json`, fixing permissions issues under certain architectures. To take advantage of the new functionality, the traefik container should be stopped (via `dokku traefik:stop`) and then started (via `dokku traefik:start`).
- Users no longer need to clear the `source-image` git property when transitioning from image-based deploys (`git:from-image` and `git:load-image`) to other deployment methods (git push, `git:from-archive`, `git:sync`).
- For deploys via the `git:from-image` and `git:load-image` commands, the `CHECKS` file is now extracted from the configured `WORKDIR` property of the image. For all other deploys - git push, `git:from-archive`, `git:sync` - will have the `CHECKS` extracted directly from the source code. The filename in both cases is `CHECKS` and cannot be modified.
- Port mappings are now auto-detected during the build process. Users may override detected port mappings via the `ports` plugin. A default port mapping of `http:80:5000` will be used if none is otherwise specified.
- Users building docker images that run Dokku will need to use a new sudoer wrapper for the `docker-container-healthchecker` binary to work correctly. A reference version has been placed in the `docker` skeleton directory. This should only impact platform developers, and users of our Docker image will already have the file available.
- The default image used for Herokuish Buildpack builds is now `gliderlabs/herokuish:latest-22`, and is based on both the `heroku-22` stack as well as Ubuntu 22.04. Users that wish to stick with the old, `heroku-20`/Ubuntu 20.04 builder may specify `gliderlabs/herokuish:latest-20` as their builder image. Please see the [herokuish buildpack deployment documentation](/docs/deployment/builders/herokuish-buildpacks.md#customizing-the-buildpack-stack-builder) for more information on how to specify a custom buildpack stack builder.
- The default image used for Cloud Native Buildpack builds is now `heroku/builder:22`, and is based on both the `heroku-22` stack as well as Ubuntu 22.04. Users that wish to stick with the old, `heroku-20`/Ubuntu 20.04 builder may specify `heroku/buildpacks:20` as their builder image. Please see the [herokuish buildpack deployment documentation](/docs/deployment/builders/herokuish-buildpacks.md#customizing-the-buildpack-stack-builder) for more information on how to specify a custom buildpack stack builder.
## Deprecations
- The `proxy:ports*` commands have been replaced with the new `ports` plugin. Users will be able to use the old `proxy:ports*` commands for a single minor release, and they will be removed in the next minor release.
- The `common#get_available_port()` function has been deprecated and will be removed in the next release. Users should avoid interacting with this function and instead use the `ports-get-available` plugin trigger for fetching an available port.
- The `proxy-configure-ports` plugin trigger has been deprecated and will be removed in the next release. Users should instead trigger the `ports-configure` plugin trigger.
- The `common#get_dockerfile_exposed_ports()` function is deprecated and will be removed in the next release. There is no replacement for this as it's only use in Dokku core was in the `builder-dockerfile` plugin.
- The `common#get_exposed_ports_from_image()` function is deprecated and will be removed in the next release. There is no replacement for this as it's only use in Dokku core was during the build process.
- The environment variable `DOKKU_PROXY_PORT_MAP` has been migrated to the properties system. Direct changes to the value will be ignored, and users should interact with port maps via the `ports` plugin.
- The `CHECKS` file is deprecated in favor of defining healthchecks in the `app.json` file. The [docker-container-healthchecker](https://github.com/dokku/docker-container-healthchecker) tool can be used to generate healthcheck entries in `app.json` format from existing `CHECKS` files. See the [zero-downtime deploy documentation](/docs/deployment/zero-downtime-deploys.md) for more information on how the new zero downtime check format works.
- ARM support is now deprecated, and will be removed in the next minor release. ARM releases are not tested in CI and do not get testing locally. Users of ARM installations on platforms such as the Raspberry PI should consider migrating to ARM64. ARM64 will continue to be supported by Dokku, and there are no plans to remove support for ARM64.
## Un-Deprecations
- The bare `apps` and `config` cli aliases are no longer deprecated. This better follows Heroku's output and is more useful to users. The subcommands will be treated as the primary, documented versions, while the aliases are there for convenience.
## Removals
- The variable `RAW_TCP_PORTS` is no longer exposed for `nginx.conf.sigil` templating.
- The environment variable `DOKKU_DOCKERFILE_PORTS` is no longer in use. Users wishing to change port mappings should instead use the `ports` plugin.
- The `common#get_app_raw_tcp_ports()` function has been removed in the next release. Users should instead use the `ports-get` plugin trigger for fetching ports for an app.
- The plugin trigger `network-compute-ports` has been removed. It's only use was in the `scheduler-docker-local` plugin, for exposing ports. It's functionality is now implemented via the `ports` plugin.
- The plugin trigger `network-get-port` has been removed. It's only use was in the `scheduler-docker-local` plugin, for recording ports. It's functionality is now implemented via the `ports` plugin.

Some files were not shown because too many files have changed in this diff Show More