bitbucket integration
Hi, our place is using bitbucket on-prem, and i wonder if windmill has good integration story with bitbucket?
From what i saw on the docs, it only integrates with github. Thanks!
23 Replies
no it works with bitbucket too as it works with the git protocol itself
thanks @rubenf
do you have or know any docs that will be useful for us to try setting that up?
Are you talking specifically about the git sync feature?
Deploy to prod using a git workflow | Windmill
Windmill integration with Git repositories makes it possible to adopt a robust development process for your Windmill scripts, flows and apps.
oh, i already saw that doc last time, and i think i stumbled upon on this section, https://www.windmill.dev/docs/advanced/deploy_gh_gl#setup-git-sync as i couldn't figure out to make that url with token works with our bitbucket on-prem (note we're not using bitbucket cloud)
Deploy to prod using a git workflow | Windmill
Windmill integration with Git repositories makes it possible to adopt a robust development process for your Windmill scripts, flows and apps.
hi @rubenf i created a
git_repository resource and then try to sync from the workspace, and i got this error back
do you know if there is a way to disable that server certificate verification?can you reproduce locally and let us know what you had to pass to git to ignore it?
(using same command)
it looks like setting this will make git ignore that cert verification
in that case you can try setting that in the worker group config

ok, we'll give it a try, thanks @rubenf
sorry for a silly question, so each execution of the resource (i.e. in this case
git) will always run on the worker node?it will always run on a worker yes
but if you have multiple worker groups, depend on the tags being assigned
tag for git sync is "dependency"
another question, if we plan to use the same repository, and i see there is a
folder setting in that resource (see attached image) and if i plan to sync/save the code to different folders (i.e. script code under scripts folder, flow code under flows folder, etc.), then does it mean i have to create multiple git_repository resources, and each for different folder?
correct
so it looks like we cannot have multiple
git_repository resources for the same workspace, is it correct?
for example, on the Git Sync tab of the workspace settings, i only can add one git repo resourceyou can add, there are options for secondary sync
and for promotion mode, it was added recently
where is that option for secondary sync? i couldn't find it
but i do see the option for the promotion mode

not seeing it there, i guess no luck for me..

you need to have a first one 😉
you're right indeed!! thanks!
btw, i added new var, resource and script and put them under
f folder, and attached is the git sync filter settings i have, but when i am trying to push the changes back to repo, it said no changes detected (see another attached screenshot), but obviously i added new things under that f folder, do you know what i missed?

not sure but can you try doing wmill sync push locally maybe ?
and what does the job logs say?
(can get them by clicking on job id url)
my bad, of course i won't see any pending changes there, because i just realized seeing this... lol
