代码拉取完成,页面将自动刷新
同步操作将从 Nikolay Igotti/idlize 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
image: "nexus.bz-openlab.ru:10443/huawei/koala-ci:0.2"
stages:
- test
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "pipeline"
- if: $CI_PIPELINE_SOURCE == "parent_pipeline"
variables:
GIT_SUBMODULE_STRATEGY: recursive
.setup:
script:
- npm config set registry https://repo.huaweicloud.com/repository/npm/
- npm config set @ohos:registry https://repo.harmonyos.com/npm/
- npm config set @koalaui:registry https://nexus.bz-openlab.ru:10443/repository/koala-npm/
- npm config set //nexus.bz-openlab.ru:10443/repository/koala-npm/:_auth $NEXUS_NPM_PASS
- npm i --no-audit --no-fund
pg check peers dts:
stage: test
tags:
- idlize-ci
- koala-ci
before_script:
- !reference [.setup, script]
script:
- npm run check:peers:dts
idlize sanity:
stage: test
tags:
- idlize-ci
- koala-ci
before_script:
- !reference [.setup, script]
script:
- npm run sanity
pg java:run:
stage: test
tags:
- idlize-ci
- koala-ci
before_script:
- !reference [.setup, script]
script:
- JAVA_HOME=/usr/lib/jvm/java-11-openjdk-arm64 npm run run:java
arkts subset tsc:
stage: test
tags:
- idlize-ci
- koala-ci
before_script:
- !reference [.setup, script]
script:
- npm run check:arkts:subset:tsc
publish idlize:
stage: test
tags:
- idlize-ci
- koala-ci
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- if: $CI_COMMIT_BRANCH == "master"
when: on_success
before_script:
- !reference [.setup, script]
script:
- cd $CI_PROJECT_DIR
- sed -i "s/+devel/-dev.$CI_PIPELINE_IID/" package.json
- KOALA_BZ=1 npm run upload
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。