{"action":"created","comment":{"url":"https://api.github.com/repos/kata-containers/tests/pulls/comments/238857923","pull_request_review_id":181503495,"id":238857923,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODg1NzkyMw==","diff_hunk":"@@ -0,0 +1,90 @@\n+#!/bin/bash\n+#\n+# Copyright (c) 2017-2018 Intel Corporation\n+#\n+# SPDX-License-Identifier: Apache-2.0\n+#\n+\n+set -e\n+\n+cidir=$(dirname \"$0\")\n+source \"/etc/os-release\" || source \"/usr/lib/os-release\"\n+source \"${cidir}/lib.sh\"\n+\n+echo \"Enable librbd1 repository\"\n+sudo bash -c \"cat <<EOF > /etc/apt/sources.list.d/unstable.list\n+deb http://mirror.aarnet.edu.au/debian/ unstable main contrib non-free\n+deb-src http://mirror.aarnet.edu.au/debian/ unstable main contrib non-free\n+EOF\"\n+\n+echo \"Lower priority than stable\"\n+sudo bash -c \"cat <<EOF > /etc/apt/preferences.d/unstable\n+Package: *\n+Pin: release a=unstable\n+Pin-Priority: 10\n+EOF\"\n+\n+echo \"Update apt repositories\"\n+sudo -E apt update\n+\n+echo \"Install chronic\"\n+sudo -E apt install -y moreutils\n+\n+echo \"Install curl\"\n+sudo -E apt install -y curl\n+\n+echo \"Install librbd1\"\n+chronic sudo -E apt install -y -t unstable librbd1\n+\n+echo \"Install kata containers dependencies\"\n+chronic sudo -E apt install -y libtool automake autotools-dev autoconf bc alien libpixman-1-dev coreutils\n+\n+echo \"Install qemu dependencies\"\n+chronic sudo -E apt install -y libcap-dev libattr1-dev libcap-ng-dev librbd-dev\n+\n+echo \"Install kernel dependencies\"\n+chronic sudo -E apt install -y libelf-dev\n+\n+echo \"Install CRI-O dependencies for Debian\"\n+chronic sudo -E apt install -y libglib2.0-dev libseccomp-dev libapparmor-dev \\\n+        libgpgme11-dev go-md2man thin-provisioning-tools\n+\n+echo \"Install bison binary\"\n+chronic sudo -E apt install -y bison\n+\n+echo \"Install libudev-dev\"\n+chronic sudo -E apt-get install -y libudev-dev\n+\n+echo \"Install Build Tools\"\n+chronic sudo -E apt install -y build-essential python pkg-config zlib1g-dev\n+\n+echo -e \"Install CRI-O dependencies available for Debian\"\n+chronic sudo -E apt install -y libdevmapper-dev btrfs-tools util-linux\n+\n+chronic sudo -E apt install -y libostree-dev\n+\n+echo \"Install YAML validator\"\n+chronic sudo -E apt install -y yamllint\n+\n+echo \"Install tools for metrics tests\"\n+chronic sudo -E apt install -y smem jq\n+\n+if [ \"$(arch)\" == \"x86_64\" ]; then\n+\techo \"Install Kata Containers OBS repository\"\n+\tobs_url=\"http://download.opensuse.org/repositories/home:/katacontainers:/release/xUbuntu_17.10\"","path":".ci/setup_env_debian.sh","position":74,"original_position":74,"commit_id":"36b0174b6154618414ef780543c35ca8f476d52b","original_commit_id":"31a986743c10b9a848d3fe232b443e9ebe21bbe3","user":{"login":"GabyCT","id":20359065,"node_id":"MDQ6VXNlcjIwMzU5MDY1","avatar_url":"https://avatars1.githubusercontent.com/u/20359065?v=4","gravatar_id":"","url":"https://api.github.com/users/GabyCT","html_url":"https://github.com/GabyCT","followers_url":"https://api.github.com/users/GabyCT/followers","following_url":"https://api.github.com/users/GabyCT/following{/other_user}","gists_url":"https://api.github.com/users/GabyCT/gists{/gist_id}","starred_url":"https://api.github.com/users/GabyCT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabyCT/subscriptions","organizations_url":"https://api.github.com/users/GabyCT/orgs","repos_url":"https://api.github.com/users/GabyCT/repos","events_url":"https://api.github.com/users/GabyCT/events{/privacy}","received_events_url":"https://api.github.com/users/GabyCT/received_events","type":"User","site_admin":false},"body":"@devimc , currently we do not have OBS packages for debian https://github.com/kata-containers/packaging/issues/247, however, the OBS packages for ubuntu are working perfectly in debian https://github.com/kata-containers/documentation/pull/306. This is a temporary solution until is done https://github.com/kata-containers/packaging/issues/247.","created_at":"2018-12-04T22:05:46Z","updated_at":"2018-12-04T22:05:47Z","html_url":"https://github.com/kata-containers/tests/pull/967#discussion_r238857923","pull_request_url":"https://api.github.com/repos/kata-containers/tests/pulls/967","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/kata-containers/tests/pulls/comments/238857923"},"html":{"href":"https://github.com/kata-containers/tests/pull/967#discussion_r238857923"},"pull_request":{"href":"https://api.github.com/repos/kata-containers/tests/pulls/967"}},"in_reply_to_id":238851234},"pull_request":{"url":"https://api.github.com/repos/kata-containers/tests/pulls/967","id":235965075,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1OTY1MDc1","html_url":"https://github.com/kata-containers/tests/pull/967","diff_url":"https://github.com/kata-containers/tests/pull/967.diff","patch_url":"https://github.com/kata-containers/tests/pull/967.patch","issue_url":"https://api.github.com/repos/kata-containers/tests/issues/967","number":967,"state":"open","locked":false,"title":"ci: Add installation scripts for debian.","user":{"login":"GabyCT","id":20359065,"node_id":"MDQ6VXNlcjIwMzU5MDY1","avatar_url":"https://avatars1.githubusercontent.com/u/20359065?v=4","gravatar_id":"","url":"https://api.github.com/users/GabyCT","html_url":"https://github.com/GabyCT","followers_url":"https://api.github.com/users/GabyCT/followers","following_url":"https://api.github.com/users/GabyCT/following{/other_user}","gists_url":"https://api.github.com/users/GabyCT/gists{/gist_id}","starred_url":"https://api.github.com/users/GabyCT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabyCT/subscriptions","organizations_url":"https://api.github.com/users/GabyCT/orgs","repos_url":"https://api.github.com/users/GabyCT/repos","events_url":"https://api.github.com/users/GabyCT/events{/privacy}","received_events_url":"https://api.github.com/users/GabyCT/received_events","type":"User","site_admin":false},"body":"These set os scripts will installed system dependencies\r\nas well all the components to run Kata Containers.\r\n\r\nFixes #964\r\n\r\nSigned-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>","created_at":"2018-12-04T21:27:16Z","updated_at":"2018-12-04T22:05:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ff7e4c7d833f5291fee5cd9368a9420be3d8704f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kata-containers/tests/pulls/967/commits","review_comments_url":"https://api.github.com/repos/kata-containers/tests/pulls/967/comments","review_comment_url":"https://api.github.com/repos/kata-containers/tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kata-containers/tests/issues/967/comments","statuses_url":"https://api.github.com/repos/kata-containers/tests/statuses/36b0174b6154618414ef780543c35ca8f476d52b","head":{"label":"GabyCT:topic/adddebian","ref":"topic/adddebian","sha":"36b0174b6154618414ef780543c35ca8f476d52b","user":{"login":"GabyCT","id":20359065,"node_id":"MDQ6VXNlcjIwMzU5MDY1","avatar_url":"https://avatars1.githubusercontent.com/u/20359065?v=4","gravatar_id":"","url":"https://api.github.com/users/GabyCT","html_url":"https://github.com/GabyCT","followers_url":"https://api.github.com/users/GabyCT/followers","following_url":"https://api.github.com/users/GabyCT/following{/other_user}","gists_url":"https://api.github.com/users/GabyCT/gists{/gist_id}","starred_url":"https://api.github.com/users/GabyCT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabyCT/subscriptions","organizations_url":"https://api.github.com/users/GabyCT/orgs","repos_url":"https://api.github.com/users/GabyCT/repos","events_url":"https://api.github.com/users/GabyCT/events{/privacy}","received_events_url":"https://api.github.com/users/GabyCT/received_events","type":"User","site_admin":false},"repo":{"id":118497136,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg0OTcxMzY=","name":"tests-1","full_name":"GabyCT/tests-1","private":false,"owner":{"login":"GabyCT","id":20359065,"node_id":"MDQ6VXNlcjIwMzU5MDY1","avatar_url":"https://avatars1.githubusercontent.com/u/20359065?v=4","gravatar_id":"","url":"https://api.github.com/users/GabyCT","html_url":"https://github.com/GabyCT","followers_url":"https://api.github.com/users/GabyCT/followers","following_url":"https://api.github.com/users/GabyCT/following{/other_user}","gists_url":"https://api.github.com/users/GabyCT/gists{/gist_id}","starred_url":"https://api.github.com/users/GabyCT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabyCT/subscriptions","organizations_url":"https://api.github.com/users/GabyCT/orgs","repos_url":"https://api.github.com/users/GabyCT/repos","events_url":"https://api.github.com/users/GabyCT/events{/privacy}","received_events_url":"https://api.github.com/users/GabyCT/received_events","type":"User","site_admin":false},"html_url":"https://github.com/GabyCT/tests-1","description":"Kata Containers tests, CI, and metrics","fork":true,"url":"https://api.github.com/repos/GabyCT/tests-1","forks_url":"https://api.github.com/repos/GabyCT/tests-1/forks","keys_url":"https://api.github.com/repos/GabyCT/tests-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GabyCT/tests-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GabyCT/tests-1/teams","hooks_url":"https://api.github.com/repos/GabyCT/tests-1/hooks","issue_events_url":"https://api.github.com/repos/GabyCT/tests-1/issues/events{/number}","events_url":"https://api.github.com/repos/GabyCT/tests-1/events","assignees_url":"https://api.github.com/repos/GabyCT/tests-1/assignees{/user}","branches_url":"https://api.github.com/repos/GabyCT/tests-1/branches{/branch}","tags_url":"https://api.github.com/repos/GabyCT/tests-1/tags","blobs_url":"https://api.github.com/repos/GabyCT/tests-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GabyCT/tests-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GabyCT/tests-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/GabyCT/tests-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GabyCT/tests-1/statuses/{sha}","languages_url":"https://api.github.com/repos/GabyCT/tests-1/languages","stargazers_url":"https://api.github.com/repos/GabyCT/tests-1/stargazers","contributors_url":"https://api.github.com/repos/GabyCT/tests-1/contributors","subscribers_url":"https://api.github.com/repos/GabyCT/tests-1/subscribers","subscription_url":"https://api.github.com/repos/GabyCT/tests-1/subscription","commits_url":"https://api.github.com/repos/GabyCT/tests-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/GabyCT/tests-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/GabyCT/tests-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/GabyCT/tests-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/GabyCT/tests-1/contents/{+path}","compare_url":"https://api.github.com/repos/GabyCT/tests-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GabyCT/tests-1/merges","archive_url":"https://api.github.com/repos/GabyCT/tests-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GabyCT/tests-1/downloads","issues_url":"https://api.github.com/repos/GabyCT/tests-1/issues{/number}","pulls_url":"https://api.github.com/repos/GabyCT/tests-1/pulls{/number}","milestones_url":"https://api.github.com/repos/GabyCT/tests-1/milestones{/number}","notifications_url":"https://api.github.com/repos/GabyCT/tests-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GabyCT/tests-1/labels{/name}","releases_url":"https://api.github.com/repos/GabyCT/tests-1/releases{/id}","deployments_url":"https://api.github.com/repos/GabyCT/tests-1/deployments","created_at":"2018-01-22T18:24:47Z","updated_at":"2018-06-06T21:42:50Z","pushed_at":"2018-12-04T22:03:53Z","git_url":"git://github.com/GabyCT/tests-1.git","ssh_url":"git@github.com:GabyCT/tests-1.git","clone_url":"https://github.com/GabyCT/tests-1.git","svn_url":"https://github.com/GabyCT/tests-1","homepage":"","size":2659,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kata-containers:master","ref":"master","sha":"c916d9cec4abd6ab74be4422a29c3aa24718907a","user":{"login":"kata-containers","id":33289952,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMjg5OTUy","avatar_url":"https://avatars3.githubusercontent.com/u/33289952?v=4","gravatar_id":"","url":"https://api.github.com/users/kata-containers","html_url":"https://github.com/kata-containers","followers_url":"https://api.github.com/users/kata-containers/followers","following_url":"https://api.github.com/users/kata-containers/following{/other_user}","gists_url":"https://api.github.com/users/kata-containers/gists{/gist_id}","starred_url":"https://api.github.com/users/kata-containers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kata-containers/subscriptions","organizations_url":"https://api.github.com/users/kata-containers/orgs","repos_url":"https://api.github.com/users/kata-containers/repos","events_url":"https://api.github.com/users/kata-containers/events{/privacy}","received_events_url":"https://api.github.com/users/kata-containers/received_events","type":"Organization","site_admin":false},"repo":{"id":110539912,"node_id":"MDEwOlJlcG9zaXRvcnkxMTA1Mzk5MTI=","name":"tests","full_name":"kata-containers/tests","private":false,"owner":{"login":"kata-containers","id":33289952,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMjg5OTUy","avatar_url":"https://avatars3.githubusercontent.com/u/33289952?v=4","gravatar_id":"","url":"https://api.github.com/users/kata-containers","html_url":"https://github.com/kata-containers","followers_url":"https://api.github.com/users/kata-containers/followers","following_url":"https://api.github.com/users/kata-containers/following{/other_user}","gists_url":"https://api.github.com/users/kata-containers/gists{/gist_id}","starred_url":"https://api.github.com/users/kata-containers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kata-containers/subscriptions","organizations_url":"https://api.github.com/users/kata-containers/orgs","repos_url":"https://api.github.com/users/kata-containers/repos","events_url":"https://api.github.com/users/kata-containers/events{/privacy}","received_events_url":"https://api.github.com/users/kata-containers/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/kata-containers/tests","description":"Kata Containers tests, CI, and metrics","fork":false,"url":"https://api.github.com/repos/kata-containers/tests","forks_url":"https://api.github.com/repos/kata-containers/tests/forks","keys_url":"https://api.github.com/repos/kata-containers/tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kata-containers/tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kata-containers/tests/teams","hooks_url":"https://api.github.com/repos/kata-containers/tests/hooks","issue_events_url":"https://api.github.com/repos/kata-containers/tests/issues/events{/number}","events_url":"https://api.github.com/repos/kata-containers/tests/events","assignees_url":"https://api.github.com/repos/kata-containers/tests/assignees{/user}","branches_url":"https://api.github.com/repos/kata-containers/tests/branches{/branch}","tags_url":"https://api.github.com/repos/kata-containers/tests/tags","blobs_url":"https://api.github.com/repos/kata-containers/tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kata-containers/tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kata-containers/tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/kata-containers/tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kata-containers/tests/statuses/{sha}","languages_url":"https://api.github.com/repos/kata-containers/tests/languages","stargazers_url":"https://api.github.com/repos/kata-containers/tests/stargazers","contributors_url":"https://api.github.com/repos/kata-containers/tests/contributors","subscribers_url":"https://api.github.com/repos/kata-containers/tests/subscribers","subscription_url":"https://api.github.com/repos/kata-containers/tests/subscription","commits_url":"https://api.github.com/repos/kata-containers/tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/kata-containers/tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/kata-containers/tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/kata-containers/tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/kata-containers/tests/contents/{+path}","compare_url":"https://api.github.com/repos/kata-containers/tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kata-containers/tests/merges","archive_url":"https://api.github.com/repos/kata-containers/tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kata-containers/tests/downloads","issues_url":"https://api.github.com/repos/kata-containers/tests/issues{/number}","pulls_url":"https://api.github.com/repos/kata-containers/tests/pulls{/number}","milestones_url":"https://api.github.com/repos/kata-containers/tests/milestones{/number}","notifications_url":"https://api.github.com/repos/kata-containers/tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kata-containers/tests/labels{/name}","releases_url":"https://api.github.com/repos/kata-containers/tests/releases{/id}","deployments_url":"https://api.github.com/repos/kata-containers/tests/deployments","created_at":"2017-11-13T11:28:08Z","updated_at":"2018-12-03T17:40:20Z","pushed_at":"2018-12-04T22:03:54Z","git_url":"git://github.com/kata-containers/tests.git","ssh_url":"git@github.com:kata-containers/tests.git","clone_url":"https://github.com/kata-containers/tests.git","svn_url":"https://github.com/kata-containers/tests","homepage":"","size":2541,"stargazers_count":70,"watchers_count":70,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"archived":false,"open_issues_count":80,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":42,"open_issues":80,"watchers":70,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kata-containers/tests/pulls/967"},"html":{"href":"https://github.com/kata-containers/tests/pull/967"},"issue":{"href":"https://api.github.com/repos/kata-containers/tests/issues/967"},"comments":{"href":"https://api.github.com/repos/kata-containers/tests/issues/967/comments"},"review_comments":{"href":"https://api.github.com/repos/kata-containers/tests/pulls/967/comments"},"review_comment":{"href":"https://api.github.com/repos/kata-containers/tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kata-containers/tests/pulls/967/commits"},"statuses":{"href":"https://api.github.com/repos/kata-containers/tests/statuses/36b0174b6154618414ef780543c35ca8f476d52b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"GabyCT"}}