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`] = `