+1 :D
On 21 Apr 2014 06:51, "David Li" <[email protected]> wrote:

> Okay. So we have some other options:
>
>
>    - Google provides Push to 
> Deploy<https://developers.google.com/appengine/docs/push-to-deploy>,
>    which automatically deploys a linked repository whenever it is pushed to.
>    Unfortunately this doesn't work with submodules and Google refuses to
>    support 
> them<https://code.google.com/p/googleappengine/issues/detail?id=9676>.
>    They suggest using git-subtree instead, so we would have to convert our
>    submodules into subtrees.
>    - Travis-CI provides a deploy step; the SDK would have to be
>    downloaded as part of this.
>
> Which option would be best?
>
> David
>
> On Tuesday, March 11, 2014 1:26:52 PM UTC-7, David Li wrote:
>>
>> Hello all,
>>
>> Based on Paul Kinlan's blog 
>> post<http://paul.kinlan.me/Using-the-Github-API-to-optimise-your-workflow/> I
>> have forked and updated the "Github-Auto-Deploy" server to deploy SymPy
>> Live/SymPy Gamma. My fork is at https://github.com/
>> lidavidm/Github-Auto-Deploy; it uses Python 3 and has some other changes
>> detailed below.
>>
>> How it works:
>>
>>    - The server is configured with the location of the local repository,
>>    the deploy scripts, etc. (see the configuration 
>> file<https://github.com/lidavidm/Github-Auto-Deploy/blob/master/sympy_auto_deploy.conf.json>
>>    )
>>    - On the repository a webhook is set up to point to the server.
>>    - Any commit will be sent as a POST request to the server.
>>    - The server (this is different from the original) filters for a
>>    commit message matching "Bump version to [0-9]+" (specified in the
>>    configuration file), at which point it pulls changes from remote.
>>    - The deploy script uses the App Engine SDK to deploy.
>>       - This uses OAuth so we only have to sign in once.
>>       - The deploy script has access to environment variables set by the
>>       server/configuration so we don't have to hardcode the SDK location in 
>> the
>>       script.
>>
>> Some work is still needed: the server doesn't verify that the request is
>> from 
>> Github<https://help.github.com/articles/what-ip-addresses-does-github-use-that-i-should-whitelist>.
>> Also, the project has no license, so it's unclear if we can use it or not.
>>
>> The server can be tested locally with instructions from 
>> Github<http://developer.github.com/webhooks/configuring/>:
>> run the server, then use ngrok to expose the local server to the Internet.
>> On Github's webhook page (in the repository settings), add the ngrok URL as
>> a webhook and set the payload version to JSON (this also differs from the
>> original server)
>>
>> David
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/f7823618-98b7-41ae-b7a0-d39b5fdd5b1b%40googlegroups.com<https://groups.google.com/d/msgid/sympy/f7823618-98b7-41ae-b7a0-d39b5fdd5b1b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CA%2BOR%3DbjrMT0GjG%3D3T5sBwe1d-2d7Hs0zkhxBVqek5j%2Bm-%3DVxFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to