{"action":"created","comment":{"url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/comments/243951027","pull_request_review_id":187839594,"id":243951027,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0Mzk1MTAyNw==","diff_hunk":"@@ -76,26 +76,42 @@ jobs:\n jobs:\n     main:\n         requires: [~pr, ~commit]\n-        template: template_name@1.3.0\n+        template: myNamespace/template_name@1.3.0\n         steps:\n             - install: echo skip installing\n ```\n \n この例では、`echo skip installing` が `install` ステップで実行されます。\n \n+テンプレートで定義済みのイメージを置換することも出来ます。テンプレートの中には、置換された後のイメージが持っていないコマンドや環境変数を前提としているものもあるので、イメージの置換は慎重に行ってください。\n+\n+例:\n+\n+```yaml\n+jobs:\n+    main:\n+        equires: [~pr, ~commit]\n+        image: my_org/my_image:latest\n+        template: myNamespace/template_name@1.3.0\n+```\n+\n ## テンプレートを作成する\n \n ### テンプレート yaml を書く\n \n-テンプレートを作成するために、`sd-template.yaml` を含んだ新しいリポジトリを作成します。yamlには、テンプレートの名前、バージョン、説明、管理者のメールアドレス、使用するイメージと実行するステップの設定が必要です。\n+テンプレートを作成するために、`sd-template.yaml` を含んだ新しいリポジトリを作成します。yamlには、テンプレートのネームスペース、名前、バージョン、説明、管理者のメールアドレス、使用するイメージと実行するステップの設定が必要です。ネームスペースが指定されていない場合、`default` のネームスペースが適用されます。オプショナルで、サポートされてるイメージをラベル付きのリストで定義することもできます。","path":"docs/ja/user-guide/templates.md","position":47,"original_position":47,"commit_id":"053bc12777f8adba81fd3d00ade104bd9e9389dd","original_commit_id":"053bc12777f8adba81fd3d00ade104bd9e9389dd","user":{"login":"wdstar","id":29169357,"node_id":"MDQ6VXNlcjI5MTY5MzU3","avatar_url":"https://avatars3.githubusercontent.com/u/29169357?v=4","gravatar_id":"","url":"https://api.github.com/users/wdstar","html_url":"https://github.com/wdstar","followers_url":"https://api.github.com/users/wdstar/followers","following_url":"https://api.github.com/users/wdstar/following{/other_user}","gists_url":"https://api.github.com/users/wdstar/gists{/gist_id}","starred_url":"https://api.github.com/users/wdstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdstar/subscriptions","organizations_url":"https://api.github.com/users/wdstar/orgs","repos_url":"https://api.github.com/users/wdstar/repos","events_url":"https://api.github.com/users/wdstar/events{/privacy}","received_events_url":"https://api.github.com/users/wdstar/received_events","type":"User","site_admin":false},"body":"`オプショナルで` は `オプションとして` の方が良いかと。","created_at":"2018-12-26T06:57:57Z","updated_at":"2018-12-26T06:57:57Z","html_url":"https://github.com/screwdriver-cd/guide/pull/259#discussion_r243951027","pull_request_url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/259","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/comments/243951027"},"html":{"href":"https://github.com/screwdriver-cd/guide/pull/259#discussion_r243951027"},"pull_request":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/259"}}},"pull_request":{"url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/259","id":240918574,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwOTE4NTc0","html_url":"https://github.com/screwdriver-cd/guide/pull/259","diff_url":"https://github.com/screwdriver-cd/guide/pull/259.diff","patch_url":"https://github.com/screwdriver-cd/guide/pull/259.patch","issue_url":"https://api.github.com/repos/screwdriver-cd/guide/issues/259","number":259,"state":"open","locked":false,"title":"docs: translate some user-guide/configuration pages","user":{"login":"kumada626","id":8113204,"node_id":"MDQ6VXNlcjgxMTMyMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8113204?v=4","gravatar_id":"","url":"https://api.github.com/users/kumada626","html_url":"https://github.com/kumada626","followers_url":"https://api.github.com/users/kumada626/followers","following_url":"https://api.github.com/users/kumada626/following{/other_user}","gists_url":"https://api.github.com/users/kumada626/gists{/gist_id}","starred_url":"https://api.github.com/users/kumada626/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumada626/subscriptions","organizations_url":"https://api.github.com/users/kumada626/orgs","repos_url":"https://api.github.com/users/kumada626/repos","events_url":"https://api.github.com/users/kumada626/events{/privacy}","received_events_url":"https://api.github.com/users/kumada626/received_events","type":"User","site_admin":false},"body":"translate below files\r\nuser-guide/\r\n* metadata.md\r\n* quickstart.md\r\n* templates.md\r\n* configuration/annotations.md\r\n\r\nand add translate below files\r\nuser-guide/configuration/\r\n* build-cache.md\r\n* code-coverage.md","created_at":"2018-12-26T05:43:06Z","updated_at":"2018-12-26T06:57:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"322455894bbb361fd9b4c53a11f5863c87d636bd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/259/commits","review_comments_url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/259/comments","review_comment_url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/screwdriver-cd/guide/issues/259/comments","statuses_url":"https://api.github.com/repos/screwdriver-cd/guide/statuses/053bc12777f8adba81fd3d00ade104bd9e9389dd","head":{"label":"kumada626:translate_user_guide","ref":"translate_user_guide","sha":"053bc12777f8adba81fd3d00ade104bd9e9389dd","user":{"login":"kumada626","id":8113204,"node_id":"MDQ6VXNlcjgxMTMyMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8113204?v=4","gravatar_id":"","url":"https://api.github.com/users/kumada626","html_url":"https://github.com/kumada626","followers_url":"https://api.github.com/users/kumada626/followers","following_url":"https://api.github.com/users/kumada626/following{/other_user}","gists_url":"https://api.github.com/users/kumada626/gists{/gist_id}","starred_url":"https://api.github.com/users/kumada626/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumada626/subscriptions","organizations_url":"https://api.github.com/users/kumada626/orgs","repos_url":"https://api.github.com/users/kumada626/repos","events_url":"https://api.github.com/users/kumada626/events{/privacy}","received_events_url":"https://api.github.com/users/kumada626/received_events","type":"User","site_admin":false},"repo":{"id":96425730,"node_id":"MDEwOlJlcG9zaXRvcnk5NjQyNTczMA==","name":"guide","full_name":"kumada626/guide","private":false,"owner":{"login":"kumada626","id":8113204,"node_id":"MDQ6VXNlcjgxMTMyMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8113204?v=4","gravatar_id":"","url":"https://api.github.com/users/kumada626","html_url":"https://github.com/kumada626","followers_url":"https://api.github.com/users/kumada626/followers","following_url":"https://api.github.com/users/kumada626/following{/other_user}","gists_url":"https://api.github.com/users/kumada626/gists{/gist_id}","starred_url":"https://api.github.com/users/kumada626/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumada626/subscriptions","organizations_url":"https://api.github.com/users/kumada626/orgs","repos_url":"https://api.github.com/users/kumada626/repos","events_url":"https://api.github.com/users/kumada626/events{/privacy}","received_events_url":"https://api.github.com/users/kumada626/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kumada626/guide","description":"Screwdriver Documentation","fork":true,"url":"https://api.github.com/repos/kumada626/guide","forks_url":"https://api.github.com/repos/kumada626/guide/forks","keys_url":"https://api.github.com/repos/kumada626/guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kumada626/guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kumada626/guide/teams","hooks_url":"https://api.github.com/repos/kumada626/guide/hooks","issue_events_url":"https://api.github.com/repos/kumada626/guide/issues/events{/number}","events_url":"https://api.github.com/repos/kumada626/guide/events","assignees_url":"https://api.github.com/repos/kumada626/guide/assignees{/user}","branches_url":"https://api.github.com/repos/kumada626/guide/branches{/branch}","tags_url":"https://api.github.com/repos/kumada626/guide/tags","blobs_url":"https://api.github.com/repos/kumada626/guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kumada626/guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kumada626/guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/kumada626/guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kumada626/guide/statuses/{sha}","languages_url":"https://api.github.com/repos/kumada626/guide/languages","stargazers_url":"https://api.github.com/repos/kumada626/guide/stargazers","contributors_url":"https://api.github.com/repos/kumada626/guide/contributors","subscribers_url":"https://api.github.com/repos/kumada626/guide/subscribers","subscription_url":"https://api.github.com/repos/kumada626/guide/subscription","commits_url":"https://api.github.com/repos/kumada626/guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/kumada626/guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/kumada626/guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/kumada626/guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/kumada626/guide/contents/{+path}","compare_url":"https://api.github.com/repos/kumada626/guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kumada626/guide/merges","archive_url":"https://api.github.com/repos/kumada626/guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kumada626/guide/downloads","issues_url":"https://api.github.com/repos/kumada626/guide/issues{/number}","pulls_url":"https://api.github.com/repos/kumada626/guide/pulls{/number}","milestones_url":"https://api.github.com/repos/kumada626/guide/milestones{/number}","notifications_url":"https://api.github.com/repos/kumada626/guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kumada626/guide/labels{/name}","releases_url":"https://api.github.com/repos/kumada626/guide/releases{/id}","deployments_url":"https://api.github.com/repos/kumada626/guide/deployments","created_at":"2017-07-06T12:03:29Z","updated_at":"2017-07-19T21:48:01Z","pushed_at":"2018-12-26T05:39:00Z","git_url":"git://github.com/kumada626/guide.git","ssh_url":"git@github.com:kumada626/guide.git","clone_url":"https://github.com/kumada626/guide.git","svn_url":"https://github.com/kumada626/guide","homepage":"https://screwdriver-cd.github.io/guide/","size":9587,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"screwdriver-cd:master","ref":"master","sha":"140aa7f43290904d0adea83a4b93a3cfb8cd08b9","user":{"login":"screwdriver-cd","id":19417863,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDE3ODYz","avatar_url":"https://avatars0.githubusercontent.com/u/19417863?v=4","gravatar_id":"","url":"https://api.github.com/users/screwdriver-cd","html_url":"https://github.com/screwdriver-cd","followers_url":"https://api.github.com/users/screwdriver-cd/followers","following_url":"https://api.github.com/users/screwdriver-cd/following{/other_user}","gists_url":"https://api.github.com/users/screwdriver-cd/gists{/gist_id}","starred_url":"https://api.github.com/users/screwdriver-cd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/screwdriver-cd/subscriptions","organizations_url":"https://api.github.com/users/screwdriver-cd/orgs","repos_url":"https://api.github.com/users/screwdriver-cd/repos","events_url":"https://api.github.com/users/screwdriver-cd/events{/privacy}","received_events_url":"https://api.github.com/users/screwdriver-cd/received_events","type":"Organization","site_admin":false},"repo":{"id":61775855,"node_id":"MDEwOlJlcG9zaXRvcnk2MTc3NTg1NQ==","name":"guide","full_name":"screwdriver-cd/guide","private":false,"owner":{"login":"screwdriver-cd","id":19417863,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDE3ODYz","avatar_url":"https://avatars0.githubusercontent.com/u/19417863?v=4","gravatar_id":"","url":"https://api.github.com/users/screwdriver-cd","html_url":"https://github.com/screwdriver-cd","followers_url":"https://api.github.com/users/screwdriver-cd/followers","following_url":"https://api.github.com/users/screwdriver-cd/following{/other_user}","gists_url":"https://api.github.com/users/screwdriver-cd/gists{/gist_id}","starred_url":"https://api.github.com/users/screwdriver-cd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/screwdriver-cd/subscriptions","organizations_url":"https://api.github.com/users/screwdriver-cd/orgs","repos_url":"https://api.github.com/users/screwdriver-cd/repos","events_url":"https://api.github.com/users/screwdriver-cd/events{/privacy}","received_events_url":"https://api.github.com/users/screwdriver-cd/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/screwdriver-cd/guide","description":"Screwdriver.cd Documentation","fork":false,"url":"https://api.github.com/repos/screwdriver-cd/guide","forks_url":"https://api.github.com/repos/screwdriver-cd/guide/forks","keys_url":"https://api.github.com/repos/screwdriver-cd/guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/screwdriver-cd/guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/screwdriver-cd/guide/teams","hooks_url":"https://api.github.com/repos/screwdriver-cd/guide/hooks","issue_events_url":"https://api.github.com/repos/screwdriver-cd/guide/issues/events{/number}","events_url":"https://api.github.com/repos/screwdriver-cd/guide/events","assignees_url":"https://api.github.com/repos/screwdriver-cd/guide/assignees{/user}","branches_url":"https://api.github.com/repos/screwdriver-cd/guide/branches{/branch}","tags_url":"https://api.github.com/repos/screwdriver-cd/guide/tags","blobs_url":"https://api.github.com/repos/screwdriver-cd/guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/screwdriver-cd/guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/screwdriver-cd/guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/screwdriver-cd/guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/screwdriver-cd/guide/statuses/{sha}","languages_url":"https://api.github.com/repos/screwdriver-cd/guide/languages","stargazers_url":"https://api.github.com/repos/screwdriver-cd/guide/stargazers","contributors_url":"https://api.github.com/repos/screwdriver-cd/guide/contributors","subscribers_url":"https://api.github.com/repos/screwdriver-cd/guide/subscribers","subscription_url":"https://api.github.com/repos/screwdriver-cd/guide/subscription","commits_url":"https://api.github.com/repos/screwdriver-cd/guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/screwdriver-cd/guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/screwdriver-cd/guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/screwdriver-cd/guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/screwdriver-cd/guide/contents/{+path}","compare_url":"https://api.github.com/repos/screwdriver-cd/guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/screwdriver-cd/guide/merges","archive_url":"https://api.github.com/repos/screwdriver-cd/guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/screwdriver-cd/guide/downloads","issues_url":"https://api.github.com/repos/screwdriver-cd/guide/issues{/number}","pulls_url":"https://api.github.com/repos/screwdriver-cd/guide/pulls{/number}","milestones_url":"https://api.github.com/repos/screwdriver-cd/guide/milestones{/number}","notifications_url":"https://api.github.com/repos/screwdriver-cd/guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/screwdriver-cd/guide/labels{/name}","releases_url":"https://api.github.com/repos/screwdriver-cd/guide/releases{/id}","deployments_url":"https://api.github.com/repos/screwdriver-cd/guide/deployments","created_at":"2016-06-23T05:18:23Z","updated_at":"2018-12-20T01:23:32Z","pushed_at":"2018-12-26T05:43:07Z","git_url":"git://github.com/screwdriver-cd/guide.git","ssh_url":"git@github.com:screwdriver-cd/guide.git","clone_url":"https://github.com/screwdriver-cd/guide.git","svn_url":"https://github.com/screwdriver-cd/guide","homepage":"http://docs.screwdriver.cd","size":7335,"stargazers_count":84,"watchers_count":84,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":43,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":43,"open_issues":3,"watchers":84,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/259"},"html":{"href":"https://github.com/screwdriver-cd/guide/pull/259"},"issue":{"href":"https://api.github.com/repos/screwdriver-cd/guide/issues/259"},"comments":{"href":"https://api.github.com/repos/screwdriver-cd/guide/issues/259/comments"},"review_comments":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/259/comments"},"review_comment":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/259/commits"},"statuses":{"href":"https://api.github.com/repos/screwdriver-cd/guide/statuses/053bc12777f8adba81fd3d00ade104bd9e9389dd"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"wdstar"}}