-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 0.2.0 on appspot using a tagged commit and hooks/automation #1151
Comments
First step is figuring out whether simply re-running gcloud app deploy is enough. (I think/hope it is!) I'll try that now. And if it works, then I'll try to automate it. |
ok, gcloud app deploy does its job (and pretty fast!) |
I looked up githooks documentation but it seems that it's not exactly what we would need here since the actual update on git master is performed by github itself (whenever I press the "merge pull request" button on their web ui) instead of being tied to specific git commands I run locally at my working copy. The only interactions I have between my local copy and the origin remote (hosted on github) are:
I could perhaps use Github Webhooks but it sounded too complicated for this usage scenario. I think it is easier to do deploy the webapp by hand (running gcloud app deploy) at least once a day, or after significant webapp fixes. I'll get used to it. |
Why not use travis to do this?
|
ok, cool! It makes sense. And it seems that this page explains how to do it. I'll try to set this up: https://docs.travis-ci.com/user/deployment/google-app-engine/ |
I was able to generate a service api key in json format, then encrypt it with the travis command line and commit it (the encrypted file and its entry on .travis.yml) but the openssl command to decrypt the credentials server-side is failing on Travis. Apparently the reason for that is that the credentials need to be encrypted specifically for the repository they're meant to be used at. I have used the felipesanches/fontbakery repo (my 'origin' remote) instead of the googlefonts/fontbakery repo (my 'upstream' remote). I was not able yet to figure out how to select a different repo when encrypting the credentials with the travis command line tool. I see that its got a repos command, but it fails to give me any meaningful info. It spits out a cryptic message like this:
It also said the travis cli version is old and that I should update it, but the gem install procedure fails. I did a gem2.0 install travis and it seems to have succeeded, but the 414 problem did not go away yet after that. I'd appreciate any advice people may have here because I have already spent too much time trying to figure this out. I'll move on to something else for a while and I'll revisit this issue later. |
The old fb readme had some tips on this I think
|
We won't deploy anything to Google App Engine anymore as the next version of the drag-n-drop app will be a page of the dashboard hosted on Google Container Engine, as specified at #1230 |
@felipesanches please set up a git hook or something such that your appspot instance is in sync with master
The text was updated successfully, but these errors were encountered: