Codebuild
tl;dr bibuild ãã bibuild ã§åºæ¥ãã㨠使ãæ¹ ã¤ã³ã¹ãã¼ã« ä¾ãã° å®éã«ãã£ã¦ã¿ã ä»¥ä¸ tl;dr æå ã®ç«¯æ«ã§ Docker ãã«ãããã®ã£ã¦, Docker ã®ç°å¢ãæå ã®ç«¯æ«ã«ç¨æãããããå¿ è¦ãããã¾ã. ãã®ç°å¢ãç¨æããã«ããã£ã¦, Mac ã Windows çã®â¦
è¿½è¨ (2018/05/05) tl;dr ç°å¢ ãã¼ã«ã«ç°å¢ã§ AWS CodeBuild ã¡ãªãã ã¨ãããã¨ã§, CodeBuild ç¨ Dokcer ã¤ã¡ã¼ã¸ã®åå¾ (ä½æ) ãã¼ã«ã« CodeBuild ã® Python ç°å¢ã®æºå CodeBuild local agent ã®ã»ããã¢ãã ãµã³ãã«ã¢ããªã±ã¼ã·ã§ã³ããã«ããã¦ã¿â¦
tl;dr ã¨è¨ã£ã¦ã, ã¾ãã¯ã³ã¼ãã御覧ãã ãã TravisCI ã§å®è¡ãã .travis.yml 工夫ããã¨ãã (ã¤ã±ã¦ãªããããããªãã¨ãã) Python ç°å¢ã§ãã£ã awscli ãå©ç¨ããæºå å®è¡çµæ AWS CodeBuild ã§å®è¡ãã AWS CodeBuild x GitHub buildspec.yml å·¥â¦
CodeBuild ã«ãé¡ããã£ã±ãªãã§ã¯ 使ãæ¹ ãã¡ã¤ã« ããã㤠ãããªæã å¦çã®æµãï¼1ï¼ å¦çã®æµãï¼2ï¼ éç¥ä¾ ãã«ãéå§ æå 失æ ããã£ãç¹ãã¨ã¨ã PreSigned URL çµæ URL ã®å¦çãã©ãã§ããã ã¨ãããã¨ã§ CodeBuild ã«ãé¡ããã£ã±ãªãã§ã¯ â¦
諸è¬ã®äºæ 㧠ä½ã£ããã® ã㢠ãã«ã build.sh ãä¿®æ£ ãã«ã ã¨ããããæå ã®ç°å¢ã§ docker run PHPUnit å®è¡ CodeBuild ã§ã¯â¦ ã¤ã¡ã¼ã¸ã®æå® å®è¡çµæ ä»¥ä¸ è«¸è¬ã®äºæ 㧠CodeBuild ç¨ã® PHP ã¤ã¡ã¼ã¸ãä½ã£ã¦å ¬éãã¦ã¿ãããã®ã³ã³ããã¤ã¡ã¼ã¸ãå©ç¨â¦
çµç·¯ ã¡ã¢ ä»¥ä¸ çµç·¯ CodeDeploy ã§å©ç¨ããã³ã³ããå 㧠MySQL 5.7.x ãåããããã£ã buildspec.yml ã® install ãã§ã¼ãºãããã«æå®ããã¨ããæã ãã¾ãã¾é¸ãã ã³ã³ããã®ãã¼ã¹ã¤ã¡ã¼ã¸ã Debian Jessie ã ã£ã ã¡ã¢ 以ä¸ã®ãããªæã㧠MySQL ãèµ·â¦
CodePipeline ã Github ã CodeCommit ã¨é£æºåºæ¥ãã®ã¯ããã£ã ã¨ãããã¨ã§ ãã£ããæ§æ Backlog Git ã® Webhook ã¯â¦ Lambda ãã¡ã³ã¯ã·ã§ã³ã¯â¦ API Gateway 㨠Lambda ãã¡ã³ã¯ã·ã§ã³ã®ã»ããã¢ããã¯â¦ CodePipeline 㨠S3 ãã±ããã®é£æºã¯â¦ Codebuilâ¦