rubenf
rubenf•2y ago

I will investigate right away

I will investigate right away
12 Replies
antrix
antrix•2y ago
As a followup question, is there a way to specify the jsonschema in the script code?
rubenf
rubenf•2y ago
Not right now, you could do it through the CLI but in if it's incompatible with the signature then it would get overridden. We could make the JSON Schema tab editable but one would have to be mindful to always keep it compatible actually I will make the JSON Schema tab editable in the same PR with an alert that non compatible fields will get overriden by compatible field I mean you can only refine properties but you cannot add arguments or change their type
antrix
antrix•2y ago
TBH, I prefer the current way if it is going to be in the web ide. Wouldn't fiddle with the json schema tab 🙂 I was thinking long term, could I provide a jsonschema with the script which is version controlled elsewhere.
rubenf
rubenf•2y ago
Yes that's exactly what the cli allow you to do
antrix
antrix•2y ago
Cool. That works for the non-web-ide scenario then!
rubenf
rubenf•2y ago
Just be mindful, the latest version of the CLI is a little bit buggy and i'm working on a fix well, after I fix customise but you can use 1.90.0 for instance
antrix
antrix•2y ago
sync looks neat! I can already see a path from experimenting in ide in a lower environment and then version control -> sync in a production environment.
rubenf
rubenf•2y ago
Yes, improving the local IDE experience for apps and flows is what I was working on: https://discord.com/channels/930051556043276338/930051556043276341/1103375014503383050 and the CLI is a big part of that we could spawn a local container for local devs with all your synced resources, and then you can push to prod once satisfied you could even use that local container to have the full UI so lots of cool low hanging fruits coming soon 🙂
antrix
antrix•2y ago
Nice nice! Exciting!
antrix
antrix•2y ago
BTW - this was me: https://github.com/windmill-labs/windmill-helm-charts/pull/16 A bit late to discord 🙂
GitHub
Treat oauth config as a secret by antrix · Pull Request #16 · windm...
Oauth config values generally have sensitive data that we don't want to commit to git. This PR introduces two changes: Converts oauth.json from a configmap to a Secret. Allows referencing an e...
rubenf
rubenf•2y ago
Thanks!