在Azure Devops主机上安装mongodb进行testrun [英] Install mongodb on azure devops host for testrun

查看:84
本文介绍了在Azure Devops主机上安装mongodb进行testrun的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试切换到天蓝色的devops,并且需要运行mongodb实例以进行一些集成测试. Azure devops提供的主机不包含mongodb的安装,并且我不知道在哪里可以用VS和mongodb提供新的docker映像.这甚至是要走的路吗?无法更改图像的docker文件,因此它们也将安装mongodb?我已经准备尝试添加新池并在其中添加图像,但这似乎不是正确的方向:/

I am trying to switch to azure devops and I need a mongodb instance running for some integration tests. The hosts, that are supplied by azure devops do not contain an installation of mongodb and I do not know where I could supply a new docker image with VS and mongodb. Is this even the way to go? Is there no way to change the docker file of the images, so they install mongodb aswell? I allready tried to add a new pool and add an image there, but this does not seem to be the right direction :/

有人能给我一个提示,让我做些什么,以获得用于集成测试的mongodb吗?

Can anybody give me an hint on what I have to do, to get a mongodb for integration tests?

推荐答案

使用服务容器在您的版本旁边.

With the Azure pipeline container Jobs, you can start service containers next to your builds.

这篇关于在Azure Devops主机上安装mongodb进行testrun的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆