My builds have started to break for no apparent reason saying only “Action failed: Configure the build”.
My circle.yml has not changed since the last successful build, and it passes the linting anyway. What happened?
Here is the yaml:
machine:
node:
version: 4.4.4
environment:
NODE_VERSIONS: 0.10 0.12 4 5 6 7
RELEASE_BRANCH: master
dependencies:
pre:
- ./scripts/run-ci.sh ./scripts/node-matrix.sh ./scripts/install-node.sh
override:
- exit 0
test:
override:
- ./scripts/run-ci.sh ./scripts/node-matrix.sh ./scripts/prepare.sh ./scripts/lint.sh ./scripts/test-unit.sh ./scripts/test-e2e.sh:
parallel: true
deployment:
release:
branch: master
commands:
- ./scripts/run-ci.sh ./scripts/semantic-release.sh
Here is the build:
Never mind. It was an invalid package json that caused the trouble. Yet it was difficult to figure out without a proper error message
I’m trying my first CircleCI 2.0 build now, and its failing in a similar way. I’m starting with a simplified configuration from the examples, just to get things going. I’ve linted the YAML just to make sure it wasn’t something silly.
Here’s my config:
version: 2
executorType: docker
containerInfo:
- image: node:latest
stages:
build:
workDir: /home/ubuntu/action
steps:
- type: checkout
- type: add-ssh-keys
- type: shell
name: Install Dependencies
command: npm install
- type: shell
name: NPM Test
command: npm test
Is there a status page we should be referring to?
Seemed to be an intermittent failure. My tests are now running again…