summaryrefslogtreecommitdiff
path: root/per-service
diff options
context:
space:
mode:
authorAndy Doan <andy.doan@linaro.org>2016-03-29 12:57:35 -0500
committerAndy Doan <andy.doan+gerrit@linaro.org>2016-03-30 16:27:32 +0000
commita5693e28f938a4fdda993b1af096a14ae9ed4026 (patch)
tree929f8ed4294b6f3c6836e53ec235b4716a11f1f7 /per-service
parente3b919ebcc5c7274e615c1e5fb0219e0878bc608 (diff)
downloadansible-playbooks-a5693e28f938a4fdda993b1af096a14ae9ed4026.tar.gz
qa-reports: remove from playbook
The QA team wants to manage this on their own and have the code forked into their own repository. This removes it from ours to eliminate confusion. Change-Id: If76e3174c56efc1446d34d84001bc5c41c81c275 Reviewed-on: https://review.linaro.org/11102 Reviewed-by: Ben Copeland <ben.copeland@linaro.org> Reviewed-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Diffstat (limited to 'per-service')
-rw-r--r--per-service/qa-reports/files/initial_data1234
-rw-r--r--per-service/qa-reports/files/qa-reports.linaro.org84
-rw-r--r--per-service/qa-reports/files/supervisor.celerybeat.conf12
-rw-r--r--per-service/qa-reports/files/supervisor.celerycam.conf12
-rw-r--r--per-service/qa-reports/files/supervisor.celeryd.conf12
-rw-r--r--per-service/qa-reports/group_vars/all25
-rw-r--r--per-service/qa-reports/host_vars/qa-reports.linaro.org3
-rw-r--r--per-service/qa-reports/hosts2
l---------per-service/qa-reports/roles/apache-site1
l---------per-service/qa-reports/roles/django1
l---------per-service/qa-reports/roles/postgres1
-rw-r--r--per-service/qa-reports/roles/qa-reports-deps/tasks/main.yml29
-rw-r--r--per-service/qa-reports/roles/qa-reports-populate/tasks/main.yml38
l---------per-service/qa-reports/secrets1
-rw-r--r--per-service/qa-reports/site.yml12
-rw-r--r--per-service/qa-reports/templates/qa_reports_local_settings.py117
16 files changed, 0 insertions, 1584 deletions
diff --git a/per-service/qa-reports/files/initial_data b/per-service/qa-reports/files/initial_data
deleted file mode 100644
index 6661601..0000000
--- a/per-service/qa-reports/files/initial_data
+++ /dev/null
@@ -1,1234 +0,0 @@
-[
- {
- "pk": 1,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "logentry",
- "name": "log entry",
- "app_label": "admin"
- }
- },
- {
- "pk": 2,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "permission",
- "name": "permission",
- "app_label": "auth"
- }
- },
- {
- "pk": 3,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "group",
- "name": "group",
- "app_label": "auth"
- }
- },
- {
- "pk": 4,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "user",
- "name": "user",
- "app_label": "auth"
- }
- },
- {
- "pk": 5,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "contenttype",
- "name": "content type",
- "app_label": "contenttypes"
- }
- },
- {
- "pk": 6,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "session",
- "name": "session",
- "app_label": "sessions"
- }
- },
- {
- "pk": 7,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "testrepository",
- "name": "test repository",
- "app_label": "testplanner"
- }
- },
- {
- "pk": 8,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "maintainer",
- "name": "maintainer",
- "app_label": "testplanner"
- }
- },
- {
- "pk": 9,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "os",
- "name": "os",
- "app_label": "testplanner"
- }
- },
- {
- "pk": 10,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "scope",
- "name": "scope",
- "app_label": "testplanner"
- }
- },
- {
- "pk": 11,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "device",
- "name": "device",
- "app_label": "testplanner"
- }
- },
- {
- "pk": 12,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "testplan",
- "name": "test plan",
- "app_label": "testplanner"
- }
- },
- {
- "pk": 13,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "testdefinition",
- "name": "test definition",
- "app_label": "testplanner"
- }
- },
- {
- "pk": 14,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "testdefinitionrevision",
- "name": "test definition revision",
- "app_label": "testplanner"
- }
- },
- {
- "pk": 15,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "testplantestdefinition",
- "name": "test plan test definition",
- "app_label": "testplanner"
- }
- },
- {
- "pk": 16,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "jenkinsservice",
- "name": "jenkins service",
- "app_label": "testrunner"
- }
- },
- {
- "pk": 17,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "jenkinsjob",
- "name": "jenkins job",
- "app_label": "testrunner"
- }
- },
- {
- "pk": 18,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "jenkinsbuildstatus",
- "name": "jenkins build status",
- "app_label": "testrunner"
- }
- },
- {
- "pk": 19,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "jenkinsbuild",
- "name": "jenkins build",
- "app_label": "testrunner"
- }
- },
- {
- "pk": 20,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "lavajobstatus",
- "name": "lava job status",
- "app_label": "testrunner"
- }
- },
- {
- "pk": 21,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "lavajob",
- "name": "lava job",
- "app_label": "testrunner"
- }
- },
- {
- "pk": 22,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "lavajobresultstatus",
- "name": "lava job result status",
- "app_label": "testrunner"
- }
- },
- {
- "pk": 23,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "lavajobresult",
- "name": "lava job result",
- "app_label": "testrunner"
- }
- },
- {
- "pk": 24,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "lavajobtestresultunit",
- "name": "lava job test result unit",
- "app_label": "testrunner"
- }
- },
- {
- "pk": 25,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "lavajobtestresult",
- "name": "lava job test result",
- "app_label": "testrunner"
- }
- },
- {
- "pk": 26,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "bug",
- "name": "bug",
- "app_label": "testrunner"
- }
- },
- {
- "pk": 27,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "tag",
- "name": "tag",
- "app_label": "testrunner"
- }
- },
- {
- "pk": 28,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "testrun",
- "name": "test run",
- "app_label": "testmanualrunner"
- }
- },
- {
- "pk": 29,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "testrunresult",
- "name": "test run result",
- "app_label": "testmanualrunner"
- }
- },
- {
- "pk": 30,
- "model": "contenttypes.contenttype",
- "fields": {
- "model": "teststatus",
- "name": "test status",
- "app_label": "testmanualrunner"
- }
- },
- {
- "pk": "dqj2xwpdb7aytfsq3wke9fm15mrqfiki",
- "model": "sessions.session",
- "fields": {
- "expire_date": "2015-04-16T11:06:05.074Z",
- "session_data": "MTMxNjhlMTY5MTUwZjFkZmJkMTU3MGZlYmUyODAxZTdjNGM5ZTQwNzp7Il9hdXRoX3VzZXJfYmFja2VuZCI6ImRqYW5nby5jb250cmliLmF1dGguYmFja2VuZHMuTW9kZWxCYWNrZW5kIiwiX2F1dGhfdXNlcl9pZCI6M30="
- }
- },
- {
- "pk": 1,
- "model": "testplanner.testrepository",
- "fields": {
- "description": "Manual test definitions repository",
- "url": "git://git.linaro.org/qa/manual-test-definitions.git",
- "head_revision": "204fbc40b8133637f3855557a53df0db01b22272",
- "base_view_url": "https://git.linaro.org/qa/manual-test-definitions.git",
- "local_dir": "/srv/qa-reports.linaro.org/repos/manual-test-definitions.git",
- "is_cloned": true
- }
- },
- {
- "pk": 2,
- "model": "testplanner.testrepository",
- "fields": {
- "description": "",
- "url": "git://git.linaro.org/qa/test-definitions.git",
- "head_revision": "204fbc40b8133637f3855557a53df0db01b22272",
- "base_view_url": "https://git.linaro.org/qa/test-definitions.git",
- "local_dir": "/srv/qa-reports.linaro.org/repos/test-definitions.git",
- "is_cloned": true
- }
- },
- {
- "pk": 1,
- "model": "testrunner.jenkinsservice",
- "fields": {
- "url": "https://ci.linaro.org/jenkins/",
- "description": "Linaro CI Jenkins Service"
- }
- },
- {
- "pk": 1,
- "model": "testrunner.jenkinsjob",
- "fields": {
- "name": "linux-linaro-stable-lsk",
- "service": 1
- }
- },
- {
- "pk": 1,
- "model": "testrunner.tag",
- "fields": {
- "name": "test",
- "description": "test"
- }
- },
- {
- "pk": 1,
- "model": "auth.permission",
- "fields": {
- "codename": "add_logentry",
- "name": "Can add log entry",
- "content_type": 1
- }
- },
- {
- "pk": 2,
- "model": "auth.permission",
- "fields": {
- "codename": "change_logentry",
- "name": "Can change log entry",
- "content_type": 1
- }
- },
- {
- "pk": 3,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_logentry",
- "name": "Can delete log entry",
- "content_type": 1
- }
- },
- {
- "pk": 4,
- "model": "auth.permission",
- "fields": {
- "codename": "add_permission",
- "name": "Can add permission",
- "content_type": 2
- }
- },
- {
- "pk": 5,
- "model": "auth.permission",
- "fields": {
- "codename": "change_permission",
- "name": "Can change permission",
- "content_type": 2
- }
- },
- {
- "pk": 6,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_permission",
- "name": "Can delete permission",
- "content_type": 2
- }
- },
- {
- "pk": 7,
- "model": "auth.permission",
- "fields": {
- "codename": "add_group",
- "name": "Can add group",
- "content_type": 3
- }
- },
- {
- "pk": 8,
- "model": "auth.permission",
- "fields": {
- "codename": "change_group",
- "name": "Can change group",
- "content_type": 3
- }
- },
- {
- "pk": 9,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_group",
- "name": "Can delete group",
- "content_type": 3
- }
- },
- {
- "pk": 10,
- "model": "auth.permission",
- "fields": {
- "codename": "add_user",
- "name": "Can add user",
- "content_type": 4
- }
- },
- {
- "pk": 11,
- "model": "auth.permission",
- "fields": {
- "codename": "change_user",
- "name": "Can change user",
- "content_type": 4
- }
- },
- {
- "pk": 12,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_user",
- "name": "Can delete user",
- "content_type": 4
- }
- },
- {
- "pk": 13,
- "model": "auth.permission",
- "fields": {
- "codename": "add_contenttype",
- "name": "Can add content type",
- "content_type": 5
- }
- },
- {
- "pk": 14,
- "model": "auth.permission",
- "fields": {
- "codename": "change_contenttype",
- "name": "Can change content type",
- "content_type": 5
- }
- },
- {
- "pk": 15,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_contenttype",
- "name": "Can delete content type",
- "content_type": 5
- }
- },
- {
- "pk": 16,
- "model": "auth.permission",
- "fields": {
- "codename": "add_session",
- "name": "Can add session",
- "content_type": 6
- }
- },
- {
- "pk": 17,
- "model": "auth.permission",
- "fields": {
- "codename": "change_session",
- "name": "Can change session",
- "content_type": 6
- }
- },
- {
- "pk": 18,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_session",
- "name": "Can delete session",
- "content_type": 6
- }
- },
- {
- "pk": 19,
- "model": "auth.permission",
- "fields": {
- "codename": "add_testrepository",
- "name": "Can add test repository",
- "content_type": 7
- }
- },
- {
- "pk": 20,
- "model": "auth.permission",
- "fields": {
- "codename": "change_testrepository",
- "name": "Can change test repository",
- "content_type": 7
- }
- },
- {
- "pk": 21,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_testrepository",
- "name": "Can delete test repository",
- "content_type": 7
- }
- },
- {
- "pk": 22,
- "model": "auth.permission",
- "fields": {
- "codename": "add_maintainer",
- "name": "Can add maintainer",
- "content_type": 8
- }
- },
- {
- "pk": 23,
- "model": "auth.permission",
- "fields": {
- "codename": "change_maintainer",
- "name": "Can change maintainer",
- "content_type": 8
- }
- },
- {
- "pk": 24,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_maintainer",
- "name": "Can delete maintainer",
- "content_type": 8
- }
- },
- {
- "pk": 25,
- "model": "auth.permission",
- "fields": {
- "codename": "add_os",
- "name": "Can add os",
- "content_type": 9
- }
- },
- {
- "pk": 26,
- "model": "auth.permission",
- "fields": {
- "codename": "change_os",
- "name": "Can change os",
- "content_type": 9
- }
- },
- {
- "pk": 27,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_os",
- "name": "Can delete os",
- "content_type": 9
- }
- },
- {
- "pk": 28,
- "model": "auth.permission",
- "fields": {
- "codename": "add_scope",
- "name": "Can add scope",
- "content_type": 10
- }
- },
- {
- "pk": 29,
- "model": "auth.permission",
- "fields": {
- "codename": "change_scope",
- "name": "Can change scope",
- "content_type": 10
- }
- },
- {
- "pk": 30,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_scope",
- "name": "Can delete scope",
- "content_type": 10
- }
- },
- {
- "pk": 31,
- "model": "auth.permission",
- "fields": {
- "codename": "add_device",
- "name": "Can add device",
- "content_type": 11
- }
- },
- {
- "pk": 32,
- "model": "auth.permission",
- "fields": {
- "codename": "change_device",
- "name": "Can change device",
- "content_type": 11
- }
- },
- {
- "pk": 33,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_device",
- "name": "Can delete device",
- "content_type": 11
- }
- },
- {
- "pk": 34,
- "model": "auth.permission",
- "fields": {
- "codename": "add_testplan",
- "name": "Can add test plan",
- "content_type": 12
- }
- },
- {
- "pk": 35,
- "model": "auth.permission",
- "fields": {
- "codename": "change_testplan",
- "name": "Can change test plan",
- "content_type": 12
- }
- },
- {
- "pk": 36,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_testplan",
- "name": "Can delete test plan",
- "content_type": 12
- }
- },
- {
- "pk": 37,
- "model": "auth.permission",
- "fields": {
- "codename": "add_testdefinition",
- "name": "Can add test definition",
- "content_type": 13
- }
- },
- {
- "pk": 38,
- "model": "auth.permission",
- "fields": {
- "codename": "change_testdefinition",
- "name": "Can change test definition",
- "content_type": 13
- }
- },
- {
- "pk": 39,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_testdefinition",
- "name": "Can delete test definition",
- "content_type": 13
- }
- },
- {
- "pk": 40,
- "model": "auth.permission",
- "fields": {
- "codename": "add_testdefinitionrevision",
- "name": "Can add test definition revision",
- "content_type": 14
- }
- },
- {
- "pk": 41,
- "model": "auth.permission",
- "fields": {
- "codename": "change_testdefinitionrevision",
- "name": "Can change test definition revision",
- "content_type": 14
- }
- },
- {
- "pk": 42,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_testdefinitionrevision",
- "name": "Can delete test definition revision",
- "content_type": 14
- }
- },
- {
- "pk": 43,
- "model": "auth.permission",
- "fields": {
- "codename": "add_testplantestdefinition",
- "name": "Can add test plan test definition",
- "content_type": 15
- }
- },
- {
- "pk": 44,
- "model": "auth.permission",
- "fields": {
- "codename": "change_testplantestdefinition",
- "name": "Can change test plan test definition",
- "content_type": 15
- }
- },
- {
- "pk": 45,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_testplantestdefinition",
- "name": "Can delete test plan test definition",
- "content_type": 15
- }
- },
- {
- "pk": 46,
- "model": "auth.permission",
- "fields": {
- "codename": "add_jenkinsservice",
- "name": "Can add jenkins service",
- "content_type": 16
- }
- },
- {
- "pk": 47,
- "model": "auth.permission",
- "fields": {
- "codename": "change_jenkinsservice",
- "name": "Can change jenkins service",
- "content_type": 16
- }
- },
- {
- "pk": 48,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_jenkinsservice",
- "name": "Can delete jenkins service",
- "content_type": 16
- }
- },
- {
- "pk": 49,
- "model": "auth.permission",
- "fields": {
- "codename": "add_jenkinsjob",
- "name": "Can add jenkins job",
- "content_type": 17
- }
- },
- {
- "pk": 50,
- "model": "auth.permission",
- "fields": {
- "codename": "change_jenkinsjob",
- "name": "Can change jenkins job",
- "content_type": 17
- }
- },
- {
- "pk": 51,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_jenkinsjob",
- "name": "Can delete jenkins job",
- "content_type": 17
- }
- },
- {
- "pk": 52,
- "model": "auth.permission",
- "fields": {
- "codename": "add_jenkinsbuildstatus",
- "name": "Can add jenkins build status",
- "content_type": 18
- }
- },
- {
- "pk": 53,
- "model": "auth.permission",
- "fields": {
- "codename": "change_jenkinsbuildstatus",
- "name": "Can change jenkins build status",
- "content_type": 18
- }
- },
- {
- "pk": 54,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_jenkinsbuildstatus",
- "name": "Can delete jenkins build status",
- "content_type": 18
- }
- },
- {
- "pk": 55,
- "model": "auth.permission",
- "fields": {
- "codename": "add_jenkinsbuild",
- "name": "Can add jenkins build",
- "content_type": 19
- }
- },
- {
- "pk": 56,
- "model": "auth.permission",
- "fields": {
- "codename": "change_jenkinsbuild",
- "name": "Can change jenkins build",
- "content_type": 19
- }
- },
- {
- "pk": 57,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_jenkinsbuild",
- "name": "Can delete jenkins build",
- "content_type": 19
- }
- },
- {
- "pk": 58,
- "model": "auth.permission",
- "fields": {
- "codename": "add_lavajobstatus",
- "name": "Can add lava job status",
- "content_type": 20
- }
- },
- {
- "pk": 59,
- "model": "auth.permission",
- "fields": {
- "codename": "change_lavajobstatus",
- "name": "Can change lava job status",
- "content_type": 20
- }
- },
- {
- "pk": 60,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_lavajobstatus",
- "name": "Can delete lava job status",
- "content_type": 20
- }
- },
- {
- "pk": 61,
- "model": "auth.permission",
- "fields": {
- "codename": "add_lavajob",
- "name": "Can add lava job",
- "content_type": 21
- }
- },
- {
- "pk": 62,
- "model": "auth.permission",
- "fields": {
- "codename": "change_lavajob",
- "name": "Can change lava job",
- "content_type": 21
- }
- },
- {
- "pk": 63,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_lavajob",
- "name": "Can delete lava job",
- "content_type": 21
- }
- },
- {
- "pk": 64,
- "model": "auth.permission",
- "fields": {
- "codename": "add_lavajobresultstatus",
- "name": "Can add lava job result status",
- "content_type": 22
- }
- },
- {
- "pk": 65,
- "model": "auth.permission",
- "fields": {
- "codename": "change_lavajobresultstatus",
- "name": "Can change lava job result status",
- "content_type": 22
- }
- },
- {
- "pk": 66,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_lavajobresultstatus",
- "name": "Can delete lava job result status",
- "content_type": 22
- }
- },
- {
- "pk": 67,
- "model": "auth.permission",
- "fields": {
- "codename": "add_lavajobresult",
- "name": "Can add lava job result",
- "content_type": 23
- }
- },
- {
- "pk": 68,
- "model": "auth.permission",
- "fields": {
- "codename": "change_lavajobresult",
- "name": "Can change lava job result",
- "content_type": 23
- }
- },
- {
- "pk": 69,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_lavajobresult",
- "name": "Can delete lava job result",
- "content_type": 23
- }
- },
- {
- "pk": 70,
- "model": "auth.permission",
- "fields": {
- "codename": "add_lavajobtestresultunit",
- "name": "Can add lava job test result unit",
- "content_type": 24
- }
- },
- {
- "pk": 71,
- "model": "auth.permission",
- "fields": {
- "codename": "change_lavajobtestresultunit",
- "name": "Can change lava job test result unit",
- "content_type": 24
- }
- },
- {
- "pk": 72,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_lavajobtestresultunit",
- "name": "Can delete lava job test result unit",
- "content_type": 24
- }
- },
- {
- "pk": 73,
- "model": "auth.permission",
- "fields": {
- "codename": "add_lavajobtestresult",
- "name": "Can add lava job test result",
- "content_type": 25
- }
- },
- {
- "pk": 74,
- "model": "auth.permission",
- "fields": {
- "codename": "change_lavajobtestresult",
- "name": "Can change lava job test result",
- "content_type": 25
- }
- },
- {
- "pk": 75,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_lavajobtestresult",
- "name": "Can delete lava job test result",
- "content_type": 25
- }
- },
- {
- "pk": 76,
- "model": "auth.permission",
- "fields": {
- "codename": "add_bug",
- "name": "Can add bug",
- "content_type": 26
- }
- },
- {
- "pk": 77,
- "model": "auth.permission",
- "fields": {
- "codename": "change_bug",
- "name": "Can change bug",
- "content_type": 26
- }
- },
- {
- "pk": 78,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_bug",
- "name": "Can delete bug",
- "content_type": 26
- }
- },
- {
- "pk": 79,
- "model": "auth.permission",
- "fields": {
- "codename": "add_tag",
- "name": "Can add tag",
- "content_type": 27
- }
- },
- {
- "pk": 80,
- "model": "auth.permission",
- "fields": {
- "codename": "change_tag",
- "name": "Can change tag",
- "content_type": 27
- }
- },
- {
- "pk": 81,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_tag",
- "name": "Can delete tag",
- "content_type": 27
- }
- },
- {
- "pk": 82,
- "model": "auth.permission",
- "fields": {
- "codename": "add_testrun",
- "name": "Can add test run",
- "content_type": 28
- }
- },
- {
- "pk": 83,
- "model": "auth.permission",
- "fields": {
- "codename": "change_testrun",
- "name": "Can change test run",
- "content_type": 28
- }
- },
- {
- "pk": 84,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_testrun",
- "name": "Can delete test run",
- "content_type": 28
- }
- },
- {
- "pk": 85,
- "model": "auth.permission",
- "fields": {
- "codename": "add_testrunresult",
- "name": "Can add test run result",
- "content_type": 29
- }
- },
- {
- "pk": 86,
- "model": "auth.permission",
- "fields": {
- "codename": "change_testrunresult",
- "name": "Can change test run result",
- "content_type": 29
- }
- },
- {
- "pk": 87,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_testrunresult",
- "name": "Can delete test run result",
- "content_type": 29
- }
- },
- {
- "pk": 88,
- "model": "auth.permission",
- "fields": {
- "codename": "add_teststatus",
- "name": "Can add test status",
- "content_type": 30
- }
- },
- {
- "pk": 89,
- "model": "auth.permission",
- "fields": {
- "codename": "change_teststatus",
- "name": "Can change test status",
- "content_type": 30
- }
- },
- {
- "pk": 90,
- "model": "auth.permission",
- "fields": {
- "codename": "delete_teststatus",
- "name": "Can delete test status",
- "content_type": 30
- }
- },
- {
- "pk": 3,
- "model": "auth.user",
- "fields": {
- "username": "admin",
- "first_name": "",
- "last_name": "",
- "is_active": true,
- "is_superuser": true,
- "is_staff": true,
- "last_login": "2015-04-02T11:06:05.066Z",
- "groups": [],
- "user_permissions": [],
- "password": "pbkdf2_sha256$12000$KQoQew2QN3nn$rCWxTuD9ut//Vn535GKNOfcV9UUKiyax/ACQOE076sE=",
- "email": "matthew.hart@linaro.org",
- "date_joined": "2015-04-02T11:05:52.597Z"
- }
- },
- {
- "pk": 2,
- "model": "admin.logentry",
- "fields": {
- "action_flag": 1,
- "action_time": "2015-04-02T11:06:49.798Z",
- "object_repr": "https://ci.linaro.org/jenkins/",
- "object_id": "1",
- "change_message": "",
- "user": 3,
- "content_type": 16
- }
- },
- {
- "pk": 3,
- "model": "admin.logentry",
- "fields": {
- "action_flag": 1,
- "action_time": "2015-04-02T11:07:11.447Z",
- "object_repr": "linux-linaro-stable-lsk",
- "object_id": "1",
- "change_message": "",
- "user": 3,
- "content_type": 17
- }
- },
- {
- "pk": 4,
- "model": "admin.logentry",
- "fields": {
- "action_flag": 1,
- "action_time": "2015-04-02T11:08:54.010Z",
- "object_repr": "git://git.linaro.org/qa/manual-test-definitions.git",
- "object_id": "1",
- "change_message": "",
- "user": 3,
- "content_type": 7
- }
- },
- {
- "pk": 5,
- "model": "admin.logentry",
- "fields": {
- "action_flag": 1,
- "action_time": "2015-04-02T11:09:27.076Z",
- "object_repr": "git://git.linaro.org/qa/test-definitions.git",
- "object_id": "2",
- "change_message": "",
- "user": 3,
- "content_type": 7
- }
- },
- {
- "pk": 6,
- "model": "admin.logentry",
- "fields": {
- "action_flag": 2,
- "action_time": "2015-04-02T11:39:10.983Z",
- "object_repr": "git://git.linaro.org/qa/test-definitions.git",
- "object_id": "2",
- "change_message": "Changed local_dir.",
- "user": 3,
- "content_type": 7
- }
- },
- {
- "pk": 7,
- "model": "admin.logentry",
- "fields": {
- "action_flag": 2,
- "action_time": "2015-04-02T11:54:06.042Z",
- "object_repr": "git://git.linaro.org/qa/manual-test-definitions.git",
- "object_id": "1",
- "change_message": "Changed local_dir.",
- "user": 3,
- "content_type": 7
- }
- }
-]
diff --git a/per-service/qa-reports/files/qa-reports.linaro.org b/per-service/qa-reports/files/qa-reports.linaro.org
deleted file mode 100644
index 589b5c7..0000000
--- a/per-service/qa-reports/files/qa-reports.linaro.org
+++ /dev/null
@@ -1,84 +0,0 @@
-WSGIRestrictEmbedded On
-WSGILazyInitialization On
-
-<VirtualHost *:80>
- ServerName {{hostname}}
- ServerAdmin webmaster@linaro.org
-
- Redirect permanent / https://{{hostname}}
-</VirtualHost>
-
-<VirtualHost *:443>
- ServerName {{hostname}}
- ServerAdmin webmaster@linaro.org
- DocumentRoot {{django_app_root}}/
-
- CustomLog ${APACHE_LOG_DIR}/qa-reports.linaro.org-access.log combined
- ErrorLog ${APACHE_LOG_DIR}/qa-reports.linaro.org-error.log
-
-
- KeepAlive On
- KeepAliveTimeout 9
- MaxKeepAliveRequests 150
-
- SSLEngine On
- SSLProtocol All -SSLv2 -SSLv3
- SSLCompression Off
- SSLHonorCipherOrder On
- SSLOptions +StdEnvVars
- SSLCipherSuite "EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA384:\
- EECDH+aRSA+SHA256:EECDH:+CAMELLIA256:+AES256:+CAMELLIA128:+AES128:+SSLv3:\
- !aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!ECDSA:\
- CAMELLIA256-SHA:AES256-SHA:CAMELLIA128-SHA:AES128-SHA"
-
- SSLCertificateFile {{ssl_cert}}
- SSLCertificateKeyFile {{ssl_key}}
- SSLCACertificateFile {{ssl_ca}}
-
- SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
-
- WSGIDaemonProcess qa-reports.linaro.org
- WSGIProcessGroup qa-reports.linaro.org
- WSGIScriptAlias / {{django_app_root}}/index.wsgi
- WSGIApplicationGroup %{GLOBAL}
-
- ExpiresActive On
- ExpiresDefault "access plus 300 seconds"
-
- ExpiresByType text/css "access plus 1 month"
- ExpiresByType text/javascript "access plus 1 month"
- ExpiresByType image/png "access plus 1 month"
- ExpiresByType image/jpg "access plus 1 month"
- ExpiresByType image/jpeg "access plus 1 month"
- ExpiresByType image/x-icon "access plus 1 month"
-
- Header always set Strict-Transport-Security "max-age=63072000"
- Header append Cache-Control "no-transform"
-
- <Directory {{django_app_root}}/>
- Options All
- AllowOverride All
- Require all granted
- </Directory>
-
- <FilesMatch "\.(html|htm)$">
- Header add Cache-Control "must-revalidate"
- </FilesMatch>
-
- <FilesMatch "\.(js|css)$">
- Header add Cache-Control "max-age=604800"
- </FilesMatch>
-
- Alias /static/ /var/www/qa-reports.linaro.org/static/
- <Location "/static/">
- Options -Indexes
- SetOutputFilter DEFLATE
-
- BrowserMatch ^Mozilla/4 gzip-only-text/html
- BrowserMatch ^Mozilla/4\.0[678] no-gzip
- BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
-
- SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
- Header append Vary User-Agent env=!dont-vary
- </Location>
-</VirtualHost>
diff --git a/per-service/qa-reports/files/supervisor.celerybeat.conf b/per-service/qa-reports/files/supervisor.celerybeat.conf
deleted file mode 100644
index 01eaae7..0000000
--- a/per-service/qa-reports/files/supervisor.celerybeat.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[program:djangoproject.celerybeat]
-command=/usr/bin/python {{django_app_root}}/manage.py celery beat
-user=www-data
-numprocs=1
-directory={{django_app_root}}/
-stdout_logfile=/var/log/celery_beat.log
-stderr_logfile=/var/log/celery_beat.log
-autostart=true
-autorestart=true
-startsecs=10
-stopwaitsecs = 120
-priority=998
diff --git a/per-service/qa-reports/files/supervisor.celerycam.conf b/per-service/qa-reports/files/supervisor.celerycam.conf
deleted file mode 100644
index 8b3e6c2..0000000
--- a/per-service/qa-reports/files/supervisor.celerycam.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[program:djangoproject.celerycam]
-command=/usr/bin/python {{django_app_root}}/manage.py celerycam --frequency=30.0
-user=www-data
-numprocs=1
-directory={{django_app_root}}/
-stdout_logfile=/var/log/celerycam.log
-stderr_logfile=/var/log/celerycam.log
-autostart=true
-autorestart=true
-startsecs=10
-stopwaitsecs = 120
-priority=998
diff --git a/per-service/qa-reports/files/supervisor.celeryd.conf b/per-service/qa-reports/files/supervisor.celeryd.conf
deleted file mode 100644
index ebfa82d..0000000
--- a/per-service/qa-reports/files/supervisor.celeryd.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[program:djangoproject.celeryd]
-command=/usr/bin/python {{django_app_root}}/manage.py celeryd -E --concurrency=1
-user=www-data
-numprocs=1
-directory={{django_app_root}}/
-stdout_logfile=/var/log/celery_worker.log
-stderr_logfile=/var/log/celery_worker.log
-autostart=true
-autorestart=true
-startsecs=10
-stopwaitsecs = 120
-priority=998
diff --git a/per-service/qa-reports/group_vars/all b/per-service/qa-reports/group_vars/all
deleted file mode 100644
index 5431287..0000000
--- a/per-service/qa-reports/group_vars/all
+++ /dev/null
@@ -1,25 +0,0 @@
-db_name: qa-reports
-db_user: qa-reports
-db_password: qa-reports
-db_host: 127.0.0.1
-db_port: 5432
-setting_hstore_extension: true
-
-apache_modules:
- - ssl
- - wsgi
- - expires
- - headers
- - rewrite
-
-hostname: "{{inventory_hostname}}"
-apache_user: www-data
-git_repo: "https://git.linaro.org/qa/qa-reports.git"
-git_tag: refactoring
-django_settings: testmanager.settings
-django_local_settings: templates/qa_reports_local_settings.py
-install_base: /srv
-
-ssl_key: /etc/ssl/private/ssl-cert-snakeoil.key
-ssl_cert: /etc/ssl/certs/ssl-cert-snakeoil.pem
-ssl_ca: /etc/ssl/certs/ca-certificates.crt
diff --git a/per-service/qa-reports/host_vars/qa-reports.linaro.org b/per-service/qa-reports/host_vars/qa-reports.linaro.org
deleted file mode 100644
index 39bcdda..0000000
--- a/per-service/qa-reports/host_vars/qa-reports.linaro.org
+++ /dev/null
@@ -1,3 +0,0 @@
-ssl_key: /etc/ssl/private/wildcard.linaro.org.key
-ssl_cert: /etc/ssl/certs/wildcard.linaro.org.crt
-ssl_ca: /etc/ssl/certs/gd_bundle-g2-g1.pem
diff --git a/per-service/qa-reports/hosts b/per-service/qa-reports/hosts
deleted file mode 100644
index ac9d6fb..0000000
--- a/per-service/qa-reports/hosts
+++ /dev/null
@@ -1,2 +0,0 @@
-[production]
-qa-reports.linaro.org
diff --git a/per-service/qa-reports/roles/apache-site b/per-service/qa-reports/roles/apache-site
deleted file mode 120000
index 0e4340b..0000000
--- a/per-service/qa-reports/roles/apache-site
+++ /dev/null
@@ -1 +0,0 @@
-../../../roles/apache-site/ \ No newline at end of file
diff --git a/per-service/qa-reports/roles/django b/per-service/qa-reports/roles/django
deleted file mode 120000
index 4b071fa..0000000
--- a/per-service/qa-reports/roles/django
+++ /dev/null
@@ -1 +0,0 @@
-../../../roles/django/ \ No newline at end of file
diff --git a/per-service/qa-reports/roles/postgres b/per-service/qa-reports/roles/postgres
deleted file mode 120000
index 2ed7da5..0000000
--- a/per-service/qa-reports/roles/postgres
+++ /dev/null
@@ -1 +0,0 @@
-../../../roles/postgres \ No newline at end of file
diff --git a/per-service/qa-reports/roles/qa-reports-deps/tasks/main.yml b/per-service/qa-reports/roles/qa-reports-deps/tasks/main.yml
deleted file mode 100644
index 1ce98dc..0000000
--- a/per-service/qa-reports/roles/qa-reports-deps/tasks/main.yml
+++ /dev/null
@@ -1,29 +0,0 @@
----
-- name: Install required packages
- apt: pkg={{item}} state=installed update-cache=yes
- with_items:
- - python-django-extensions
- - python-djangorestframework
- - python-django-jsonfield
- - python-git
- - python-gitdb
- - python-httplib2
- - python-jenkinsapi
- - python-yaml
- - python-django-jsonfield
- - python-jsonschema
- - python-keyring
- - python-launchpadlib
- - python-psycopg2
- - python-simplejson
- - python-virtualenv
- - python-django-filter
- - python-markdown
- - python-django-taggit
- - redis-server
- - redis-tools
- - python-redis
- - supervisor
- tags:
- - install
- - update
diff --git a/per-service/qa-reports/roles/qa-reports-populate/tasks/main.yml b/per-service/qa-reports/roles/qa-reports-populate/tasks/main.yml
deleted file mode 100644
index e73f8b6..0000000
--- a/per-service/qa-reports/roles/qa-reports-populate/tasks/main.yml
+++ /dev/null
@@ -1,38 +0,0 @@
-- name: Create directory for git repos
- file: path=/srv/qa-reports.linaro.org/repos state=directory
- owner={{apache_user}} group={{apache_user}}
- tags:
- - django
-
-- name: Create logfile directory
- file: path=/var/log/qa-reports.linaro.org/ state=directory
- owner=root group=root mode=0744
-
-- name: Install crontab
- file: src={{django_app_root}}/testmanager_cron.sh dest=/etc/cron.d/qa-reports state=link
- tags:
- - cron
- - install
- - update
-
-- name: Install supervisord services
- template: src={{item.src}} dest={{item.dest}} mode=0644 backup=yes
- owner=root
- group=root
- with_items:
- - { src: 'files/supervisor.celeryd.conf', dest: '/etc/supervisor/conf.d/supervisor.celeryd.conf' }
- - { src: 'files/supervisor.celerybeat.conf', dest: '/etc/supervisor/conf.d/supervisor.celerybeat.conf' }
- - { src: 'files/supervisor.celerycam.conf', dest: '/etc/supervisor/conf.d/supervisor.celerycam.conf' }
- tags:
- - install
- - update
-
-- name: Reload supervisord services
- supervisorctl: name={{item.name}} state=present
- with_items:
- - { name: 'djangoproject.celeryd' }
- - { name: 'djangoproject.celerybeat' }
- - { name: 'djangoproject.celerycam' }
- tags:
- - install
- - update
diff --git a/per-service/qa-reports/secrets b/per-service/qa-reports/secrets
deleted file mode 120000
index 098a1da..0000000
--- a/per-service/qa-reports/secrets
+++ /dev/null
@@ -1 +0,0 @@
-../../../shared-credentials/ansible/qa-reports/ \ No newline at end of file
diff --git a/per-service/qa-reports/site.yml b/per-service/qa-reports/site.yml
deleted file mode 100644
index b18a5cb..0000000
--- a/per-service/qa-reports/site.yml
+++ /dev/null
@@ -1,12 +0,0 @@
----
-- name: Configure qa-reports.linaro.org
- hosts: all
- become: yes
- vars_files:
- - "secrets/{{inventory_hostname}}"
- roles:
- - postgres
- - qa-reports-deps
- - {role: django, tags: [django]}
- - qa-reports-populate
- - {role: apache-site, src: "qa-reports.linaro.org", config: "{{inventory_hostname}}", tags: [apache] }
diff --git a/per-service/qa-reports/templates/qa_reports_local_settings.py b/per-service/qa-reports/templates/qa_reports_local_settings.py
deleted file mode 100644
index d7a5a08..0000000
--- a/per-service/qa-reports/templates/qa_reports_local_settings.py
+++ /dev/null
@@ -1,117 +0,0 @@
-import sys
-
-AUTH_CROWD_ALWAYS_UPDATE_USER = False
-AUTH_CROWD_ALWAYS_UPDATE_GROUPS = False
-AUTH_CROWD_APPLICATION_USER = '{{crowd_user}}'
-AUTH_CROWD_APPLICATION_PASSWORD = '{{crowd_pass}}'
-AUTH_CROWD_SERVER_REST_URI = '{{crowd_rest_uri}}'
-
-AUTHENTICATION_BACKENDS = (
- 'crowdrest.backend.CrowdRestBackend',
- 'django.contrib.auth.backends.ModelBackend',
-)
-
-DATABASES = {
- 'default': {
- 'ENGINE': 'django.db.backends.postgresql_psycopg2',
- 'NAME': '{{db_name}}',
- 'USER': '{{db_user}}',
- 'PASSWORD': '{{db_password}}',
- 'HOST': '{{db_host}}',
- 'PORT': '{{db_port}}',
- }
-}
-
-#DATABASES = {
-# 'default': {
-# 'ENGINE': 'django.db.backends.sqlite3',
-# 'NAME': '/srv/testmanager/testmanager.db.sqlite3.backup',
-# }
-#}
-
-
-STATIC_ROOT = '/var/www/qa-reports.linaro.org/static/'
-REPOSITORIES_HOME = '/srv/qa-reports.linaro.org/repos'
-
-CREDENTIALS = {
- '{{lava_server_url}}': {
- 'username': '{{lava_server_username}}',
- 'password': '{{lava_server_token}}'},
- '{{ci_server_url}}': {
- 'username': '{{ci_server_username}}',
- 'password': '{{ci_server_password}}'}
-}
-
-TRACKERS = {
- "Linaro Bugzilla": {
- "type": "bugzilla",
- "url" : "{{bugszilla_url}}",
- "username": '{{bugzilla_user}}',
- "password": '{{bugzilla_password}}',
- },
- "Linaro Jira": {
- "type": "jira",
- "url" : "{{jira_url}}",
- "username": '{{jira_username}}',
- "password": '{{jira_password}}',
- },
- "Launchpad": {
- "type": "launchpad",
- "cache_dir": "/tmp/launchpadlib/cache/"
- }
-}
-
-LOG_LEVEL = 'DEBUG'
-
-LOGGING = {
- 'version': 1,
- 'disable_existing_loggers': True,
- 'filters': {
- 'require_debug_false': {
- '()': 'django.utils.log.RequireDebugFalse'
- },
- 'require_debug_true': {
- '()': 'django.utils.log.RequireDebugTrue'
- }
- },
- 'formatters': {
- 'simple': {
- 'format': u'[%(asctime)s] %(levelname)-8s %(message)s',
- }
- },
- 'handlers': {
- 'console':{
- 'level': LOG_LEVEL,
- 'class': 'logging.StreamHandler',
- 'stream': sys.stdout,
- 'formatter':'simple'
- },
- 'file': {
- 'level': LOG_LEVEL,
- 'class': 'logging.handlers.TimedRotatingFileHandler',
- 'filename': '/var/log/qa-reports.linaro.org//testmanager.log',
- 'backupCount': 5,
- 'when': 'midnight',
- 'formatter': 'simple',
- 'encoding': 'utf8',
- 'delay': True,
- }
- },
- 'loggers': {
- 'testplanner': {
- 'level': LOG_LEVEL,
- 'handlers': ['console', 'file'],
- 'filters': ['require_debug_true'],
- 'propagate': False,
- },
- 'testrunner': {
- 'level': LOG_LEVEL,
- 'handlers': ['console', 'file'],
- 'filters': ['require_debug_true'],
- 'propagate': False,
- },
- }
-}
-
-
-DEBUG=True