Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
Google ã®ã¦ã§ããã°å ¬éãã¼ã«ã使ã£ã¦ãããã¹ããåçãåç»ãå ±æã§ãã¾ãã
å¹´æ«ã«Docker触ã£ã¦ã¦ãããããã¾ãæ´»ããã°ãå¯ä½ç¨ãç¡è¦ãã使ãæ¨ã¦ã®ãã¹ãç°å¢ãä½ããããããã¼ããªãã¨ããæèãé«ã¾ã£ãã®ã§ãããæãä»ããããã«ãã«ããã«ããã¦ã¾ããã ããããããå ã« yahooã®ãããããã¼ã®æ¹ããJenkins with Dockerã¨ããã¿ã¤ãã«ã®çºè¡¨ããããã»ã¼åã®ããããäºã®ãã¼ã¹ãã§ãã¦ããã®ã§ããããforkãã¦ãtravis.yml parserãè¥å¹²ã®ãã°ãã£ãã¯ã¹ãå ¥ãã¦ããå°ãã ãTravisã«è¿ã¥ãã¦ã¿ã¾ããã ã¡ãªã¿ã«ãã㯠社å Immutable Infrastructure ããã«ã½ã³ããæã®ææç©ã§ãã Immutable Infrastructure Hackathon at :D ãéå¬ããããconfigspec ã®æ·å± ãé«ãã®ã§ã³ããã¿ã«ãªã£ã¦ãã¾ãã - sonots:blog ä»åã®ææç©ã«é¢ãã¦ã詳ããã¯ããã
ã¯ããã« Jenkinsã§JVMä¸ã§åããªãè¨èªï¼PythonãRubyãªã©*1ï¼ã使ã£ã¦ããã¨ãã¸ã§ããã¨ã«ç°å¢ãåé¢ããã¦ããªããã¨ãåé¡ã«ãªãå ´åãããã¾ãã Pythonã«ããã virtualenv ãRubyã«ããã Bundler ã使ãã°ãã¸ã§ããã¨ã«å©ç¨ããã©ã¤ãã©ãªãåé¢ãããã¨ãã§ãã¾ããããããCæ¡å¼µã©ã¤ãã©ãªãã¤ã³ã¹ãã¼ã«ããããã«ã¯ãã¸ã§ããå®è¡ããããã¼ãã«éçºç¨ã®ãã¡ã¤ã«ãåå¨ãã¦ããå¿ è¦ãããã¾ããä¾ãã°ãPythonã¢ã¸ã¥ã¼ã«ã® lxml ã®ã¤ã³ã¹ãã¼ã«ã«ã¯libxml2ãlibxsltã®éçºç¨ãã¡ã¤ã«ãå¿ è¦ã§ãã *2 ãã®ãããªãã¡ã¤ã«ãå¿ è¦ã«ãªããã³ã«Jenkinsã®ãã¼ãã«ã¤ã³ã¹ãã¼ã«ããã®ã¯ã¹ãã¼ããããªãã§ãããå®è¡ã«å¿ è¦ãªç°å¢ã¯ã³ã¼ãã®å½¢ã§ææåããã¦ããã¹ãã§ãã ã¸ã§ãã§aptãyumã使ã£ã¦ã¤ã³ã¹ãã¼ã«ããã®ãã»ãã¥ã¢ãããªãã§ããã
ã¤ãã¼æ ªå¼ä¼ç¤¾ã¯ã2023å¹´10æ1æ¥ã«LINEã¤ãã¼æ ªå¼ä¼ç¤¾ã«ãªãã¾ãããLINEã¤ãã¼æ ªå¼ä¼ç¤¾ã®æ°ããããã°ã¯ãã¡ãã§ããLINEã¤ãã¼ Tech Blog LT ã®ä¸ã§è§¦ããç°å¢ãæ§ç¯ãããã¢ã³ã¼ãã Vagrantfile ã«ã¾ã¨ã㦠GitHub ã«ããã¦ãã¾ãã®ã§ãããã°è§¦ã£ã¦ã¿ã¦ãã ãããã¸ã§ãç»é²æ¸ã® Jenkins ãç«ã¡ä¸ããã®ã§å ¨ãåãç°å¢ã試ãã¦ãããã¾ãã yahoojapan/jenkins-with-docker-demo LT ã¯5åã§ãã£ã¨æµãã¦ãã¾ã£ãããããã®ã¨ã³ããªã§è£è¶³ãã¾ãã ã¸ã§ãå®è¡æ¯ã«ã¯ãªã¼ã³ãªç°å¢ãã»ãã ç¹ã«èª¬æã®å¿ è¦ããªãæ®æ®µ Jenkins ã使ã£ã¦ããã°ã¸ã§ãæ¯ã«ã¯ãªã¼ã³ãªç°å¢ãã»ããã¨æãã¯ãã§ããã¹ã¬ã¼ããã¼ããã¸ã§ãæ¯ã«æ°è¦ã§ã¤ã³ã¹ã¿ã³ã¹ãç«ã¡ããã¦å®è¡ãããã¨ãã§ãã¾ãã ã¤ã³ã¹ã¿ã³ã¹ã®ä½æãèµ·åã¯ãããªãã®æéããããã¾
æè¿ãmocha ãã¤ãã£ã¦ãã¹ããæ¸ãã®ã楽ãããªã£ã¦ãã¾ãããã§ãããã¹ãã®æ°ãå¢ãã¦ããã¨ãã¼ã«ã«ã§ã®å®è¡ã ãã§ãªããCI ç°å¢ã欲ãããªãã¾ããããgithub ã«ããããããããªããã¸ã§ã¯ãã ã£ãããTravis CI ãè¯ãã§ãããå®éã«ä»äºã§ä½¿ãã¨ãªãã¨ãæ¢åã® Jenkins ã¨çµã¿åããã¦ããå¿ è¦ãã§ãã¦ããã®ã§ãå®éã«ãã£ã¦ã¿ã¾ããã åºæ¬çãªæé ã¯ä»¥ä¸ã®éãã§ãã mocha ã§ãã¹ãçµæã TAP å½¢å¼ã§ãã¡ã¤ã«ã«åºåãã åºåãããã¡ã¤ã«ã Jenkins ã® TAP Plugin ã«èªã¿è¾¼ã¾ãã ç°¡åã§ããã å®éã«ãã£ã¦ã¿ã ã¨ããããã§ã以ä¸ã®ãããªæå°æ§æã§è©¦ãã¦ã¿ã¾ãã myapp |- lib | |- calc.js | |- test | |- calc.test.js | |- package.jsonããã«ã¯æ¸ãã¦ãã¾ããããå®é㯠git ã§
JsTestDriverã¨phantomjsã¨Jenkinsã使ã£ã¦ã®JSã®ç¶ç¶çãªãã¹ããè¡ãæ¹æ³ã解説ãã¾ãã Javaã®ã¤ã³ã¹ãã¼ã« JsTestDriverãJenkinså ±ã«å®è¡ã«Javaãå¿ è¦ã«ãªããããJavaã®ã¤ã³ã¹ãã¼ã«ãè¡ãã¾ãããã ãã§ã«ã¤ã³ã¹ãã¼ã«æ¸ã¿ã®å ´åã¯å¿ è¦ããã¾ããã JsTestDriverã®ã¤ã³ã¹ãã¼ã« JsTestDriverã®jarãè½ã¨ãã¾ããããã¦ã³ãã¼ãããJsTestDriverãâportãªãã·ã§ã³ã§èµ·åãã¾ãããï¼ $ java -jar JsTestDriver[ãã¼ã¸ã§ã³çªå·].jar âport 9876 ï¼è¨å®ãã¡ã¤ã«ã®ãµã³ãã«ããã¦ã³ãã¼ããã¦JsTestDriver.jarã¨åããã£ã¬ã¯ããªã«JsTestDriver.confã®ååã§ä¿åãã¾ãããããã§JsTestDriver serverãèµ·åãã¾ãã ä»åã¯ãã¹ã対象ã¨
æè¿ã¨ããããã¸ã§ã¯ãã§ãJavaScriptã使ããã客ããå ã®ãã¼ã ãã¼ã¸ãèªè¾¼ããã®å 容ã«å¿ãã¦åºåãJavaScriptå ã§çæãããã¬ã³ã¡ã³ãã¨ã³ã¸ã³ãã®é ä¿¡ãµã¼ãã¹ãæä¾ãã¦ããã ãã®ä¸ã§ãJavaScriptãè¤éåãã¦ããã®ã§ãJSã®xUnitã®æ¸ãæ¹ã¨ãCIãµã¼ãJenkinsã«è¼ããããã«ãã¾ããã JavaScriptã®åä½ãã¹ã QUnitã¨Jasmineã調ã¹ããããã¥ã¢ãªxUnitã好ããªã®ã§ãä»åQUnitãé¸æãããQUnitã®ãã¹ã表è¨ã¯ä¸è¨ã®ããã«ã·ã³ãã«ãªequalé¢æ°ã§ãµã¯ãµã¯ããã¾ããã æ¸ããªããã½ã¼ã¹ã³ã¼ãã®ãªãã¡ã¯ã¿ãªã³ã°ãé²ã¿ã¾ããããã¯ããã¹ãã³ã¼ãæ¸ãã¨ã³ã¼ãã®æªãæãé¡èã«è¦ããã®ãå¿å°ããã§ãã ï¼ï¼QUnit å ã ã¯ãjQueryã®ãã¹ããã¬ã¼ã ã¯ã¼ã¯ã¨ãã¦ã¹ã¿ã¼ããããç¾å¨ã¯jQueryã«ä¾åãã¦ããªã å ¬å¼ãµã¤ãï¼ht
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}