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
402c6db826
chore: move the event logging to it's own tag
...
Without this, rsyslog will shunt any logging output from the dokku user to the event log, garbling output for future investigation.
2019-07-17 20:48:57 -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
Alex Quick
2cab7f24ed
[config] validate args for config:set and config:unset
...
Fixes dokku/dokku#3606
2019-07-14 12:16:56 -04:00
Jose Diaz-Gonzalez
69e4cd7c44
refactor: use only a single implementation for cache purging
...
This change moves cache clearing into the repo plugin, and standardizes on a single way of clearing the cache.
2019-07-05 17:40:20 -04:00
Jose Diaz-Gonzalez
33423a0508
feat: purge cache using herokuish image
...
In some cases, the cache directory may exist but there may be no app image to use for cache purging. This may be the case if the app was never deployed.
Instead of failing, we can simply use the configured herokuish image for clearing cache, as that image is the base image for anything that would have modified cache.
2019-07-05 16:07:13 -04:00
Jose Diaz-Gonzalez
699719b600
fix: handle case where there are empty newlines in the authorized_keys file
...
Previously, an empty line would result in a failing ssh-keys:list call, or a failure to verify the file. Newlines should be ignored.
2019-07-05 10:00:52 -04:00
Jose Diaz-Gonzalez
a984464931
fix: drop extra % sign in common.LogVerboseQuiet
2019-07-03 13:53:56 -04:00
Jose Diaz-Gonzalez
f3e191988d
Merge pull request #3602 from alexymik/master
...
Create a 502 error page to automatically refresh if backend status changes
2019-07-01 17:21:56 -04:00
Alexy Mikhailichenko
c99f92e9f2
Change 500 to 502
2019-07-01 17:17:14 -04:00
Alexy Mikhailichenko
a496ae987a
Remove console calls
2019-07-01 17:10:45 -04:00
Alexy Mikhailichenko
75036dfa27
Remove console calls
2019-07-01 14:24:36 -04:00
Alexy Mikhailichenko
b35235f1e9
Change 502 error page to automatically refresh if backend status changes
2019-07-01 14:14:34 -04:00
Jose Diaz-Gonzalez
7fc8770027
feat: refactor IsImageHerokuishBased to match shell version
...
The shell version is faster due to not needing to create a new container.
2019-06-29 15:43:02 -04:00
Jose Diaz-Gonzalez
966afcb787
chore: add missing hooks to events plugin and plugin triggers docs
2019-06-19 13:50:29 -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
2d47931cc4
docs: drop extra help output for trace
...
Closes #3594
[ci skip]
2019-06-18 12:27:43 -04:00
JakeAngell
4e4e256a27
Update nginx.conf.sigil
2019-06-17 21:21:10 +01: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
Tom Parker-Shemilt
a848d92823
Allow SSH keys with no ending newline ( fixes #3590 )
2019-06-12 22:16:02 +01: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
0ebb400d91
feat: allow users to specify custom parallel arguments
2019-06-10 13:07:23 -04:00
Jose Diaz-Gonzalez
fc5544ac70
refactor: use a single method for running the ps:*all commands
...
This reduces the duplication at the cost of slightly more complexity.
2019-06-10 13:05:57 -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
5fd5e235d8
feat: allow omitting resource args by setting DOKKU_OMIT_RESOURCE_ARGS
...
This is useful for one-off containers that should have full-access to server resources.
2019-05-30 13:24:11 -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
a6408c0c56
feat: add a way to cleanup apps for specific schedulers
...
The post-delete hook will delete config, and thus scheduler-post-delete is the best place to actually delete resources where some local config may be necessary in order to reference resources.
2019-05-28 17:21:10 -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
0988e62418
Merge pull request #3571 from znz/simplify-hostname_regex
...
Simplify hostname_regex
2019-05-24 18:01:14 -04:00
Kazuhiro NISHIYAMA
082e9458e5
Simplify hostname_regex
...
`[a-z0-9\.\*-]+` includes `\.` and `[a-z0-9\*-]+`.
So I think `^([a-z0-9\.\*-]+\.)*[a-z0-9\*-]+$` means last char is `[a-z0-9\*-]`
and other optional chars are `[a-z0-9\.\*-]*`.
2019-05-23 23:23:10 +09:00
Kazuhiro NISHIYAMA
0a17358352
Fix typos in trace help
2019-05-23 23:20:16 +09: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
919ba7ed93
fix: correct issue with clearing global domains
...
Also update tests
2019-05-23 06:18:22 -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
42a405355f
Merge pull request #3566 from dokku/3075-wildcard-domains
...
Allow users to specify wildcard domains
2019-05-20 22:22:44 -07:00
Jose Diaz-Gonzalez
b921aed073
feat: allow users to specify wildcard domains
...
Closes #3075
2019-05-20 21:03:55 -07:00
Jose Diaz-Gonzalez
1b92f4a97e
chore: standardize how temporary files are named
2019-05-20 18:01:17 -07:00
Jose Diaz-Gonzalez
c8a491ed7f
fix: only use the RETURN signal for the suppress file removal
...
Closes #3473
2019-05-20 18:01:03 -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
0087296bd3
Merge pull request #3563 from dokku/3551-ps-inspect
...
Properly split strings in sanitized ps:inspect
2019-05-20 15:06:26 -07:00
Jose Diaz-Gonzalez
f977edabb2
feat: add config:clear command
...
Closes #3537
2019-05-20 13:26:21 -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