infludb: Fix manifest and add influx cli (#3237)

This commit is contained in:
Hsiao-nan Cheung 2022-01-23 01:55:24 +08:00 committed by GitHub
parent 46e4f0d446
commit aa67a3e5f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 49 additions and 46 deletions

31
bucket/influx.json Normal file
View File

@ -0,0 +1,31 @@
{
"version": "2.2.1",
"description": "CLI for InfluxDB 2.1+",
"homepage": "https://www.influxdata.com/",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://dl.influxdata.com/influxdb/releases/influxdb2-client-2.2.1-windows-amd64.zip",
"hash": "a80eba591b0b7439bf943b8c245a0026f97e46aff1531ebbd83de40c5eeea91f",
"extract_dir": "influxdb2-client-2.2.1-windows-amd64"
}
},
"bin": "influx.exe",
"checkver": {
"url": "https://portal.influxdata.com/versions.json",
"jsonpath": "$.influxdb2_cloud_cli.version",
"regex": "([\\d.]+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://dl.influxdata.com/influxdb/releases/influxdb2-client-$version-windows-amd64.zip",
"hash": {
"url": "https://portal.influxdata.com/versions.json",
"jsonpath": "$.influxdb2_cloud_cli.downloads[?(@.platform =~ /^Windows/)].sha256"
},
"extract_dir": "influxdb2-client-$version-windows-amd64"
}
}
}
}

View File

@ -1,32 +1,34 @@
{
"version": "1.8.10",
"version": "2.1.1",
"description": "Scalable datastore for metrics, events, and real-time analytics.",
"homepage": "https://www.influxdata.com/",
"license": "MIT",
"notes": [
"InfluxDB v1 has been moved to 'Versions' bucket, use 'scoop install versions/influxdb1' to install it.",
"For CLI, please install 'influx'."
],
"architecture": {
"64bit": {
"url": "https://dl.influxdata.com/influxdb/releases/influxdb-1.8.10_windows_amd64.zip",
"hash": "cb39cc9505c78c17a96b4250d116772798486b3c86213c757ce09af0ae4f4029",
"extract_dir": "influxdb-1.8.10-1"
"url": "https://dl.influxdata.com/influxdb/releases/influxdb2-2.1.1-windows-amd64.zip",
"hash": "912ff645a20ea7623f453b76af32d26b6a2160e6ac7fa0ac60e67c8d80c8a0df",
"extract_dir": "influxdb2-2.1.1-windows-amd64"
}
},
"persist": "influxdb.conf",
"bin": [
"influx.exe",
"influx_inspect.exe",
"influx_stress.exe",
"influxd.exe"
],
"bin": "influxd.exe",
"checkver": {
"url": "https://portal.influxdata.com/downloads",
"regex": ">InfluxDB v1\\.([\\d.]+)",
"replace": "1.${1}"
"url": "https://portal.influxdata.com/versions.json",
"jsonpath": "$.influxdb2.version",
"regex": "([\\d.]+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://dl.influxdata.com/influxdb/releases/influxdb-$version_windows_amd64.zip",
"extract_dir": "influxdb-$version-1"
"url": "https://dl.influxdata.com/influxdb/releases/influxdb2-$version-windows-amd64.zip",
"hash": {
"url": "https://portal.influxdata.com/versions.json",
"jsonpath": "$.influxdb2.downloads[?(@.platform =~ /^Windows/)].sha256"
},
"extract_dir": "influxdb2-$version-windows-amd64"
}
}
}

View File

@ -1,30 +0,0 @@
{
"version": "2.1.1",
"description": "Scalable datastore for metrics, events, and real-time analytics.",
"homepage": "https://www.influxdata.com/",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://dl.influxdata.com/influxdb/releases/influxdb2-2.1.1-windows-amd64.zip",
"hash": "912ff645a20ea7623f453b76af32d26b6a2160e6ac7fa0ac60e67c8d80c8a0df",
"extract_dir": "influxdb2-2.1.1-windows-amd64"
}
},
"persist": "influxdb.conf",
"bin": [
"influx.exe",
"influxd.exe"
],
"checkver": {
"url": "https://portal.influxdata.com/downloads",
"regex": ">InfluxDB v([\\d.]+)<"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://dl.influxdata.com/influxdb/releases/influxdb2-$version-windows-amd64.zip",
"extract_dir": "influxdb2-$version-windows-amd64"
}
}
}
}