edgi-govdata-archiving / eis-search

searchable bleve index for Environmental Impact Statements
GNU General Public License v3.0
4 stars 1 forks source link

Deployment #14

Closed Frijol closed 4 years ago

Frijol commented 5 years ago

I assume we currently deploy to the heroku demo via CLI (I'm doing that right now). Do we want it to automatically deploy via the Github <> Heroku deployment option, or do we like this as a multi-step very intentional process?

Frijol commented 5 years ago

My deploy to heroku failed with

➜  eis-search git:(master) ✗ git push heroku master
Counting objects: 24, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (17/17), done.
Writing objects: 100% (24/24), 2.43 MiB | 469.00 KiB/s, done.
Total 24 (delta 14), reused 17 (delta 7)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Go app detected
remote: -----> Installing go1.10.5
remote: -----> Fetching go1.10.5.linux-amd64.tar.gz... done
remote: -----> Running: go install -v -tags heroku ./...
remote: eis_index/generate.go:10:2: cannot find package "github.com/puerkitobio/goquery" in any of:
remote:     /tmp/tmp.40dJImreTH/.go/src/github.com/edgi-govdata-archiving/eis-search/vendor/github.com/puerkitobio/goquery (vendor tree)
remote:     /app/tmp/cache/go1.10.5/go/src/github.com/puerkitobio/goquery (from $GOROOT)
remote:     /tmp/tmp.40dJImreTH/.go/src/github.com/puerkitobio/goquery (from $GOPATH)
remote: eis_index/generate.go:11:2: cannot find package "github.com/sirupsen/logrus" in any of:
remote:     /tmp/tmp.40dJImreTH/.go/src/github.com/edgi-govdata-archiving/eis-search/vendor/github.com/sirupsen/logrus (vendor tree)
remote:     /app/tmp/cache/go1.10.5/go/src/github.com/sirupsen/logrus (from $GOROOT)
remote:     /tmp/tmp.40dJImreTH/.go/src/github.com/sirupsen/logrus (from $GOPATH)
remote:  !     Push rejected, failed to compile Go app.
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !   Push rejected to eis-search.
remote:
To https://git.heroku.com/eis-search.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/eis-search.git'

Runs fine building locally. Checked Heroku's Go section but it doesn't ask for any special build steps

I don't feel comfortable debugging this b/c it's not my app & I'm new to Go & haven't put anything Go on Heroku before. @b5 is this something you can take a look at?

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in seven days if no further activity occurs. If it should not be closed, please comment! Thank you for your contributions.

Frijol commented 5 years ago

I forgot about this completely, but we should still clarify deployment

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in seven days if no further activity occurs. If it should not be closed, please comment! Thank you for your contributions.