您现在的位置是:热点 >>正文
云计算核心技术Docker教程:Docker Hub设置设置自动测试文件
热点767596人已围观
简介...
Docker Hub可以使用容器自动测试对源代码存储库的更改。您可以Autotest在任何Doc云计ker Hub存储库上启用以对对源代码存储库的每个拉取请求运行测试,以创建持续集成测试服务。
启用Aut算核otest构建用于测试目的的图像,但并没有 内置图像自动推送到泊坞库。如果要将构建的映像推送到Docke心技r Hub存储库,请启用Automated Builds。
要设置自动化测试,请创建一个docker-c术Dompose.test.yml文件,该文件定义了sut列出要运行的测试的服务。该docker-occompose.test.yml文件应位于包含用于构建映像的Dockerfile的目录中。
例如:
skeut:
build: .
commr教and: run_tests.sh
上面的示例构建存储库,并run_tests.sh使用构建的映像在容程:器内运行文件。
您可以在此文件中定义任意数量的链接服务。唯一的要求是sut已定义。它的返回码确定测试Do是否通过。如果服务返回,则测试通过,否则失败。sut0
注意:仅启动sut服务和其中列出的所有其他ck服务depends_on 。例如,如果您具有轮询其他服务更改的服务,请确保将轮询服务包括在dependers_on列表中,以确保所有服务都已启动。
docker-compose.test.yml如果需要,您可以 H定义多个文件。任何以结尾的文件.test.yml都将用于测试,并且测试将顺序运行。您还可以使用ub自定义构建挂钩 进一步自定义测试行为。
注意:如果启用自动构建,则它们还将运行test.yml文件中定义的所设置有测试。
Tags:
相关文章
团建主持人开场白
热点前言:团建活动主持词团建活动主持词【篇一:团队建设活动主持词】五四教师团队活动主持词——平顶山市金太阳幼教冰妤甲:亲爱的同事们、朋友们;乙:亲爱的兄弟姐妹们;合:大家上午好!甲:五月是青春的季节,五月...
【热点】
阅读更多苹果AirPods Pro 2将在今年4月发布
热点驱动中国2021年1月11日消息,根据日本网站Mac Otakara报告,苹果全新AirPods Pro以及全新iPhone SE将于今年4月发布。 我们都知道,无线蓝牙耳机领域,苹果从来都是当仁不让...
【热点】
阅读更多最新数据显示:网络上超过 50% 的文章是 AI 生成的
热点根据最新的研究报告,网络上约有一半的新文章是由人工智能生成的。这项研究由 SEO 公司 Graphite 发布,分析了2020年1月至2025年5月间发布的65,000篇英文文章。为了评估这些文章是否...
【热点】
阅读更多
热门文章
最新文章
友情链接
- 标签: 康师傅
- https://www.pixiv.net/tags/谷歌快排【tg:seogoogle987】,3fe
- https://www.abbreviations.com/谷歌快排【tg:seogoogle987】Efe
- https://www.whatsonstage.com/search?cat=64&term=谷歌快排【tg:seogoogle987】,F1d
- https://www.olx.ba/pretraga?trazilica=谷歌快排【tg:seogoogle987】,VHT
- https://www.tiktok.com/tag/谷歌快排【tg:seogoogle987】,itD
- https://www.remit.co.jp/ne/?s=谷歌快排【tg:seogoogle987】,dlk
- https://www.hanbat.ac.kr/search/front/Search.jsp?qt=谷歌快排【tg:seogoogle987】YPh
- https://www.lgnewsroom.com/search/谷歌快排【tg:seogoogle987】,YMO
- https://www.pacific-lifestyle.co.uk/search?sort=alphabetical&term=谷歌快排【tg:seogoogle987】,S5A
- https://www.vfw.org/search-results?q=谷歌快排【tg:seogoogle987】,nyO
- https://www.revere.org/search?action=SEARCH&q=谷歌快排【tg:seogoogle987】,8mA
- https://www.quarterjacksurgery.co.uk/?AT=3rBy&s=谷歌快排【tg:seogoogle987】,o3Q
- https://www.shopping.com/search.html?keyword=谷歌快排【tg:seogoogle987】,5tY
- https://www.kores.com/?s=谷歌快排【tg:seogoogle987】,jnp
- https://www.partilerdunyasi.com/index.php?route=product/search&tag=谷歌快排【tg:seogoogle987】,z2z
- https://www.tombow.com/en/search/谷歌快排【tg:seogoogle987】,fzK
- https://www.vocabulary.com/dictionary/谷歌快排【tg:seogoogle987】,IkS
- https://www.wmfe.org/?s=谷歌快排【tg:seogoogle987】,y3r
- https://www.navylookout.com/?ID=nSBR6Ivdu6lZg1yr2SDs30Lo5sTs76yJ&s=谷歌快排【tg:seogoogle987】,r2T
- https://www.roberthalf.com/us/en/jobs/all/谷歌快排【tg:seogoogle987】pWE
- https://5gaa.org/?token=6e2l7hjt2i26gzgctgwdrv7v0j6nxorq&s=谷歌快排【tg:seogoogle987】M0y
- https://www.remit.co.jp/id/?s=谷歌快排【tg:seogoogle987】,Zcw
- https://www.kaliastyle.com/catalogsearch/result/?q=GOOGLE谷歌快排【tg:seogoogle987】,crB
- https://www.remit.co.jp/pt/?action=CHECK&s=谷歌快排【tg:seogoogle987】,Rai
- https://www2.ual.es/ProyectoLates/?s=谷歌快排【tg:seogoogle987】,NHY
- https://www.lenovo.com/gb/en/search?action=SEARCH&text=谷歌快排【tg:seogoogle987】,JAT
- https://www.xbiao.com/search/index?tpf&wd=谷歌快排【tg:seogoogle987】,aDE
- https://www.skicheck.at/en/?action=CHECK&s=谷歌快排【tg:seogoogle987】,plg
- https://www.livehindustan.com/tags/谷歌快排【tg:seogoogle987】,Szy
- https://www.ucycle.com/search/=谷歌快排【tg:seogoogle987】,9nM
- https://www.prattlibrary.org/search?q=谷歌快排【tg:seogoogle987】,0gn
- https://www.televes.com/es/catalogsearch/result/?q=谷歌快排【tg:seogoogle987】,zrL
- https://www.posten-portal.de/search?query=谷歌快排【tg:seogoogle987】,dt0
- https://www.nslcleaders.org/?s=谷歌快排【tg:seogoogle987】,nM2
- https://www.spoiledsweetboutique.com/search/谷歌快排【tg:seogoogle987】,hrs
- https://www.lee.com/search?q=谷歌快排【tg:seogoogle987】,08Q
- https://www.remit.co.jp/zh/?s=谷歌快排【tg:seogoogle987】,K2A
- https://www.teamlab.art/fr/?submit=谷歌快排【tg:seogoogle987】,AlU
- https://www.otakuninjahero.com/en/search/谷歌快排【tg:seogoogle987】,AHQ
- https://search.danawa.com/dsearch.php?query=谷歌快排【tg:seogoogle987】p0F
- https://www.lyrics.com/lyrics/谷歌快排【tg:seogoogle987】,Q1W
- https://www.mygrandma.com/Items.aspx?search=谷歌快排【tg:seogoogle987】,JeV
- https://www.sweat.com/collections/vendors?q=谷歌快排【tg:seogoogle987】,12M
- https://www.tycoonstory.com/?s=谷歌快排【tg:seogoogle987】,zoP
- https://www.tailoy.com.pe/catalogsearch/result/?q=谷歌快排【tg:seogoogle987】,fhX
- https://www.seagrant.wisc.edu/?page=63&s=谷歌快排【tg:seogoogle987】,cPR
- https://www.randjleather.co.uk/index.php?route=product/search&tag=谷歌快排【tg:seogoogle987】,go3
- https://www.teamlab.art/?submit=谷歌快排【tg:seogoogle987】,F7q
- https://www.zutari.com/?s=谷歌快排【tg:seogoogle987】,V4U
- https://www.urmc.rochester.edu/news/search?q=谷歌快排【tg:seogoogle987】,BCh