{"id":798,"date":"2024-11-27T18:00:00","date_gmt":"2024-11-27T09:00:00","guid":{"rendered":"https:\/\/blog.fundely.co.jp\/tech\/?p=798"},"modified":"2024-11-27T19:31:29","modified_gmt":"2024-11-27T10:31:29","slug":"gitlab-runner%e3%82%92%e6%b4%bb%e7%94%a8%e3%81%97%e3%81%9fci-cd%e8%87%aa%e5%8b%95%e5%8c%96%e3%81%ae%e5%ae%9f%e8%b7%b5","status":"publish","type":"post","link":"https:\/\/blog.fundely.co.jp\/tech\/2024\/11\/27\/gitlab-runner%e3%82%92%e6%b4%bb%e7%94%a8%e3%81%97%e3%81%9fci-cd%e8%87%aa%e5%8b%95%e5%8c%96%e3%81%ae%e5%ae%9f%e8%b7%b5\/","title":{"rendered":"GitLab Runner\u3092\u6d3b\u7528\u3057\u305fCI\/CD\u81ea\u52d5\u5316\u306e\u5b9f\u8df5"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/blog.fundely.co.jp\/tech\/wp-content\/uploads\/sites\/2\/2024\/11\/gitlab_cicd-1024x701.png\" alt=\"\" class=\"wp-image-815\" srcset=\"https:\/\/blog.fundely.co.jp\/tech\/wp-content\/uploads\/sites\/2\/2024\/11\/gitlab_cicd-1024x701.png 1024w, https:\/\/blog.fundely.co.jp\/tech\/wp-content\/uploads\/sites\/2\/2024\/11\/gitlab_cicd-300x205.png 300w, https:\/\/blog.fundely.co.jp\/tech\/wp-content\/uploads\/sites\/2\/2024\/11\/gitlab_cicd-768x526.png 768w, https:\/\/blog.fundely.co.jp\/tech\/wp-content\/uploads\/sites\/2\/2024\/11\/gitlab_cicd.png 1080w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p>GitLab Runner\u306f\u3001GitLab CI\/CD\u3068\u9023\u643a\u3057\u3066\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3067\u30b8\u30e7\u30d6\u3092\u5b9f\u884c\u3059\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002GitLab CI\/CD\u3092\u5229\u7528\u3057\u305f\u7d99\u7d9a\u7684\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3068\u7d99\u7d9a\u7684\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u306e\u81ea\u52d5\u5316\u306b\u306f\u4e0d\u53ef\u6b20\u3068\u8a00\u3048\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>CI\/CD\u306e\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u306f\u3001Gitlab CI\/CD\u4ee5\u5916\u306b\u3082\u69d8\u3005\u306a\u6709\u540d\u30c4\u30fc\u30eb\u304c\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>GitHub Actions<\/li>\n\n\n\n<li>CircleCI<\/li>\n\n\n\n<li>Jenkins<\/li>\n\n\n\n<li>AWS CodePipeline<\/li>\n<\/ul>\n\n\n\n<p>\u3053\u308c\u3089\u306e\u30c4\u30fc\u30eb\u3092\u6d3b\u7528\u3057\u3001CI\/CD\u3092\u81ea\u52d5\u5316\u3059\u308b\u3053\u3068\u3067\u958b\u767a\u30d7\u30ed\u30bb\u30b9\u306e\u52b9\u7387\u5316\u3068\u54c1\u8cea\u5411\u4e0a\u304c\u671f\u5f85\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u3093\u306b\u3061\u306f\u3002<br>\u30c7\u30b6\u30a4\u30f3\u30b7\u30b9\u30c6\u30e0\u5ba4\u306e\u68ee\u53e3\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u5f0a\u793e\u3067\u306f\u4e00\u90e8\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u304a\u3044\u3066AWS CodePipeline\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u5927\u534a\u306f\u81ea\u52d5\u5316\u3067\u304d\u3066\u304a\u3089\u305a\u3001\u624b\u52d5\u3067\u306e\u30c7\u30d7\u30ed\u30a4\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<br>\u4eca\u56de\u306f\u65e2\u5b58\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30ea\u30d7\u30ec\u30a4\u30b9\u3092\u884c\u3046\u969b\u306b\u3001\u30c7\u30d7\u30ed\u30a4\u30d5\u30ed\u30fc\u306b\u3064\u3044\u3066\u3082\u898b\u76f4\u3057\u3092\u884c\u3044\u307e\u3057\u305f\u306e\u3067\u3001\u4e8b\u4f8b\u3092\u7d39\u4ecb\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Gitlab Runner\u306e\u69cb\u6210<\/h2>\n\n\n\n<p>\u307e\u305a\u3001\u4eca\u56de\u4f7f\u7528\u3059\u308bGitlab Runner\u3067\u3059\u304c\u3001Job\u306e\u76e3\u8996\u3068\u5b9f\u969b\u306eJob\u51e6\u7406\u306b\u4f7f\u7528\u3059\u308b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u5206\u3051\u3066\u304a\u308a\u3001\u51e6\u7406\u306b\u4f7f\u7528\u3059\u308b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u81ea\u52d5\u8d77\u52d5\u3059\u308b\u69d8\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>Job\u306e\u76e3\u8996\u3092\u884c\u306a\u3063\u3066\u3044\u308bRunner\u306f\u3001Job\u304c\u4f5c\u6210\u3055\u308c\u308b\u3068AWS AutoScalingGroup\u5185\u306bJob\u7528\u306eEC2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br>\u3053\u306eAutoScalingGroup\u306f\u6700\u5c0f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u6570\u30920\u3067\u6307\u5b9a\u3057\u3066\u3044\u308b\u305f\u3081\u3001Job\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u5b58\u5728\u3057\u306a\u3044\u72b6\u614b\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u76e3\u8996Runner\u306fGitlab\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3068\u540c\u3058\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u4e0a\u3067\u7a3c\u50cd\u3057\u3066\u304a\u308a\u3001Job\u7528\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u7a3c\u50cd\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u305f\u3081\u3001\u7a3c\u50cd\u30b3\u30b9\u30c8\u3092\u6291\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u81ea\u52d5\u5316\u306e\u6982\u8981<\/h2>\n\n\n\n<p>\u4eca\u56de\u4f5c\u6210\u3057\u305fCI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306f\u3001\u30de\u30fc\u30b8\u30ea\u30af\u30a8\u30b9\u30c8\u4f5c\u6210\u6642\u3001\u6240\u5b9a\u306e\u30d6\u30e9\u30f3\u30c1\u3078\u306e\u30de\u30fc\u30b8\u6642\u306b\u30d7\u30ed\u30bb\u30b9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30de\u30fc\u30b8\u30ea\u30af\u30a8\u30b9\u30c8\u4f5c\u6210\u6642\u306fSAST\u306e\u307f\u8d70\u308a\u307e\u3059\u304c\u3001\u30de\u30fc\u30b8\u6642\u306f\u4ee5\u4e0b\u306e\u6761\u4ef6\u306b\u6cbf\u3063\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<br>development\u30d6\u30e9\u30f3\u30c1\u306ffeature\u30d6\u30e9\u30f3\u30c1\u3092\u30de\u30fc\u30b8\u3059\u308b\u30d6\u30e9\u30f3\u30c1\u3001main\u306f\u672c\u756a\u74b0\u5883\u3067\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3057\u3066\u3044\u308b\u30d6\u30e9\u30f3\u30c1\u3068\u8003\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>SAST\u3068\u306f: <br>\u9759\u7684\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c6\u30b9\u30c8\u306e\u7565\u3002\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u305b\u305a\u306b\u30b3\u30fc\u30c9\u3092\u9759\u7684\u306b\u89e3\u6790\u3059\u308b\u3053\u3068\u3067\u8106\u5f31\u6027\u3092\u81ea\u52d5\u7684\u306b\u63a2\u3059\u30c6\u30b9\u30c8\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u5bfe\u8c61\u30d6\u30e9\u30f3\u30c1\u304cdevelopment\u306e\u5834\u5408<\/strong><\/p>\n\n\n\n<p>1. SAST<\/p>\n\n\n\n<p><strong>\u5bfe\u8c61\u30d6\u30e9\u30f3\u30c1\u304cmain\u306e\u5834\u5408<\/strong><\/p>\n\n\n\n<p>1. SAST<br>2. \u30a4\u30e1\u30fc\u30b8\u306e\u4f5c\u6210\uff08\u30d3\u30eb\u30c9\uff09\u3068\u30ec\u30b8\u30b9\u30c8\u30ea\u3078\u306e\u30d7\u30c3\u30b7\u30e5<br>4. \u672c\u756a\u74b0\u5883\u3078\u306e\u81ea\u52d5\u30c7\u30d7\u30ed\u30a4<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">.gitlab-ci.yml\u306e\u8a2d\u5b9a<\/h2>\n\n\n\n<p>.gitlab-ci.yml\u306b\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u5185\u5bb9\u306e\u4e3b\u306a\u7b87\u6240\u3092\u4ee5\u4e0b\u306b\u8f09\u305b\u3066\u3044\u307e\u3059\u3002<br>(Kaniko\u306escript\u306f\u304b\u306a\u308a\u7701\u7565\u3057\u3066\u3044\u307e\u3059\u3002)<\/p>\n\n\n\n<p>Kaniko\u3068\u306f:<br>Kaniko\u306f\u3001Google\u304c\u958b\u767a\u3057\u305f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30c4\u30fc\u30eb\u3067\u3001\u7279\u6a29\u3092\u6301\u305f\u306a\u3044\u74b0\u5883\u3067\u30b3\u30f3\u30c6\u30ca\u30a4\u30e1\u30fc\u30b8\u3092\u30d3\u30eb\u30c9\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>stages:\n- test\n- build\n- update-ecs\n\n# \u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b9\u30ad\u30e3\u30f3\u95a2\u9023\u306e\u8a2d\u5b9a\nsast:\n  stage: test\ninclude:\n  - template: Security\/SAST.gitlab-ci.yml\n\n# Kaniko\u3092\u4f7f\u7528\u3057\u305f\u30a4\u30e1\u30fc\u30b8\u306e\u30d3\u30eb\u30c9\nkaniko-build:\n  stage: build\n  image:\n    name: gcr.io\/kaniko-project\/executor:v1.14.0-debug\n    entrypoint: [&quot;&quot;]\n  script:\n\t  - \u30a4\u30e1\u30fc\u30b8\u306e\u30d3\u30eb\u30c9\n\t  - GitLab container registry\u3078\u306e\u30d7\u30c3\u30b7\u30e5\n  rules:\n    - if: $CI_COMMIT_BRANCH == &quot;main&quot;\n      when: always\n      exists:\n        - Containerfile\n        - Dockerfile\n\nupdate-ecs-service:\n  stage: update-ecs\n  image: \n    name: amazon\/aws-cli:latest\n    entrypoint: [&quot;&quot;]\n  script:\n    - &gt;\n      aws ecs update-service \n      --cluster &quot;$AWS_ECS_CLUSTER&quot; \n      --service &quot;$AWS_ECS_SERVICE&quot; \n      --force-new-deployment\n  rules:\n    - if: $CI_COMMIT_BRANCH == &quot;main&quot;\n      when: always\n  variables:\n    AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID\n    AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY\n    AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION\n    AWS_ECS_CLUSTER: $AWS_ECS_CLUSTER\n    AWS_ECS_SERVICE: $AWS_ECS_SERVICE<\/code><\/pre><\/div>\n\n\n\n<p>\u672c\u756a\u74b0\u5883\u3078\u306e\u30c7\u30d7\u30ed\u30a4\u3067\u3059\u304c\u3001\u30ea\u30d7\u30ec\u30a4\u30b9\u306e\u969b\u306b\u672c\u756a\u74b0\u5883\u3092\u30aa\u30f3\u30d7\u30ec\uff08EC2\u3092\u5229\u7528\u306f\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u2026\uff09\u304b\u3089ECS\u3078\u79fb\u3057\u305f\u305f\u3081\u3001Gitlab container registry\u306e\u6700\u65b0\u30a4\u30e1\u30fc\u30b8\u3092\u4f7f\u7528\u3057\u305fECS\u306e\u30b5\u30fc\u30d3\u30b9\u66f4\u65b0\u3067\u30c7\u30d7\u30ed\u30a4\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8ab2\u984c\u3068\u89e3\u6c7a\u7b56<\/h2>\n\n\n\n<p>\u73fe\u72b6\u306e\u8ab2\u984c\u3068\u3057\u3066\u306f\u4ee5\u4e0b\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>1. \u30c6\u30b9\u30c8\u3092\u884c\u3048\u3066\u3044\u306a\u3044<br>2. \u30c7\u30d7\u30ed\u30a4\u524d\u306e\u52d5\u4f5c\u691c\u8a3c\u74b0\u5883\u304c\u6574\u3063\u3066\u3044\u306a\u3044<\/p>\n\n\n\n<p>\u30c6\u30b9\u30c8\u306b\u95a2\u3057\u3066\u306f\u3001\u305d\u3082\u305d\u3082\u306e\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u304c\u4e0d\u8db3\u3057\u3066\u3044\u308b\u3053\u3068\u3082\u8981\u56e0\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u3001CI\/CD\u3068\u3057\u3066\u306f\u4ee5\u4e0b\u3092\u81ea\u52d5\u5316\u3057\u305f\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>1. RSpec\u3084Capybara\u306b\u3088\u308b\u30c6\u30b9\u30c8\u306e\u5b9f\u65bd<br>2. Rubocop\u306b\u3088\u308b\u30b3\u30fc\u30c9\u30c1\u30a7\u30c3\u30af<\/p>\n\n\n\n<p>\u52d5\u4f5c\u691c\u8a3c\u74b0\u5883\u306b\u3064\u3044\u3066\u306f\u3001\u672c\u756a\u3068\u540c\u3058\u30a4\u30e1\u30fc\u30b8\u3092\u691c\u8a3c\u3067\u5229\u7528\u3067\u304d\u306a\u3051\u308c\u3070\u610f\u5473\u304c\u3042\u308a\u307e\u305b\u3093\u3002<br>\u305d\u306e\u305f\u3081\u3001development\u3068main\u306e\u9593\u306bstaging\u3092\u7528\u610f\u3057\u3001staging\u3078\u306e\u30de\u30fc\u30b8\u6642\u306b\u30d3\u30eb\u30c9\u3092\u884c\u3044\u3001\u6700\u65b0\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u5143\u306bstaging\u74b0\u5883\u3092\u4f5c\u6210\u3001\u5229\u7528\u3067\u304d\u308b\u3068\u826f\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u25a0CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306e\u30a4\u30e1\u30fc\u30b8<br>&#8211; development\u3078\u306e\u30de\u30fc\u30b8\u3067\u306f\u3001SAST\u3001test\u306e\u307f\u5b9f\u65bd<br>&#8211; development\u304b\u3089staging\u3078\u306e\u30de\u30fc\u30b8\u3067\u306fSAST\u3001test\u3001image\u306ebuild\u3092\u5b9f\u65bd<br>&#8211; staging\u304b\u3089main\u3078\u306e\u30de\u30fc\u30b8\u3067\u306f\u3001staging\u3067\u4f5c\u6210\u3057\u305fimage\u3092\u4f7f\u7528\u3057\u3066ecs\u74b0\u5883\u306e\u66f4\u65b0\u306e\u307f\u3092\u884c\u3046<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"753\" src=\"https:\/\/blog.fundely.co.jp\/tech\/wp-content\/uploads\/sites\/2\/2024\/11\/gitlab_cicd-1.png\" alt=\"\" class=\"wp-image-819\" srcset=\"https:\/\/blog.fundely.co.jp\/tech\/wp-content\/uploads\/sites\/2\/2024\/11\/gitlab_cicd-1.png 800w, https:\/\/blog.fundely.co.jp\/tech\/wp-content\/uploads\/sites\/2\/2024\/11\/gitlab_cicd-1-300x282.png 300w, https:\/\/blog.fundely.co.jp\/tech\/wp-content\/uploads\/sites\/2\/2024\/11\/gitlab_cicd-1-768x723.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u691c\u8a3c\u74b0\u5883\u306f\u5e38\u6642\u4f7f\u7528\u3059\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u305f\u3081\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u4f5c\u6210\u30fb\u505c\u6b62\u304c\u3067\u304d\u308b\u3053\u3068\u304c\u671b\u307e\u3057\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u6d3b\u7528\u3057\u3066\u3001\u74b0\u5883\u306e\u4f5c\u6210\u3001\u8d77\u52d5\u3001\u505c\u6b62\u3092\u81ea\u52d5\u307e\u305f\u306f\u534a\u81ea\u52d5\u3067\u904b\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u4eca\u56de\u306eCI\/CD\u81ea\u52d5\u5316\u306b\u3088\u308a\u3001\u30c7\u30d7\u30ed\u30a4\u30df\u30b9\u306e\u4f4e\u6e1b\uff08ssh\u63a5\u7d9a\u3057\u306a\u304f\u3066\u826f\u3044\u2026\uff09\u3001\u4f5c\u696d\u52b9\u7387\u5316\u304c\u5b9f\u73fe\u3067\u304d\u305f\u3068\u601d\u3044\u307e\u3059\u3002<br>\u30c6\u30b9\u30c8\u304c\u4e0d\u5b8c\u5168\u3067\u3042\u308b\u305f\u3081\u54c1\u8cea\u5411\u4e0a\u306e\u4f59\u5730\u304c\u6b8b\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u306e\u7d4c\u9a13\u3092\u6d3b\u304b\u3057\u3066\u4ed6\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u306e\u5c0e\u5165\u3092\u9032\u3081\u3066\u3044\u304d\u305f\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u73fe\u5728\u30c7\u30b6\u30a4\u30f3\u30fb\u30b7\u30b9\u30c6\u30e0\u5ba4\u3067\u306f\u3001\u65b0\u3057\u3044\u30e1\u30f3\u30d0\u30fc\u3092\u52df\u96c6\u3057\u3066\u3044\u307e\u3059\u3002<br>\u5c11\u3057\u3067\u3082\u8208\u5473\u3092\u6301\u305f\u308c\u305f\u65b9\u306f\u3001\u305c\u3072\u3054\u5fdc\u52df\u304f\u3060\u3055\u3044<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button aligncenter is-style-fill\"><a class=\"wp-block-button__link has-vivid-green-cyan-background-color has-background wp-element-button\" href=\"https:\/\/blog.fundely.co.jp\/tech\/?page_id=82&amp;preview=true\" style=\"border-radius:12px\">\u52df\u96c6\u8981\u9805\u304a\u3088\u3073\u30a8\u30f3\u30c8\u30ea\u30fc\u30d5\u30a9\u30fc\u30e0<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b GitLab Runner\u306f\u3001GitLab CI\/CD\u3068\u9023\u643a\u3057\u3066\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3067\u30b8\u30e7\u30d6\u3092\u5b9f\u884c\u3059\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002GitLab CI\/CD\u3092\u5229\u7528\u3057\u305f\u7d99\u7d9a\u7684\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3068\u7d99\u7d9a\u7684\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u306e\u81ea\u52d5\u5316\u306b\u306f\u4e0d [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[28,4,27],"tags":[],"class_list":["post-798","post","type-post","status-publish","format-standard","hentry","category-ci-cd","category-docker","category-gitlab"],"acf":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.fundely.co.jp\/tech\/wp-json\/wp\/v2\/posts\/798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.fundely.co.jp\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.fundely.co.jp\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.fundely.co.jp\/tech\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.fundely.co.jp\/tech\/wp-json\/wp\/v2\/comments?post=798"}],"version-history":[{"count":24,"href":"https:\/\/blog.fundely.co.jp\/tech\/wp-json\/wp\/v2\/posts\/798\/revisions"}],"predecessor-version":[{"id":826,"href":"https:\/\/blog.fundely.co.jp\/tech\/wp-json\/wp\/v2\/posts\/798\/revisions\/826"}],"wp:attachment":[{"href":"https:\/\/blog.fundely.co.jp\/tech\/wp-json\/wp\/v2\/media?parent=798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.fundely.co.jp\/tech\/wp-json\/wp\/v2\/categories?post=798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.fundely.co.jp\/tech\/wp-json\/wp\/v2\/tags?post=798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}