{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/community/pulls/comments/190460745","pull_request_review_id":122839771,"id":190460745,"diff_hunk":"@@ -268,6 +268,9 @@ Execute the following command to run the build:\n Replace `${PROJECT_ID}` with the ID of your Google Cloud Platform project.\n The period at the end is required.\n \n+If your `.gitignore` file is excluding `/config/*.secret.exs`,\n+you'll have to comment that out for this step - we need that file.","path":"tutorials/elixir-phoenix-on-kubernetes-google-container-engine/index.md","position":5,"original_position":5,"commit_id":"7d75b878da139402e740a30940f4e99dfd034ce6","original_commit_id":"7d75b878da139402e740a30940f4e99dfd034ce6","user":{"login":"zeroasterisk","id":23422,"avatar_url":"https://avatars3.githubusercontent.com/u/23422?v=4","gravatar_id":"","url":"https://api.github.com/users/zeroasterisk","html_url":"https://github.com/zeroasterisk","followers_url":"https://api.github.com/users/zeroasterisk/followers","following_url":"https://api.github.com/users/zeroasterisk/following{/other_user}","gists_url":"https://api.github.com/users/zeroasterisk/gists{/gist_id}","starred_url":"https://api.github.com/users/zeroasterisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeroasterisk/subscriptions","organizations_url":"https://api.github.com/users/zeroasterisk/orgs","repos_url":"https://api.github.com/users/zeroasterisk/repos","events_url":"https://api.github.com/users/zeroasterisk/events{/privacy}","received_events_url":"https://api.github.com/users/zeroasterisk/received_events","type":"User","site_admin":false},"body":"I found this is a log file which pretty clearly describes why this is true:\r\n\r\n```\r\n2018-05-23 21:01:57,867 INFO     root            Using default gcloudignore file:\r\n--------------------------------------------------\r\n# This file specifies files that are *not* uploaded to Google Cloud Platform\r\n# using gcloud. It follows the same syntax as .gitignore, with the addition of\r\n# \"#!include\" directives (which insert the entries of the given .gitignore-style\r\n# file at that point).\r\n#\r\n# For more information, run:\r\n#   $ gcloud topic gcloudignore\r\n#\r\n.gcloudignore\r\n# If you would like to upload your .git directory, .gitignore file or files\r\n# from your .gitignore file, remove the corresponding line\r\n# below:\r\n.git\r\n.gitignore\r\n#!include:.gitignore\r\n```","created_at":"2018-05-24T04:05:33Z","updated_at":"2018-05-24T04:05:33Z","html_url":"https://github.com/GoogleCloudPlatform/community/pull/414#discussion_r190460745","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/community/pulls/414","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/community/pulls/comments/190460745"},"html":{"href":"https://github.com/GoogleCloudPlatform/community/pull/414#discussion_r190460745"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/community/pulls/414"}},"in_reply_to_id":183515360},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/community/pulls/414","id":181751991,"html_url":"https://github.com/GoogleCloudPlatform/community/pull/414","diff_url":"https://github.com/GoogleCloudPlatform/community/pull/414.diff","patch_url":"https://github.com/GoogleCloudPlatform/community/pull/414.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/community/issues/414","number":414,"state":"open","locked":false,"title":"Add a note about missing config/prod.secret.exs","user":{"login":"zeroasterisk","id":23422,"avatar_url":"https://avatars3.githubusercontent.com/u/23422?v=4","gravatar_id":"","url":"https://api.github.com/users/zeroasterisk","html_url":"https://github.com/zeroasterisk","followers_url":"https://api.github.com/users/zeroasterisk/followers","following_url":"https://api.github.com/users/zeroasterisk/following{/other_user}","gists_url":"https://api.github.com/users/zeroasterisk/gists{/gist_id}","starred_url":"https://api.github.com/users/zeroasterisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeroasterisk/subscriptions","organizations_url":"https://api.github.com/users/zeroasterisk/orgs","repos_url":"https://api.github.com/users/zeroasterisk/repos","events_url":"https://api.github.com/users/zeroasterisk/events{/privacy}","received_events_url":"https://api.github.com/users/zeroasterisk/received_events","type":"User","site_admin":false},"body":"My first walkthrough of this, I got this error.  I think the phoenix new template .gitignore includes this file (which is good).\r\n\r\n```\r\nStep 8/17 : RUN mix do deps.get, deps.compile, compile\r\n ---> Running in caef9afa1b97\r\n** (Mix.Config.LoadError) could not load config config/prod.secret.exs\r\n    ** (File.Error) could not read file \"/opt/app/config/prod.secret.exs\": no such file or directory\r\n    (elixir) lib/file.ex:310: File.read!/1\r\n    (mix) lib/mix/config.ex:189: Mix.Config.read!/2\r\n    (mix) lib/mix/config.ex:233: anonymous fn/3 in Mix.Config.read_wildcard!/2\r\n    (elixir) lib/enum.ex:1899: Enum.\"-reduce/3-lists^foldl/2-0-\"/3\r\n    (stdlib) erl_eval.erl:670: :erl_eval.do_apply/6\r\n    (stdlib) erl_eval.erl:878: :erl_eval.expr_list/6\r\n    (stdlib) erl_eval.erl:404: :erl_eval.expr/5\r\nThe command '/bin/sh -c mix do deps.get, deps.compile, compile' returned a non-zero code: 1\r\nERROR\r\nERROR: build step 0 \"gcr.io/cloud-builders/docker\" failed: exit status 1\r\n\r\n------------------------------------------------------------------------------------------------\r\n\r\nERROR: (gcloud.container.builds.submit) build 5f7cccdf-5f1d-497d-98d9-2d4b1605a716 completed with status \"FAILURE\"\r\n```","created_at":"2018-04-16T04:43:09Z","updated_at":"2018-05-24T04:05:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f6d2aac7fdc760259823caec7ec4f93cf9173c04","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/community/pulls/414/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/community/pulls/414/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/community/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/community/issues/414/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/community/statuses/7d75b878da139402e740a30940f4e99dfd034ce6","head":{"label":"zeroasterisk:patch-2","ref":"patch-2","sha":"7d75b878da139402e740a30940f4e99dfd034ce6","user":{"login":"zeroasterisk","id":23422,"avatar_url":"https://avatars3.githubusercontent.com/u/23422?v=4","gravatar_id":"","url":"https://api.github.com/users/zeroasterisk","html_url":"https://github.com/zeroasterisk","followers_url":"https://api.github.com/users/zeroasterisk/followers","following_url":"https://api.github.com/users/zeroasterisk/following{/other_user}","gists_url":"https://api.github.com/users/zeroasterisk/gists{/gist_id}","starred_url":"https://api.github.com/users/zeroasterisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeroasterisk/subscriptions","organizations_url":"https://api.github.com/users/zeroasterisk/orgs","repos_url":"https://api.github.com/users/zeroasterisk/repos","events_url":"https://api.github.com/users/zeroasterisk/events{/privacy}","received_events_url":"https://api.github.com/users/zeroasterisk/received_events","type":"User","site_admin":false},"repo":{"id":129685467,"name":"community","full_name":"zeroasterisk/community","owner":{"login":"zeroasterisk","id":23422,"avatar_url":"https://avatars3.githubusercontent.com/u/23422?v=4","gravatar_id":"","url":"https://api.github.com/users/zeroasterisk","html_url":"https://github.com/zeroasterisk","followers_url":"https://api.github.com/users/zeroasterisk/followers","following_url":"https://api.github.com/users/zeroasterisk/following{/other_user}","gists_url":"https://api.github.com/users/zeroasterisk/gists{/gist_id}","starred_url":"https://api.github.com/users/zeroasterisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeroasterisk/subscriptions","organizations_url":"https://api.github.com/users/zeroasterisk/orgs","repos_url":"https://api.github.com/users/zeroasterisk/repos","events_url":"https://api.github.com/users/zeroasterisk/events{/privacy}","received_events_url":"https://api.github.com/users/zeroasterisk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zeroasterisk/community","description":"This repository holds the content submitted to https://cloud.google.com/community. Files added to the tutorials/ will appear at https://cloud.google.com/community/tutorials.","fork":true,"url":"https://api.github.com/repos/zeroasterisk/community","forks_url":"https://api.github.com/repos/zeroasterisk/community/forks","keys_url":"https://api.github.com/repos/zeroasterisk/community/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeroasterisk/community/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeroasterisk/community/teams","hooks_url":"https://api.github.com/repos/zeroasterisk/community/hooks","issue_events_url":"https://api.github.com/repos/zeroasterisk/community/issues/events{/number}","events_url":"https://api.github.com/repos/zeroasterisk/community/events","assignees_url":"https://api.github.com/repos/zeroasterisk/community/assignees{/user}","branches_url":"https://api.github.com/repos/zeroasterisk/community/branches{/branch}","tags_url":"https://api.github.com/repos/zeroasterisk/community/tags","blobs_url":"https://api.github.com/repos/zeroasterisk/community/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeroasterisk/community/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeroasterisk/community/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeroasterisk/community/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeroasterisk/community/statuses/{sha}","languages_url":"https://api.github.com/repos/zeroasterisk/community/languages","stargazers_url":"https://api.github.com/repos/zeroasterisk/community/stargazers","contributors_url":"https://api.github.com/repos/zeroasterisk/community/contributors","subscribers_url":"https://api.github.com/repos/zeroasterisk/community/subscribers","subscription_url":"https://api.github.com/repos/zeroasterisk/community/subscription","commits_url":"https://api.github.com/repos/zeroasterisk/community/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeroasterisk/community/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeroasterisk/community/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeroasterisk/community/issues/comments{/number}","contents_url":"https://api.github.com/repos/zeroasterisk/community/contents/{+path}","compare_url":"https://api.github.com/repos/zeroasterisk/community/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeroasterisk/community/merges","archive_url":"https://api.github.com/repos/zeroasterisk/community/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeroasterisk/community/downloads","issues_url":"https://api.github.com/repos/zeroasterisk/community/issues{/number}","pulls_url":"https://api.github.com/repos/zeroasterisk/community/pulls{/number}","milestones_url":"https://api.github.com/repos/zeroasterisk/community/milestones{/number}","notifications_url":"https://api.github.com/repos/zeroasterisk/community/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeroasterisk/community/labels{/name}","releases_url":"https://api.github.com/repos/zeroasterisk/community/releases{/id}","deployments_url":"https://api.github.com/repos/zeroasterisk/community/deployments","created_at":"2018-04-16T04:39:01Z","updated_at":"2018-04-16T04:39:05Z","pushed_at":"2018-05-10T03:41:30Z","git_url":"git://github.com/zeroasterisk/community.git","ssh_url":"git@github.com:zeroasterisk/community.git","clone_url":"https://github.com/zeroasterisk/community.git","svn_url":"https://github.com/zeroasterisk/community","homepage":"https://cloud.google.com/community","size":26437,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"9e213512e8bd61cf89fe8f4eafa2ec8e985993fc","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":50372538,"name":"community","full_name":"GoogleCloudPlatform/community","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/community","description":"This repository holds the content submitted to https://cloud.google.com/community. Files added to the tutorials/ will appear at https://cloud.google.com/community/tutorials.","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/community","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/community/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/community/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/community/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/community/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/community/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/community/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/community/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/community/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/community/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/community/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/community/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/community/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/community/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/community/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/community/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/community/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/community/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/community/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/community/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/community/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/community/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/community/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/community/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/community/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/community/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/community/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/community/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/community/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/community/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/community/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/community/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/community/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/community/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/community/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/community/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/community/deployments","created_at":"2016-01-25T18:46:16Z","updated_at":"2018-05-23T23:53:54Z","pushed_at":"2018-05-24T00:34:33Z","git_url":"git://github.com/GoogleCloudPlatform/community.git","ssh_url":"git@github.com:GoogleCloudPlatform/community.git","clone_url":"https://github.com/GoogleCloudPlatform/community.git","svn_url":"https://github.com/GoogleCloudPlatform/community","homepage":"https://cloud.google.com/community","size":27113,"stargazers_count":218,"watchers_count":218,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":283,"mirror_url":null,"archived":false,"open_issues_count":141,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":283,"open_issues":141,"watchers":218,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/community/pulls/414"},"html":{"href":"https://github.com/GoogleCloudPlatform/community/pull/414"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/community/issues/414"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/community/issues/414/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/community/pulls/414/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/community/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/community/pulls/414/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/community/statuses/7d75b878da139402e740a30940f4e99dfd034ce6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"zeroasterisk"}}