{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/brigade/issues/408","repository_url":"https://api.github.com/repos/Azure/brigade","labels_url":"https://api.github.com/repos/Azure/brigade/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/Azure/brigade/issues/408/comments","events_url":"https://api.github.com/repos/Azure/brigade/issues/408/events","html_url":"https://github.com/Azure/brigade/issues/408","id":310164044,"number":408,"title":"Docker for Mac - K8s brig run - sample not working","user":{"login":"JCzz","id":1861398,"avatar_url":"https://avatars3.githubusercontent.com/u/1861398?v=4","gravatar_id":"","url":"https://api.github.com/users/JCzz","html_url":"https://github.com/JCzz","followers_url":"https://api.github.com/users/JCzz/followers","following_url":"https://api.github.com/users/JCzz/following{/other_user}","gists_url":"https://api.github.com/users/JCzz/gists{/gist_id}","starred_url":"https://api.github.com/users/JCzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JCzz/subscriptions","organizations_url":"https://api.github.com/users/JCzz/orgs","repos_url":"https://api.github.com/users/JCzz/repos","events_url":"https://api.github.com/users/JCzz/events{/privacy}","received_events_url":"https://api.github.com/users/JCzz/received_events","type":"User","site_admin":false},"labels":[{"id":728799833,"url":"https://api.github.com/repos/Azure/brigade/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-30T20:42:36Z","updated_at":"2018-04-10T22:58:58Z","closed_at":"2018-04-10T22:58:58Z","author_association":"NONE","body":"Hi\r\n\r\nbridge.js\r\n\r\n```\r\nconst { events } = require('brigadier')\r\n\r\nevents.on(\"exec\", (brigadeEvent, project) => {\r\n  console.log(\"Hello world!\")\r\n})\r\n```\r\n\r\nWith the `helm inspect values brigade/brigade-project > myvalues.yaml` not changes.\r\n\r\nI have had this working on Google Kubernetes Engine, now I am trying to run this on Docker For Mac with Kubernetes.\r\n\r\nI did install Brigade with `helm install -n brigade brigade/brigade --set rbac.enabled=true`\r\n\r\nNow when I run `brig run -f brigade.js deis/empty-testbed` it gives me the following error:\r\n\r\n```\r\nError: pod failed to schedule: \r\nUsage:\r\n  brig run PROJECT [flags]\r\n\r\nFlags:\r\n  -c, --commit string    A VCS (git) commit version, tag, or branch (default \"master\")\r\n  -e, --event string     The name of the event to fire (default \"exec\")\r\n  -f, --file string      The JavaScript file to execute\r\n  -p, --payload string   The path to a payload file\r\n\r\nGlobal Flags:\r\n      --kubeconfig string   The path to a KUBECONFIG file, overrides $KUBECONFIG.\r\n  -n, --namespace string    The Kubernetes namespace for Brigade (default \"default\")\r\n  -v, --verbose             Turn on verbose output\r\n\r\npod failed to schedule: \r\n```\r\n\r\nI did try to `brigade-worker-01c9w9q8zxj6zg8v4c39yx3d7m    0/1       Error     0          9m` on the failing brigade-worker... it just returns an empty line.\r\n\r\nkubectl describe brigade-worker-01c9w9q8zxj6zg8v4c39yx3d7m\r\n\r\n```\r\nEvents:\r\n  Type    Reason                 Age   From                         Message\r\n  ----    ------                 ----  ----                         -------\r\n  Normal  Scheduled              13m   default-scheduler            Successfully assigned brigade-worker-01c9w9q8zxj6zg8v4c39yx3d7m to docker-for-desktop\r\n  Normal  SuccessfulMountVolume  13m   kubelet, docker-for-desktop  MountVolume.SetUp succeeded for volume \"vcs-sidecar\"\r\n  Normal  SuccessfulMountVolume  13m   kubelet, docker-for-desktop  MountVolume.SetUp succeeded for volume \"brigade-worker-token-bmsck\"\r\n  Normal  SuccessfulMountVolume  13m   kubelet, docker-for-desktop  MountVolume.SetUp succeeded for volume \"brigade-build\"\r\n  Normal  Pulled                 13m   kubelet, docker-for-desktop  Container image \"deis/brigade-worker:v0.11.0\" already present on machine\r\n  Normal  Created                13m   kubelet, docker-for-desktop  Created container\r\n  Normal  Started                13m   kubelet, docker-for-desktop  Started container\r\n\r\n```\r\nDo you know why?\r\n\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/brigade/issues/comments/380273863","html_url":"https://github.com/Azure/brigade/issues/408#issuecomment-380273863","issue_url":"https://api.github.com/repos/Azure/brigade/issues/408","id":380273863,"user":{"login":"technosophos","id":89193,"avatar_url":"https://avatars1.githubusercontent.com/u/89193?v=4","gravatar_id":"","url":"https://api.github.com/users/technosophos","html_url":"https://github.com/technosophos","followers_url":"https://api.github.com/users/technosophos/followers","following_url":"https://api.github.com/users/technosophos/following{/other_user}","gists_url":"https://api.github.com/users/technosophos/gists{/gist_id}","starred_url":"https://api.github.com/users/technosophos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technosophos/subscriptions","organizations_url":"https://api.github.com/users/technosophos/orgs","repos_url":"https://api.github.com/users/technosophos/repos","events_url":"https://api.github.com/users/technosophos/events{/privacy}","received_events_url":"https://api.github.com/users/technosophos/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T22:58:57Z","updated_at":"2018-04-10T22:58:57Z","author_association":"MEMBER","body":"Oh, man... I am so glad you figured that out. I'm totally having zero luck getting Docker for Mac working at all. I keep running into all these little issues with the way I have my local machine set up. I should have waited longer to upgrade to Go 1.10, I think. \r\n\r\nSounds like I can mark this as resolved. Thanks for the details."}}
{"actor":{"display_login":"technosophos"}}