From 74fc11aa9ee234d0a32f2b648ad39b817b7d4d0a Mon Sep 17 00:00:00 2001 From: Yongqin Liu Date: Wed, 27 Sep 2017 09:03:58 +0800 Subject: some small updates Signed-off-by: Yongqin Liu --- deploy.sh | 2 ++ lcr/settings.py | 4 +++- lcr/urls.py | 1 + report/templates/index.html | 6 +++++- report/views.py | 8 ++++---- 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/deploy.sh b/deploy.sh index 1afd7db..d20a0ef 100755 --- a/deploy.sh +++ b/deploy.sh @@ -4,6 +4,8 @@ if [ -d "${work_root}" ]; then work_root=${work_root} elif [ -d /sata250/django_instances ]; then work_root="/sata250/django_instances" +elif [ -d /SATA3/django_instances ]; then + work_root="/SATA3/django_instances" elif [ -d /home/yongqin.liu/django_instance ]; then work_root="/home/yongqin.liu/django_instance" else diff --git a/lcr/settings.py b/lcr/settings.py index ee40d3d..4c1c1bd 100644 --- a/lcr/settings.py +++ b/lcr/settings.py @@ -25,7 +25,9 @@ SECRET_KEY = 'dr663lyqjd_b-a*0ttwcycp5wfm7&$0-#l6odw#^==ewq!s51s' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [u'192.168.0.104'] +ALLOWED_HOSTS = [u'127.0.0.1', + u'192.168.0.104', + u'192.168.0.106'] # Application definition diff --git a/lcr/urls.py b/lcr/urls.py index 856d4ab..8da6268 100644 --- a/lcr/urls.py +++ b/lcr/urls.py @@ -17,6 +17,7 @@ from django.conf.urls import include, url from django.contrib import admin urlpatterns = [ + url(r'^', include('report.urls')), url(r'^report/', include('report.urls')), url(r'^admin/', admin.site.urls), ] diff --git a/report/templates/index.html b/report/templates/index.html index d0c621f..9e59d8a 100644 --- a/report/templates/index.html +++ b/report/templates/index.html @@ -6,10 +6,14 @@ Builds Info diff --git a/report/views.py b/report/views.py index 0a24e71..8b28157 100644 --- a/report/views.py +++ b/report/views.py @@ -38,7 +38,7 @@ names_ignore = ["test-attachment", "tradefed-test-run", "check-adb-connectivity", "3D-mean","Overall_Score-mean", "Memory_Bandwidth_Add_Multi_Core-mean", "Platform-mean", "Memory_Bandwidth-mean", "Memory_Bandwidth_Copy_Single_Core-mean", "Memory_Latency_64M_range-mean", "Memory_Bandwidth_Scale_Single_Core-mean", "Memory_Bandwidth_Copy_Multi_Core-mean", "Storage-mean", "Memory_Bandwidth_Triad_Single_Core-mean", "CoreMark-PRO_Base-mean", "Memory_Bandwidth_Add_Single_Core-mean", "CoreMark-PRO_Peak-mean", "Memory_Bandwidth_Scale_Multi_Core-mean", "Memory_Latency-mean", "Memory_Bandwidth_Triad_Multi_Core-mean", "BOOTTIME_LOGCAT_ALL_COLLECT", "BOOTTIME_LOGCAT_EVENTS_COLLECT", "SERVICE_STARTED_ONCE", "BOOTTIME_ANALYZE", "BOOTTIME_DMESG_COLLECT", - "start_bootchart", "enabled_bootchart", + "start_bootchart", "enabled_bootchart", "stop_bootchart", "rm_start_file", "generate-bootchart-graphic", ] job_status_dict = {0: "Submitted", @@ -50,9 +50,9 @@ job_status_dict = {0: "Submitted", user = "yongqin.liu" -token = {'staging': 'ty1dprzx7wysqrqmzuytccufwbyyl9xthwowgim0p0z5hm00t6mzwebyp4dgagmyg2f1kag9ln0s9dh212s3wdaxhasm0df7bqnumrwz1m5mbmf4xg780xgeo9x1348k', - 'production': 'n2ab47pbfbu4um0sw5r3zd22q1zdorj7nlnj3qaaaqwdfigahkn6j1kp0ze49jjir84cud7dq4kezhms0jrwy14k1m609e8q50kxmgn9je3zlum0yrlr0njxc87bpss9', - 'lkft': 'gdr5ww4npc7y7fby703hcz1b62bxrbpdt2ug1169wce02r2y2jiz96dy83n5xsm96uhnidxxotxj92uefy4degk3bwgiqgz1gq09h02yjipuon6wacfmkxnoocx4mdwg' +token = {'staging': '', + 'production': '', + 'lkft': '' } -- cgit v1.2.3
+
  • Resubmit faild jobs(not submitted/running jobs) with one link
  • Trigger ci builds manually or according schedule
  • Test any change on local manifest or via patchset script
  • Trend Chart for builds
  • -
  • List jobs result status for one build
  • +
  • Color job status
  • +
  • Settings via admin and database
  • +
  • Permission settings
  • +
  • Login implementation