qwat / qwat-data-model

TEKSI Water module (project QWAT) - PostgreSQL / postgis Datamodel
https://www.teksi.ch
23 stars 24 forks source link

More verbose error reporting on deploy failure #206

Closed m-kuhn closed 6 years ago

sylvainbeo commented 6 years ago

Why are there some SIRE modifications on that PR ?

m-kuhn commented 6 years ago

I based it on your branch to make the tests pass and actually launch deploy

m-kuhn commented 6 years ago

So, that's what we get:

Failed to create release!
Github API replied:
401 Unauthorized
{'message': 'Bad credentials', 'documentation_url': 'https://developer.github.com/v3'}

@sylvainbeo can you recreate the api token and delete / recreate it here: https://travis-ci.org/qwat/qwat-data-model/settings

sylvainbeo commented 6 years ago

@m-kuhn Done

m-kuhn commented 6 years ago

@sylvainbeo The script now uses GH_TOKEN (not OAUTH_TOKEN) according to the name that was defined before. Should we stick to that?

sylvainbeo commented 6 years ago

@m-kuhn oh sorry. I change that

sylvainbeo commented 6 years ago

Fixed.

m-kuhn commented 6 years ago

Cool, seems to work https://github.com/qwat/qwat-data-model/releases/tag/test Although the upload of demodata was interrupted, hopefully just a temporary issue.

sylvainbeo commented 6 years ago

Ok for me to merge.

m-kuhn commented 6 years ago

It's already merged, just checking what's going on with the git tag. It should already only deploy on tags, but apparently it also tries to deploy when no tag is set...