Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET Core 卡在更新软件源的位置 #5

Open
holmesconan opened this issue Dec 28, 2016 · 1 comment
Open

.NET Core 卡在更新软件源的位置 #5

holmesconan opened this issue Dec 28, 2016 · 1 comment

Comments

@holmesconan
Copy link

这里的 repo 太多了,我不知道应该发在哪里,希望没有发错地方。我本来计划使用 daocloud 配合 Coding.NET 做 CI,可是遇到一个问题:我的 App 是基于 .NET Core 的,使用了微软的官方镜像(基于 debian jessie),docker 的镜像同步的很快,但按照文档的说法,我不应该转换到国内的源进行更新,所以我使用 debian 的官方源。可是在 apt-get update 的时候,卡住了,然后构建超时。我试了几次,都是这样,不知道应该怎么解决。或者我应该换成国内的源试试?

另外,daocloud 是不 可以提供类似 Travis 那样的 badge,这个又好看,有好用的功能,还是希望能有。我没有在文档里看到这个。

@sakeven
Copy link

sakeven commented Dec 29, 2016

你好,针对你说的两点:

  1. 对国外资源依赖较多的话,建议使用国外的执行环境,可以在构建设置里设置。
  2. badge 我们是支持的,但是目前还没有提供 UI 和文档。
    这个 badge url 需要你自己填写。格式是这样的 https://ci.daocloud.io/api/badge/build/用户名/项目名 比如 https://ci.daocloud.io/api/badge/build/daocloud/dao-2048 。测试的格式是 https://ci.daocloud.io/api/badge/test/用户名/项目名 。覆盖率 http://ci.daocloud.io/api/badge/coverage/用户名/项目名?branch=master&criteria=line-rate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants