Open starksm64 opened 1 week ago
well thats an impressive amount of papercuts - did you manage to get it all the way?
Wanna make a PR for the docs?
Yes, I did eventually git it to deploy, but I have not looked into whether heroku has a way to only build a submodule of a repo when doing a push. Probably the guide just needs to document cloning the quickstart repo and then making a new getting-started repo as I did unless I do find a magic setting.
Description
I'm going through the https://quarkus.io/guides/deploying-to-heroku guide with a new heroku account and have run into the following 6 issues to deploy the quarkus app:
The guide says a free account is allowed, but I needed to verify a credit card to be able to attempt to push a repo. After I completed getting an app pushed, I see I'm running a basic dyno at a cost of 0.010/hour. I can go in and turn this off, but then the app is no longer accessible.
The first is that
master
is an invalid branch name for the current getting-started repo. It should bemain
.The second is that there is no remote heroku repository. Running the
heroku create
command appears to create a tmp remote repository that would need to be added before the push:Third, if I add the heroku remote using the previously created https://git.heroku.com/nameless-reef-15092.git repo, pushing to it fails with:
This is apparently an out of date git problem on macOS: https://help.heroku.com/GJ1XRFT5/fatal-error-pushing-to-heroku-on-macos-with-git-2-39-3-apple-git-146
Updating git using homebrew
Failed because I made a shallow clone of the https://github.com/quarkusio/quarkus-quickstarts.git repo. I had to unshallow the repo using
git fetch origin --unshallow
. The suggestedgit fetch --all --unshallow
did not work.... remote: [INFO] ------------------------------------------------------------------------ remote: -----> Discovering process types remote: Procfile declares types -> (none) remote: Default types for buildpack -> web remote: remote: -----> Compressing... remote: ! Compiled slug size: 2.9G is too large (max is 500M). remote: ! See: http://devcenter.heroku.com/articles/slug-size remote: remote: ! Push failed remote: Verifying deploy... remote: remote: ! Push rejected to nameless-reef-15092. remote: To https://git.heroku.com/nameless-reef-15092.git ! [remote rejected] main -> main (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/nameless-reef-15092.git'