首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我尝试了CircleCI,但失败了

我尝试了CircleCI,但失败了
EN

Stack Overflow用户
提问于 2021-02-09 22:48:19
回答 2查看 126关注 0票数 0

我想用CircleCI。

我试着开始。

  1. 我创建了一个新的存储库。

https://circleci.com/docs/2.0/getting-started/#section=getting-started

存储库名称为'hello-world',具体分支名称为‘circleci project-setup’

代码语言:js
复制
We’ll commit the config below to duri0214/hello-world on a new branch called circleci-project-setup. If you prefer, you can use an existing config.

  1. ​设置项目单击“设置项目”。嗯..。我喜欢蟒蛇。
  1. 在‘circleci config.yml -setup’分支上传项目。

单击Start Building并按照提示将您的配置添加到新分支并启动您的第一个管道。注意:您还可以手动将config.yml添加到.circleci文件夹下的项目根目录中,并将其推送到您的VCS提供商。

Click Start Building???这不算什么。文档是否旧?

我试着commit and run按钮。

失败,失败,失败

​为什么我不能

下一次尝试

​计算缓存键时出错:模板:缓存键:1:7:在执行"cacheKey“时出错:调用校验和:打开/主目录/圈/项目/要求.txt时出错:没有这样的文件或目录

#!/bin/bash -eo -r失败如果为true;则pip requirements.txt --user -r requirements.txt否则pip install -r requirements.txt fi

错误:无法打开需求文件:Errno 2没有这样的文件或目录:'requirements.txt‘已退出,代码为退出状态%1 CircleCI收到退出代码%1

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2021-02-25 22:44:49

哦,我的天..。我使用circleci目录而不是.circleci

成功..。

票数 0
EN

Stack Overflow用户

发布于 2021-02-09 23:02:38

正如文档所述,您需要将circleci配置放在.circlei目录

代码语言:js
复制
Click Start Building and follow the prompt to add your config to a new branch and start your first pipeline. Note: You can also manually add a config.yml to your project root under a .circleci folder and push this to your VCS provider.

关于Click Start Building,我猜可能是文档遗漏了。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66121290

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档