Jose Diaz-Gonzalez
4bae815f82
chore: remove codeskyblue/go-sh
...
It has been replaced with alexellis/go-execute.
2024-03-14 03:14:22 -04:00
Jose Diaz-Gonzalez
005eb2e11b
fix: detect the error twice
...
How the output is streamed changed a bit so we need to change the bats test
This will go back to zero if we ever re-implement how the container up starts for the docker-local scheduler.
2024-03-14 03:13:06 -04:00
Jose Diaz-Gonzalez
bb5ab0a777
refactor: use CallPlugnTrigger instead of PlugnTrigger
...
Refs #6422
2024-03-14 03:11:37 -04:00
Jose Diaz-Gonzalez
ea609801b5
chore: remove unused plugn code
2024-03-14 03:11:37 -04:00
Jose Diaz-Gonzalez
a7c90c42cb
Merge pull request #6714 from dokku/6422-remove-plugin-trigger-setup
...
Use CallPlugnTrigger instead of PlugnTriggerSetup
2024-03-14 03:11:27 -04:00
Jose Diaz-Gonzalez
54e324a4bc
Merge pull request #6715 from dokku/5764-df-report
...
Add disk utilization to report output
2024-03-14 02:41:21 -04:00
Jose Diaz-Gonzalez
e641fae3c9
feat: add disk utilization to report output
...
Closes #5764
2024-03-14 02:40:08 -04:00
Jose Diaz-Gonzalez
c277f529a0
refactor: use CallPlugnTrigger instead of PlugnTriggerSetup
...
Refs #6422
2024-03-14 02:26:01 -04:00
Jose Diaz-Gonzalez
68a280e0b6
Merge pull request #6712 from dokku/6422-remove-plugin-trigger-output
...
Use CallPlugnTrigger instead of PlugnTriggerOutput
2024-03-14 01:53:38 -04:00
Jose Diaz-Gonzalez
2fd6767e5a
Merge pull request #6711 from dokku/6422-remove-plugin-trigger-output-as-string
...
Use CallPlugnTrigger instead of PlugnTriggerOutputAsString
2024-03-14 01:37:02 -04:00
Jose Diaz-Gonzalez
0d26a90bf6
Merge pull request #6630 from dokku/cleanup-cache-dir-code
...
Remove unused code for copying cache directories
2024-03-14 01:20:28 -04:00
Jose Diaz-Gonzalez
cdff4ae867
refactor: use CallPlugnTrigger instead of PlugnTriggerOutput
...
Refs #6422
2024-03-14 01:18:28 -04:00
Jose Diaz-Gonzalez
f34fd277b3
refactor: use CallPlugnTrigger instead of PlugnTriggerOutputAsString
...
Refs #6422
2024-03-14 00:46:55 -04:00
Jose Diaz-Gonzalez
0ea9e7aa42
fix: copy over all phase files during an app rename or clone
2024-03-14 00:26:18 -04:00
Jose Diaz-Gonzalez
1cc8b3723d
fix: drop extra phase argument
2024-03-14 00:26:18 -04:00
Jose Diaz-Gonzalez
e0409caf75
fix: ensure env vars are copied over when cloning or renaming an app
2024-03-14 00:26:18 -04:00
Jose Diaz-Gonzalez
883809f35e
fix: properly rewrite domains when renaming an app
2024-03-14 00:26:18 -04:00
Jose Diaz-Gonzalez
c26a49bb4e
tests: add tests for config and docker options
...
These two are also still stored in the app repo directory and not copied over as properties, so would be susceptible to not having the code copied over.
2024-03-14 00:26:18 -04:00
Jose Diaz-Gonzalez
135497afda
chore: remove unused code for copying cache directories
...
This code no longer is necessary as cache directories are mounted from volumes instead of disk.
2024-03-14 00:26:18 -04:00
Jose Diaz-Gonzalez
a9933c7f02
Merge pull request #6708 from dokku/2322-spaces-over-ssh
...
Correctly handle quoted spaces over ssh
2024-03-13 23:53:46 -04:00
Jose Diaz-Gonzalez
ff18061987
fix: correctly prepend argument to passed ssh args
2024-03-13 22:43:49 -04:00
Jose Diaz-Gonzalez
6d07fea704
fix: correct expansion issue
2024-03-13 22:21:05 -04:00
Jose Diaz-Gonzalez
e43927a69e
tests: add a test for argument handling
2024-03-13 22:21:05 -04:00
Jose Diaz-Gonzalez
ca55f58446
refactor: move plugin test helper functions to test_helper.bash
2024-03-13 22:21:05 -04:00
Jose Diaz-Gonzalez
cf742bb3e0
chore: run shfmt
2024-03-13 22:21:05 -04:00
Jose Diaz-Gonzalez
79bce7d2d5
fix: use dollar sign
2024-03-13 22:21:04 -04:00
Jose Diaz-Gonzalez
e50b941cee
fix: correct arg parsing for git commands
2024-03-13 22:21:04 -04:00
Jose Diaz-Gonzalez
91c8e62da5
refactor: reparse the original ssh command in the hopes of keeping array arguments in place
2024-03-13 22:21:04 -04:00
Jose Diaz-Gonzalez
dc20a38756
fix: use old method for calling the git plugin
2024-03-13 22:21:04 -04:00
Jose Diaz-Gonzalez
34768ca5b4
fix: set exit_code variable
2024-03-13 22:21:04 -04:00
Jose Diaz-Gonzalez
5d8ccee919
fix: disable filename globbing for all commands
...
This will allow spaces in arguments when interacting with Dokku over ssh.
Refs #2322
2024-03-13 22:21:04 -04:00
Jose Diaz-Gonzalez
4d07ac6d6b
Merge pull request #6710 from dokku/dependabot/go_modules/plugins/scheduler-k3s/google.golang.org/protobuf-1.33.0
...
chore(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /plugins/scheduler-k3s
2024-03-13 22:11:01 -04:00
dependabot[bot]
b026103ae2
chore(deps): bump google.golang.org/protobuf in /plugins/scheduler-k3s
...
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-13 23:41:15 +00:00
Jose Diaz-Gonzalez
b78431a800
Merge pull request #6709 from dokku/dependabot/pip/docs/_build/zipp-3.18.0
...
chore(deps): bump zipp from 3.17.0 to 3.18.0 in /docs/_build
2024-03-13 10:26:35 -04:00
dependabot[bot]
e6f964bec1
chore(deps): bump zipp from 3.17.0 to 3.18.0 in /docs/_build
...
Bumps [zipp](https://github.com/jaraco/zipp ) from 3.17.0 to 3.18.0.
- [Release notes](https://github.com/jaraco/zipp/releases )
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst )
- [Commits](https://github.com/jaraco/zipp/compare/v3.17.0...v3.18.0 )
---
updated-dependencies:
- dependency-name: zipp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-13 13:40:19 +00:00
Jose Diaz-Gonzalez
c53d21c834
Merge pull request #6706 from dokku/6690-git-unlock
...
Remove git:unlock command
2024-03-13 09:09:22 -04:00
Jose Diaz-Gonzalez
a78a865752
Merge pull request #6707 from dokku/6657-remove-by-index
...
Correct issue where removing by index failed due to incorrect input validation
2024-03-13 09:09:00 -04:00
Jose Diaz-Gonzalez
a1790d674c
fix: use correct variable
2024-03-13 07:48:01 -04:00
Jose Diaz-Gonzalez
795d4941ee
chore: rename test files
2024-03-13 07:47:54 -04:00
Jose Diaz-Gonzalez
9cb54950fc
fix: correct issue where removing by index failed due to incorrect input validation
...
Closes #6657
2024-03-13 06:53:05 -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