Questions tagged [circleci-2.0]

Use this tag for questions about the CircleCI 2.0, which went into closed beta in November 2016. For the current version of CircleCI use the [circleci] tag.

Filter by
Sorted by
Tagged with
1
vote
1answer
24 views

Circle ci workflow job stuck in “created” when adding a required step to the workflow

workflows: version: 2 build_deploy_test: jobs: - build: filters: branches: only: - develop - christest: requires: ...
1
vote
1answer
414 views

Anyone know how to use $CIRCLE_BUILD_NUM across different jobs in CircleCI?

I use $CIRCLE_BUILD_NUM in different jobs in a workflow (but it seems like that get incremented in between jobs of the same workflow)? I did some research and it looks like I can switch to ...
2
votes
1answer
269 views

How to get other than “<no value>” when interpolating {{ .Environment.SOME_VAR }} (with SOME_VAR set) into cache key?

Using this configuration: version: 2 jobs: test: docker: - image: nixorg/nix:circleci environment: NIXPKGS_REV: 3c83ad6ac13b67101cc3e2e07781963a010c1624 steps: - ...
0
votes
1answer
55 views

Docker not found in circleci config

Why is docker not found? Do I need to use a different docker image than debian:latest? I want the latest debian image so does that mean I need to manually install Docker? orbs: aws-ecr: circleci/...
1
vote
2answers
11k views

Unable to parse YAML: mapping values are not allowed here

Good morning. I'm migrating from Gitlab to CircleCI and try to map out a simple pipeline ("workflow") that basically should look like this: [build] -> [tests] -> [release*] * only on tags I ...
3
votes
1answer
2k views

Keep getting permissions error gcloud.container.clusters.get-credentials

I am trying to integrate CircleCi with gcloud Kubernetes engine. I created a service account with Kubernetes Engine Developer and Storage Admin roles. Created CircleCi yaml file and configured CI. ...
8
votes
3answers
2k views

Condition CircleCI build on what part of monorepo changed?

I'm working on a monorepo project that contains a few different subprojects in different languages. Right now I run three different CircleCI "jobs" on each commit. However, each of these packages ...
6
votes
1answer
268 views

Six repositories as a single deployment Docker+CircleCI

I need some help and be pointed in the correct direction. I have 6 git repositories that together combine a bigger application (3 Node.js API, 2 React web apps and one repository for Ansible and ...
2
votes
1answer
2k views

CircleCI manually approved Deployment with Rollback

The new CircleCI 2.0 configuration allows to have a step of type approve which waits for user input. Is there some way to not just deploy code using manual stop, but also have a rollback to a previous ...
12
votes
2answers
2k views

How to run experimental Docker features on CircleCI

When a build is started on CircleCI one of the first things that is done is: Setup a remote Docker engine Specified reusable docker engine, but build has not been whitelisted. Contact CircleCI to ...
6
votes
1answer
1k views

Where does CircleCI-2.0 store the ssh private keys?

Aim To deploy docker container using ansible using CircleCI-2.0. Method A private key has been created and added using the CircleCI-2.0 UI. .circle/config.yml version: 2 jobs: build: ...