Questions tagged [circleci-2.0]

267 questions
0
votes
1 answer

circleci v2 config - how do we filter by owner in a workflow?

In the circleci version 1 config, there was the option to specify owner as an option in a deployment. An example from the circleci docs ( https://circleci.com/docs/1.0/configuration/ ) with owner: circleci being the key line: deployment: master: …
0
votes
1 answer

Any way to specify cpu architecture with CircleCI?

If I'm using CircleCI to compile and deploy a portable binary, is there any way I can require the cpu architecture used to be amd64?
Ryan Burn
  • 2,126
  • 1
  • 14
  • 35
0
votes
1 answer

How to setup circleci with environment config files

I have a front-end build and deploy that I want to run on circleci with node. The deploy part needs a config file with api keys and passwords which I don't want to store in git. How do I add a config file to my build?
0
votes
1 answer

How to resolve missing android build tools on circleci2.0 android build?

I'm running an android build with circleci 2.0 and get an error about missing build tools failed to find Build Tools revision 24.0.1 using the circleci/android:api-24-node8-alpha docker image. I find an old solution for this but it targets the 1.0…
Brian Var
  • 6,029
  • 25
  • 114
  • 212
0
votes
1 answer

How to setup a pre-build MariaDB Docker image using CircleCI 2.0

I am trying to setup a MariaDB in my CircleCI 2.0 build but I am having problems to find a documentation how to configure the MariaDB Docker container. Here is what I did so far. version: 2 jobs: build: docker: # specify the version you…
saw303
  • 8,051
  • 7
  • 50
  • 90
0
votes
2 answers

Can I keep the Git repository name in a CircleCI workspace?

My project configures its artifact name using the name of the project root directory. Is it possible to configure CircleCI 2.0 to checkout the Git repository to a directory with the same name (i.e., the default behaviour of git clone)? (Cross posted…
Petter Remen
  • 101
  • 6
0
votes
1 answer

Does Circle CI 2.0 invalidate cache key when changing docker images

I want my cache to become invalid when I change container build images. Does that happen automatically or do I need to marry the cache key to the build container image?
Daniel Fithian
  • 101
  • 1
  • 5
0
votes
2 answers

CircleCI 2.0 for Android: Cannot install dependencies

I can’t get the first build to finish successfully for my CircleCI 2.0 android project. At first I was getting the “permission denied” for gradlew, which was fixed by appending “sudo chmod +x gradlew”. This led to my current error: chmod: cannot…
kevinivan05
  • 354
  • 4
  • 13
0
votes
1 answer

Problems importing packages on Circle Ci Golang

I am using Circle CI to test my project. The project is a simple Go application consisting of a few packages and a main.go file. When referencing packages within my project I simply import them as "projectName/packageName" in the code. This works…
N P
  • 2,319
  • 7
  • 32
  • 54
0
votes
1 answer

How can I build a Docker image and push it to ECR with CIRCLE 2.0?

I'm trying to upgrade from CIRCLE 1.0 to 2.0 & I'm having trouble getting the Docker images to build. I've got the following job:| ... There is another Job here which runs some tests deploy-aws: # machine: true docker: - image:…
James111
  • 15,378
  • 15
  • 78
  • 121
0
votes
1 answer

CircleCI CLI looks in wrong path for Android SDK

I'm using the CircleCI CLI to test running my unit tests locally. Every time I run I get: FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':appName'. > The SDK directory…
etherton
  • 924
  • 2
  • 10
  • 21
-1
votes
1 answer

How does Github work with Circl-CI when Circle CI skip test?

Now I'm using Github and Circle-CI. And Git flow is simple, after unit test on Circle-CI is done properly, pull request is accepted and merged into master branch. In specific branch names, Circle-CI skips test. However Github doesn't allow to merge…
Harry
  • 1,257
  • 3
  • 14
  • 25
1 2 3
17
18