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
0 votes
0 answers
19 views

How to deploy files into a server that is behind NAT in CircleCI

I have a server that is behind NAT and primarily serves websites. To expose it to the internet, I utilize a low-resource VPS with an Apache reverse HTTP proxy and Tailscale. However, the setup only ...
Said Torres's user avatar
1 vote
0 answers
9 views

Maintaining CircleCI on several repository

We have several repositories on Github and just recently explored to integrate it our continuous integration/deployment to CircleCI. The thing is, every time we update something on .circleci directory ...
Dan_The_Man's user avatar
0 votes
1 answer
118 views

CICD with dockerized web app

I am having troubles understanding the following DevOps concept. I have developed a dockerized web app using docker-compose. It is in my local and I can upload it to any cloud service I want and it ...
CarlosSR's user avatar
  • 101
0 votes
1 answer
447 views

Setting up CircleCI to AWS EC2 for a simple node application deployment

I have a simple node application running on the EC2 instance, everything is working just fine and I want to integrate this application with CircleCI for the continuous deployment. I have been ...
Mukul Kumar Jha's user avatar
1 vote
1 answer
281 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: ...
Chris Stryczynski's user avatar
3 votes
2 answers
2k 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 ...
erotsppa's user avatar
  • 131
3 votes
1 answer
950 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: - ...
Jean-Paul Calderone's user avatar
0 votes
1 answer
90 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/...
Catfish's user avatar
  • 101
2 votes
2 answers
30k 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 ...
q9f's user avatar
  • 123
3 votes
1 answer
3k 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. ...
Naor's user avatar
  • 141
8 votes
3 answers
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 ...
langkilde's user avatar
  • 335
6 votes
1 answer
292 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 ...
user134865's user avatar
4 votes
1 answer
3k 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 ...
Evgeny Zislis's user avatar
12 votes
2 answers
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 ...
030's user avatar
  • 13.2k
6 votes
1 answer
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: ...
030's user avatar
  • 13.2k