{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/test-infra/issues/6676","repository_url":"https://api.github.com/repos/kubernetes/test-infra","labels_url":"https://api.github.com/repos/kubernetes/test-infra/issues/6676/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/test-infra/issues/6676/comments","events_url":"https://api.github.com/repos/kubernetes/test-infra/issues/6676/events","html_url":"https://github.com/kubernetes/test-infra/pull/6676","id":294948084,"number":6676,"title":"Mason: Resource Provisionning","user":{"login":"sebastienvas","id":17773671,"avatar_url":"https://avatars1.githubusercontent.com/u/17773671?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastienvas","html_url":"https://github.com/sebastienvas","followers_url":"https://api.github.com/users/sebastienvas/followers","following_url":"https://api.github.com/users/sebastienvas/following{/other_user}","gists_url":"https://api.github.com/users/sebastienvas/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastienvas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastienvas/subscriptions","organizations_url":"https://api.github.com/users/sebastienvas/orgs","repos_url":"https://api.github.com/users/sebastienvas/repos","events_url":"https://api.github.com/users/sebastienvas/events{/privacy}","received_events_url":"https://api.github.com/users/sebastienvas/received_events","type":"User","site_admin":false},"labels":[{"id":670184912,"url":"https://api.github.com/repos/kubernetes/test-infra/labels/area/boskos","name":"area/boskos","color":"0052cc","default":false},{"id":484580953,"url":"https://api.github.com/repos/kubernetes/test-infra/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"bfe5bf","default":false},{"id":718255935,"url":"https://api.github.com/repos/kubernetes/test-infra/labels/needs-rebase","name":"needs-rebase","color":"BDBDBD","default":false},{"id":671133413,"url":"https://api.github.com/repos/kubernetes/test-infra/labels/size/XXL","name":"size/XXL","color":"ee0000","default":false}],"state":"open","locked":false,"assignee":{"login":"krzyzacy","id":1108148,"avatar_url":"https://avatars3.githubusercontent.com/u/1108148?v=4","gravatar_id":"","url":"https://api.github.com/users/krzyzacy","html_url":"https://github.com/krzyzacy","followers_url":"https://api.github.com/users/krzyzacy/followers","following_url":"https://api.github.com/users/krzyzacy/following{/other_user}","gists_url":"https://api.github.com/users/krzyzacy/gists{/gist_id}","starred_url":"https://api.github.com/users/krzyzacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzyzacy/subscriptions","organizations_url":"https://api.github.com/users/krzyzacy/orgs","repos_url":"https://api.github.com/users/krzyzacy/repos","events_url":"https://api.github.com/users/krzyzacy/events{/privacy}","received_events_url":"https://api.github.com/users/krzyzacy/received_events","type":"User","site_admin":false},"assignees":[{"login":"krzyzacy","id":1108148,"avatar_url":"https://avatars3.githubusercontent.com/u/1108148?v=4","gravatar_id":"","url":"https://api.github.com/users/krzyzacy","html_url":"https://github.com/krzyzacy","followers_url":"https://api.github.com/users/krzyzacy/followers","following_url":"https://api.github.com/users/krzyzacy/following{/other_user}","gists_url":"https://api.github.com/users/krzyzacy/gists{/gist_id}","starred_url":"https://api.github.com/users/krzyzacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzyzacy/subscriptions","organizations_url":"https://api.github.com/users/krzyzacy/orgs","repos_url":"https://api.github.com/users/krzyzacy/repos","events_url":"https://api.github.com/users/krzyzacy/events{/privacy}","received_events_url":"https://api.github.com/users/krzyzacy/received_events","type":"User","site_admin":false}],"milestone":null,"comments":22,"created_at":"2018-02-06T23:15:35Z","updated_at":"2018-03-07T06:09:16Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/kubernetes/test-infra/pulls/6676","html_url":"https://github.com/kubernetes/test-infra/pull/6676","diff_url":"https://github.com/kubernetes/test-infra/pull/6676.diff","patch_url":"https://github.com/kubernetes/test-infra/pull/6676.patch"},"body":"Mason is used to setup resources from existing (leased) resources. As an example, we can create a cluster from a GCP project. Mason takes care of acquiring the resources, and updating the new resource. Each vendor can implement their own \"Masonable\". I added a simple implementation for GKE cluster and VM on GCP.\r\n\r\nMore details at https://goo.gl/vHNfww\r\n\r\n- Updates boskos Makefile to build mason\r\n- Updates resources.json to yaml for readibility\r\n- Adds AcquireByState method to Ranch, Boskos and client, to be able to Acquire multiple (leased) resources at once\r\n- Fix linter and gometalinter issues in boskos directory\r\n- Updates Acquire to return a resources instead of a name\r\n- Added support for user data to Resources\r\n- Separated ranch functionality from storage for re-usability and ability to swap storage layer\r\n- Implemented custom resource definition storage for resources (and other)\r\n- Mason implementation + GCP implementation\r\n- Create a Mason client to ease acquisition and release of leased resources.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/test-infra/issues/comments/371033953","html_url":"https://github.com/kubernetes/test-infra/pull/6676#issuecomment-371033953","issue_url":"https://api.github.com/repos/kubernetes/test-infra/issues/6676","id":371033953,"user":{"login":"k8s-ci-robot","id":20407524,"avatar_url":"https://avatars0.githubusercontent.com/u/20407524?v=4","gravatar_id":"","url":"https://api.github.com/users/k8s-ci-robot","html_url":"https://github.com/k8s-ci-robot","followers_url":"https://api.github.com/users/k8s-ci-robot/followers","following_url":"https://api.github.com/users/k8s-ci-robot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-ci-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-ci-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-ci-robot/subscriptions","organizations_url":"https://api.github.com/users/k8s-ci-robot/orgs","repos_url":"https://api.github.com/users/k8s-ci-robot/repos","events_url":"https://api.github.com/users/k8s-ci-robot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-ci-robot/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T06:09:16Z","updated_at":"2018-03-07T06:09:16Z","author_association":"CONTRIBUTOR","body":"@sebastienvas: The following tests **failed**, say `/retest` to rerun them all:\n\nTest name | Commit | Details | Rerun command\n--- | --- | --- | ---\npull-test-infra-verify-deps | 86c3bb0c8fd7693a07a52c7d4e75b73a37d59cb7 | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/test-infra/6676/pull-test-infra-verify-deps/142/) | `/test pull-test-infra-verify-deps`\npull-test-infra-verify-gofmt | 86c3bb0c8fd7693a07a52c7d4e75b73a37d59cb7 | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/test-infra/6676/pull-test-infra-verify-gofmt/9885/) | `/test pull-test-infra-verify-gofmt`\npull-test-infra-verify-bazel | 86c3bb0c8fd7693a07a52c7d4e75b73a37d59cb7 | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/test-infra/6676/pull-test-infra-verify-bazel/11575/) | `/test pull-test-infra-verify-bazel`\npull-test-infra-verify-govet | 86c3bb0c8fd7693a07a52c7d4e75b73a37d59cb7 | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/test-infra/6676/pull-test-infra-verify-govet/9471/) | `/test pull-test-infra-verify-govet`\npull-test-infra-bazel | 86c3bb0c8fd7693a07a52c7d4e75b73a37d59cb7 | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/test-infra/6676/pull-test-infra-bazel/14250/) | `/test pull-test-infra-bazel`\npull-test-infra-lint | 86c3bb0c8fd7693a07a52c7d4e75b73a37d59cb7 | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/test-infra/6676/pull-test-infra-lint/283/) | `/test pull-test-infra-lint`\n\n[Full PR test history](https://k8s-gubernator.appspot.com/pr/test-infra/6676). [Your PR dashboard](https://k8s-gubernator.appspot.com/pr/sebastienvas). Please help us cut down on flakes by [linking to](https://git.k8s.io/community/contributors/devel/flaky-tests.md#filing-issues-for-flaky-tests) an [open issue](https://github.com/kubernetes/test-infra/issues?q=is:issue+is:open) when you hit one in your PR.\n\n<details>\n\nInstructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/devel/pull-requests.md).  If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository. I understand the commands that are listed [here](https://go.k8s.io/bot-commands).\n</details>\n<!-- test report -->"}}
{"actor":{"display_login":"k8s-ci-robot"}}