diff --git a/.gitignore b/.gitignore
index 929928b..85d78cb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,5 +33,5 @@ e2e-results/
.DS_Store
jest.config.js
-yeya24-chaosmesh-datasource
*.zip
+*.md5
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ffff583..186c4cb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [0.2.3] - 2022-08-02
+
+### Deprecated
+
+The old plugin `yeya24-chaosmesh-datasource` is deprecated. Please use .
+
## [0.2.2] - 2021-04-15
### Changed
diff --git a/README.md b/README.md
index 45d3839..f7f6634 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# Chaos Mesh Data Source
+> **This plugin is deprecated, please use .**
+
Grafana data source plugin for Chaos Mesh.
## Features
@@ -18,7 +20,7 @@ grafana-cli plugins install yeya24-chaosmesh-datasource
After installed, you can add this data source in **Configuration -> Data Sources**, then you will enter the settings page:
-![Data Source settings](https://raw.githubusercontent.com/chaos-mesh/chaos-mesh-datasource/master/src/img/settings.jpg)
+![Settings](https://raw.githubusercontent.com/chaos-mesh/datasource/5d3d1eab6d91dc32e2a3f42cf40483d67ef07d90/src/img/settings.jpg)
Only the `URL` field needs to be filled in and the others can be ignored.
@@ -58,7 +60,7 @@ For real world usage, normally you will use these options in two situations:
Edit example:
-![Data Source annotations](https://raw.githubusercontent.com/chaos-mesh/chaos-mesh-datasource/master/src/img/annotations.png)
+![Annotations](https://raw.githubusercontent.com/chaos-mesh/datasource/5d3d1eab6d91dc32e2a3f42cf40483d67ef07d90/src/img/annotations.png)
For usage, you can refer to the content described by [Query](#query).
diff --git a/bundle.sh b/bundle.sh
index 9917b59..55e5d85 100755
--- a/bundle.sh
+++ b/bundle.sh
@@ -1,17 +1,19 @@
VERSION=$1
+ID=yeya24-chaosmesh-datasource
rm -rf dist
-rm -rf yeya24-chaosmesh-datasource
echo "Bundled Version: $VERSION"
echo "Start to build..."
echo
yarn build
-npx @grafana/toolkit plugin:sign --rootUrls https://grafana.com
+# yarn sign
echo "Bundling..."
echo
-cp -r dist yeya24-chaosmesh-datasource
-zip -r yeya24-chaosmesh-datasource-$VERSION.zip yeya24-chaosmesh-datasource -x "*.DS_Store*"
+zip -r $ID-$VERSION.zip dist -x "*.DS_Store*"
+md5sum $ID-$VERSION.zip > $ID-$VERSION.zip.md5
+
+echo "Done."
diff --git a/package.json b/package.json
index 5461766..d541983 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "yeya24-chaosmesh-datasource",
- "version": "0.2.2",
- "description": "Chaos Mesh Datasource",
+ "version": "0.2.3",
+ "description": "Chaos Mesh Data Source",
"author": "Yue Yang (https://g1eny0ung.site)",
"license": "Apache-2.0",
"scripts": {
@@ -10,6 +10,7 @@
"test": "grafana-toolkit plugin:test",
"dev": "grafana-toolkit plugin:dev",
"watch": "grafana-toolkit plugin:dev --watch",
+ "sign": "grafana-toolkit plugin:sign",
"lint-staged": "lint-staged"
},
"devDependencies": {
diff --git a/src/plugin.json b/src/plugin.json
index 3e818ea..3387ff2 100644
--- a/src/plugin.json
+++ b/src/plugin.json
@@ -6,7 +6,7 @@
"metrics": true,
"annotations": true,
"info": {
- "description": "Chaos Mesh (A Chaos Engineering Platform for Kubernetes) Datasource",
+ "description": "Chaos Mesh (A Chaos Engineering Platform for Kubernetes) Data Source",
"author": {
"name": "Chaos Mesh Project",
"url": "https://github.com/chaos-mesh"
@@ -18,7 +18,7 @@
},
"screenshots": [
{
- "name": "Datasource Setting",
+ "name": "Settings",
"path": "img/settings.jpg"
},
{
@@ -36,11 +36,11 @@
"url": "https://github.com/chaos-mesh/chaos-mesh-datasource/blob/master/LICENSE"
},
{
- "name": "Chaos Mesh Website",
+ "name": "Website",
"url": "https://chaos-mesh.org/"
}
],
- "version": "0.2.2",
+ "version": "0.2.3",
"updated": "%TODAY%"
},
"dependencies": {