From 68ccd297eecc4686a45505faebde26beb1ed4e31 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Tue, 26 Dec 2023 15:30:53 +0800 Subject: [PATCH] + Add unit test data of `zt_automation`. --- test/data/automation.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 test/data/automation.yaml diff --git a/test/data/automation.yaml b/test/data/automation.yaml new file mode 100644 index 0000000000..142c897a2a --- /dev/null +++ b/test/data/automation.yaml @@ -0,0 +1,27 @@ +title: table zt_automation +desc: "自动化设置" +author: Mengyi Liu +version: "1.0" +fields: + - field: id + range: 1-10000 + - field: node + note: "执行节点" + range: 1-10000{2} + - field: product + note: "产品" + range: 1-10000{2} + - field: scriptPath + note: "脚本目录" + prefix: scriptPath + range: 1-10000 + - field: shell + note: "shell 命令" + prefix: shell + range: 1-10000 + - field: createdBy + range: admin + - field: createdDate + range: "(-1M)-(+1w):-1D" + type: timestamp + format: "YYYY-MM-DD hh:mm:ss"