micro / services

Real World Micro Services
Apache License 2.0
1.26k stars 138 forks source link

App(Beta) - unable to deploy an app from specified branch #331

Closed lambdaR closed 2 years ago

lambdaR commented 2 years ago

The app.Run endpoint returns {"Id":"app.run","Code":500,"Detail":"Failed to download source","Status":"Internal Server Error"} for the following request.

rsp, err := appService.Run(&app.RunRequest{
        Branch: "debo",
        Name:   "pwm3oappsdebo",
        Port:   8080,
        Region: "europe-west1",
        Repo:   "github.com/lambdaR/playing-with-m3o-apps",
    })

the same also with branch zeus. main branch works fine.

asim commented 2 years ago

I'll have a look at this later today. I think it's because there might be a problem with the underlying library checking out the code. The codepath if you specify a https:// URL is different.

asim commented 2 years ago

Fixed, tested and running here https://lambda.m3o.app/