Deploy to DO or another way to implement CI/CD
I've started another Wave installation (with one container) and any time I tried to test the Deploy to Do, after adding the GitHub repo and the DO token, I got: "500 SERVER ERROR". After that if I try again I got directly a 500 SERVER ERROR and there isn't any change on my GitHub repository.
I'd like to know if there is another way to do CI/CD with Wave?. I'm DevOps and it's my first time dealing with a webapp, so I'm trying to use this product to have to do the lesser amount of work on the UI, but I've had a lot of issues lately.
Thanks.
Hi there,
What you could do is to just enable auto-deplopyments on the DigitalOcean side. That way whenever you push changes to your GitHub repo, it will automatically trigger a build and a deployment process on the DigitalOcean end. To do that just add the deploy_on_push: true
to your yaml.
For more information make sure to checkout the official documentation:
DigitalOcean App Platform Docs
As a DevOps person myself, the 500 error is one of the most common errors out there, it is just a generic error telling you that something went wrong. Whenver you get a 500 error, you really just need to check the logs and see what actually went wrong. In the logs you can see more information on what the problem is.
If you are still getting a 500 error, feel free to share the output from the logs rather than just the 500 error message, that way I should be able to advise you on what you could do to fix the error.
In addition to the above, Wave is just a standard Laravel app, so you could also use Laravel Forge to automate your server provisioning and automated deployments.