)]}'
{"grafana/templates/bin/_add_home_dashboard.sh.tpl":[{"author":{"_account_id":30777,"name":"Steven Fitzpatrick","email":"steven@fitzpatrick.wtf","username":"sf280x"},"change_message_id":"562e58e5597694dc8b6aec350d6b729656bb10a2","unresolved":false,"context_lines":[{"line_number":21,"context_line":"  -XPOST \"${GRAFANA_URI}/api/dashboards/db\"  -H \"Content-Type: application/json\" \\"},{"line_number":22,"context_line":"  -d \"{{ .Values.conf.dashboards.home_dashboard | toJson }}\" \\"},{"line_number":23,"context_line":"  | python -c \"import sys, json; print json.load(sys.stdin)[\u0027id\u0027]\")"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"curl -K- \u003c\u003c\u003c \"--user ${GF_SECURITY_ADMIN_USER}:${GF_SECURITY_ADMIN_PASSWORD}\" \\"},{"line_number":26,"context_line":"  -XPUT \"${GRAFANA_URI}/api/org/preferences\"  -H \"Content-Type: application/json\" \\"},{"line_number":27,"context_line":"  -d \"{\\\"homeDashboardId\\\": $home_dashboard_id}\""}],"source_content_type":"text/x-smarty","patch_set":5,"id":"3fa7e38b_7c9add61","line":24,"updated":"2020-02-18 22:36:14.000000000","message":"Would you echo the id here so we can verify it in the log?","commit_id":"f564531e025e22df5c49cbdb7b9c0da4557c3da3"}],"grafana/templates/job-add-home-dashboard.yaml":[{"author":{"_account_id":30777,"name":"Steven Fitzpatrick","email":"steven@fitzpatrick.wtf","username":"sf280x"},"change_message_id":"17ef622bfaebf199a7f22ff988a2495e2bfa8530","unresolved":false,"context_lines":[{"line_number":23,"context_line":"apiVersion: batch/v1"},{"line_number":24,"context_line":"kind: Job"},{"line_number":25,"context_line":"metadata:"},{"line_number":26,"context_line":"  name: add-home-dashboard"},{"line_number":27,"context_line":"  annotations:"},{"line_number":28,"context_line":"    {{ tuple $envAll | include \"helm-toolkit.snippets.release_uuid\" }}"},{"line_number":29,"context_line":"spec:"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"1fa4df85_e4a7264f","line":26,"updated":"2020-02-24 22:02:32.000000000","message":"I would add \u0027grafana-\u0027 to the name, that way it will be grouped together with the other grafana jobs when running kubectl get jobs, etc.","commit_id":"4dfa8594297ca20935436d1a3e6815b063556cc0"}],"grafana/values.yaml":[{"author":{"_account_id":30777,"name":"Steven Fitzpatrick","email":"steven@fitzpatrick.wtf","username":"sf280x"},"change_message_id":"562e58e5597694dc8b6aec350d6b729656bb10a2","unresolved":false,"context_lines":[{"line_number":394,"context_line":"  job_db_session_sync: true"},{"line_number":395,"context_line":"  job_image_repo_sync: true"},{"line_number":396,"context_line":"  job_set_admin_user: true"},{"line_number":397,"context_line":"  job_add_home_dashboard: false"},{"line_number":398,"context_line":"  network_policy: false"},{"line_number":399,"context_line":"  secret_db: true"},{"line_number":400,"context_line":"  secret_db_session: true"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"3fa7e38b_3cd22500","line":397,"range":{"start_line":397,"start_character":2,"end_line":397,"end_character":31},"updated":"2020-02-18 22:36:14.000000000","message":"Would you create a \u0027home_dashboard.yaml\u0027 in the values overrides directory and enable this there?\n\nThen, in zuul.d/jobs.yaml, add \u0027home_dashboard\u0027 as a feature gate to the monitoring job. \n\nThis way Zuul will test out this job during the check, we can see logs of the pod, etc. And it will help you get familiar with the feature gate functionality in Zuul.","commit_id":"f564531e025e22df5c49cbdb7b9c0da4557c3da3"},{"author":{"_account_id":30777,"name":"Steven Fitzpatrick","email":"steven@fitzpatrick.wtf","username":"sf280x"},"change_message_id":"17ef622bfaebf199a7f22ff988a2495e2bfa8530","unresolved":false,"context_lines":[{"line_number":394,"context_line":"  job_db_session_sync: true"},{"line_number":395,"context_line":"  job_image_repo_sync: true"},{"line_number":396,"context_line":"  job_set_admin_user: true"},{"line_number":397,"context_line":"  job_add_home_dashboard: true"},{"line_number":398,"context_line":"  network_policy: false"},{"line_number":399,"context_line":"  secret_db: true"},{"line_number":400,"context_line":"  secret_db_session: true"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"1fa4df85_047602da","line":397,"range":{"start_line":397,"start_character":26,"end_line":397,"end_character":30},"updated":"2020-02-24 22:02:32.000000000","message":"Let\u0027s set this to false by default, but enable it in the home_dashboards.yaml values overrides.","commit_id":"4dfa8594297ca20935436d1a3e6815b063556cc0"}],"grafana/values_overrides/home_dashboard.yaml":[{"author":{"_account_id":30777,"name":"Steven Fitzpatrick","email":"steven@fitzpatrick.wtf","username":"sf280x"},"change_message_id":"17ef622bfaebf199a7f22ff988a2495e2bfa8530","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":28,"id":"1fa4df85_e47c06b7","line":92,"updated":"2020-02-24 22:02:32.000000000","message":"eg:\n\n    manifests:\n        job_add_home_dashboard: true","commit_id":"4dfa8594297ca20935436d1a3e6815b063556cc0"}],"tools/deployment/osh-infra-monitoring/115-add-home-dashboard.sh":[{"author":{"_account_id":30777,"name":"Steven Fitzpatrick","email":"steven@fitzpatrick.wtf","username":"sf280x"},"change_message_id":"17ef622bfaebf199a7f22ff988a2495e2bfa8530","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"# Copyright 2020 The Openstack-Helm Authors."},{"line_number":4,"context_line":"#"}],"source_content_type":"text/x-sh","patch_set":28,"id":"1fa4df85_644a5681","line":1,"updated":"2020-02-24 22:02:32.000000000","message":"This file is no longer necessary, right?","commit_id":"4dfa8594297ca20935436d1a3e6815b063556cc0"}],"zuul.d/jobs.yaml":[{"author":{"_account_id":30777,"name":"Steven Fitzpatrick","email":"steven@fitzpatrick.wtf","username":"sf280x"},"change_message_id":"17ef622bfaebf199a7f22ff988a2495e2bfa8530","unresolved":false,"context_lines":[{"line_number":192,"context_line":"        - ./tools/deployment/osh-infra-monitoring/090-process-exporter.sh"},{"line_number":193,"context_line":"        - ./tools/deployment/osh-infra-monitoring/100-openstack-exporter.sh"},{"line_number":194,"context_line":"        - ./tools/deployment/osh-infra-monitoring/110-grafana.sh"},{"line_number":195,"context_line":"        - ./tools/deployment/osh-infra-monitoring/115-add-home-dashboard.sh"},{"line_number":196,"context_line":"        - ./tools/deployment/osh-infra-monitoring/120-nagios.sh"},{"line_number":197,"context_line":"        - ./tools/deployment/osh-infra-monitoring/130-postgresql.sh"},{"line_number":198,"context_line":"        - ./tools/deployment/osh-infra-monitoring/600-grafana-selenium.sh || true"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"1fa4df85_c458ea57","line":195,"range":{"start_line":195,"start_character":0,"end_line":195,"end_character":75},"updated":"2020-02-24 22:02:32.000000000","message":"Same (no longer necessary)","commit_id":"4dfa8594297ca20935436d1a3e6815b063556cc0"}]}
