3444 Commits

Author SHA1 Message Date
Dokku Bot
688ee518af Release 0.33.6
# History

## 0.33.6

Install/update via the bootstrap script:

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

### Bug Fixes

- #6589: @josegonzalez Use image pull secrets instead of registries.yaml to reference private repositories when deploying via k3s
- #6581: @josegonzalez Fix issues in tls handling when deploying via k3s
- #6582: @josegonzalez Correctly handle extra whitespace in scale file contents
- #6390: @renweibo Prefer systemctl over sv when both exist while restarting nginx
- #6579: @josegonzalez Ensure k3s can be installed with taints

### New Features

- #6585: @josegonzalez Add more context to errors in fetching cron entries
- #6583: @josegonzalez Add WithContext functions for all subprocess-related code

### Refactors

- #6584: @josegonzalez Use new CallExecCommand when checking to see how help is being called

### Dependencies

- #6586: @dependabot[bot] chore(deps): bump mvdan.cc/sh/v3 from 3.7.0 to 3.8.0 in /plugins/cron
- #6587: @dependabot[bot] chore(deps): bump mkdocs-material from 9.5.8 to 9.5.9 in /docs/_build
- #6381: @dependabot[bot] chore(deps): bump actions/upload-artifact from 3 to 4
- #6578: @josegonzalez Bump go modules

### Other

- #6576: @Tashows Allow creating a detached container with TTY enabled for attaching remote terminal
2024-02-12 22:56:50 +00:00
Jose Diaz-Gonzalez
1ae2df52f5 fix: use image pull secrets instead of registries.yaml to reference private repositories
While this will now more or less require a local docker login - which can be overridden by setting the image-pull-secrets property - this ensures every deploy has a valid context.

One annoying thing is that the secret is per-app vs global, meaning that if the secret must be rotated, all apps need to be redeployed. A future change can fix that by deploying a global secret, or if folks really desire, this can be done by setting the image-pull-secrets property on the app/globally.
2024-02-12 17:15:37 -05:00
Jose Diaz-Gonzalez
91151cf375 Merge pull request #6581 from dokku/tls-handling
Fix issues in tls handling when deploying via k3s
2024-02-12 16:38:39 -05:00
Jose Diaz-Gonzalez
3c5f95ff18 chore: update dependencies 2024-02-12 16:28:57 -05:00
dependabot[bot]
e6c17059f9 chore(deps): bump mvdan.cc/sh/v3 from 3.7.0 to 3.8.0 in /plugins/cron
Bumps [mvdan.cc/sh/v3](https://github.com/mvdan/sh) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/mvdan/sh/releases)
- [Changelog](https://github.com/mvdan/sh/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mvdan/sh/compare/v3.7.0...v3.8.0)

---
updated-dependencies:
- dependency-name: mvdan.cc/sh/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 13:20:58 +00:00
Jose Diaz-Gonzalez
d12eff3fe4 Merge pull request #6585 from dokku/cron-errors
Add more context to errors in fetching cron entries
2024-02-12 03:11:23 -05:00
Jose Diaz-Gonzalez
22e1bb6466 feat: add more context to errors in fetching cron entries 2024-02-12 02:37:43 -05:00
Jose Diaz-Gonzalez
abbc13cb85 fix: ensure the ingress class is properly set for certificate usage
Without this, switching to nginx ingress fails as the cluster issuer isn't properly configured
2024-02-12 01:31:39 -05:00
Jose Diaz-Gonzalez
433eb26f3c feat: always skip the https ingress/ingress-route/deployment port entry if there is a corresponding http entry
Also inject the corresponding entries as necessary
2024-02-12 01:31:39 -05:00
Jose Diaz-Gonzalez
bfccf60a37 refactor: simplify tls handling by always redirecting 2024-02-12 01:31:39 -05:00
Jose Diaz-Gonzalez
50239b056c fix: use new CallExecCommand when checking to see how help is being called
This is part of ongoing work to remove usage of the depreated NewShellCmd.
2024-02-12 00:55:16 -05:00
Jose Diaz-Gonzalez
bcf25ba5cd feat: add WithContext functions for all subprocess-related code
Also deprecate the existing subprocess calls.
2024-02-11 23:04:20 -05:00
Jose Diaz-Gonzalez
31abd7e31e chore: always sort returned formations 2024-02-11 21:12:25 -05:00
Jose Diaz-Gonzalez
0102d219f3 refactor: do not ever return duplicate entries when getting formations 2024-02-11 21:12:15 -05:00
Jose Diaz-Gonzalez
701f18a69c fix: ensure splitting only ever returns at most two parts 2024-02-11 21:11:40 -05:00
Jose Diaz-Gonzalez
66f46de2fd fix: ensure each entry in a process type has whitespace removed 2024-02-11 21:06:28 -05:00
Jose Diaz-Gonzalez
ab1f8bfd30 chore: remove unused code in ps plugin 2024-02-11 21:03:50 -05:00
Jose Diaz-Gonzalez
6f82879a43 Merge pull request #6390 from renweibo/master
Prefer systemctl over sv when both exist while restarting nginx
2024-02-11 20:20:39 -05:00
Jose Diaz-Gonzalez
321500a577 Merge pull request #6576 from Tashows/run_attachable
Create detached container with TTY enabled for attaching remote terminal.
2024-02-11 19:31:11 -05:00
Tasos Maschalidis
95c049609f Exit if both --force-tty and --no-tty are set 2024-02-11 13:54:10 +02:00
Tasos Maschalidis
a62cb1de8f Handle --force-tty flag in fn-run 2024-02-11 11:50:34 +02:00
Tasos Maschalidis
180cc6204b Update fn-help-content to add --force-tty usage 2024-02-11 11:47:19 +02:00
Jose Diaz-Gonzalez
e452b9308f fix: ensure k3s can be installed with taints 2024-02-11 04:38:58 -05:00
Jose Diaz-Gonzalez
03b72ec684 chore: bump go modules 2024-02-11 02:49:00 -05:00
Tasos Maschalidis
f574c1d0a3 Handle DOKKU_FORCE_TTY in has_tty function 2024-02-11 00:57:44 +02:00
Dokku Bot
596d785fe4 Release 0.33.5
# History

## 0.33.5

Install/update via the bootstrap script:

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

### Bug Fixes

- #6574: @josegonzalez Correct indentation when configuring https on a k3s app

### Documentation

- #6575: @josegonzalez Remove reference to web ui from digitalocean install documentation

### Dependencies

- #6573: @dependabot[bot] chore(deps): bump golang from 1.21.6 to 1.22.0 in /tests/apps/go-fail-postdeploy
- #6569: @dependabot[bot] chore(deps): bump golang from 1.21.6 to 1.22.0 in /tests/apps/go-fail-predeploy
- #6570: @dependabot[bot] chore(deps): bump golang.org/x/crypto from 0.18.0 to 0.19.0 in /plugins/common
- #6571: @dependabot[bot] chore(deps): bump golang from 1.21.6 to 1.22.0 in /tests/apps/zombies-dockerfile-tini
- #6572: @dependabot[bot] chore(deps): bump python from 3.12.1-alpine to 3.12.2-alpine in /docs/_build
2024-02-09 20:02:30 +00:00
Jose Diaz-Gonzalez
af7e720d2a fix: correct indentation when configuring https on an app 2024-02-09 13:40:00 -05:00
dependabot[bot]
4295192ab6 chore(deps): bump golang.org/x/crypto in /plugins/common
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/crypto/compare/v0.18.0...v0.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 13:19:35 +00:00
Dokku Bot
ccf713c104 Release 0.33.4
# History

## 0.33.4

Install/update via the bootstrap script:

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

### Bug Fixes

- #6564: @josegonzalez Ignore link and volume flags for nixpacks builds
- #6563: @josegonzalez Wait until initial k3s node is ready before installing manifests
- #6561: @josegonzalez Index the process map to ensure the correct config is pulled
- #6560: @josegonzalez Skip app stop/delete when k3s is not installed
- #6559: @josegonzalez Check errors when writing properties
- #6556: @josegonzalez Respect the release namespace when creating resources for a k3s deploy

### New Features

- #6562: @josegonzalez Add support for specifying annotations on kubernetes resources
- #6555: @josegonzalez Add support for app-specific service accounts when deploying via k3s
- #6546: @josegonzalez Install kubectx and kubens helper binaries when setting up a k3s cluster

### Refactors

- #6558: @josegonzalez Use type-specific functions for writing contents to a file
- #6557: @josegonzalez Consolidate property fetching for nginx plugin into golang codebase
- #6536: @josegonzalez Manage vector container via compose

### Documentation

- #6545: @josegonzalez Migrate markdown doc rewriting into mkdocs hooks

### Tests

- #6554: @josegonzalez Fix issue where CI cannot install docker-buildx-plugin

### Dependencies

- #6568: @dependabot[bot] chore(deps): bump golang from 1.21.6 to 1.22.0 in /tests/apps/gogrpc
- #6567: @dependabot[bot] chore(deps): bump watchdog from 3.0.0 to 4.0.0 in /docs/_build
- #6566: @dependabot[bot] chore(deps): bump mkdocs-material from 9.5.7 to 9.5.8 in /docs/_build
- #6565: @dependabot[bot] chore(deps): bump golang from 1.21.6 to 1.22.0 in /tests/apps/zombies-dockerfile-no-tini
- #6551: @dependabot[bot] chore(deps): bump flask from 3.0.1 to 3.0.2 in /tests/apps/multi
- #6552: @dependabot[bot] chore(deps): bump mkdocs-material from 9.5.6 to 9.5.7 in /docs/_build
- #6553: @dependabot[bot] chore(deps): bump markupsafe from 2.1.4 to 2.1.5 in /docs/_build
- #6550: @dependabot[bot] chore(deps): bump flask from 3.0.1 to 3.0.2 in /tests/apps/python-flask
- #6548: @dependabot[bot] chore(deps): bump org.eclipse.jetty:jetty-servlet from 11.0.19 to 11.0.20 in /tests/apps/java

### Other

- #6547: @josegonzalez Add support for nginx as a k3s ingress implementation
2024-02-07 21:38:43 +00:00
Jose Diaz-Gonzalez
cd4f9db95b fix: use annotation instead of location snippet 2024-02-07 13:15:16 -05:00
Jose Diaz-Gonzalez
03ae424a27 fix: ensure map keys are unique 2024-02-07 00:01:57 -05:00
Jose Diaz-Gonzalez
e9986b5775 chore: unsort flags 2024-02-06 23:02:55 -05:00
Jose Diaz-Gonzalez
980979ef87 feat: properly handle nginx annotation merging 2024-02-06 22:48:22 -05:00
Jose Diaz-Gonzalez
7dbd9adc33 fix: set log mount dir to /var/log/nginx 2024-02-06 22:12:54 -05:00
Jose Diaz-Gonzalez
416a119904 feat: pull nginx properties as ingress annotations 2024-02-06 22:12:54 -05:00
Jose Diaz-Gonzalez
1af36b609d feat: add resource-specific annotations to ingress objects 2024-02-06 22:12:41 -05:00
Jose Diaz-Gonzalez
5674a29211 feat: add ability to use ingress-nginx for routing instead of traefik 2024-02-06 21:19:51 -05:00
Jose Diaz-Gonzalez
b35d6df67c feat: add support for displaying error logs 2024-02-06 21:19:14 -05:00
Jose Diaz-Gonzalez
81286a0673 feat: add ability to install nginx instead of traefik 2024-02-06 21:19:14 -05:00
Jose Diaz-Gonzalez
ea4767f2d8 Merge pull request #6564 from dokku/6416-nixpacks-no-link
Ignore link and volume flags for nixpacks builds
2024-02-06 17:27:54 -05:00
Jose Diaz-Gonzalez
a59480f97d fix: ignore link and volume flags for nixpacks builds
Closes #6416
2024-02-06 17:27:10 -05:00
Jose Diaz-Gonzalez
8711a1c801 fix: force set the kubectl path when running kubectl commands 2024-02-06 14:39:48 -05:00
Jose Diaz-Gonzalez
f5f583b12b feat: add support for specifying annotations
As the command contains a colon, it must be handled in the commands binary as opposed to subcommands.

Also include a simple bats test.
2024-02-06 13:54:53 -05:00
Jose Diaz-Gonzalez
408acbe14e feat: wait until initial k3s node is ready before installing manifests 2024-02-06 13:53:34 -05:00
Jose Diaz-Gonzalez
e08e1df026 Merge pull request #6561 from dokku/process-index
Index the process map to ensure the correct config is pulled
2024-02-06 05:16:56 -05:00
Jose Diaz-Gonzalez
77d5a27fda Merge pull request #6560 from dokku/josegonzalez-patch-2
Skip app stop/delete when k3s is not installed
2024-02-06 05:16:40 -05:00
Jose Diaz-Gonzalez
d7ff8552d1 fix: index the process map to ensure the correct config is pulled
Without this change, certain generated process names - like those for a cron job - may be incorrectly handled when indexing the process map.
2024-02-06 04:41:14 -05:00
Jose Diaz-Gonzalez
96e79487b9 fix: skip app stop/delete when k3s is not installed 2024-02-06 04:38:04 -05:00
Jose Diaz-Gonzalez
ea55071751 feat: check errors when writing files 2024-02-06 04:36:11 -05:00
Jose Diaz-Gonzalez
5e1089973e refactor: use type-specific functions for writing contents to a file 2024-02-06 01:39:44 -05:00