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
v0.25.7
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
v0.25.6
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