Jose Diaz-Gonzalez
c5717510ee
feat: always get keys in order
...
Ranging over maps is unordered in golang, so we need to use the correct data structure if we need the output in an ordered way.
2019-04-08 11:31:34 -04:00
Jose Diaz-Gonzalez
8d23556831
fix: omit 2nd, unused value from range
2019-04-08 11:31:34 -04:00
Jose Diaz-Gonzalez
04a6e30e45
refactor: drop -defaults command in favor of --global flag
...
This makes usage a bit simpler, at the cost of interface complexity.
2019-04-08 11:31:34 -04:00
Jose Diaz-Gonzalez
bdfde9a481
feat: initial stub implementation for resource:*-clear commands
2019-04-08 11:31:34 -04:00
Jose Diaz-Gonzalez
9808ecde81
feat: implement default limit management
...
Also add generic report information when no flags are specified
2019-04-08 11:31:34 -04:00
Jose Diaz-Gonzalez
b36ab54b87
fix: correct variable name
2019-04-08 11:31:34 -04:00
Jose Diaz-Gonzalez
ff35e95924
fix: correct type comment declaration
2019-04-08 11:31:34 -04:00
Jose Diaz-Gonzalez
49e44ce59b
fix: correct stickler-ci issues
2019-04-08 11:31:34 -04:00
Jose Diaz-Gonzalez
ab88dbb03d
feat: Implement resource:limit and resource:reserve
...
Also add the install and post-delete hooks
2019-04-08 11:31:34 -04:00
Jose Diaz-Gonzalez
8ad74d0814
fix: correct buildpack plugin version
2019-04-08 11:31:34 -04:00
Jose Diaz-Gonzalez
9486576add
fix: drop nil err reference from log output
2019-04-08 11:31:34 -04:00
Jose Diaz-Gonzalez
54ef6514d5
fix: turn off error logging for validate config
...
This will allow validation to work if the default logging locations cannot be written to but the configuration is otherwise okay. This will be the case for users with custom nginx configurations that log to other places, such as syslog.
2019-03-26 17:10:32 -04:00
Jose Diaz-Gonzalez
f9023402ad
fix: correct the argument for get_release_cmd
...
Closes #3438
2019-03-14 12:00:23 -04:00
Jose Diaz-Gonzalez
520a72078e
fix: remove useless cat
2019-03-13 14:12:35 -04:00
Jose Diaz-Gonzalez
ef5a45c7cb
feat: add DOKKU_QUIET_OUTPUT=1 to all config_set/config_unset calls
...
This makes build output a bit more digestable.
2019-03-13 02:05:18 -04:00
Jose Diaz-Gonzalez
c6a1c0dcbf
feat: respect --quiet in config.go
...
When setting environment variables, we should respect a passed `--quiet` flag - and the respective environment variable. This will allow users to have a nicer experience when using the config functions within their own plugins.
2019-03-13 02:05:18 -04:00
Jose Diaz-Gonzalez
c701429a05
chore: quiet down logging around scale declarations
2019-03-13 02:05:18 -04:00
Jose Diaz-Gonzalez
7f1fe3ccfd
chore: follow logging pattern from heroku for phase command declarations
2019-03-13 02:05:18 -04:00
Jose Diaz-Gonzalez
6797971016
chore: drop extra echo in app-json method calls
2019-03-13 02:05:18 -04:00
Jose Diaz-Gonzalez
297a26aa20
feat: implement version flags
...
This moves the version command to the dokku binary, and also implements both -v and --version flags on the binary.
2019-03-11 21:50:05 -04:00
Jose Diaz-Gonzalez
acbe8fa805
fix: Only override the WORKDIR in copy_from_image if the image is gliderlabs/herokuish based
...
Rather than always assuming a missing `WORKDIR` means herokuish, we instead inspect the image to verify that it is. If it is, then and _only_ then do we set WORKDIR. Otherwise, we respect the decision of `docker cp` to execute from within the last known `WORKDIR` context, which is inherited at the image level, not image metadata level.
Additionally, speed up `is_image_herokuish_based` by inspecting the environment variables on the image. When there is a "USER=herokuishuser", we can more or less safely assume it is an image that Dokku built, and is therefore a herokuish image. While possible, it would be very strange if a non-herokuish image had this environment variable set, so it is a relatively safe change.
2019-03-11 20:09:13 -04:00
Jose Diaz-Gonzalez
d3d426a8d9
tests: add functional tests for buildpacks plugin
2019-03-05 21:41:23 -05:00
Jose Diaz-Gonzalez
6cae92e1f1
fix: add missing comments to exported functions
2019-03-05 21:41:23 -05:00
Jose Diaz-Gonzalez
3670d7efcd
fix: correct fmt.Errorf violations
2019-03-05 21:41:23 -05:00
Jose Diaz-Gonzalez
887c1d4254
feat: implement buildpacks plugin
...
This will allow users to specify buildpacks outside of a git repository.
Note that this does not override any specified `BUILDPACK_URL`.
Closes #3256
2019-03-05 21:41:23 -05:00
Jose Diaz-Gonzalez
a56ae22614
refactor: switch to path.Join
...
This is the _correct_ way to join paths in golang
2019-03-05 21:34:26 -05:00
Jose Diaz-Gonzalez
884c45de0c
chore: move print calls together
2019-03-05 21:34:26 -05:00
Jose Diaz-Gonzalez
8d6a1773a3
fix: correct the DOKKU_QUIET_OUTPUT env var check for golang log methods
2019-03-05 21:34:26 -05:00
Jose Diaz-Gonzalez
6f1e964c9f
refactor: ensure all property-handling functions return an error
...
This will allow upstream functions to handle errors in the most appropriate manner
2019-03-05 21:34:26 -05:00
Jose Diaz-Gonzalez
4db7ebd743
feat: add helper method for ensuring a property file exists
2019-03-05 21:34:26 -05:00
Jose Diaz-Gonzalez
83f5e380d4
refactor: add helper method for getting the path of a property
2019-03-05 21:34:26 -05:00
Jose Diaz-Gonzalez
34f5eaeaa2
chore: rename helper method
2019-03-05 21:34:26 -05: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
d439518f13
fix: Remove https port mappings from new app during clone
...
Closes #3446
2019-02-15 03:15:14 -05:00
Kohki YAMAGIWA
17ec77073a
Merge branch 'master' into fix/ignore-cache-directories-when-clone
2019-02-04 00:30:58 +09: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
tamanobi
d35042066b
return exit-status:0 when dokku clone
2019-01-24 22:07:15 +09: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
8d577b275e
Merge pull request #3412 from dokku/full-golang-help
...
Ensure official golang plugins have correct help output
2019-01-21 02:16:06 -05:00
Jose Diaz-Gonzalez
35e04d58fe
Merge pull request #3411 from dokku/nginx-dependencies
...
Properly handle the nginx installation dependency
2019-01-21 02:15:53 -05:00
Jose Diaz-Gonzalez
af8718cebe
fix: ensure official golang plugins have correct help output
...
Previously, golang plugins would omit subcommands for 'dokku help --all', meaning they could not be introspected upon by outside tooling.
2019-01-20 22:50:48 -05:00
Jose Diaz-Gonzalez
6b0cdae3d3
fix: properly handle the nginx installation dependency
...
- ensure nginx is always installed
- install nginx in the same way for apt-using distros
- do not install software-properties-common or python-software-properties if not needed
2019-01-20 20:57:40 -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
1757bc0207
Merge pull request #3409 from dokku/faster-build
...
Build golang binaries with higher concurrency
2019-01-20 18:58:12 -05:00
Jose Diaz-Gonzalez
e7fb6007d3
feat: build golang binaries with higher concurrency
...
This should allow us to shave off a few minutes of build time, both locally and on CI
2019-01-20 18:12:08 -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
1edb734df9
Merge pull request #3406 from dokku/3404-missing-semicolon
...
Add missing semicolons to app-json script
2019-01-20 15:05:43 -05:00