




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、Continuous Integration (CI) Practices on Zephyr UpstreamUpstream持續(xù)集成最佳實踐概述AbstractAbstractWe will present a CI system based on several popular open source projectsZephyr(TM) Docker fileJenkins cloudy services DockerTask scheduler system for multi-board testingVirtualization validation systemWith thi
2、s system setting, we build up a CI system with minimum supporting resources and high reliable quality tracking and validation for upstream patches in ZephyrTM BSP support.Continues integration test in ZephyrZephyr project uses ShippableTM as CI framework. LinkIt is not public available, thus customi
3、zation for general users are not possible.e.g. hard to dynamically change the test sets, test stuff is mixed in the same git repo. Connection with other devops system is difficult.No peripheral testing conducted on real board. This problem has deep impacts on real applications quality lifecycle.User
4、 cases for upstreamZephyr repoFunction testContinues Integration TestUpstream tasksZephyr CommunityRequirements on a CI system for upstreamTest on requestCommon & user friendly Stateless processReliable flash mechanismResult processResult storageConfigurable testing scope for boards. Open Source fra
5、meworkTask scheduler Board client which can accept test image and download to boardConsole logger and judging scriptsDocker ftp image for storage logsCI system for upstreamDockers that are used/r/jenkinsci/blueocean/r/stilliard/pure-ftpd/zephyrproject-rtos/ci-dockerfiles.git /_/celeryCI system with
6、databaselog / binary storageZephyr build dockerTask queueDeploymentCloudy ECSAll Dockers deployed heregithub/ bitbucketSCM systemFlash machineTarget boardEthernet PYOCD UART Connect dockersDocker shared volumes /storage/volumes/ Intra docker call docker exec mount /var/run/docker.sock for each docke
7、r containerNote: use docker exec is more preferable if your dockers are running in one server.Glue scripts/hakehuang/zephyr_app_scmJenkins blue ocean configured by pipe line. https:/jenkins.io/doc/book/pipeline/jenkinsfile/We using a glue script to create dynamic pipeline filesPipe file is checked i
8、n each time in a integration test git repoFlash systemA board program scripts are thus designed to support reliable board download/Hoohaha/pymcutkLatest and compromised board program method supportingWorking processOriginal developing branchAdd pipe line fileintegration PRSCM Jenkins triggerBlue Oce
9、anTM call Docker call in zephyr Task queueImage in FTP dockerRun casesresult in FTP dockerJenkins databaseBlue OceanTM UIManual effortsAutomaticExamples- configureExamples- Pipeline viewExamples- logsBenefitsSupport PR integration/regression testing on real board by requestTest scope is customized b
10、y original developerStateless process to developer, async-process. All tasks are automatically queued on one commandLimit extra knowledge sets required, more focus on project itself.Docker usageGitsimple Yaml schematicAlmost zero maintenance resources requiredEasy to port / expand setting can be done in 5 minutesWork SmarterFuture workZephyr project already support gcov data output to console. We can add this feature to testing log parser, and then we can get real coverage data based on def
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 公寓用品方案(3篇)
- 廣西教育常規(guī)管理制度
- 完善養(yǎng)老保險管理制度
- 樹木修剪-招標方案(3篇)
- 設(shè)備安全巡檢方案(3篇)
- 農(nóng)資經(jīng)營許可管理制度
- 做好分包進度管理制度
- 公司清算期間管理制度
- DB62T 4358-2021 蚯蚓養(yǎng)殖技術(shù)規(guī)范
- DB62T 4412-2021 水蘿卜設(shè)施栽培技術(shù)規(guī)程
- 陳述句與反問句互改(課件)-2022-2023學年三年級語文公開課
- 轉(zhuǎn)租授權(quán)委托書及注意事項
- 2024年上海市中考數(shù)學試題 (原卷版)
- 藏族民間舞-熱巴舞智慧樹知到期末考試答案章節(jié)答案2024年西藏大學
- 微生物崗位技能考核試題及答案
- 2023-2024學年四川省南充市嘉陵區(qū)五年級數(shù)學第二學期期末統(tǒng)考模擬試題含解析
- 江西省南昌市2023-2024學年六年級下學期期末英語試題
- DL-T5169-2013水工混凝土鋼筋施工規(guī)范
- MOOC 政府審計學-南京審計大學 中國大學慕課答案
- 從偏差行為到卓越一生3.0版
- 原神游戲介紹PPT
評論
0/150
提交評論