Talk given at Percona Live Worldwide MySQL Conference http://www.percona.com/live/mysql-conference-2014/
GitHub社å ã®DevOpsãæ¯ãããã¼ã«ãBoxenãã¨ãHubotãï¼åç·¨ï¼ï½DevOps Day Tokyo 2013 ä¸çä¸ã§DevOpsã®ã¤ãã³ãã¨ãã¦è¡ããã¦ãããDevOps Daysãã®æ±äº¬çãDevOps Day Tokyo 2013ãã9æ28æ¥ã«éå¬ãæµ·å¤ããæ¥æ¥ããå¤ãã®ã²ã¹ãã¹ãã¼ã«ã¼ã«ããã»ãã·ã§ã³ãè¡ããã¾ããã GitHubã®John Brittonæ°ã¯ãOps for Everyoneãï¼ã¿ããªã®éç¨ï¼ã¨ããé¡ã§ãGitHub社å ã§éçºããéç¨ã¾ã§ããããããã¼èªèº«ãè¡ãããã®ãã¼ã«ãBoxenã¨Hubotã®ç´¹ä»ã¨ç¤¾å ã®å©ç¨ä¾ã解説ãã¦ãã¾ãã Ops for Everyone John Brittonæ°ã GitHubã§ã¨ã³ã¸ãã¢ã¨æè²ã®æ©æ¸¡ãããã¦ãã¾ãã
å¹³ç´ ããã¤ãã³ãã«ã¬ã³ãã¼ï¼ãã°ããå©ç¨ããã ããèª ã«ãããã¨ããããã¾ãã ã¤ãã³ãã«ã¬ã³ãã¼ï¼ãã°ã¯ãITã»è£½é æ¥ã»ãã¸ãã¹é¢ä¿ã®ã¤ãã³ãï¼ã»ããã¼ã»å±ç¤ºä¼ã»åå¼·ä¼ã»ã³ã³ãã¹ãã»Webã¤ãã³ããªã©ï¼ãéå¬ããä¼æ¥ã»ã³ãã¥ããã£ãç»é²ããã¤ãã³ãæ å ±ã®ãã¼ã¿ã«ãµã¤ããã¨ãã¦ç´7å¹´ééå¶ããã¦ãã¾ãããããã¾ã§ãµã¼ãã¹ãç¶ãããã¨ãã§ããã®ã¯ãã¤ãã³ãã«ã¬ã³ãã¼ï¼ãã°ã®ã³ã³ã»ããã«å ±æãããã ããé©åãªã¤ãã³ãæ å ±ããå¯ãããã ããçãã¾ã®ãæ¯æ´ããã£ãããããã¨èãã¦ããã¾ããéãã¦å¾¡ç¤¼ç³ãä¸ãã¾ãã ããããªãããã¤ãã³ãæ å ±ã®å ¥ææ¹æ³ã®å¤æ§åãã¤ãã³ãç´¹ä»ãµã¼ãã¹å¸å ´ã®ç¶æ³ãï¼ ITã®ä»å¾ã®ã¡ãã£ã¢éå¶æ¹éãªã©ãæ¤è¨ããçµæã2020å¹´6æ30æ¥ï¼ç«ï¼15:00ããã¡ã¾ãã¦ã¤ãã³ãã«ã¬ã³ãã¼ï¼ãã°ã®ãµã¼ãã¹ãçµäºãããã¨ã«ãã¾ããã ããã¾ã§ãå©ç¨ãããã ãã¾ããçãã¾ã«ã¯æ®å¿µãªãç¥ã
æè¿ãä¼ç¤¾ã§IRCãã¼ã ãæ¥ã¦ãã®ã§ãåãhubotã使ã£ã¦ãªã«ãbotãä½ã£ã¦ã¿ããã¨ã«ãããhubotã¯Githubãä½ã£ãbotãã¬ã¼ã ã¯ã¼ã¯ã§ãTwitterã®botã¨ãIRCã®botãç°¡åã«ä½ããã¨ãã§ããã ã§ãã§ããã®ãããã https://github.com/naoty/diobot ãã£ãªï¼DIOï¼æ§ã®åè¨ãã©ã³ãã ã«è¿ãã¦ããããæé«ã«ããã¤ï¼ããªbotãåºæ¥ä¸ããã¾ããã Herokuã§hubotããããã¤ããã¨ãã«hubotã®wiki*1ãåèã«ãã¦ã¿ããã ãã©ãHerokuã«pushããã¨ãä¸ã®ãããªã¨ã©ã¼ãåºã¦ãããããã¾ããããªãã£ãã Starting process with command `bin/hubot -a irc -n Hubot` Stopping all processes with SIGTERM bin/hubot: 3: npm
ä¿®æ£: 2/10 node-cronã使ã£ãã³ã¼ãã®ä¾ãééã£ã¦ããã®ã§ä¿®æ£ã github社製ã®ããããã¬ã¼ã ã¯ã¼ã¯ãhubotãIRCãããã¨ãã¦å°å ¥ãã話ã ã¤ã³ã¹ãã¼ã« hubotã¯node.jsã¨coffescriptã§æ¸ãããgithub社製ã®ããããã¬ã¼ã ã¯ã¼ã¯ãIRCã«éãããcampfireãtwitterãªã©ããã¤ãã®ã¢ããã¿ã«å¯¾å¿ãã¦ããããããã§ã¯IRCã§å©ç¨ããããã®å°å ¥æé ãè¨ãã ãããããnode.jsã¨npmãã¤ã³ã¹ãã¼ã«ãã¦ããã¦ãhubotãã¤ã³ã¹ãã¼ã«ããã $ git clone git://github.com/github/hubot.git $ cd hubot $ npm installhubotã¯ãããããæ±ããã¼ã¿ãæ°¸ç¶åããããã«redisã¨ããKVSãå©ç¨ãããredisãå ¥ã£ã¦ããªãæã¯ã¨ã©ã¼ã«ãªãã®ã§åããåã«ã¤ã³ã¹ãã¼ã«ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}