Skip to content

Commit

Permalink
fix(pcakges): fix packages.yaml.tmpl for tiflow on v6.5.x versions (#193
Browse files Browse the repository at this point in the history
)

Signed-off-by: wuhuizuo <wuhuizuo@126.com>

Signed-off-by: wuhuizuo <wuhuizuo@126.com>
  • Loading branch information
wuhuizuo authored Jan 4, 2024
1 parent 70728f5 commit 68b4f01
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/packages.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -1159,10 +1159,10 @@ components:
path: dm/metrics/alertmanager/dm_worker.rules.yml
- name: dm-master/scripts/DM-Monitor-Professional.json
src:
path: metrics/grafana/DM-Monitor-Professional.json
path: "{{ if semver.CheckConstraint "< 6.6.0-0" .Release.version }}dm/{{ end }}metrics/grafana/DM-Monitor-Professional.json"
- name: dm-master/scripts/DM-Monitor-Standard.json
src:
path: metrics/grafana/DM-Monitor-Standard.json
path: "{{ if semver.CheckConstraint "< 6.6.0-0" .Release.version }}dm/{{ end }}metrics/grafana/DM-Monitor-Standard.json"
tiup:
description: >-
dm-master component of Data Migration Platform.
Expand All @@ -1177,10 +1177,10 @@ components:
path: dm/metrics/alertmanager/dm_worker.rules.yml
- name: dm-worker/scripts/DM-Monitor-Professional.json
src:
path: metrics/grafana/DM-Monitor-Professional.json
path: "{{ if semver.CheckConstraint "< 6.6.0-0" .Release.version }}dm/{{ end }}metrics/grafana/DM-Monitor-Professional.json"
- name: dm-worker/scripts/DM-Monitor-Standard.json
src:
path: metrics/grafana/DM-Monitor-Standard.json
path: "{{ if semver.CheckConstraint "< 6.6.0-0" .Release.version }}dm/{{ end }}metrics/grafana/DM-Monitor-Standard.json"
tiup:
description: >-
dm-worker component of Data Migration Platform.
Expand All @@ -1195,10 +1195,10 @@ components:
path: dm/metrics/alertmanager/dm_worker.rules.yml
- name: dmctl/scripts/DM-Monitor-Professional.json
src:
path: metrics/grafana/DM-Monitor-Professional.json
path: "{{ if semver.CheckConstraint "< 6.6.0-0" .Release.version }}dm/{{ end }}metrics/grafana/DM-Monitor-Professional.json"
- name: dmctl/scripts/DM-Monitor-Standard.json
src:
path: metrics/grafana/DM-Monitor-Standard.json
path: "{{ if semver.CheckConstraint "< 6.6.0-0" .Release.version }}dm/{{ end }}metrics/grafana/DM-Monitor-Standard.json"
tiup:
description: >-
dmctl component of Data Migration Platform.
Expand Down

0 comments on commit 68b4f01

Please sign in to comment.