Skip to content

Comment on Cloud Run Button: Click-to-deploy your Git repos to GCPparent

Comments

I didn't realize that. Saving anyone else a search https://devcenter.heroku.com/articles/heroku-button

There appears to be more vendor lock in with this one requiring heroku specific files...

I'm a bit behind on best practices with Heroku so the heroku.yml[1] config is new to me and it says it doesn't replace app.json. This is where I feel like Cloud Run supporting "plain" docker files or build packs is great. I wonder if Heroku will follow suit and make it a bit easier to deploy "just a container"?

[1] https://devcenter.heroku.com/articles/build-docker-images-he...

`app.json` serves a different purpose from Dockerfiles (which Heroku also supports). Google's Cloud Run also makes use of `app.json`.

Cloud Run doesn't recognize app.json natively. However this project (Cloud Run Button) accepts an app.json that lets the developer configure env variables to prompt to the user.

Disclaimer: I've worked on this project.

My mistake for confusing Cloud Run and Cloud Run Button.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.