Jose Diaz-Gonzalez
6fb03eda4e
feat: implement most of deployments
...
The big feature missing from deployments today is healthchecks, which require extra parsing of the app.json format since the healthchecks there aren't immediately serializable to kubernetes deployment healthchecks.
Other smaller missing functionality from the existing OSS kubernetes scheduler are:
- The ability to set custom pod annotations
- The ability to set custom deployment annotations
- The ability to mount volumes
Exposing these pieces of functionality will come at a later date, if at all.
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
6c234c66a3
fix: guard the initialize call if k3s is already installed
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
7101d1bf7b
fix: close the file before attempting to write it
...
Also remove the unnecessary sleep call
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
f377c23403
feat: setup k3s registry automatically on registry login
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
65d840e4bc
chore: stub out post-registry-login
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
ec538ce1c5
feat: implement scheduler-k3s:initialize
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
d6824c44c7
fix: correct plugin name
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
523d7bcf9e
chore: bump golang.org/x/sync from 0.5.0 to 0.6.0
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
3821d22b93
chore: write go.sum file
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
a80c73fb2c
feat: create skeleton of k3s plugin
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
3bf677ff9b
Merge pull request #6500 from dokku/3454-chown-add
...
Add support for custom user namespaces when creating persistent storage directories
2024-01-23 02:50:39 -05:00
Jose Diaz-Gonzalez
7381cf74c6
feat: add support for custom user namespaces when creating persistent storage directories
...
Closes #3454
2024-01-23 02:25:11 -05:00
Jose Diaz-Gonzalez
cb558c1a19
Merge pull request #6492 from dokku/multierror-logging
...
Add support for multierror when exiting triggers
2024-01-20 06:58:21 -05:00
Jose Diaz-Gonzalez
6908177095
feat: add support for multierror when exiting triggers
2024-01-20 06:57:48 -05:00
Jose Diaz-Gonzalez
d40b264a40
Merge pull request #6491 from dokku/exec-ssh-tasks
...
Add wrappers for exec and ssh commands
2024-01-20 05:27:30 -05:00
Jose Diaz-Gonzalez
b6d3749f51
feat: add sftp implementation
2024-01-20 05:26:37 -05:00
Jose Diaz-Gonzalez
0cf26ac994
feat: add wrappers for exec and ssh commands
2024-01-20 05:05:35 -05:00
Jose Diaz-Gonzalez
e2056e296b
Merge pull request #6489 from dokku/disable-flag-parsing-for-enter
...
Disable flag parsing for dokku enter
2024-01-19 20:26:20 -05:00
Jose Diaz-Gonzalez
83b0cf4065
fix: always set -- on docker exec commands internally to avoid parsing flags on specified commands
2024-01-19 20:02:20 -05:00
Jose Diaz-Gonzalez
1172ac4653
Merge pull request #6468 from dokku/global-proxy-type
...
Implement global support for setting proxy type
2024-01-19 08:39:46 -05:00
Jose Diaz-Gonzalez
dc39e5c0f3
Merge pull request #6467 from dokku/registry-repo-template
...
Add ability to customize the registry repo with a template
2024-01-19 08:39:01 -05:00
Jose Diaz-Gonzalez
2e0f1ac89a
Merge pull request #6469 from dokku/git-deploy-key
...
Allow generating an ssh deploy key via the git plugin
2024-01-19 07:24:13 -05:00
Jose Diaz-Gonzalez
4fc3ab4b7a
fix: reverse the expected proxy type
2024-01-19 07:15:36 -05:00
Jose Diaz-Gonzalez
213f9400ec
Merge pull request #6456 from dokku/dependabot/go_modules/tests/apps/gogrpc/google.golang.org/grpc-1.60.1
...
chore(deps): bump google.golang.org/grpc from 1.29.1 to 1.60.1 in /tests/apps/gogrpc
2024-01-19 06:44:32 -05:00
Jose Diaz-Gonzalez
874f2dfaf4
feat: set the platform flag in order to run amd64 images on arm64 deploy targets
...
This allows folks to use herokuish, pack, and lambda built-images on arm64 servers.
Closes #6312
2024-01-19 06:37:48 -05:00
Jose Diaz-Gonzalez
7fbb86093b
feat: implement global support for setting proxy type
2024-01-19 06:31:19 -05:00
Jose Diaz-Gonzalez
ec65d97139
feat: allow generating an ssh deploy key via the git plugin
...
While this might not seem super intuitive, the key is mostly related to git management, not the ssh-keys we currently use to add/remove access to push to dokku.
2024-01-19 06:30:30 -05:00
Jose Diaz-Gonzalez
214dc9b69a
feat: add ability to customize the registry repo with a template
2024-01-19 06:29:32 -05:00
Jose Diaz-Gonzalez
ea28367689
Merge pull request #6466 from dokku/josegonzalez-patch-1
...
Use correct key for migrating global scheduler configuration on upgrade
2024-01-19 06:24:46 -05:00
Jose Diaz-Gonzalez
69e79b227d
fix: use correct key for migrating global scheduler configuration on upgrade
2024-01-19 06:24:18 -05:00
Jose Diaz-Gonzalez
ab735333c6
fix: update the test
2024-01-19 03:51:21 -05:00
Jose Diaz-Gonzalez
6c6d016f1b
chore: update gogrpc codebase from upstream
2024-01-19 03:14:39 -05:00
dependabot[bot]
43775d7b91
chore(deps): bump google.golang.org/grpc in /tests/apps/gogrpc
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.29.1 to 1.60.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.29.1...v1.60.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-19 02:28:30 -05:00
Jose Diaz-Gonzalez
ab51247e3a
Merge pull request #6465 from dokku/fix-haproxy-tests
...
Update haproxy tests so they pass
2024-01-19 02:27:52 -05:00
Jose Diaz-Gonzalez
464019f439
tests: sleep for a bit before testing haproxy
2024-01-19 02:09:55 -05:00
Jose Diaz-Gonzalez
193798b9e6
debug: check on all hosts
2024-01-18 23:49:06 -05:00
Jose Diaz-Gonzalez
f0c7985970
fix: update haproxy tests so they pass
2024-01-18 22:47:07 -05:00
Jose Diaz-Gonzalez
d656d185ce
Merge pull request #6464 from dokku/docker-workdir
...
Create helper function for exposing a docker image's working directory
2024-01-18 22:38:58 -05:00
Jose Diaz-Gonzalez
68fd65b25f
feat: create helper function for exposing a docker image's working directory
2024-01-18 22:38:37 -05:00
Jose Diaz-Gonzalez
c72ed428a4
Merge pull request #6463 from dokku/cron-appjson
...
refactor: use exported function from appjson module instead of manually parsing
2024-01-18 22:35:33 -05:00
Jose Diaz-Gonzalez
94926d141f
refactor: use exported function from appjson module instead of manually parsing
...
Also add some missing docblocks.
2024-01-18 22:35:12 -05:00
Jose Diaz-Gonzalez
7984a8d9a0
Merge pull request #6462 from dokku/ps-header
...
Ensure ps:stop has a proper cli header
2024-01-18 22:31:54 -05:00
Jose Diaz-Gonzalez
2acc492906
chore: ensure ps:stop has a proper cli header
2024-01-18 22:31:41 -05:00
Jose Diaz-Gonzalez
fb851e3e51
Merge pull request #6461 from dokku/scheduler-docs
...
Add documentation for implementing scheduler-related commands
2024-01-18 22:30:06 -05:00
Jose Diaz-Gonzalez
49d98eb1f2
docs: add documentation for implementing scheduler-related commands
2024-01-18 22:29:52 -05:00
Jose Diaz-Gonzalez
6dadfde948
Merge pull request #6460 from dokku/post-registry-login
...
Add a post-registry-login trigger
2024-01-18 22:25:50 -05:00
Jose Diaz-Gonzalez
98d0a95ae6
feat: add a post-registry-login trigger
...
This allows other plugins to execute commands after a registry has been authenticated against.
2024-01-18 22:25:23 -05:00
Jose Diaz-Gonzalez
d89e2ba2bb
fix: ensure we default to stdout format
2024-01-18 22:19:02 -05:00
Jose Diaz-Gonzalez
199e29cc15
Merge pull request #6454 from dokku/dependabot/pip/tests/apps/python-flask/flask-3.0.1
...
chore(deps): bump flask from 3.0.0 to 3.0.1 in /tests/apps/python-flask
2024-01-18 22:13:15 -05:00
Jose Diaz-Gonzalez
c4984cd4f8
Merge pull request #6455 from dokku/dependabot/pip/tests/apps/multi/flask-3.0.1
...
chore(deps): bump flask from 3.0.0 to 3.0.1 in /tests/apps/multi
2024-01-18 22:12:56 -05:00