是否可以从circleci开始运行CI / CI管道,而在master分支中没有.circleci/config.yml
文件?
如果我尝试开始运行该过程,它将失败并显示以下信息:
#!/bin/sh -eo pipefail
# No configuration was found in your project. Please refer to https://circleci.com/docs/2.0/ to get started with your configuration.
#
我有一个功能分支,该分支确实具有配置文件,但是当我按下它时,似乎没有从circle ci网络应用程序中获取。我已经检查了github的webhooks,并且circleci配置在那里。
我的配置:
version: 2
jobs:
build:
docker:
- image: circleci/node:7.10
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json"}}
- v1-dependencies-
- run: npm install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json"}}
test:
docker:
- image: circleci/node:7.10
steps:
- run: npm test
workflow:
version: 2
deployment_process:
jobs:
- build
- test:
requires:
- build