Skip to content

Commit 55f4058

Browse files
authored
Merge pull request #14 from jenkins-x/fixPipelineDurations
fix: pipeline durations and selecting owner
2 parents c32fb5e + 24861fb commit 55f4058

File tree

5 files changed

+7
-9
lines changed

5 files changed

+7
-9
lines changed

.lighthouse/jenkins-x/pullrequest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go-plugin/pullrequest.yaml@versionStream
1515
name: ""
1616
resources:
17-
limit: {}
17+
limits: {}
1818
workingDir: /workspace/source
1919
steps:
2020
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream

OWNERS

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
approvers:
2-
- rawlingsj
3-
- jstrachan
2+
- maintainers
43
- vbehar
54
reviewers:
6-
- rawlingsj
7-
- jstrachan
5+
- maintainers
86
- vbehar

charts/cd-indicators/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ sources:
1010
dependencies:
1111
- name: postgresql
1212
version: 10.3.13
13-
repository: https://charts.bitnami.com/bitnami
13+
repository: https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami
1414
condition: postgresql.useInternalInstance

charts/cd-indicators/grafana-dashboards/platform-overview.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1684,7 +1684,7 @@
16841684
"group": [],
16851685
"metricColumn": "repository",
16861686
"rawQuery": true,
1687-
"rawSql": "SELECT\n start_time AS \"time\",\n context AS metric,\n duration\nFROM pipelines\nWHERE\n $__timeFilter(start_time)\nORDER BY metric ASC",
1687+
"rawSql": "SELECT\n start_time AS \"time\",\n context AS metric,\n duration\nFROM pipelines\nWHERE\n $__timeFilter(start_time)\nORDER BY \"time\", metric ASC",
16881688
"refId": "A",
16891689
"select": [
16901690
[

charts/cd-indicators/grafana-dashboards/repository-overview.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1983,7 +1983,7 @@
19831983
"group": [],
19841984
"metricColumn": "repository",
19851985
"rawQuery": true,
1986-
"rawSql": "SELECT\n start_time AS \"time\",\n context AS metric,\n duration\nFROM pipelines\nWHERE\n $__timeFilter(start_time) AND owner='$owner' AND repository='$repository'\nORDER BY metric ASC",
1986+
"rawSql": "SELECT\n start_time AS \"time\",\n context AS metric,\n duration\nFROM pipelines\nWHERE\n $__timeFilter(start_time) AND owner='$owner' AND repository='$repository'\nORDER BY \"time\", metric ASC",
19871987
"refId": "A",
19881988
"select": [
19891989
[
@@ -2283,7 +2283,7 @@
22832283
"multi": false,
22842284
"name": "owner",
22852285
"options": [],
2286-
"query": "",
2286+
"query": "select distinct(owner) from pipelines WHERE $__timeFilter(start_time)",
22872287
"refresh": 2,
22882288
"regex": "",
22892289
"skipUrlSync": false,

0 commit comments

Comments
 (0)