Windmill

W

Windmill

Join the community to ask questions about Windmill and get answers from other members.

Join

help

general

changelog

Confused about "writer" permission - not working as intended

So I have the following setup: a folder ops and a group named engineers. The engineers group has been given Writer role on the group folder. All members of engineers also have the Author role at the workspace level. However, when a member of the engineers group tries to create a script within the ops folder, they get the error:
Not authorized: You are not owner of the folder ops
...

[CLI] --silent still printing unwanted logs using wmill flow run

I added the --silent flag to my wmill flow run command but it still prints WaitingForPriorSteps a few times on the standard output. It got rid of all the other logs though. The exact command I ran is : ```bash wmill flow run --data '{ "some_id": "f14661818ab7a5cf917eff1c173623de" }' --silent some_flow...

[CLI] --debug conflicts with --data in short option form for wmill flow run

``` wmill flow run some_flow -d '{ "someId": "f14661818ab7a5cf917ff1c17a663de" }' Debug logging enabled. CLI build against v1.138.0 Usage: wmill flow run <path>...

Is there a way to self-host on as Raspberry Pi?

I have a Raspberry-Pi 4 with 4GB RAM and tried to self-host via docker compose, but i just get the error "no matching manifest for linux/arm/v7 in the manifest list entries", even though it's stated on the homepage "Scale to Any Cluster Size - From Raspberry Pi to large Kubernetes clusters". Or is there another way to get Windmill running on the Pi?

Proper way of adding commands for bash scripts

Hi there ! I was wondering what's the proper way of adding programs so that they become executable from the bash script executor. Are we expected to build a custom worker image with the binaries in it or is there something I'm not aware of?...

Meaning of this error ?

{ "error": { "name": "ExecutionErr", "message": "error during execution of the script: process terminated by signal: Some(...

How to use ffmpeg in windmill ?

Ffmpeg needs to be installed as dependency in ubuntu and another npm lib fluent-ffmpeg , I use to call the command line ffmpeg command (or can directly use ffmpeg command via child-process). But ffmpeg has to be installed on commandline. How to do that in script ?

Author role user have access to variables/secrets too of that folder

I am giving a user XYZ access as operator on workspace-level and author of a particular folder. The person is not a developer but a sales team member so he should only be executing the script/flow in that folder. Currently, the person XYZ can read the script also of that folder (can see the code). I am fine with this. But the person XYZ can also read the secrets/variables of that folder. The person XYZ cannot directly see the secrets Variables tab in left-sidebar but if the person goes to url of variables tab, XYZ can see the variables there....

Integration with KEYCLOACK

Hello everyone, has anyone ever integrated WindMill with KeyCloak? Could you give me a hand to understand where I am going wrong? Specifically, I have created a new client with a secret ID in KeyCloak, and in WindMill, I have created the OAuth file as indicated in the guide. In theory, I should be able to log in to WindMill with the credentials created in KeyCloak, but I'm having trouble. Any ideas? Thank you.

Use tab selection as trigger?

I'm using a tab component to host a "multi-page" app. Can I run some front-end code when a different tab is selected ... in other words, the selectedTabIndex changes?

Possible bug: Eval script keeps returning no input

if (!state.hasOwnProperty('active_namespace')) { return 'get pods --all-namespaces --output=json' } else { return `get pods --namespace ${state.active_namespace} --output=json`}
if (!state.hasOwnProperty('active_namespace')) { return 'get pods --all-namespaces --output=json' } else { return `get pods --namespace ${state.active_namespace} --output=json`}
This code keeps returning no value as input to my Runnable backend script. It should return one string or the other. ...
No description

Passing file from worker container into new Docker container

I was planning to create a video describing how to create custom user interfaces in Windmill, for managing Kubernetes clusters. I need to pass the kubeconfig.yml file, containing the authentication details, from the Windmill worker container, into a new Docker container. Previously, I've simply installed software (such as kubectl) into the worker, but using a container helps make things more reliable and less prone to conflicts....
No description

Native script editor for PowerShell

Would it be possible to directly edit PowerShell scripts, instead of embedding them in Bash here-strings? PowerShell supports special syntax, such as multi-line commands, using the backtick as the "line continuation" character. Using this syntax, and perhaps others, breaks the Bash parser. All you'd have to do is write the text from the editor to a file, and then execute the pwsh -File command instead of executing Bash....
No description

What exactly is euphemeral token ?

It will still be considered as the script ran on my behalf, so what is the use , please explain
No description

How can I trigger a refresh of an HTML component after executing a back-end script?

I have a button that triggers a background script. After the script completes successfully, I want to trigger a refresh of the HTML component, to reload its children's content. How can I accomplish this?

OpenAPI fields to return ?

Is it possible to filter out the fields returned by windmill openapi ? For example i need to exclude the logs field from the list all available jobs route The jobs i've got have so heavy logs that im not able to get responses under 50 mb...

How do I use a Windmill Postgres script to insert a date field?

I tried this script, and it fails with the error message: ExecutionError: error serializing parameter 2: cannot convert between the Rust type alloc::string::String and the Postgres type date`` ```sql -- $1 firstName -- $2 lastName...
No description

Error when running wmill sync pull due to temp dir?

I'm trying to run wmill sync pull for the first time (on a macbook) and it's immediately throwing this error: ``` ❯ wmill sync pull Computing the files to update locally to match remote (taking .wmillignore into account)...

Retrieve and serve video from back-end script

I'd like to use FFmpeg to generate a snippet of video inside of a back-end Windmill script. What's the best way to store and return this data to the Windmill UI? I don't see a Video component available.