Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull windmill to main is always failing #6

Open
pa-bru opened this issue May 24, 2023 · 8 comments
Open

Pull windmill to main is always failing #6

pa-bru opened this issue May 24, 2023 · 8 comments

Comments

@pa-bru
Copy link

pa-bru commented May 24, 2023

I want to implement this workflow but I noticed pull-workspace.yaml fails mainly during the pull changes step.

here is a screenshot of the error

Screenshot 2023-05-24 at 14 45 00
@rubenfiszel
Copy link
Contributor

nestdotland/nest.land#336 nest land seems to be down. I will see how we can fix our dependencies

@rubenfiszel
Copy link
Contributor

I purged the CLi from this faulty registry and updated the example to use 1.104.0. Thanks for the report

@pa-bru
Copy link
Author

pa-bru commented May 24, 2023

Thank you @rubenfiszel for the reactivity! I still encounter an issue but maybe I do something wrong.
For now my repo has nothing in it. everything (scripts, flows, etc) are in the remote workspace. And I'm using a self hosted windmill application.

it fails here: https://github.com/windmill-labs/windmill/blob/main/cli/pull.ts#LL33C2-L33C2

Do you have any idea? I tried to export the workspace as a zip in the app and it worked well.

Screenshot 2023-05-24 at 17 37 24

@rubenfiszel
Copy link
Contributor

I think what's happening here is that for some reason, the CLI pulls something but it's not a zip. Could you confirm that fetching
base_url/api/w/<workspace_id>/workspaces/tarball?archive_type=zip and passing your token as bearer token returns a zip ? Otherwise, what does it say ?

@pa-bru
Copy link
Author

pa-bru commented May 24, 2023

You are right. I just tested the request and it returns html. Our windmill app is hosted on cloudflare and we have to signin with google workspace...

@rubenfiszel
Copy link
Contributor

Since windmill supports Google SSO directly, you could expose it publicly under the google sso

@pa-bru
Copy link
Author

pa-bru commented May 25, 2023

Do you refer to this feature?
I also saw the google cloud github action so I wonder what I should use

@rubenfiszel
Copy link
Contributor

Yes I was referring to configuring oauth so that google sso was a login provider. A possibility is also to self-host the github runner behind your cloudflare tunnet so that it can talk to windmill directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants