{"id":151,"date":"2020-12-02T21:27:11","date_gmt":"2020-12-02T12:27:11","guid":{"rendered":"http:\/\/localhost:8000\/?p=151"},"modified":"2021-01-11T21:28:14","modified_gmt":"2021-01-11T12:28:14","slug":"gitlab-ci-tips","status":"publish","type":"post","link":"http:\/\/localhost:8000\/2020\/12\/gitlab-ci-tips.html","title":{"rendered":"GitLab-CI\u306eTips"},"content":{"rendered":"

GitLab CI\u306eTips\u7684\u306a\u3082\u306e\u3092\u8a18\u8f09\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n

\u74b0\u5883\uff08stg \/ prd\uff09\u6bce\u306b\u7570\u306a\u308b\u30ec\u30b8\u30b9\u30c8\u30ea\u306bpush\u3059\u308b<\/h3>\n

\u5b9f\u969b\u306e\u904b\u7528\u3067\u306f\u3001staging\u3068production\u306eDocker\u30a4\u30e1\u30fc\u30b8\u3092\u3001\u7570\u306a\u308b\u30ec\u30b8\u30b9\u30c8\u30ea\u3067\u7ba1\u7406\u3059\u308b\u3053\u3068\u3082\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u305d\u306e\u3088\u3046\u306a\u30b1\u30fc\u30b9\u3067\u306fEnvironment scope\u3092\u4f7f\u3046\u3068\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002
\n\u307e\u305a\u3001\u4ee5\u4e0b\u306e\u30a4\u30e1\u30fc\u30b8\u306e\u3088\u3046\u306b\u540c\u540d\u306e\u30ab\u30b9\u30bf\u30e0\u5909\u6570\u3092\u7570\u306a\u308bEnvironment scope\uff08stg \/ prd\uff09\u3067\u767b\u9332\u3057\u307e\u3059\u3002
\n\"\"<\/p>\n

\u305d\u306e\u4e0a\u3067\u3001.gitlab-ci.yml\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n