{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/test-infra/issues/1894","repository_url":"https://api.github.com/repos/kubernetes/test-infra","labels_url":"https://api.github.com/repos/kubernetes/test-infra/issues/1894/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/test-infra/issues/1894/comments","events_url":"https://api.github.com/repos/kubernetes/test-infra/issues/1894/events","html_url":"https://github.com/kubernetes/test-infra/pull/1894","id":207605469,"number":1894,"title":"Convert kubeadm e2e Jenkins job to prow.","user":{"login":"pipejakob","id":1605981,"avatar_url":"https://avatars.githubusercontent.com/u/1605981?v=3","gravatar_id":"","url":"https://api.github.com/users/pipejakob","html_url":"https://github.com/pipejakob","followers_url":"https://api.github.com/users/pipejakob/followers","following_url":"https://api.github.com/users/pipejakob/following{/other_user}","gists_url":"https://api.github.com/users/pipejakob/gists{/gist_id}","starred_url":"https://api.github.com/users/pipejakob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pipejakob/subscriptions","organizations_url":"https://api.github.com/users/pipejakob/orgs","repos_url":"https://api.github.com/users/pipejakob/repos","events_url":"https://api.github.com/users/pipejakob/events{/privacy}","received_events_url":"https://api.github.com/users/pipejakob/received_events","type":"User","site_admin":false},"labels":[{"id":484580953,"url":"https://api.github.com/repos/kubernetes/test-infra/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"spxtr","id":7368979,"avatar_url":"https://avatars.githubusercontent.com/u/7368979?v=3","gravatar_id":"","url":"https://api.github.com/users/spxtr","html_url":"https://github.com/spxtr","followers_url":"https://api.github.com/users/spxtr/followers","following_url":"https://api.github.com/users/spxtr/following{/other_user}","gists_url":"https://api.github.com/users/spxtr/gists{/gist_id}","starred_url":"https://api.github.com/users/spxtr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spxtr/subscriptions","organizations_url":"https://api.github.com/users/spxtr/orgs","repos_url":"https://api.github.com/users/spxtr/repos","events_url":"https://api.github.com/users/spxtr/events{/privacy}","received_events_url":"https://api.github.com/users/spxtr/received_events","type":"User","site_admin":false},"assignees":[{"login":"spxtr","id":7368979,"avatar_url":"https://avatars.githubusercontent.com/u/7368979?v=3","gravatar_id":"","url":"https://api.github.com/users/spxtr","html_url":"https://github.com/spxtr","followers_url":"https://api.github.com/users/spxtr/followers","following_url":"https://api.github.com/users/spxtr/following{/other_user}","gists_url":"https://api.github.com/users/spxtr/gists{/gist_id}","starred_url":"https://api.github.com/users/spxtr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spxtr/subscriptions","organizations_url":"https://api.github.com/users/spxtr/orgs","repos_url":"https://api.github.com/users/spxtr/repos","events_url":"https://api.github.com/users/spxtr/events{/privacy}","received_events_url":"https://api.github.com/users/spxtr/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-02-14T19:00:54Z","updated_at":"2017-02-16T00:10:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/test-infra/pulls/1894","html_url":"https://github.com/kubernetes/test-infra/pull/1894","diff_url":"https://github.com/kubernetes/test-infra/pull/1894.diff","patch_url":"https://github.com/kubernetes/test-infra/pull/1894.patch"},"body":"After encountering a lot of problems getting this to work as a Jenkins job, I'm converting it to prow per EngProd's advice. This also allowed me to move the kubernetes-anywhere dependencies out of the Jenkins e2e image and into a new image specific to this job.\r\n\r\nThis is just the postsubmit CI job to start with. After testing, I'll add a presubmit job next.\r\n\r\nCC @dmmcquay @mikedanese "},"comment":{"url":"https://api.github.com/repos/kubernetes/test-infra/issues/comments/280185231","html_url":"https://github.com/kubernetes/test-infra/pull/1894#issuecomment-280185231","issue_url":"https://api.github.com/repos/kubernetes/test-infra/issues/1894","id":280185231,"user":{"login":"pipejakob","id":1605981,"avatar_url":"https://avatars.githubusercontent.com/u/1605981?v=3","gravatar_id":"","url":"https://api.github.com/users/pipejakob","html_url":"https://github.com/pipejakob","followers_url":"https://api.github.com/users/pipejakob/followers","following_url":"https://api.github.com/users/pipejakob/following{/other_user}","gists_url":"https://api.github.com/users/pipejakob/gists{/gist_id}","starred_url":"https://api.github.com/users/pipejakob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pipejakob/subscriptions","organizations_url":"https://api.github.com/users/pipejakob/orgs","repos_url":"https://api.github.com/users/pipejakob/repos","events_url":"https://api.github.com/users/pipejakob/events{/privacy}","received_events_url":"https://api.github.com/users/pipejakob/received_events","type":"User","site_admin":false},"created_at":"2017-02-16T00:10:35Z","updated_at":"2017-02-16T00:10:35Z","body":"For testing, I was going to accept that this would be an iterative process like adding the Jenkins job was in the first place, with some bugs only being found once the PR was merged/pushed.\r\n\r\nWhat local testing I was able to do was:\r\n\r\n  - Change the `PROJECT` var in the job script to one of my own personal projects\r\n  - Comment out `git clone https://github.com/kubernetes/test-infra` in the runner so I could use my local repo with these unreleased changes\r\n  - Run this command to approximate a job run:\r\n```$ docker run -e REPO_NAME=kubernetes -e JOB_NAME=ci-kubernetes-e2e-kubeadm-gce -e GOOGLE_APPLICATION_CREDENTIALS=/etc/creds/creds.json -v $HOME/creds:/etc/creds/ -v $HOME/go/src/k8s.io/test-infra/:/workspace/test-infra -e BOOTSTRAP_MIGRATION=yes d827d65d42cd --branch master```\r\n\r\n(where `d827d65d42cd` was the local id of the container built)\r\n\r\nIs there additional local testing I could do to better simulate how this will actually run in prow? Last time we talked offline, I thought there wasn't."}}
{"actor":{"display_login":"pipejakob"}}