Error when trying to deploy a script from one environment to another
Hi,
We're working with Windmill EE v1.281.3 and have 3 environment (dev, staging, production).
I'm currently facing an issue when trying to deploy some script from dev to staging
The current script already exists on the staging platform.
We recently managed to use policy and rights on environment and resources, can it come from here ?
Also we may encounter a potential desynchronization of our environment, some staging scripts being ahead of the dev version.
Is there a way to update the dev environment with the staging version ?
We actually don't use git for script versioning.
10 Replies
Hi @Stocki , the error is saying that you do not have permission to create this script on the target workspace
possibly you are not admin there and the folder doesn't exist yet or you have no write permissiom there ?
Sure, I only have reading permission on the staging environment
I'm not admin anymore
then yes you cannot deploy with only read permission 🙂
Hmmm right
you cannot do more with deployment that you would be able to do otherwise
Is there a way to make the script read only on stg ?
In a way that nobody could edit it, we would have to update it on dev then deploy it on stg
permissions are always relative to ppl. Admins can always edit stuff, and owners can always edit stuff
if you can deploy something, you can edit it
Alright
I recommend the git workflow for what you want to do
you could have CI being the only one able to deploy to staging/prod
and no one having the same creds as CI to write stuff
We'll check that, thank you for your quick answer 🙏