Jose Diaz-Gonzalez
795d4941ee
chore: rename test files
2024-03-13 07:47:54 -04:00
Jose Diaz-Gonzalez
50958fc448
refactor: remove git:unlock command
...
This is no longer necessary with improvements elsewhere in Dokku.
2024-03-13 06:24:30 -04:00
Jose Diaz-Gonzalez
4bd64dfd7b
Merge pull request #6704 from dokku/k3s-default-nginx
...
Switch the default k3s routing layer from traefik to nginx
2024-03-13 05:39:26 -04:00
Jose Diaz-Gonzalez
eaf641f9e3
Merge pull request #6705 from dokku/6690-git-data-dir-cleanup
...
Ensure we cleanup the data directory on app deletion
2024-03-13 05:39:17 -04:00
Jose Diaz-Gonzalez
10468ce47d
fix: ensure we cleanup the data directory on app deletion
...
Also use a variable for the clone root dir.
2024-03-13 05:37:06 -04:00
Jose Diaz-Gonzalez
55461f0149
feat: switch the default k3s routing layer from traefik to nginx
...
The ingress-nginx ingress implementation is the standard ingress in the Kubernetes community, and it doesn't make sense for us to stray from that just to utilize the k3s default.
In the future, we might drop k3s, but this works well for now.
2024-03-13 04:50:18 -04:00
Jose Diaz-Gonzalez
eb9a75496c
Merge pull request #6703 from dokku/logrotate-perms
...
Use copytruncate in logrotate commands
2024-03-13 01:52:20 -04:00
Jose Diaz-Gonzalez
76dd78e441
chore: run shfmt
2024-03-13 01:51:16 -04:00
Jose Diaz-Gonzalez
87a008c86b
Merge pull request #6632 from dokku/remove-disable-chown
...
Simplify file ownership in the container by setting the process ownership during the build process
2024-03-13 01:44:39 -04:00
Jose Diaz-Gonzalez
64cc239d5b
fix: use copytruncate in logrotate commands
...
While using create is more correct, logs in Dokku are considered ephemeral, and thus shouldn't be considered subject to the more comprehensive log retention standards one might require out of a logging system.
By switching to copytruncate, we can ensure that logs mounted from within containers do not have that matched the old settings (closes #6633 ) and cases where the log file is written by a user other than the one specified in the old logrotate settings (closes #4000 ).
2024-03-12 23:49:49 -04:00
Jose Diaz-Gonzalez
c8afdb553d
Merge pull request #6700 from dokku/traefik-remove-priority
...
Remove traefik priority functionality
2024-03-12 23:29:49 -04:00
Jose Diaz-Gonzalez
681dc93ad9
feat: disable setuidgid as the app is already running as the correct user
2024-03-12 22:27:42 -04:00
Jose Diaz-Gonzalez
dd26850854
chore: double-quote
2024-03-12 22:27:42 -04:00
Jose Diaz-Gonzalez
68d05b230d
refactor: simplify file ownership in the container by setting the process ownership during the build process
...
Rather than require a heavy chown operation across various paths, just chown the files already in the built image during the release process. This ensures we can skip not-only the chown process during the container start that herokuish injects, but also the one that Dokku runs which modifies mounted container paths as well during the pre-deploy.
Note that users will need to ensure any mounted volumes don't have permissions reset by other processes or containers won't be able to access them.
2024-03-12 22:27:39 -04:00
Jose Diaz-Gonzalez
0d6bde2eff
Merge pull request #6156 from dokku/migrate-lock-path
...
Migrate the app deploy lock to the data directory
2024-03-12 22:24:55 -04:00
Jose Diaz-Gonzalez
b9d3390289
Merge pull request #6650 from bastianh/expose_by_default
...
Do not expose all containers via traefik by default
2024-03-12 22:24:20 -04:00
Jose Diaz-Gonzalez
d2b167d6ad
Merge pull request #6681 from dokku/k3s-ingress-per-domain
...
Migrate to single ingress per app/domain combination
2024-03-12 22:22:45 -04:00
Jose Diaz-Gonzalez
ee08b8c0fd
chore: remove traefik priority functionality
...
Setting a priority appears to cause minor outages in certain cases, so we should just avoid setting it on behalf of users and allow them to set this directly.
2024-03-12 22:21:16 -04:00
Jose Diaz-Gonzalez
791d91d937
Merge pull request #6699 from dokku/josegonzalez-patch-1
...
Add a placeholder migration guide for 0.33.0
2024-03-12 22:18:59 -04:00
Jose Diaz-Gonzalez
a411661ecb
docs: add a reference to the 0.33.x placeholder migration guide
2024-03-12 22:18:52 -04:00
Jose Diaz-Gonzalez
08e968b15e
docs: add a placeholder migration guide for 0.33.0
2024-03-12 22:17:33 -04:00
Jose Diaz-Gonzalez
1bc63001db
Merge pull request #6698 from dokku/k3s-upgrade-ingress
...
Upgrade ingress-nginx
2024-03-12 22:08:34 -04:00
Jose Diaz-Gonzalez
aff6ab8902
chore: upgrade ingress-nginx
2024-03-12 21:07:19 -04:00
Jose Diaz-Gonzalez
455c59a4b7
Merge pull request #6588 from ipp-net/feature/add-latest-tag
...
add extra tags to every image dokku push when push-extra-tags are set
2024-03-12 20:52:18 -04:00
Jose Diaz-Gonzalez
eb1f842254
Merge pull request #6680 from dokku/k3s-wait-timeout
...
Wait until helm charts are installed before marking a deploy as failed or completed
2024-03-12 20:40:59 -04:00
Jose Diaz-Gonzalez
d1e3f51df3
Merge pull request #6697 from dokku/dependabot/docker/plugins/logs/timberio/vector-0.36.1-debian
...
chore(deps): bump timberio/vector from 0.36.0-debian to 0.36.1-debian in /plugins/logs
2024-03-12 20:40:12 -04:00
dependabot[bot]
d9297f2534
chore(deps): bump timberio/vector in /plugins/logs
...
Bumps timberio/vector from 0.36.0-debian to 0.36.1-debian.
---
updated-dependencies:
- dependency-name: timberio/vector
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-12 13:16:13 +00:00
Jose Diaz-Gonzalez
c840fc5f9e
feat: wait until helm charts are installed before marking a deploy as failed or completed
...
This ensures applications are actually up vs giving a false sense of security to users about the state of their applications.
2024-03-12 08:39:22 -04:00
Jose Diaz-Gonzalez
77d9594c09
fix: use annotation to check for ingress method
2024-03-12 07:57:20 -04:00
Jose Diaz-Gonzalez
7c61b53cc8
Merge pull request #6695 from dokku/k3s-respect-ingress
...
Do not attempt to install both k3s and traefik
2024-03-12 07:55:42 -04:00
Jose Diaz-Gonzalez
b976cc60d2
Merge pull request #6696 from dokku/k3s-bats-arguments
...
Run k3s tests with a specified server ip
2024-03-12 07:55:32 -04:00
Jose Diaz-Gonzalez
a90c441095
tests: run tests with a specified server ip
2024-03-12 06:30:21 -04:00
Jose Diaz-Gonzalez
ac2ea7597e
fix: use correct variable name
2024-03-12 06:11:28 -04:00
Jose Diaz-Gonzalez
d68eacced4
fix: do not attempt to install both k3s and traefik
2024-03-12 06:08:05 -04:00
Jose Diaz-Gonzalez
25469845e1
fix: correct testcase for metabase deploy
2024-03-12 05:06:36 -04:00
Jose Diaz-Gonzalez
d4b484a33a
fix: replace existing port-map ingress objects with domain ingress objects
...
Domains cannot be reused across ingress objects, and port maps are a function of a domain, so the inversion here makes most sense (at the cost of some downtime when migrating.
2024-03-12 03:55:40 -04:00
Jose Diaz-Gonzalez
59958181e4
tests: add initial test for exposed dockerfile port
2024-03-11 23:32:19 -04:00
Jose Diaz-Gonzalez
92139a0cd3
Merge pull request #6685 from dokku/dependabot/go_modules/plugins/scheduler-k3s/github.com/go-jose/go-jose/v3-3.0.3
...
chore(deps): bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 in /plugins/scheduler-k3s
2024-03-11 23:29:09 -04:00
Jose Diaz-Gonzalez
0e1c3d5fc0
Merge pull request #6687 from dokku/k3s-cluster-autoscaling
...
Correct issue where ClusterTriggerAuthentication objects were filtered based on prefix
2024-03-11 23:29:01 -04:00
Jose Diaz-Gonzalez
7df3e6241b
Merge pull request #6692 from dokku/dependabot/pip/docs/_build/packaging-24.0
...
chore(deps): bump packaging from 23.2 to 24.0 in /docs/_build
2024-03-11 23:28:47 -04:00
Jose Diaz-Gonzalez
0dad6a0e58
Merge pull request #6693 from dokku/dependabot/github_actions/tj-actions/changed-files-42.1.0
...
chore(deps): bump tj-actions/changed-files from 42.0.7 to 42.1.0
2024-03-11 23:28:37 -04:00
dependabot[bot]
131567ba6d
chore(deps): bump tj-actions/changed-files from 42.0.7 to 42.1.0
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 42.0.7 to 42.1.0.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v42.0.7...v42.1.0 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-11 13:21:43 +00:00
dependabot[bot]
67273e1db0
chore(deps): bump packaging from 23.2 to 24.0 in /docs/_build
...
Bumps [packaging](https://github.com/pypa/packaging ) from 23.2 to 24.0.
- [Release notes](https://github.com/pypa/packaging/releases )
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pypa/packaging/compare/23.2...24.0 )
---
updated-dependencies:
- dependency-name: packaging
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-11 13:15:05 +00:00
Jose Diaz-Gonzalez
5184704a31
Merge pull request #6689 from dokku/dependabot/github_actions/tj-actions/changed-files-42.0.7
...
chore(deps): bump tj-actions/changed-files from 42.0.6 to 42.0.7
2024-03-11 05:30:42 -04:00
Krzysztof Taraszka
c4c961bef1
add bats test for push-extra-tags
2024-03-10 16:46:59 +01:00
dependabot[bot]
60865c21d7
chore(deps): bump tj-actions/changed-files from 42.0.6 to 42.0.7
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 42.0.6 to 42.0.7.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v42.0.6...v42.0.7 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-08 13:40:36 +00:00
Jose Diaz-Gonzalez
bfe552ee43
Merge pull request #6686 from dokku/k3s-autoscaling-validation
...
Validate input for the autoscaling-auth:set command
2024-03-08 06:21:23 -05:00
Jose Diaz-Gonzalez
0134cd98d0
fix: correct issue where ClusterTriggerAuthentication objects were filtered based on prefix
...
The prefix no longer matters since they are global to the cluster.
2024-03-08 05:23:58 -05:00
Jose Diaz-Gonzalez
8f5a834cf0
fix: validate input for the autoscaling-auth:set command
2024-03-08 05:17:49 -05:00
Jose Diaz-Gonzalez
4d18c8d9d9
Merge pull request #6683 from dokku/dependabot/pip/docs/_build/importlib-metadata-7.0.2
...
chore(deps): bump importlib-metadata from 7.0.1 to 7.0.2 in /docs/_build
2024-03-07 18:07:58 -05:00