Browse Source

fix(config.yml):error computing cache key and CircleCI received exit code 127

I resolved these issues:
-error Command failed with exit code 127
-error computing cache key: template: cacheKey:1: unexpected unclosed action in command
dockerbuild-pushstep
sipe-daniel 6 years ago
parent
commit
e423a9f0e5
  1. 15
      .circleci/config.yml

15
.circleci/config.yml

@ -15,7 +15,7 @@ workflows:
jobs: jobs:
build: build:
docker: docker:
- image: cimg/node:14.10.1
- image: cimg/node:12.18
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -31,7 +31,7 @@ jobs:
- ./node_modules - ./node_modules
lint: lint:
docker: docker:
- image: cimg/node:14.10.1
- image: cimg/node:12.18
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -42,7 +42,7 @@ jobs:
command: yarn lint && yarn format:check command: yarn lint && yarn format:check
test: test:
docker: docker:
- image: cimg/node:14.10.1
- image: cimg/node:12.18
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -53,13 +53,13 @@ jobs:
command: yarn test:ci command: yarn test:ci
e2e-test: e2e-test:
docker: docker:
- image: cimg/node:14.10.1
- image: cimg/node:12.18
environment: environment:
DATABASE_URL: postgresql://jordan:mot_de_passe@localhost:5432/psdb
JWT_SECRET: mot_de_passe
DATABASE_URL: "postgres://jordan:mot_de_passe@localhost:5432/psdb"
API_PORT: 3000 API_PORT: 3000
API_HOST: localhost API_HOST: localhost
API_PROTOCOL: http API_PROTOCOL: http
JWT_SECRET: mot_de_passe
- image: circleci/postgres:9.6.2-alpine - image: circleci/postgres:9.6.2-alpine
environment: environment:
POSTGRES_USER: jordan POSTGRES_USER: jordan
@ -68,8 +68,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
name: Restore Yarn Package Cache
keys: yarn-packages-v2{{ checksum "yarn.lock" }}
key: yarn-packages-v2{{ checksum "yarn.lock" }}
- run: - run:
name: "E2e Test" name: "E2e Test"
command: yarn test:e2e command: yarn test:e2e
Loading…
Cancel
Save