Github
â ã¯ããã« GitHub Self-hosted Runner in AWS CodeBuild ã£ã¦ã®ããããã¨ãç¥ã£ãã®ã§ã¡ã¢ã ç®æ¬¡ ãï¼ãGitHub Self-hosted Runner in AWS CodeBuild ï¼ï¼è£è¶³ï¼GitLab ã® Runner ãµãã¼ã ãï¼ãè¨å®æé ä¾ Step 1: Create a CodeBuild project with a wâ¦
â¾ï¸ã¯ããã« å¹´æ«ã®ä¼ã¿ã«å ¥ãåã«CI/CDãåããªããªã£ãã 確èªãã¦ã¿ãã¨ãSelf-hosted runner ã Offline ã ã£ãã ããã§ãSelf-hosted runner 㧠Offline ã ã£ãå ´åã®å¯¾å¿ã«ã¤ãã¦èãã ã¡ãªã¿ã«ãä»åã®è¦å 㯠ãï¼ï¼è¦å ãSelf-hosted runnerä¸ã®Runâ¦
â ã¯ããã« Github Actions ã®å¦ççµæã datadog ã§ç®¡çããå¿ è¦ãã§ããã®ã§èª¿ã¹ã¦ã¿ãã ç®æ¬¡ ãï¼ãæºå ï¼ï¼å ¬å¼ããã¥ã¡ã³ãï¼CI Visibility (CI/CDã®å¯è¦å) ï¼ï¼åææ¡ä»¶ ãï¼ãdatadog ã®è¨å®æé - ãã®ï¼ ï¼ï¼datadog ã¸ã®ãã°ã¤ã³ ï¼ï¼"Get Starâ¦
â ã¯ããã« https://dk521123.hatenablog.com/entry/2024/08/10/115429 ãªã©ã§ãGithub Actions 㧠Linter ãå®è¡ãããã å®è¡å¯¾è±¡ãã¡ã¤ã«ã¯ãæ¡å¼µåã ãã§å ¨ä½ã«ããã¦ããã ã§ããã°ããã«ãªã¯ã¨ã¹ãä½ææ/commit pushæ ã«ã¯ ãã¼ã¹ãã©ã³ãããã®å·®â¦
â ã¯ããã« https://dk521123.hatenablog.com/entry/2024/08/08/202314 https://dk521123.hatenablog.com/entry/2024/08/09/141801 ã®ç¶ãã ä»åã¯ãTOMLãã¡ã¤ã«ãGithub Actionsã§ãã§ãã¯ããæ¹æ³ã«ã¤ã㦠調ã¹ã¦ã¿ãã ç®æ¬¡ ãï¼ãèªä½ãã ï¼ï¼ãµã³ãâ¦
â ã¯ããã« https://dk521123.hatenablog.com/entry/2024/08/08/202314 ã®ç¶ãã ä»åã¯ãYAMLãã¡ã¤ã«ãGithub Actionsã§ãã§ãã¯ããæ¹æ³ã«ã¤ã㦠調ã¹ã¦ã¿ãã ç®æ¬¡ ãï¼ãThird-Party Github Action ãå©ç¨ãã ãï¼ããµã³ãã« ãï¼ãThird-Party Githubâ¦
â ã¯ããã« ä»æ¥ãTOMLãã¡ã¤ã«ã®ã«ã³ãå¿ãã§ã·ã¹ãã ããã¾ãåããªãã¦ã ããããããã è¨å®ãã¡ã¤ã«ç³»ã®JSON/YAML/TOMLãªã©ã¯ãã³ã³ãã¤ã«ããªãã®ã§ ãã©ã¼ããã誤ããèµ·ããã¦ããã¨ãã¦ããããã«æ°ãä»ãã®ã ãªããªãé£ãããããã極åäºåã«åâ¦
â ã¯ããã« https://dk521123.hatenablog.com/entry/2024/07/11/131849 ã®ç¶ãã ä»åã¯ãGithub Actions ã®è¨å®ã«ã¤ãã¦èª¿ã¹ã¦ã¿ã ç®æ¬¡ ãï¼ãActions ã®è¨±å¯å¶é ãï¼ãArtifactã¨ãã°ã®ä¿ææé ãï¼ãå¤é¨ã³ã©ãã¬ã¼ã¿ã®ã¢ã¯ã»ã¹è¨±å¯ ãï¼ãã¯ã¼ã¯ããâ¦
â ã¯ããã« Github ã§è¨å®ã«ã¤ãã¦ãå°ãã¥ã¤ã ãã©Tipsã追å ãã¦ãã ç®æ¬¡ ãï¼ãGithub ã®è¨å®ã®ã㢠ãï¼ãPull-Request ï¼ï¼ãã«ãªã¯å¾ã«featureãã©ã³ããåé¤ ãï¼ãBranches ï¼ï¼ã«ã¼ã«ä½æãããã©ã³ããä¿è·ãã ãï¼ãTags ï¼ï¼ä½¿ç¨ä¸ã®æ³¨æ ãï¼â¦
â ã¯ããã« https://dk521123.hatenablog.com/entry/2024/06/27/220219 ã§ãGitHub Custom Actions ã調æ»ãã¦ããé㫠以ä¸ã®å ¬å¼ããã¥ã¡ã³ããããGitHub Appsãã£ã¦ã®ã åºã¦ããã®ã§ã調ã¹ã¦ã¿ã => ãã¡ããã¡ãé¢åãããããã Githubå ¬å¼ããã¥ã¡ã³â¦
â ã¯ããã« åæ¥ã¾ã§åãã¦ãGithub actions ããããªãåããªããªã£ãã å¨ãã«å©ãã¦ããã£ãã®ã§ãæè¬ããã ã§ãããããçµæ§ããã©ãã«ã«ãªããããªã®ã§ãã¡ã¢ã ç®æ¬¡ ãï¼ãç¾è±¡ ãï¼ãã¨ã©ã¼ã¡ãã»ã¼ã¸ ãï¼ãçºçç°å¢ è£è¶³ï¼GitHubãã¹ãããã©ã³ãâ¦
â ã¯ããã« ããã¤ã¹ï¼PCï¼ãæ éããéã«ãæ°ããPCã«ä¹ãæããæã« Githubã¢ã«ã¦ã³ãã«é¢ãã¦ã¯ãããªãç¹æ®ã ã£ãã®ã§ ã¡ã¢ã¨æè¨ãæ¸ãã¦ããã ç®æ¬¡ ãï¼ãä»åã®ç¶æ³ ï¼ï¼2 è¦ç´ èªè¨¼ã¯ã¬ãã³ã·ã£ã«ããªãããéã®ã¢ã«ã¦ã³ãã®å復 ãï¼ãä»åã®è§£æ±ºæ¡â¦
â ã¯ããã« https://dk521123.hatenablog.com/entry/2024/06/27/220219 https://dk521123.hatenablog.com/entry/2024/06/28/030619 https://dk521123.hatenablog.com/entry/2024/06/29/021837 㧠Github Custom Action ãä¸éã使ããã¨ãã§ããã ä»åã¯ãâ¦
â ã¯ããã« https://dk521123.hatenablog.com/entry/2024/06/27/220219 https://dk521123.hatenablog.com/entry/2024/06/28/030619 ã®ç¶ãã ä»åã¯ãGithub Custom Action ã® è¤åã¢ã¯ã·ã§ã³ï¼composite actionï¼ ã«ã¤ãã¦æ±ãã ç®æ¬¡ ãï¼ãè¤åã¢ã¯ã·ã§ã³â¦
â ã¯ããã« https://dk521123.hatenablog.com/entry/2024/06/27/220219 ã®ç¶ãã ååã¯ãGithub Custom Action ã® JavaScript ããã£ãã®ã§ã ä»åã¯ãDocker ã³ã³ããã¼ã®ã¢ã¯ã·ã§ã³ã«ã¤ãã¦åãä¸ãã ç®æ¬¡ ãï¼ãDocker ã³ã³ããã¼ã®ã¢ã¯ã·ã§ã³ ãï¼ã使â¦
â ã¯ããã« Githubã«ã¹ã¿ã ã¢ã¯ã·ã§ã³ (Github Custom Action) ãæ±ãå¯è½æ§ãããã®ã§ ã¾ãã¯ãHello worldçãªç°¡åãªãã®ã§ããã®ã§ã ã©ããªæãã«ãªãã®ãã試ãã¦ã¿ã ç®æ¬¡ ãï¼ãGithubã«ã¹ã¿ã ã¢ã¯ã·ã§ã³ (Github Custom Action) ãï¼ãã¢ã¯ã·ã§ã³ã®â¦
â ã¯ããã« å°ãã¿ã https://dk521123.hatenablog.com/entry/2024/05/18/032229 ã®ãæ¡ï¼ï¼æ¡ä»¶åå²ï¼çorå½ï¼ã§åãæ¿ããã㧠æ£ç´ã©ã®ãããªææ³ã§åãæ¿ãã¦ããã®ãåãã£ã¦ãªãã£ãã è²ã 調ã¹ã¦ã¿ã¦ãGithub Actions ã® ä¸é æ¼ç®å ã ã¨åãã£ãã®ã§â¦
â ã¯ããã« å°ãã¿ã https://dk521123.hatenablog.com/entry/2024/02/18/232926 ã§è¨å®å¤ã®åãæ¿ãã«ã¤ãã¦è¡ã£ãã ãã ãè¨å®ãåºå®å¤ã§æ¸ãã¨ãããããã®è¨å®å¤ãå¤ãã£ãå ´å éä¸æ¸ãç´ããªãã¨ãªããªãã æ´ã«ããã®è¨å®å¤ãå¥ã®ãã¡ã¤ã«ã«ãæ¸ããâ¦
â ã¯ããã« Self-hosted runner ãåç°å¢ï¼e.g. dev/stage/prodï¼ã«ãã åçã«å¤æ´ãããã£ã¦ãã¨ãèããã ãªãã以ä¸ã®ãµã¤ããåèã«ãªã£ãã https://zenn.dev/snowcait/articles/56fad93b7dc95e ç®æ¬¡ ãï¼ãæ¡ï¼ï¼ãã¡ã¤ã«ãåãã¦ç®¡çãã ï¼ï¼ãã¡â¦
â ã¯ããã« https://dk521123.hatenablog.com/entry/2024/04/13/232832 ã§ãã¯ããã ç°å¢å¤æ°ãREVIEWDOG_GITHUB_API_TOKENããè¨å®ããéã« Tokenãçºè¡ãã¦ãããããGITHUB_TOKEN ã·ã¼ã¯ã¬ããã ã¨ãããã®ãç¥ã£ãã®ã§ã¡ã¢ã ã¾ããpermissionsã«ã¤ãâ¦
â ã¯ããã« https://dk521123.hatenablog.com/entry/2024/04/13/232832 https://dk521123.hatenablog.com/entry/2024/04/18/161200 ã®ç¶ãã reviewdog ã® Reviewdog Diagnostic Format (RDFormat) ã«ã¤ã㦠åãåºãã¦ãåãä¸ããã ç®æ¬¡ ãï¼ãReviewdog â¦
â ã¯ããã« https://dk521123.hatenablog.com/entry/2024/04/13/232832 ã®ç¶ãã ååã¯ãreviewdog ã® Hello world çãªãã¨ãè¡ã£ãã ä»åã¯ãããå°ãæãä¸ãã¦ã¿ããï¼å¾ã ã«ã§ã¯ãããï¼ ç®æ¬¡ ãï¼ãã¤ã³ã¹ãã¼ã« ãï¼ãInput format ï¼ï¼errorformatâ¦
â ã¯ããã« https://dk521123.hatenablog.com/entry/2024/04/05/000136 ã®ç¶ãã CI/CDã§ã¯ãèªåçã«ãããã¤ããã®ã§ èªç¶ã¨æ¯è¼çã«å¼·ã権éãå¿ è¦ã«ãªãã ãã®ãããã»ãã¥ãªãã£ã«ç©´ãéãã㨠ããªã大äºæ ã«ãªãã®ã§ãã»ãã¥ãªãã£ã«ã¤ã㦠å¾ã ã«ã§â¦
â ã¯ããã« reviewdog ã触ã£ã¦ã¿ã ç®æ¬¡ ãï¼ãreviewdog ãï¼ãreviewdog ã®ä½¿ãæ¹ ï¼ï¼ç°å¢å¤æ°ãREVIEWDOG_GITHUB_API_TOKENã ï¼ï¼Github Actions ã¸ã®å®è£ ï½ åºæ¬ ï½ ãï¼ãreviewdog ã³ãã³ã ãï¼ããµã³ãã« ä¾ï¼ï¼Hello world ãï¼ãreviewdog ä½â¦
â ã¯ããã« https://dk521123.hatenablog.com/entry/2024/01/28/004128 ã®ç¶ãã ä»äºã§ãGithub ã® ãã«ãªã¯ã¨ã¹ããçºè¡ãããéã« Linter ãèµ·åãã¦ã»ããã£ã¦ãªã¼ãã¼ãåããã®ã§ on: pull_request å¨è¾ºã«ã¤ãã¦èª¿ã¹ã¦ã¿ã ç®æ¬¡ ãï¼ããã«ãªã¯å¥æ©ã®â¦
â ã¯ããã« Github Actions ã§æ§ã ãªããã°ã©ã è¨èªã®Linter ãå®è¡ãã¦ããã https://dk521123.hatenablog.com/entry/2024/04/05/000136 㧠Github Actions èªä½ã®ã»ãã¥ãªãã£èå¼±æ§ãæ½ããã¨ãç¥ã£ã¦ ã¡ãã£ã¨æããªã£ãã ããã§ãGithub Actions èªä½â¦
â ã¯ããã« Third-Party Github Action ãå©ç¨ããéã«ã ãã¹ãã¯ãCommit hashã§æå®ãããã¨ãããã®ã§ã¡ã¢ã è²ã ãªãµã¤ããè¦ã¦ã¿ããã Commit hashã®ç¢ºèªã®ä»æ¹ãè¼ã£ã¦ãªãã®ã§è¼ãã¦ãã ç®æ¬¡ ãï¼ãThird-Party Github Action ã®æå®æ¹æ³ ï¼ï¼Branâ¦
â ã¯ããã« Github Actions ãå®äºããããSlackã§éç¥ããã£ã¦ ãããããã¨ããã£ã¦ã¿ã ã¶ã£ã¡ããã以ä¸ã®ãµã¤ããããããã¦ããã®ã§ã ãã¡ããè¦ãªãããã£ãæ¹ããã https://qiita.com/seratch/items/28d09eacada09134c96c ç®æ¬¡ ãï¼ãSlacké£æºãâ¦
â ã¯ããã« Github Actions 㧠Scala ã® Linter ãå®è¡ãã ç®æ¬¡ ãï¼ãScala Linter ï¼ï¼scalafmt ï¼ï¼scalastyle ãï¼ããµã³ãã« ãï¼ãScala Linter https://dk521123.hatenablog.com/entry/2023/01/25/000000 ã§ãç´¹ä»ãããããã ï¼ï¼scalafmt ï¼ï¼scaâ¦
â ã¯ããã« Github Actions 㧠ãAnnotationsãã¨ããMatcherãã¨ã ã§ã¦ããã®ã§ã調ã¹ã¦ã¿ã ãã¨ãã¤ãã§ã«ãGITHUB_STEP_SUMMARYããè¼ãã¦ãã ç®æ¬¡ ãï¼ãGitHub Annotations ï¼ï¼Annotationsã®è¡¨ç¤ºæ¹æ³ ï¼ï¼ãµã³ãã« ï¼ï¼ä½¿ç¨ä¸ã®æ³¨æ ãï¼ãProblem â¦