Jose Diaz-Gonzalez
85b41121de
fix: make image removal synchronous
...
Asynchronous image removal would remove intermediate build images during the build process, causing intermittent build failures for users of multi-stage dockerfiles. While we still remove intermediate docker images that may be used in the current build, we now do so during the deploy, ensuring that there are no intermediate build failures in the future.
Closes #3474
2019-08-02 11:21:51 -04:00
Jose Diaz-Gonzalez
6836e56b24
refactor: add global docker build and run args
...
This reduces duplication and allows users to rely on global arguments to generate most labels needed.
The 'commit' command cannot have global arguments because the whitespace within the label change breaks string-based interpolation, and shell arrays cannot be exported.
2019-07-20 05:52:20 -04:00
Jose Diaz-Gonzalez
193e40b4c3
feat: scope cleanup to app when specified
...
This will require changes in community plugins to properly add the specified labels to intermediate containers.
Closes #3515
2019-07-19 15:45:43 -04:00
Jose Diaz-Gonzalez
d1af10fc51
feat: add labels to all build, commit, create, and run docker calls
...
This will allow us to further filter containers and images by application when cleaning up containers.
Refs #3515
2019-07-19 15:45:43 -04:00
Michael Hobbs
ded056d003
hack: use tmp file for CHECKS file without EOF newline
2019-07-18 00:27:09 -04:00
Jose Diaz-Gonzalez
5a52286309
fix: ensure the dokku-retire timer is properly installed
...
Closes #3615
2019-07-17 20:48:57 -04:00
Jose Diaz-Gonzalez
48484732a0
Release 0.17.9
...
# History
## 0.17.9
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.17.9/bootstrap.sh
sudo DOKKU_TAG=v0.17.9 bash bootstrap.sh
```
### Bug Fixes
- #3593 : @JakeAngell Fix nginx template for https in "Connection" header
### Documentation
- #3595 : @josegonzalez Drop extra help output for trace
2019-06-18 12:32:49 -04:00
Jose Diaz-Gonzalez
161380d639
Release 0.17.8
...
# History
## 0.17.8
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.17.8/bootstrap.sh
sudo DOKKU_TAG=v0.17.8 bash bootstrap.sh
```
### Bug Fixes
- #3591 : @palfrey Allow SSH keys with no ending newline
### New Features
- #3587 : @josegonzalez feat: drop make and gcc as dependencies
2019-06-14 12:59:57 -05:00
Jose Diaz-Gonzalez
283ff056da
Release 0.17.7
...
# History
## 0.17.7
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.17.7/bootstrap.sh
sudo DOKKU_TAG=v0.17.7 bash bootstrap.sh
```
### New Features
- #3586 : @josegonzalez ps plugin parallel usage cleanup
### Documentation
- #3584 : @josegonzalez Fix no-install-recommends documentation
### Other
- #3579 : @znz Update plugin list
2019-06-10 16:06:24 -04:00
Jose Diaz-Gonzalez
8a5504574d
Release 0.17.6
...
# History
## 0.17.6
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.17.6/bootstrap.sh
sudo DOKKU_TAG=v0.17.6 bash bootstrap.sh
```
### New Features
- #3578 : @josegonzalez Allow omitting resource args by setting DOKKU_OMIT_RESOURCE_ARGS
2019-05-30 17:40:21 -04:00
Jose Diaz-Gonzalez
8d526b964b
Release 0.17.5
...
# History
## 0.17.5
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.17.5/bootstrap.sh
sudo DOKKU_TAG=v0.17.5 bash bootstrap.sh
```
### New Features
- #3576 : @josegonzalez Allow setting DOCKER_BIN path for docker execution
2019-05-29 01:28:50 -04:00
Jose Diaz-Gonzalez
785d9b4937
feat: allow setting DOCKER_BIN path for docker execution
...
This change allows operators to specify a DOCKER_BIN environment variable. This will specify a binary to run when executing docker, which is useful in cases where the 'docker' command being run must be modified in a way that would otherwise be invasive to Dokku, but minimalistic if done within a wrapper.
2019-05-29 00:46:19 -04:00
Jose Diaz-Gonzalez
0e03c82139
Release 0.17.4
...
# History
## 0.17.4
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.17.4/bootstrap.sh
sudo DOKKU_TAG=v0.17.4 bash bootstrap.sh
```
### New Features
- #3575 : @josegonzalez Add a way to cleanup apps for specific schedulers
2019-05-28 17:22:06 -04:00
Jose Diaz-Gonzalez
915ef6a8d5
Release 0.17.3
...
# History
## 0.17.3
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.17.3/bootstrap.sh
sudo DOKKU_TAG=v0.17.3 bash bootstrap.sh
```
### Bug Fixes
- #3570 : @znz Fix typos in trace help
### New Features
- #3574 : @josegonzalez Add support for pulling app status from scheduler plugins
- #3571 : @znz Simplify hostname_regex
2019-05-28 14:55:13 -04:00
Jose Diaz-Gonzalez
e276ebbc27
feat: add support for pulling app status from scheduler plugins
...
Previously, this was impossible to do if using an alternative scheduler.
2019-05-28 14:53:42 -04:00
Jose Diaz-Gonzalez
3a2bdd83f8
Release 0.17.2
...
# History
## 0.17.2
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.17.2/bootstrap.sh
sudo DOKKU_TAG=v0.17.2 bash bootstrap.sh
```
### Bug Fixes
- #3568 : @josegonzalez Correct issue with clearing global domains
2019-05-23 07:02:38 -04:00
Jose Diaz-Gonzalez
f80788147c
Release 0.17.1
...
# History
## 0.17.1
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.17.1/bootstrap.sh
sudo DOKKU_TAG=v0.17.1 bash bootstrap.sh
```
### Bug Fixes
- #3567 : @josegonzalez Ignore SC2064
2019-05-21 14:42:45 -04:00
Jose Diaz-Gonzalez
48752a762c
Release 0.17.0
...
# History
## 0.17.0
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.17.0/bootstrap.sh
sudo DOKKU_TAG=v0.17.0 bash bootstrap.sh
```
### Bug Fixes
- #3565 : @josegonzalez Properly cleanup temp files
- #3563 : @josegonzalez Properly split strings in sanitized ps:inspect
- #3560 : @josegonzalez Resource setting fixes
- #3556 : @josegonzalez Add missing domains:clear-global command
- #3554 : @znz Switch from rawgit to jsdelivr in manifest.json too
### New Features
- #3566 : @josegonzalez Allow users to specify wildcard domains
- #3564 : @josegonzalez Add config:clear command
- #3477 : @alexquick Allow specifying environment variables for dokku run
- #3540 : @josegonzalez Do not append the global domain for matching subdomains
- #3559 : @josegonzalez Add trace:on and trace:off
- #3561 : @josegonzalez feat: disable scaling if app contains DOKKU_SCALE file
- #3558 : @josegonzalez Add nginx:show-conf command
- #3549 : @josegonzalez Add message indicating that the user is looking at default limits/reservations
### Documentation
- #3557 : @josegonzalez Standardize on node-js-app in examples
- #3548 : @josegonzalez Remove outdated global resource setting
### Other
- #3562 : @josegonzalez Proxy ports manipulation updates
2019-05-20 22:23:13 -07:00
Jose Diaz-Gonzalez
1b92f4a97e
chore: standardize how temporary files are named
2019-05-20 18:01:17 -07:00
Jose Diaz-Gonzalez
da4361583b
fix: reverse quotes for variable expansion
...
Without reversing quotes, the variables are sometimes improperly expanded, resulting in files not being removed.
2019-05-20 17:56:50 -07:00
Jose Diaz-Gonzalez
980ffab600
fix: properly split strings in sanitized ps:inspect
...
Closes #3551
2019-05-20 12:58:41 -07:00
Jose Diaz-Gonzalez
b2a0b69ed5
Merge branch 'master' into feature-run-env
2019-05-19 23:20:34 -07:00
Jose Diaz-Gonzalez
a92687d3e8
fix: correct calls to fetch process-specific build and deploy args
2019-05-17 12:00:05 -04:00
Jose Diaz-Gonzalez
de43eb1e3d
Release 0.16.4
...
# History
## 0.16.4
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.16.4/bootstrap.sh
sudo DOKKU_TAG=v0.16.4 bash bootstrap.sh
```
### Bug Fixes
- #3547 : @josegonzalez Correct retrieval of resource values for alternative schedulers
### New Features
- #3546 : @josegonzalez Add ability to trigger an arbitrary plugin hook
2019-05-13 16:39:33 -04:00
Jose Diaz-Gonzalez
ba3af25423
Release 0.16.3
...
# History
## 0.16.3
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.16.3/bootstrap.sh
sudo DOKKU_TAG=v0.16.3 bash bootstrap.sh
```
### Bug Fixes
- #3541 : @josegonzalez Handle case where image is null on first deploy
### New Features
- #3543 : @josegonzalez Add ability to clear global domains
- #3517 : @josegonzalez SSH key updates
- #3538 : @josegonzalez Silence dokku run 'errors'
### Documentation
- #3523 : @MarcDiethelm Add an example how to specify a Dockerfile for deployment
- #3539 : @josegonzalez Warn users when ufw is enabled
2019-05-13 13:54:35 -04:00
Jose Diaz-Gonzalez
d30a948be0
feat: silence dokku run 'errors'
...
In certain cases, a command can be specified but found - or not - in the Procfile, resulting in unnecessary output for cron tasks.
Closes #3522
2019-05-12 05:15:53 -04:00
Jose Diaz-Gonzalez
c44db3f2cf
Release 0.16.2
...
# History
## 0.16.2
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.16.2/bootstrap.sh
sudo DOKKU_TAG=v0.16.2 bash bootstrap.sh
```
### Documentation
- #3536 : @josegonzalez docs: Add documentation for nginx-pre-reload limitation
- #3535 : @josegonzalez Add help output for apps:exists
2019-05-11 20:51:17 -04:00
Jose Diaz-Gonzalez
b9152ee77e
Release 0.16.1
...
# History
## 0.16.1
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.16.1/bootstrap.sh
sudo DOKKU_TAG=v0.16.1 bash bootstrap.sh
```
### New Features
- #3532 : @josegonzalez refactor: allow the scheduler to decide if an app is deployed
### Documentation
- #3530 : @jhstatewide Updated info about supported Ubuntu versions
2019-05-10 18:34:41 -04:00
Jose Diaz-Gonzalez
5373cf2989
refactor: allow the scheduler to decide if an app is deployed
...
Without moving this to the scheduler, all applications are assumed to not be deployed unless the scheduler is set to docker-local.
Closes #3531
2019-05-10 17:47:39 -04:00
Jose Diaz-Gonzalez
2f83b29f1a
Release 0.16.0
...
# History
## 0.16.0
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.16.0/bootstrap.sh
sudo DOKKU_TAG=v0.16.0 bash bootstrap.sh
```
### Bug Fixes
- #3527 : @josegonzalez Use DOKKU_IMAGE for report command
### New Features
- #3528 : @josegonzalez feat: add support for quiet ps:scale output
- #3516 : @ape-box fix nginx template with Connection header to http_connection
- #3513 : @Mayeu Support installing plugins via file:// scheme
### Documentation
- #3525 : @artofrawr add multi dockerfile plugin to plugins.md
- #3518 : @renestalder Add GitLab GIT_STRATEGY for stop_preview_app
- #3506 : @vanastassiou Clarify application deployment documentation
- #3512 : @Mayeu Update example app in deploy tutorial
2019-05-07 12:02:19 -04:00
Alex Quick
dad5db4e9b
[feature] add --env to dokku run
...
`dokku run [ --env KEY=VALUE | -e KEY=VALUE ] app command`
__note__ this changes the scheduler-run trigger to expect the following arguments:
scheduler_name, app_name, env_count, env_0, ..., env_n, app_arg_0, ..., app_arg_n
resolves : dokku/dokku#3291
2019-04-28 14:42:07 -04:00
Jose Diaz-Gonzalez
0fd829ed3b
Release 0.15.5
...
# History
## 0.15.5
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.15.5/bootstrap.sh
sudo DOKKU_TAG=v0.15.5 bash bootstrap.sh
```
### New Features
- #3511 : @josegonzalez Add json output to config:export
### Documentation
- #3510 : @josegonzalez Remove SPONSORS doc in favor of OpenCollective
- #3509 : @Neamar Missing space in markdown formatting
- #3507 : @renestalder Fix GitLab CI examples
2019-04-21 21:15:35 -04:00
Jose Diaz-Gonzalez
dbc5182193
Release 0.15.4
...
# History
## 0.15.4
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.15.4/bootstrap.sh
sudo DOKKU_TAG=v0.15.4 bash bootstrap.sh
```
### Bug Fixes
- #3499 : @josegonzalez Ensure the .buildpacks file exists before writing to it
- #3500 : @josegonzalez Always allow ps:scale proc=0
- #3497 : @josegonzalez Allow reporting domains when there are none specified
### New Features
- #3502 : @josegonzalez Add a trigger to fetch the git revision
- #3501 : @josegonzalez Move log retrieval to docker-local scheduler
- #3498 : @josegonzalez Add ability to report domains globally
- #3496 : @josegonzalez Cleanup glide plugins when running src-clean
### Documentation
- #3504 : @vanastassiou Edits for readability and conciseness
- #3490 : @josegonzalez Add missing link to resource management docs
2019-04-17 17:24:10 -04:00
Jose Diaz-Gonzalez
662c8c2831
refactor: move log retrieval to docker-local scheduler
...
This change will allow other schedulers to implement log retrieval as necessary for the platform specified.
Closes #3487
2019-04-17 15:03:37 -04:00
Jose Diaz-Gonzalez
5b9e8ddb7d
Release 0.15.3
...
# History
## 0.15.3
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.15.3/bootstrap.sh
sudo DOKKU_TAG=v0.15.3 bash bootstrap.sh
```
### New Features
- #3489 : @josegonzalez feat: upgrade herokuish to 0.5.0 (Ubuntu 18.04)
2019-04-09 11:40:30 -04:00
Jose Diaz-Gonzalez
286c6ed39d
Release 0.15.2
...
# History
## 0.15.2
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.15.2/bootstrap.sh
sudo DOKKU_TAG=v0.15.2 bash bootstrap.sh
```
### Bug Fixes
- #3488 : @josegonzalez fix: call ps:retire from system service
2019-04-09 06:18:54 -04:00
Jose Diaz-Gonzalez
75239ae8b5
fix: call ps:retire from system service
...
[ci skip]
2019-04-09 06:18:16 -04:00
Jose Diaz-Gonzalez
b120a9cc57
Release 0.15.1
...
# History
## 0.15.1
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.15.1/bootstrap.sh
sudo DOKKU_TAG=v0.15.1 bash bootstrap.sh
```
### Bug Fixes
- #3485 : @josegonzalez fix: ensure 'dokku report' always succeeds for any app
2019-04-09 03:19:40 -04:00
Jose Diaz-Gonzalez
642c293d5a
Release 0.15.0
...
# History
## 0.15.0
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.15.0/bootstrap.sh
sudo DOKKU_TAG=v0.15.0 bash bootstrap.sh
```
### Bug Fixes
- #3479 : @josegonzalez Turn off logging for nginx validate configuration
- #3470 : @josegonzalez fix: correct the argument for get_release_cmd
### New Features
- #3469 : @josegonzalez Resource management
- #3466 : @josegonzalez Quieter builds
- #3467 : @josegonzalez feat: update golang in use for binary building
- #3465 : @josegonzalez Vagrant VM Enhancements
- #3464 : @josegonzalez Upgrade to go-procfile-util version 0.6.0
- #3463 : @josegonzalez Implement version flags
- #3462 : @josegonzalez Upgrade procfile-util
- #3449 : @josegonzalez Only override the `WORKDIR` in copy_from_image if the image is `gliderlabs/herokuish` based
- #3461 : @josegonzalez Allow skipping aws releases for plugins
- #3459 : @josegonzalez Upgrade to herokuish:0.4.9
- #3413 : @josegonzalez Implement buildpacks plugin
### Documentation
- #3482 : @multikatt rails-database -> railsdatabase
- #3476 : @lazyatom Add chrome plugin to documentation
- #3468 : @josegonzalez Doc cleanup
### Other
- #3471 : @josegonzalez chore: drop plugn package building
2019-04-08 18:03:29 -04:00
Jose Diaz-Gonzalez
243d5ecc43
feat: integrate resource plugin with scheduler-docker-local
2019-04-08 11:31:34 -04:00
Jose Diaz-Gonzalez
726f96089c
Release 0.14.6
...
# History
## 0.14.6
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.14.6/bootstrap.sh
sudo DOKKU_TAG=v0.14.6 bash bootstrap.sh
```
### Bug Fixes
- #3448 : @josegonzalez Remove https port mappings from new app during clone
- #3434 : @tamanobi Ignore cache directories when clone
### New Features
- #3447 : @josegonzalez Update herokuish to 0.4.8
### Documentation
- #3420 : @baikunz Add reference to external post-deploy-script plugin
- #3453 : @jayjun Fix Deployment guides style
- #3445 : @zuccs Fix typo in deployment tasks documentation
- #3441 : @josegonzalez Update issue template information
- #3436 : @jayjun Fix Getting Started guides style
- #3425 : @jayjun Add warning about PORT variable in deploy tutorial
### Tests
- #3435 : @josegonzalez Fix lint issues across codebase
2019-02-19 11:50:20 -05:00
Jose Diaz-Gonzalez
c7b71b5d92
lint: remove unnecessary negation
...
Also use double-brackets where possible.
Fixes SC2236
2019-02-02 13:52:18 -05:00
Jose Diaz-Gonzalez
67ae374e60
lint: remove whitespaces before redirect
2019-02-02 13:49:24 -05:00
Jose Diaz-Gonzalez
76bdac9747
Release 0.14.5
...
# History
## 0.14.5
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.14.5/bootstrap.sh
sudo DOKKU_TAG=v0.14.5 bash bootstrap.sh
```
### Bug Fixes
- #3419 : @jayjun Fix Dokku installer checkbox for WebKit and Edge browsers
2019-01-24 10:32:52 -05:00
Jose Diaz-Gonzalez
9a690ba042
Release 0.14.4
...
# History
## 0.14.4
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.14.4/bootstrap.sh
sudo DOKKU_TAG=v0.14.4 bash bootstrap.sh
```
### Bug Fixes
- #3415 : @josegonzalez Drop universe installation in debian
2019-01-22 13:31:40 -05:00
Jose Diaz-Gonzalez
39c0c316fc
Release 0.14.3
...
# History
## 0.14.3
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.14.3/bootstrap.sh
sudo DOKKU_TAG=v0.14.3 bash bootstrap.sh
```
### Bug Fixes
- #3412 : @josegonzalez Ensure official golang plugins have correct help output
- #3411 : @josegonzalez Properly handle the nginx installation dependency
- #3406 : @josegonzalez Add missing semicolons to app-json script
- #3394 : @josegonzalez Quiet ps:retire where possible
### New Features
- #3410 : @josegonzalez Make installs quieter
- #3409 : @josegonzalez Build golang binaries with higher concurrency
- #3408 : @josegonzalez Disable container restarts for stopped containers
- #3389 : @heyarne Remove jQuery from web-based installer
### Documentation
- #3407 : @tkrugg Fix typo on domain docs
### Tests
- #3414 : @josegonzalez Test and release changes
2019-01-22 01:08:04 -05:00
Jose Diaz-Gonzalez
e423676b11
feat: make installs quieter
...
This removes output from commands that otherwise should be silent - such as when not needing to migrate data.
2019-01-20 20:54:00 -05:00
Jose Diaz-Gonzalez
173b87928c
feat: disable container restarts for stopped containers
...
This should avoid the case where the docker daemon starts the containers upon reboot.
2019-01-20 15:19:54 -05:00
Jose Diaz-Gonzalez
0375bc3e97
fix: quiet ps:retire where possible
...
Log output for ps:retire was previously a bit too verbose because we weren't handling the following edge-cases.
- if a container doesn't exist, remove it from the dead container list
- ensure a restarting container is properly killed
- only attempt to stop/kill if the state is not dead or exited
- do not attempt to do anything if the container doesn't exist
- correct check on running state
2019-01-12 22:49:23 -05:00
Jose Diaz-Gonzalez
49af2d8062
Release 0.14.2
...
# History
## 0.14.2
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.14.2/bootstrap.sh
sudo DOKKU_TAG=v0.14.2 bash bootstrap.sh
```
### Bug Fixes
- #3395 : @josegonzalez Correct early exit 1 in apps:report
### Documentation
- #3393 : @jayjun Fix capitalization and formatting in installation guides
- #3392 : @jayjun Fix wrong PostgreSQL environment variable in guide
- #3391 : @josegonzalez Update all gpgkey paths to the new url
2019-01-12 20:55:58 -05:00