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
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
6908177095
feat: add support for multierror when exiting triggers
2024-01-20 06:57:48 -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
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
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
69e79b227d
fix: use correct key for migrating global scheduler configuration on upgrade
2024-01-19 06:24:18 -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
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
2acc492906
chore: ensure ps:stop has a proper cli header
2024-01-18 22:31:41 -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
4aa13bdf47
feat: alias common registry names to docker.io
2024-01-18 22:10:58 -05:00
Jose Diaz-Gonzalez
7a94b10266
feat: add docblocks to appjson structs
2024-01-18 22:08:40 -05:00
Jose Diaz-Gonzalez
78d24ead09
feat: add the ability to specify the output format when listing ports
2024-01-18 22:00:53 -05:00
Jose Diaz-Gonzalez
1a5e17bd68
feat: add alternative implementation for calling plugin triggers
...
Refs #6422
2024-01-18 21:47:07 -05:00
Jose Diaz-Gonzalez
e093b04511
Merge pull request #6450 from dokku/disable-flag-parsing
...
Always set -- on docker run commands internally to avoid parsing flags on specified commands
2024-01-18 21:42:34 -05:00
Jose Diaz-Gonzalez
33f532e022
chore: update go modules
2024-01-18 21:15:04 -05:00
Jose Diaz-Gonzalez
5ffbcf24de
fix: always set -- on docker run commands internally to avoid parsing flags on specified commands
2024-01-18 21:00:42 -05:00
Jose Diaz-Gonzalez
59f74cbccf
Merge pull request #6444 from dokku/write-to-slice-custom-mode
...
Allow setting a custom mode when writing a slice to a file
2024-01-18 20:53:58 -05:00
Jose Diaz-Gonzalez
698979983f
Merge pull request #6448 from dokku/scale-int32
...
Return an int32 for scale count
2024-01-18 20:47:02 -05:00
Jose Diaz-Gonzalez
ca23e42e23
Merge pull request #6447 from dokku/propagate-arch
...
Propagate arm64 build support for development builds
2024-01-18 20:46:44 -05:00
Jose Diaz-Gonzalez
8947060fab
Merge pull request #6446 from dokku/global-only-properties
...
Add support for global-only environment properties
2024-01-18 20:46:24 -05:00
Jose Diaz-Gonzalez
1549f84aa4
Merge pull request #6445 from dokku/cat-file-exact
...
Do not strip whitespace when displaying a file for debugging purposes
2024-01-18 20:46:06 -05:00
Jose Diaz-Gonzalez
7cbfb3c750
Merge pull request #6439 from dokku/dependabot/go_modules/plugins/config/github.com/onsi/gomega-1.31.0
...
chore(deps): bump github.com/onsi/gomega from 1.30.0 to 1.31.0 in /plugins/config
2024-01-18 19:51:35 -05:00
Jose Diaz-Gonzalez
6ae406609c
Merge pull request #6438 from dokku/dependabot/go_modules/plugins/common/github.com/onsi/gomega-1.31.0
...
chore(deps): bump github.com/onsi/gomega from 1.30.0 to 1.31.0 in /plugins/common
2024-01-18 19:51:28 -05:00
Jose Diaz-Gonzalez
6bcb4a016d
refactor: return an int32 for scale count
2024-01-18 19:23:57 -05:00
Jose Diaz-Gonzalez
eb6a0dc71d
fix: propagate arm64 build support for development builds
2024-01-18 19:19:53 -05:00
Jose Diaz-Gonzalez
580d2dc3ee
feat: add support for global-only environment properties
...
If a property is only specified globally, it would otherwise be caught later in the check for valid properties.
2024-01-18 19:16:13 -05:00
Jose Diaz-Gonzalez
8cc822eed0
fix: do not strip whitespace when displaying a file for debugging purposes
2024-01-18 19:13:44 -05:00
Jose Diaz-Gonzalez
fb73474675
refactor: allow setting a custom mode when writing a slice to a file
2024-01-18 19:11:53 -05:00
Jose Diaz-Gonzalez
4294694be3
feat: add support for exposing healthchecks in the AppJson struct
2024-01-18 19:05:14 -05:00
dependabot[bot]
eb1b8b0f9b
chore(deps): bump github.com/onsi/gomega in /plugins/config
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.30.0 to 1.31.0.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.30.0...v1.31.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-18 14:01:34 +00:00