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
176
votes
15 answers

Could not find com.android.tools.build:gradle:3.0.0-alpha1 in circle ci

I updated the gradle plugin to the latest version : com.android.tools.build:gradle:3.0.0-alpha1 and this error occured in AS: export TERM="dumb" if [ -e ./gradlew ]; then ./gradlew test;else gradle test;fi FAILURE: Build failed with an…
Mohamed ALOUANE
  • 5,349
  • 6
  • 29
  • 60
71
votes
23 answers

CircleCI message "error: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"

I am facing an error while deploying deployment in CircleCI. Please find the configuration file below. When running the kubectl CLI, we got an error between kubectl and the EKS tool of the aws-cli. version: 2.1 orbs: aws-ecr:…
yass
  • 829
  • 1
  • 3
  • 6
52
votes
5 answers

Is it possible to install npm package only if it has not been already installed?

Is it possible to install npm package only if it has not been already installed? I need this to speed up test on CircleCI, but when I run npm install protractor@2.1.0 etc. it always downloads things and installs them from scracth, however,…
kovpack
  • 4,905
  • 8
  • 38
  • 55
49
votes
3 answers

What do I need to cache in my CI job to avoid ngcc recompiling each time?

With angular 9 and it's new compilation engine IVY, my CI build times have increased substantially. This is of course is because ngcc is ran on many modules. e.g. Compiling @angular/core : es2015 as esm2015 Compiling @angular/common : es2015 as…
44
votes
4 answers

CircleCi 2.0 working with project inside the subdirectory

I am trying to integrate my springboot tutorial project with CircleCi. My project is inside a subdirectory inside a Github repository and I get the following error from CircleCi. Goal requires a project to execute but there is no POM in this …
Kevin Amiranoff
  • 13,440
  • 11
  • 59
  • 90
40
votes
13 answers

Gradle error : Could not find com.android.tools.build:gradle:2.2.3

I'm trying to build my android project using gradle and circleCI, but I've got this error : * What went wrong: A problem occurred configuring root project ''. > Could not resolve all dependencies for configuration ':classpath'. >…
Sylvain GIROD
  • 836
  • 1
  • 11
  • 23
34
votes
4 answers

how to renew expired certificate with fastlane?

My iOS certificate is stored in GitHub and it is expired, the failure message in circleci progress is that ‘Your certificate 'xxxxxxx.cer' is not valid, please check end date and renew it if necessary’. Do I need to create a new certificate, or…
CleanMac
  • 473
  • 1
  • 4
  • 6
33
votes
2 answers

`moduleNameMapper` settings in jest.config.js doesn't work on CircleCI

I have tested with my React-app in typescript, using ts-jest like below. import * as React from "react"; import * as renderer from "react-test-renderer"; import { ChartTitle } from "Components/chart_title"; describe("Component: ChartTitle", () =>…
Saiid Al-halawi
  • 443
  • 1
  • 4
  • 9
30
votes
3 answers

CircleCI with no tests

I want to use CircleCI just to push my docker image to Dockerhub when I merge with master. I am using CircleCI in other projects where it is more useful and want to be consistent (as well as I am planning to add tests later). However all my builds…
Ela
  • 3,142
  • 6
  • 25
  • 40
29
votes
4 answers

CircleCI permission denied running bash script

I have a circle.yml file like so: dependencies: override: - meteor || curl https://install.meteor.com | /bin/sh deployment: production: branch: "master" commands: - ./deploy.sh When I push to Github, I get the…
samcorcos
  • 2,330
  • 4
  • 27
  • 40
28
votes
2 answers

How to add a user exception to "Require pull request reviews before merging" option in git protected branch?

I am trying to use lerna publish to manage package publishing in my team. So what lerna does at the end of every publish is, it bumps the version in the package.json file and commits those changes in the branch that did the publish. However in…
Pravin
  • 1,671
  • 5
  • 23
  • 36
22
votes
1 answer

How do I find the Go module source cache?

I've upgraded a project to Go 1.11 and enabled module support for my project, but it seems that CircleCI is re-downloading the dependencies on every build. I know CircleCI allows caching between rebuilds, so I've looked at the documentation for Go…
Rob G.
  • 243
  • 1
  • 2
  • 8
21
votes
2 answers

How do you cache Yarn Dependencies for a Docker image build in CircleCI?

My yarn installs take ~5 minutes right now. I'm trying to figure out a way to cut them down. Right now in my Dockerfile I have the following: COPY package.json yarn.lock node_modules /usr/src/app/ COPY ${YARN_CACHE} /root/.cache/yarn/ WORKDIR…
Toli
  • 5,547
  • 8
  • 36
  • 56
21
votes
5 answers

Does any CI service let you build Docker containers and use the docker build cache?

I have a bunch of Docker containers all hooked up using docker-compose (previously fig). I have found that services that advertise themselves as "Docker CI" services are usually just talking about using Docker to run their build workers. I would…
user3906849
  • 221
  • 2
  • 4
20
votes
5 answers

Deploying to Firebase Hosting using CircleCI

I'm trying to figure out how to deploy to Firebase Hosting using CircleCI. As far as I know, there is no way to setup deployment with an SSH key, so I'm trying to find a way of logging into Firebase during deployment and push the code. What I have…
erichrusch
  • 1,323
  • 10
  • 18
1
2 3
99 100