test-mode / tt.yml
zhangyu81
add test file
6c549c0
Raw
History Blame Contribute Delete
8.61 kB
Global:
version: 2.0
Default:
profile: [TekesTask]
Profiles:
- profile:
name: allSourceScan
mode: AGENT
environment:
cluster: MAC-SEARCHBOX-M1
tools:
- xcode: 15.0
build:
command: export TEKES_ENV='$(env)'; wget ftp://hdc-im.baidu.com:/home/nfs/release/hudson/ticket.tar.gz; tar -zxvf ticket.tar.gz; cd ./tools/illegalscan/; sh allSourceDownload.sh $AGILE_MODULE_NAME $AGILE_COMPILE_BRANCH;
cache:
enable: true
paths:
- ~/.gem
artifacts:
release: true
- profile:
name: TekesUpgradeXcode
mode: AGENT
environment:
cluster: MAC-SEARCHBOX-M1-UPGRADE
tools:
- xcode: 15.0
build:
command: export TEKES_ENV='$(env)'; wget http://tekes.baidu-int.com/static-ci/router.py; python router.py;
cache:
enable: false
paths:
- ~/.gem
artifacts:
release: true
- profile:
name: TekesTask
mode: AGENT
environment:
cluster: MAC-SEARCHBOX-M1
tools:
- xcode: 15.0
check:
- reuse: TASK
enable: false
build:
command: export TEKES_ENV='$(env)'; wget https://baiduapp-ci.bj.bcebos.com/setup_keychain.sh && sh setup_keychain.sh; wget http://tekes.baidu-int.com/static-ci/router.py; python router.py;
timeout: 14400
cache:
enable: true
paths:
- ~/.gem
artifacts:
release: true
- profile:
name: TekesTask2
mode: AGENT
environment:
cluster: MAC-SEARCHBOX-M1
tools:
- xcode: 15.0
check:
- reuse: TASK
enable: false
build:
command: export TEKES_ENV='$(env)'; wget https://baiduapp-ci.bj.bcebos.com/setup_keychain.sh && sh setup_keychain.sh; wget http://tekes.baidu-int.com/static-ci/router.py; python router.py;
cache:
enable: true
paths:
- ~/.gem
artifacts:
release: true
- profile:
name: TekesTaskTest
mode: AGENT
environment:
cluster: MAC-SEARCHBOX-M1
tools:
- xcode: 15.0
check:
- reuse: TASK
enable: false
build:
command: export TEKES_ENV='$(env)'; wget https://baiduapp-ci.bj.bcebos.com/setup_keychain.sh && sh setup_keychain.sh; wget http://tekes.baidu-int.com/static-ci/router.py; python router.py;
cache:
enable: true
paths:
- ~/.gem
artifacts:
release: true
- profile:
name: TekesTask2_CodeDiff
mode: AGENT
environment:
cluster: MAC-SEARCHBOX-M1
tools:
- xcode: 15.0
check:
- reuse: TASK
enable: false
build:
command: export TEKES_ENV='$(env)'; wget https://baiduapp-ci.bj.bcebos.com/setup_keychain.sh && sh setup_keychain.sh; wget http://tekes.baidu-int.com/static-ci/router.py; python router.py; wget http://publish.soarx.cc/wbox/android_static_analysis/last.zip && unzip last.zip; sh ScanHandler/ios_code_diff_utils/diff_start.sh;
cache:
enable: true
paths:
- ~/.gem
artifacts:
release: true
- profile:
name: AppSizeAnalysis
mode: AGENT
environment:
cluster: MAC-SEARCHBOX-M1
tools:
- xcode: 15.0
check:
- reuse: TASK
enable: false
build:
command: export TEKES_ENV='$(env)'; wget http://tekes.baidu-int.com/static-ci/router.py; python router.py build_app/build_app_size_analysis;
cache:
enable: true
paths:
- ~/.gem
artifacts:
release: true
- profile:
name: TekesTask3
mode: AGENT
environment:
cluster: MAC-SEARCHBOX-M1
tools:
- xcode: 15.0
check:
- reuse: TASK
enable: false
build:
command: export TEKES_ENV='$(env)'; wget https://baiduapp-ci.bj.bcebos.com/setup_keychain.sh && sh setup_keychain.sh; wget http://tekes.baidu-int.com/static-ci/router.py; python router.py;
timeout: 86400
cache:
enable: false
paths:
- ~/.gem
artifacts:
release: true
- profile:
name: StaticAnalysis
mode: AGENT
environment:
cluster: MAC-SEARCHBOX-M1
tools:
- xcode: 15.0
check:
- reuse: TASK
enable: false
build:
command: wget http://publish.soarx.cc/searchbox/static_analysis/last.zip; unzip last.zip; unzip -d thirdparty/3rd thirdparty/3rd.zip; sh static_analysis.sh;
timeout: 86400
cache:
enable: true
paths:
- ~/.gem
artifacts:
release: true
- profile:
name: WBOXStaticAnalysis
mode: AGENT
environment:
cluster: MAC-SEARCHBOX-M1-UPGRADE
tools:
- xcode: 14.1
check:
- reuse: TASK
enable: false
build:
command: wget http://hdc.baidu-int.com:9119/home/xingtian/afs/wbox/launch/wbox-launch.zip && unzip wbox-launch.zip; sh wbox-launch/shell/sa.sh -tool 46 -module baidu/searchbox-ios/product-baidu -mode $scan_mode -conf '{}';
timeout: 86400
artifacts:
release: true
- profile:
name: WBOXStaticAnalysis_gray
mode: AGENT
environment:
cluster: MAC-SEARCHBOX-M1-UPGRADE
tools:
- xcode: 14.1
check:
- reuse: TASK
enable: false
build:
command: wget http://hdc.baidu-int.com:9119/home/xingtian/afs/wbox/launch/wbox-launch.zip && unzip wbox-launch.zip; sh wbox-launch/shell/sa.sh -tool 46 -module baidu/ep-qa/sa-oc -mode $scan_mode -conf '{}';
timeout: 86400
artifacts:
release: true
- profile:
name: AppStorePublish
mode: AGENT
environment:
cluster: MAC-SEARCHBOX-M1-APPSTORE
tools:
- xcode: 15.0
check:
- reuse: TASK
enable: false
build:
command: wget http://tekes.baidu-int.com/static-ci/appstore/AppStoreBuild.sh; sh AppStoreBuild.sh;
cache:
enable: true
paths:
- ~/.gem
artifacts:
release: true
- profile:
name: TEKESAPPSTORE
mode: AGENT
environment:
cluster: MAC-SEARCHBOX-M1
tools:
- xcode: 15.0
check:
- reuse: TASK
enable: false
build:
command: export TEKES_ENV='$(env)'; wget http://tekes.baidu-int.com/static-ci/router.py; python router.py;
cache:
enable: true
paths:
- ~/.gem
artifacts:
release: true
- profile:
name: Xcode13BuildTemp
mode: AGENT
environment:
cluster: MAC-SEARCHBOX-M1
tools:
- xcode: 15.0
check:
- reuse: TASK
enable: false
build:
command: export TEKES_ENV='$(env)'; wget http://tekes.baidu-int.com/static-ci/router.py; python router.py;
cache:
enable: true
paths:
- ~/.gem
artifacts:
release: true
- profile:
name: startuptti
mode: AGENT
environment:
image: iregistry.baidu-int.com/perf/baidu_perf/perfdancer_startupios:v1.0.1
resourceType: MEDIUM
check:
- reuse: TASK
enable: false
build:
command: export PERF_ENV='$(env)'; wget http://tekes.baidu-int.com/static-ci/performance/ios/agile_perf_trace_build.sh -O agile_perf_trace_build.sh; bash agile_perf_trace_build.sh;
artifacts:
release: true
- profile:
name: doveAnalyse
mode: AGENT
environment:
image: iregistry.baidu-int.com/perf/baidu_perf/perfdancer_doveios:v1.0.4
resourceType: MEDIUM
check:
- reuse: TASK
enable: false
build:
command: export PERF_ENV='$(env)'; wget http://tekes.baidu-int.com/static-ci/performance/ios/agile_perf_trace_build.sh -O agile_perf_trace_build.sh; bash agile_perf_trace_build.sh;
artifacts:
release: true
- profile:
name: wbox_cov
mode: AGENT
environment:
cluster: MAC-SEARCHBOX-M1
tools:
- xcode: 15.0
check:
- reuse: TASK
enable: false
build:
command: export TEKES_ENV='$(env)'; wget https://baiduapp-ci.bj.bcebos.com/setup_keychain.sh && sh setup_keychain.sh; wget -q http://10.12.196.126:8999/new_router.py; python new_router.py;
cache:
enable: true
paths:
- ~/.gem
artifacts:
release: true
- profile:
name: WBOXUnitTest
mode: AGENT
environment:
cluster: MAC-SEARCHBOX-M1-UPGRADE
tools:
- xcode: 14.1
check:
- reuse: TASK
enable: false
build:
command: export TEKES_ENV='$(env)'; wget http://tekes.baidu-int.com/static-ci/router.py; python router.py;
timeout: 86400
artifacts:
release: true