Top Banner
Continuos Integration and Continuos Deployment [email protected] 11/18
15

Python web meetup 11 18

Jul 11, 2015

Download

Technology

Andy Dai
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Python web meetup 11 18

Continuos Integration and Continuos Deployment

[email protected] 11/18

Page 2: Python web meetup 11 18

測試?持續整合? 持續佈署?

Page 3: Python web meetup 11 18

WHY NOT?

Page 4: Python web meetup 11 18

寫測試很⿇麻煩 架 Jenkins 很⿇麻煩 ⾃自動佈署很⿇麻煩

Page 5: Python web meetup 11 18

寫測試很⿇麻煩

Page 6: Python web meetup 11 18

寫測試很⿇麻煩

from django.test import TestCase

class SimpleTest(TestCase): def testHomeStatusCode(self): response = self.client.get('/') self.assertEqual(response.status_code, 200)

Page 7: Python web meetup 11 18

架 Jenkins 很⿇麻煩

Page 8: Python web meetup 11 18

架 Jenkins 很⿇麻煩

Page 9: Python web meetup 11 18

⾃自動佈署很⿇麻煩

Page 10: Python web meetup 11 18

⾃自動佈署很有點⿇麻煩

Page 11: Python web meetup 11 18

Demo ⼀一下

Page 12: Python web meetup 11 18

議員投票網站 Sprint

Page 13: Python web meetup 11 18

12 Authors 22 PR Merged

64 Commits 305 Files Changed

Page 14: Python web meetup 11 18
Page 15: Python web meetup 11 18

Q&A