Prisma1: (Circle) CI + Prisma

Created on 1 Mar 2018  路  6Comments  路  Source: prisma/prisma1

Bug Report

_鈿狅笍 Not sure this is a bug, might be my issue, but I got asked on Slack to post this here. 鈿狅笍_

Current behavior

Unable to create local Prisma cluster with Circle CI.

When running prisma local start Circle CI gets stuck at _Booting local development cluster..._ until it eventually times out.

Output

#!/bin/bash -eo pipefail
cd api
yarn prisma local start
yarn prisma deploy
yarn run v1.3.2
$ /home/circleci/repo/api/node_modules/.bin/prisma local start

Booting local development cluster...Too long with no output (exceeded 10m0s)

Reproduction

  1. Fork https://github.com/KATT/react-prisma-graphql-shopping-cart
  2. Login to Circle CI
  3. Setup your fork in Circle CI
  4. Will rebuild whenever you push

Expected behavior?

yarn prisma deploy to work

Notes

I don't have to do this with Circle CI - if someone has working examples with Travis/Jenkins/.. I'd be happy to switch.

aredocs

Most helpful comment

I'm seeing the same behavior with prisma local start. It never finishes.

Prisma version: 1.8.3
Docker version: 18.03.1
Node version: 10.1.0

Edit: I'd be happy to provide any addition details or testing changes out!

All 6 comments

Thanks so much for bringing this up @KATT! We're looking into this and will provide more resources here soon 馃檪

Went with Travis instead. Was hassle-free. Implementation here: https://github.com/KATT/shop/pull/3

I'm seeing the same behavior with prisma local start. It never finishes.

Prisma version: 1.8.3
Docker version: 18.03.1
Node version: 10.1.0

Edit: I'd be happy to provide any addition details or testing changes out!

Related: #2437

Not able to get it playing nicely with Travis anymore either.

@KATT - I was able to get this to working by using machine executor in Circle CI. The docker executor in Circle CI has a remote docker container not available on the network.

Config file used

Passing build with Prisma deploy

It would be awesome if you convert this example to a new Prisma example in a PR

Thanks a lot for opening this issue. I'm closing it since we now have a travis example.

Was this page helpful?
0 / 5 - 0 ratings