{"action":"created","issue":{"url":"https://api.github.com/repos/obsidiansystems/obelisk/issues/263","repository_url":"https://api.github.com/repos/obsidiansystems/obelisk","labels_url":"https://api.github.com/repos/obsidiansystems/obelisk/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/obsidiansystems/obelisk/issues/263/comments","events_url":"https://api.github.com/repos/obsidiansystems/obelisk/issues/263/events","html_url":"https://github.com/obsidiansystems/obelisk/issues/263","id":372274475,"node_id":"MDU6SXNzdWUzNzIyNzQ0NzU=","number":263,"title":"ob deploy push fails, needs config argument","user":{"login":"cah6","id":2652649,"node_id":"MDQ6VXNlcjI2NTI2NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/2652649?v=4","gravatar_id":"","url":"https://api.github.com/users/cah6","html_url":"https://github.com/cah6","followers_url":"https://api.github.com/users/cah6/followers","following_url":"https://api.github.com/users/cah6/following{/other_user}","gists_url":"https://api.github.com/users/cah6/gists{/gist_id}","starred_url":"https://api.github.com/users/cah6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cah6/subscriptions","organizations_url":"https://api.github.com/users/cah6/orgs","repos_url":"https://api.github.com/users/cah6/repos","events_url":"https://api.github.com/users/cah6/events{/privacy}","received_events_url":"https://api.github.com/users/cah6/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-21T03:12:03Z","updated_at":"2018-10-31T12:39:31Z","closed_at":null,"author_association":"NONE","body":"So close! When trying to run `ob deploy push` from my deploy directory, it's failing with:\r\n```\r\n$ ob deploy push -v\r\nStarting Obelisk </nix/store/3lr65id93gb95q6xc77v8sgx5s0035gm-obelisk-command-0.1/bin/ob> args=[\"deploy\",\"push\",\"-v\"] logging-level=Debug\r\nNot in a project; no need to hand off\r\nNot handing off\r\nCreating process: RawCommand \"nix-build\" [\"./src\",\"-A\",\"server\",\"--argstr\",\"hostName\",\"myhost\",\"--argstr\",\"adminEmail\",\"myeail\",\"--argstr\",\"routeHost\",\"myroute\",\"--arg\",\"enableHttps\",\"false\",\"--no-out-link\"]\r\nerror: cannot auto-call a function that has an argument without a default value (‘config’)\r\n✖ Running nix-build on ./src [server]\r\nProcess exited with code 1; RawCommand \"nix-build\" [\"./src\",\"-A\",\"server\",\"--argstr\",\"hostName\",\"myhost\",\"--argstr\",\"adminEmail\",\"myemail\",\"--argstr\",\"routeHost\",\"myroute,\"--arg\",\"enableHttps\",\"false\",\"--no-out-link\"]\r\n```\r\neven though this dir contains my config folder (didn't change anything). I can actually have that command go through if I manually append the config dir to it with `--argstr config /full/path/to/deploy/config` to run:\r\n```\r\nnix-build ./src -A server --argstr hostName myhost --argstr adminEmail myemail --argstr routeHost myroute --arg enableHttps false --no-out-link --argstr config /full/path/to/deploy/config\r\n```\r\nthough I don't know what `ob deploy push` does after that. \r\n\r\nBy the way, since I'm pretty close to deploying something with obelisk, I'd like to give feedback on the pain points I felt throughout that process. Is opening an issue here the best way to provide feedback like this, or is there some better forum?"},"comment":{"url":"https://api.github.com/repos/obsidiansystems/obelisk/issues/comments/434671321","html_url":"https://github.com/obsidiansystems/obelisk/issues/263#issuecomment-434671321","issue_url":"https://api.github.com/repos/obsidiansystems/obelisk/issues/263","id":434671321,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDY3MTMyMQ==","user":{"login":"tomsmalley","id":4387499,"node_id":"MDQ6VXNlcjQzODc0OTk=","avatar_url":"https://avatars1.githubusercontent.com/u/4387499?v=4","gravatar_id":"","url":"https://api.github.com/users/tomsmalley","html_url":"https://github.com/tomsmalley","followers_url":"https://api.github.com/users/tomsmalley/followers","following_url":"https://api.github.com/users/tomsmalley/following{/other_user}","gists_url":"https://api.github.com/users/tomsmalley/gists{/gist_id}","starred_url":"https://api.github.com/users/tomsmalley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomsmalley/subscriptions","organizations_url":"https://api.github.com/users/tomsmalley/orgs","repos_url":"https://api.github.com/users/tomsmalley/repos","events_url":"https://api.github.com/users/tomsmalley/events{/privacy}","received_events_url":"https://api.github.com/users/tomsmalley/received_events","type":"User","site_admin":false},"created_at":"2018-10-31T12:39:31Z","updated_at":"2018-10-31T12:39:31Z","author_association":"CONTRIBUTOR","body":"`ob deploy` should also be handing off to the obelisk in `.obelisk/impl`. Could you try re-initialising your deployment directory? You'll probably need to bump obelisk in your project first, or it'll hand off to the old version.\r\n\r\n> By the way, since I'm pretty close to deploying something with obelisk, I'd like to give feedback on the pain points I felt throughout that process. Is opening an issue here the best way to provide feedback like this, or is there some better forum?\r\n\r\nYes, this is the right place, thanks!"}}
{"actor":{"display_login":"tomsmalley"}}