Jose Diaz-Gonzalez
83b89453a5
feat: write current process id to all acquired lock files
...
This allows us to check on what process created a lock.
Additionally, we now always have a DOKKU_PID value, even when running in cron (which does not have access to BASH_PID.
2024-03-14 08:18:35 -04:00
Jose Diaz-Gonzalez
5553da1be1
Merge pull request #6721 from dokku/cron-fix-global
...
Correct issue where cron properties cannot be retrieved if global
2024-03-14 08:17:33 -04:00
Jose Diaz-Gonzalez
41b0898db9
fix: correct issue where cron properties cannot be retrieved if global
2024-03-14 08:16:55 -04:00
Jose Diaz-Gonzalez
5a5531bce3
Merge pull request #6720 from dokku/nginx-gitignore
...
Add nginx-property binary to gitignore
2024-03-14 08:16:23 -04:00
Jose Diaz-Gonzalez
54e1b973a6
fix: add nginx-property binary to gitignore
2024-03-14 08:15:40 -04:00
Jose Diaz-Gonzalez
9597943b6b
Merge pull request #6719 from dokku/copydokku
...
feat: add a make target to copy the dokku binary over
2024-03-14 08:06:14 -04:00
Jose Diaz-Gonzalez
e98cbe93cf
feat: add a make target to copy the dokku binary over
...
This is helpful when in local development. While rare, sometimes the dokku binary needs to have some changes applied.
2024-03-14 08:05:50 -04:00
Jose Diaz-Gonzalez
2f2d4f5dd6
Merge pull request #6717 from dokku/6242-git-sync-build-if-changes
...
Add ability to only build synced repo if there are changes
2024-03-14 07:28:35 -04:00
Jose Diaz-Gonzalez
5d24b10144
chore: run shfmt
2024-03-14 06:10:52 -04:00
Jose Diaz-Gonzalez
58772984cd
tests: check that the ref has been updated to the correct value
2024-03-14 05:28:37 -04:00
Jose Diaz-Gonzalez
4de97a1094
feat: add ability to only build synced repo if there are changes
...
Closes #6242
2024-03-14 04:42:28 -04:00
Jose Diaz-Gonzalez
e470a880f9
Merge pull request #6713 from dokku/6422-remove-plugin-trigger
...
Use CallPlugnTrigger instead of PlugnTrigger
2024-03-14 04:41:21 -04:00
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