我尝试 CircleCI 但失败了
I try CircleCI but failed
我想使用 CircleCI。
我试着开始。
- 我创建了一个新的存储库。
https://circleci.com/docs/2.0/getting-started/#section=getting-started
存储库名称为 'hello-world',特定分支名称为 'circleci-project-setup'
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.
设置 CircleCI
单击设置项目。嗯……我喜欢python。
在 'circleci-project-setup' 分支上上传 config.yml。
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???
这没什么。文档是旧的?
我试试 commit and run
按钮。
- 失败,失败,失败
为什么我不能
下次试试
error computing cache key: template: cacheKey:1:7: executing
"cacheKey" at <checksum "requirements.txt">: error calling checksum:
open /home/circleci/project/requirements.txt: no such file or
directory
#!/bin/bash -eo pipefail if true; then pip install --user -r requirements.txt else pip install -r requirements.txt fi
ERROR: Could not open requirements file: [Errno 2] No such file or
directory: 'requirements.txt'
Exited with code exit status 1 CircleCI received exit code 1
如文档所述,您需要将 circleci 配置放在 .circlei
目录中
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
,我猜这可能是文档遗漏。
我的天哪..
我使用 circleci
目录代替 .circleci
.
成功...
我想使用 CircleCI。
我试着开始。
- 我创建了一个新的存储库。
https://circleci.com/docs/2.0/getting-started/#section=getting-started
存储库名称为 'hello-world',特定分支名称为 'circleci-project-setup'
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.
设置 CircleCI 单击设置项目。嗯……我喜欢python。
在 'circleci-project-setup' 分支上上传 config.yml。
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???
这没什么。文档是旧的?
我试试 commit and run
按钮。
- 失败,失败,失败
为什么我不能
下次试试
error computing cache key: template: cacheKey:1:7: executing "cacheKey" at <checksum "requirements.txt">: error calling checksum: open /home/circleci/project/requirements.txt: no such file or directory
#!/bin/bash -eo pipefail if true; then pip install --user -r requirements.txt else pip install -r requirements.txt fi
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
Exited with code exit status 1 CircleCI received exit code 1
如文档所述,您需要将 circleci 配置放在 .circlei
目录中
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
,我猜这可能是文档遗漏。
我的天哪..
我使用 circleci
目录代替 .circleci
.
成功...