Questions tagged [circleci]

CircleCI is a hosted continuous integration testing tool integrated with popular code management services such as GitHub. It is commercial but free to open source projects.

CircleCI helps you to automate the software development process using continuous integration and continuous delivery(CICD).

1887 questions
10
votes
2 answers

Circle CI Docker service does not cache COPY

I'm running docker on CircleCI and I'm having trouble caching COPY commands. The Circle CI docs mention known caching issues and recommend using this perl script to set the timestamps on the file copied over to preserve cache. The Docker best…
Rimian
  • 36,864
  • 16
  • 117
  • 117
10
votes
3 answers

Continuous integration (CI) with Phabricator?

I tried continuous integration tools Travis CI, CircleCI and codeship, but found none of them provide support document for phabricator. Does anyone have ideas about how to do continuous integration (CI) with Phabricator?
Hanfei Sun
  • 45,281
  • 39
  • 129
  • 237
9
votes
1 answer

Type 'React.ReactNode' is not assignable to type 'import(".../@types/react-transition-group/node_modules/@types/react/index").ReactNode'

I've worked with React project, integrated with Circle CI and after some minor changes, it started to fail all builds with Its instance type 'ReactApexChart' is not a valid JSX element. The types returned by 'render()' are incompatible between…
Igor Kushnir
  • 91
  • 1
  • 3
9
votes
2 answers

Firebase iOS Distribution Faraday server error 403

I'm using Circle-Ci and Firebase App Distribution for our Continuous Distribution Every thing was working perfectly until today I'm receiving the below error: [10:52:11]: --- Step: firebase_app_distribution --- [10:52:11]:…
ANeme
  • 731
  • 5
  • 19
9
votes
1 answer

"npm ci" throws exception: Cannot read property 'length' of undefined

I'm getting this exception both on my local environment and in CircleCI. > core-js@3.6.4 postinstall /home/vallo/project/node_modules/core-js > node -e "try{require('./postinstall')}catch(e){}" npm ERR! Cannot read property 'length' of…
Vallo
  • 1,827
  • 2
  • 21
  • 42
9
votes
2 answers

CircleCI vs Bitbucket Go Build Issue

I'm running a go build command on a golang:1.11-alpine on two separate CI tools. As you can see the commands are exactly the same and the docker image is exactly the same. For some reason, when I run the compiled executable on an alpine:3.9 docker…
bryan
  • 8,879
  • 18
  • 83
  • 166
9
votes
3 answers

CircleCI for iOS - caching cocoapods dependencies

I'm trying to run my iOS testsuite in CircleCI using fastlane scan. Running the tests is working great, but the total time is increased a lot by installing dependencies from cocoapods. I've tried to cache the Pods directory by doing the following,…
djt
  • 7,297
  • 11
  • 55
  • 102
9
votes
2 answers

Tag release not built with CircleCI

I am using CircleCI to build a project, everything is running fine, except that my tags are not built when pushed to github: I don't understand why, I have reduced my whole configuration to a minimalistic config file, it's the same logic: version:…
9
votes
2 answers

Circle Ci 2.0 artifacts url

Circle Ci 2.0 artifacts can be accessed with the following url https://{BUILD_NUMBER}-{UNKNOWN_NUMBER}-gh.circle-artifacts.com/0 What does the number after CI build number represent.
smndiaye
  • 438
  • 7
  • 13
9
votes
2 answers

How to run Android UI tests properly on CircleCI 2.0?

Trying to upgrade my Android project to CircleCI 2.0. Everything is fine, but having trouble of running Android UI tests with emulator. Log says com.android.builder.testing.api.DeviceException: No connected devices! I've actually downloaded an…
Jing Li
  • 14,547
  • 7
  • 57
  • 69
9
votes
4 answers

CircleCI Docker Exited with code 137

I'm using - image: peopleperhour/dynamodb for a docker image in my CircleCI config file. In CircleCI it's outputting the following. Initializing DynamoDB Local with the following configuration: Port: 8000 InMemory: false DbPath:…
Charlie Fish
  • 18,491
  • 19
  • 86
  • 179
9
votes
2 answers

Is there a way to trigger a CircleCI build on a Pull Request?

So, the problem I have is that right now CircleCI doesn't trigger builds on PRs, and I have checks that I'd like to run only on PRs. There is this option: Only build pull requests By default, we will build all the commits for this project. Once …
alkaia
  • 89
  • 1
  • 6
9
votes
1 answer

How to break up command in CircleCI yml to multiple lines?

I have a CircleCI configuration file that looks like so: # Customize test commands test: override: - docker run -e VAR1=$VAR! -e VAR2=$VAR2 -e $VAR3-$VAR3 --entrypoint python my_image:latest -m unittest discover -v -s test How can I break up…
doremi
  • 14,921
  • 30
  • 93
  • 148
9
votes
2 answers

Use `yarn` with CircleCI 2.0

Yarn doesn’t have docs on a 2.0 installation. Request for docs Here is 1.0 docs https://circleci.com/docs/1.0/yarn/ Where is 2.0? https://circleci.com/docs/2.0/yarn/
Kirk Strobeck
  • 17,984
  • 20
  • 75
  • 114
9
votes
4 answers

Dynamically get a running container name created by docker-compose

When I run my docker-compose, it creates a web container and postgres container. I want to manually trigger my Django tests to run, via something like docker-compose run web python manage.py test the problem with this is it creates a new container…
david
  • 6,303
  • 16
  • 54
  • 91