Upstream持續(xù)集成最佳實踐概述_第1頁
Upstream持續(xù)集成最佳實踐概述_第2頁
Upstream持續(xù)集成最佳實踐概述_第3頁
Upstream持續(xù)集成最佳實踐概述_第4頁
Upstream持續(xù)集成最佳實踐概述_第5頁
已閱讀5頁,還剩13頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(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)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論