From 54369ce2e0114ed95f8c76e5a02a2883abdc2b92 Mon Sep 17 00:00:00 2001
From: * <8>
Date: Mon, 1 Aug 2022 17:45:36 +0800
Subject: [PATCH] Match-id-9c31e24a5544b16a0f370ecc53aeda94d4df9de4
---
.cloudbuild/CI.sh | 2 ++
.cloudbuild/build.yml | 33 +++++++++++++++++++
.cloudbuild/tag.yml | 30 +++++++++++++++++
.../__snapshots__/DomTextarea.test.js.snap | 5 ---
4 files changed, 65 insertions(+), 5 deletions(-)
create mode 100644 .cloudbuild/CI.sh
create mode 100644 .cloudbuild/build.yml
create mode 100644 .cloudbuild/tag.yml
delete mode 100644 scripts/__tests__/DomTest/__snapshots__/DomTextarea.test.js.snap
diff --git a/.cloudbuild/CI.sh b/.cloudbuild/CI.sh
new file mode 100644
index 00000000..7972c069
--- /dev/null
+++ b/.cloudbuild/CI.sh
@@ -0,0 +1,2 @@
+yarn
+yarn run test
diff --git a/.cloudbuild/build.yml b/.cloudbuild/build.yml
new file mode 100644
index 00000000..01ece498
--- /dev/null
+++ b/.cloudbuild/build.yml
@@ -0,0 +1,33 @@
+version: '2.0'
+notifications:
+ notifier:
+ espace:
+ 'on': false
+ email:
+ 'on': false
+buildspace:
+ log_collect:
+ - config/CI/build/logs
+ fixed: true
+env:
+ resource:
+ type: docker
+ image: kweecr04.his.huawei.com:80/ecr-build-arm-gzkunpeng/euleros_v2r7spc522_x64_opmt_cs5.0_sz:v5.0
+ class: 4U8G
+ mode: toolbox
+ cache:
+ - type: workspace
+steps:
+ PRE_BUILD:
+ - checkout
+ - gitlab:
+ url: https://szv-y.codehub.huawei.com/CloudSOP/CloudSOP-CI.git
+ branch: $branch
+ path: CI
+ BUILD:
+ - build_execute:
+ command: |
+ npm install yarn -g
+ yarn config set strict-ssl false
+ yarn
+ yarn run test
diff --git a/.cloudbuild/tag.yml b/.cloudbuild/tag.yml
new file mode 100644
index 00000000..4b562f49
--- /dev/null
+++ b/.cloudbuild/tag.yml
@@ -0,0 +1,30 @@
+version: '2.0'
+notifications:
+ notifier:
+ espace:
+ 'on': false
+ email:
+ 'on': false
+buildspace:
+ log_collect:
+ - config/CI/build/logs
+ fixed: true
+env:
+ resource:
+ type: docker
+ image: kweecr04.his.huawei.com:80/ecr-build-arm-gzkunpeng/euleros_v2r7spc522_x64_opmt_cs5.0_sz:v5.0
+ class: 4U8G
+ mode: toolbox
+ cache:
+ - type: workspace
+steps:
+ PRE_BUILD:
+ - checkout
+ - gitlab:
+ url: https://szv-y.codehub.huawei.com/CloudSOP/CloudSOP-CI.git
+ branch: $branch
+ path: CI
+ BUILD:
+ - build_execute:
+ command: |
+ git tag $releaseVersion
diff --git a/scripts/__tests__/DomTest/__snapshots__/DomTextarea.test.js.snap b/scripts/__tests__/DomTest/__snapshots__/DomTextarea.test.js.snap
deleted file mode 100644
index c2975807..00000000
--- a/scripts/__tests__/DomTest/__snapshots__/DomTextarea.test.js.snap
+++ /dev/null
@@ -1,5 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Dom Textarea should not incur unnecessary DOM mutations 1`] = ``;
-
-exports[`Dom Textarea should not incur unnecessary DOM mutations 2`] = ``;