{"action":"opened","issue":{"url":"https://api.github.com/repos/CircleCI-Public/circleci-cli/issues/212","repository_url":"https://api.github.com/repos/CircleCI-Public/circleci-cli","labels_url":"https://api.github.com/repos/CircleCI-Public/circleci-cli/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/CircleCI-Public/circleci-cli/issues/212/comments","events_url":"https://api.github.com/repos/CircleCI-Public/circleci-cli/issues/212/events","html_url":"https://github.com/CircleCI-Public/circleci-cli/issues/212","id":384417274,"node_id":"MDU6SXNzdWUzODQ0MTcyNzQ=","number":212,"title":"local execute - fails to read config file","user":{"login":"n6g7","id":3386177,"node_id":"MDQ6VXNlcjMzODYxNzc=","avatar_url":"https://avatars2.githubusercontent.com/u/3386177?v=4","gravatar_id":"","url":"https://api.github.com/users/n6g7","html_url":"https://github.com/n6g7","followers_url":"https://api.github.com/users/n6g7/followers","following_url":"https://api.github.com/users/n6g7/following{/other_user}","gists_url":"https://api.github.com/users/n6g7/gists{/gist_id}","starred_url":"https://api.github.com/users/n6g7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n6g7/subscriptions","organizations_url":"https://api.github.com/users/n6g7/orgs","repos_url":"https://api.github.com/users/n6g7/repos","events_url":"https://api.github.com/users/n6g7/events{/privacy}","received_events_url":"https://api.github.com/users/n6g7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-26T16:44:47Z","updated_at":"2018-11-26T16:44:47Z","closed_at":null,"author_association":"NONE","body":"## Context\r\nI'm working on a CircleCI config generator (amongst other things) so I want to test that:\r\n- the generated config is valid (`circleci config validate`)\r\n- the generated tests pass (`circleci local execute --job myjob`)\r\n\r\nFrom within CircleCI, so essentially I'm running those CircleCI commands in CircleCI. Very meta but it sounds like it should work.\r\nFirst command (config validation) works fine.\r\n\r\n## Problem\r\nI get the following error when running `circleci local execute --job myjob` (within a CircleCI job):\r\n```sh\r\n$ circleci local execute --job myjob\r\nDocker image digest: sha256:0ae15d9b8329446dd5d241b1d654774871caa89c1cc47d513063c23037aae917\r\nError: failed to start event processor: failed to compute task config: failed to read config file: open circle.yml: no such file or directory\r\n```\r\nIt's confusing because I'm using `.circleci/config.yml` and not using `circle.yml`. \r\nThe same command runs fine locally.\r\n\r\nRunning version `0.1.4211+14dfd68`\r\n\r\n## What I tried\r\n\r\n- Using the `--config` argument ❌\r\n- Moving the generated code outside of the generator repo (to avoid git conflicts or even multiple circle ci config files in parent directories) ❌\r\n- Running `chmod 777 .circleci/config.yml` ❌\r\n\r\nHere's the smallest *generator* config file I've been able to reproduce teh bug with: https://gist.github.com/n6g7/f11008ee351b3dfd9c56f6c23b5ce7d6, I don't think the *generated* config file matters but can share it too if necessary.\r\n\r\nAny idea where this could be coming from?"}}
{"actor":{"display_login":"n6g7"}}