summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--public/v2/apps/influxdb.json2
-rw-r--r--scripts/validate_apps.js7
2 files changed, 8 insertions, 1 deletions
diff --git a/public/v2/apps/influxdb.json b/public/v2/apps/influxdb.json
index f76736b..eb76c9c 100644
--- a/public/v2/apps/influxdb.json
+++ b/public/v2/apps/influxdb.json
@@ -2,7 +2,7 @@
"captainVersion": "2",
"documentation": "Taken from https://hub.docker.com/_/influxdb",
"displayName": "InfluxDb",
- "description": "InfluxDB is a time series database built from the ground up to handle high write and query loads. InfluxDB is meant to be used as a backing store for any use case involving large amounts of timestamped data, including DevOps monitoring, application metrics, IoT sensor data, and real-time analytics.",
+ "description": "InfluxDB is a time series database. It stores large amounts of timestamped data, including DevOps monitoring, application metrics, IoT sensor data, and real-time analytics.",
"isOfficial": true,
"dockerCompose": {
"version": "3.3",
diff --git a/scripts/validate_apps.js b/scripts/validate_apps.js
index 5923fac..425caf1 100644
--- a/scripts/validate_apps.js
+++ b/scripts/validate_apps.js
@@ -41,6 +41,10 @@
throw new Error(`Cannot find description for ${apps[i]}`);
}
+ if (content.caproverOneClickApp.description.length > 200) {
+ throw new Error(`Description too long for ${apps[i]} - keep it below 200 chars`);
+ }
+
if (!content.caproverOneClickApp.instructions ||
!content.caproverOneClickApp.instructions.start ||
!content.caproverOneClickApp.instructions.end) {
@@ -106,6 +110,9 @@
if (!content.description) {
throw new Error(`Cannot find description for ${apps[i]}`);
}
+ if (content.description.length > 200) {
+ throw new Error(`Description too long for ${apps[i]} - keep it below 200 chars`);
+ }
const logoFileName = apps[i] + '.png';