Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CI2Go

ngs
June 10, 2016

 CI2Go

#circleci_meetup 2016-06-10 https://ja.ngs.io/2016/06/10/circleci-meetup

ngs

June 10, 2016
Tweet

More Decks by ngs

Other Decks in Technology

Transcript

  1. CI2Go
    Atsushi Nagase
    @ngs / http://ja.ngs.io/
    https://one-team.com/products/

    View full-size slide

  2. Amazon ECS
    Docker
    Electron
    iOS
    Rails
    Server-Side Swift
    Serverspec
    ja.ngs.io/t/circleci/

    View full-size slide

  3. AFK
    ATK
    Before
    AFK
    ATK
    After

    View full-size slide

  4. ja.ngs.io/2016/01/29/ci2go/
    Under The Hood of Real-Time Updating

    View full-size slide

  5. Requests for

    View full-size slide

  6. Request for #1:
    Please allow CORS for /auth/pusher Endpoint
    curl -i "https://circleci.com/auth/pusher?circle-token=${CIRCLE_TOKEN}" \
    --data 'socket_id=123456.87654321&channel_name=private-ngs'
    HTTP/1.1 200 OK
    Date: Fri, 10 Jun 2016 07:26:49 GMT
    Server: nginx
    Set-Cookie: ring-session=...
    Set-Cookie: ab_test_user_seed=...
    Strict-Transport-Security: max-age=15724800
    X-Circleci-Identity: i-45fbc4c2
    X-Circleci-Request-Id: ...
    X-Frame-Options: DENY
    X-Route: /auth/pusher
    Content-Length: 96
    Connection: keep-alive
    {"auth":"1cf6e0e755e419d2ac9a:..."}

    View full-size slide

  7. Request for #1:
    Please allow CORS for /auth/pusher Endpoint
    curl -i "https://circleci.com/auth/pusher?circle-token=${CIRCLE_TOKEN}" \
    --data 'socket_id=123456.87654321&channel_name=private-ngs'
    HTTP/1.1 200 OK
    Access-Control-Allow-Origin: *
    Date: Fri, 10 Jun 2016 07:26:49 GMT
    Server: nginx
    Set-Cookie: ring-session=...
    Set-Cookie: ab_test_user_seed=...
    Strict-Transport-Security: max-age=15724800
    X-Circleci-Identity: i-45fbc4c2
    X-Circleci-Request-Id: ...
    X-Frame-Options: DENY
    X-Route: /auth/pusher
    Content-Length: 96
    Connection: keep-alive
    {"auth":"1cf6e0e755e419d2ac9a:..."}
    <- this!!!11

    View full-size slide

  8. Request for #2:
    Please add authentication flow
    circleci.com/docs/api/#getting-started

    View full-size slide

  9. Request for #2:
    Please add authentication flow

    View full-size slide