# Deployments

**URL:** https://discuss.circleci.com/c/deployment/17.md?page=4

[Latest](https://discuss.circleci.com/latest.md) · [Categories](https://discuss.circleci.com/categories.md) · [Tags](https://discuss.circleci.com/tags.md)

**Page:** 5

---

## [For how long can i rerun a pipeline?](https://discuss.circleci.com/t/for-how-long-can-i-rerun-a-pipeline/39297)

<div class="topic-metadata">

**Author:** [@aaron23](https://discuss.circleci.com/u/aaron23)\
**Replies:** 1\
**Last updated:** [March 5, 2021, 6:46pm UTC](https://discuss.circleci.com/t/for-how-long-can-i-rerun-a-pipeline/39297 "2021-03-05T18:46:36Z")

</div>

once a pipeline ran successfully for how long can I rerun it? I know approvals expire after 15 days.

---

## [How do I store/access a normal API key that's used only in a javascript file?](https://discuss.circleci.com/t/how-do-i-store-access-a-normal-api-key-thats-used-only-in-a-javascript-file/39293)

<div class="topic-metadata">

**Author:** [@OperationFman](https://discuss.circleci.com/u/OperationFman)\
**Replies:** 1\
**Last updated:** [March 4, 2021, 11:36am UTC](https://discuss.circleci.com/t/how-do-i-store-access-a-normal-api-key-thats-used-only-in-a-javascript-file/39293 "2021-03-04T11:36:33Z")

</div>

I’m used to using Environment Variables to deploy to Heroku but those are called like ‘$HEROKU\_API\_KEY’ in the circleci config file itself. I’m currently adding firebase to my react application and need to hide the API …

---

## [Kubernetes/create-or-update-resource for EKS](https://discuss.circleci.com/t/kubernetes-create-or-update-resource-for-eks/38970)

<div class="topic-metadata">

**Author:** [@AashiqDurga](https://discuss.circleci.com/u/AashiqDurga)\
**Replies:** 1\
**Last updated:** [February 10, 2021, 10:28pm UTC](https://discuss.circleci.com/t/kubernetes-create-or-update-resource-for-eks/38970 "2021-02-10T22:28:33Z")

</div>

Hi I am getting this error when trying to update a deployment on EKS with Circle ci “The connection to the server localhost:8080 was refused - did you specify the right host or port?” I am using the “kubernetes/create…

---

## [Best practices for managing AWS EKS credentials in CircleCI](https://discuss.circleci.com/t/best-practices-for-managing-aws-eks-credentials-in-circleci/38978)

<div class="topic-metadata">

**Author:** [@metasim](https://discuss.circleci.com/u/metasim)\
**Replies:** 0\
**Last updated:** [February 1, 2021, 8:34pm UTC](https://discuss.circleci.com/t/best-practices-for-managing-aws-eks-credentials-in-circleci/38978 "2021-02-01T20:34:25Z")

</div>

I’m looking to update deployments in our Kubernetes cluster from CircleCI. After reading the circleci/aws-eks orb documentation, it’s not clear to me what are the best practices for authenticating against the Kubernetes…

---

## [Unable to parse decimal to integer](https://discuss.circleci.com/t/unable-to-parse-decimal-to-integer/38857)

<div class="topic-metadata">

**Author:** [@Vanchiv](https://discuss.circleci.com/u/Vanchiv)\
**Replies:** 2\
**Last updated:** [January 22, 2021, 2:32am UTC](https://discuss.circleci.com/t/unable-to-parse-decimal-to-integer/38857 "2021-01-22T02:32:31Z")

</div>

Hi Guys, We are trying to create CI/CD pipeline for our MuleSoft projects and we found that CirrcleCI is not parsing decimal values. We have one parameters where we need to specify the workers size and here is sample c…

---

## [Where does CircleCI get ssh keys from since I don't have add\_ssh\_keys in config?](https://discuss.circleci.com/t/where-does-circleci-get-ssh-keys-from-since-i-dont-have-add-ssh-keys-in-config/35576)

<div class="topic-metadata">

**Author:** [@r7s](https://discuss.circleci.com/u/r7s)\
**Replies:** 2\
**Last updated:** [January 19, 2021, 9:57pm UTC](https://discuss.circleci.com/t/where-does-circleci-get-ssh-keys-from-since-i-dont-have-add-ssh-keys-in-config/35576 "2021-01-19T21:57:50Z")

</div>

After running tests, we deploy our app with Capistrano. Just today we ran into an issue where that task was failing with: SSHKit::Runner::ExecuteError: Exception while executing as user@staging: disconnected: Too many a…

---

## [Github code checkout suddenly failing](https://discuss.circleci.com/t/github-code-checkout-suddenly-failing/31558)

<div class="topic-metadata">

**Author:** [@peternixey](https://discuss.circleci.com/u/peternixey)\
**Replies:** 3\
**Last updated:** [January 15, 2021, 12:07pm UTC](https://discuss.circleci.com/t/github-code-checkout-suddenly-failing/31558 "2021-01-15T12:07:00Z")

</div>

About a week ago CircleCI started failing to checkout code from Github. This happened around the same time that I removed access to the github organisation for some developers who’ve since left the team. The error that’…

---

## [Push build folder from dev to main branch](https://discuss.circleci.com/t/push-build-folder-from-dev-to-main-branch/38609)

<div class="topic-metadata">

**Author:** [@bart-kipping](https://discuss.circleci.com/u/bart-kipping)\
**Replies:** 2\
**Last updated:** [December 24, 2020, 12:02am UTC](https://discuss.circleci.com/t/push-build-folder-from-dev-to-main-branch/38609 "2020-12-24T00:02:03Z")

</div>

Hi there, The situation: I have a simple gatsby-project with some headless CMS features. Now I pushed my local directory to my github repo in a branch called ‘dev’ (contains config.yml /src package.json etc.) Goal: …

---

## [Error updating AWS Lambda Configuration in pipeline](https://discuss.circleci.com/t/error-updating-aws-lambda-configuration-in-pipeline/38553)

<div class="topic-metadata">

**Author:** [@phil.carter](https://discuss.circleci.com/u/phil.carter)\
**Replies:** 2\
**Last updated:** [December 24, 2020, 12:01am UTC](https://discuss.circleci.com/t/error-updating-aws-lambda-configuration-in-pipeline/38553 "2020-12-24T00:01:03Z")

</div>

Hi All We’re receiving an error when trying to update the configuration of an AWS Lambda function. The yaml config looks like this version: 2.1 orbs: aws-cli: circleci/aws-cli@1.3.0 aws-s3: circleci/aws-s3@2.0.0 …

---

## [Trigger Heroku build even if there are no code changes](https://discuss.circleci.com/t/trigger-heroku-build-even-if-there-are-no-code-changes/38144)

<div class="topic-metadata">

**Author:** [@harrygothold](https://discuss.circleci.com/u/harrygothold)\
**Replies:** 1\
**Last updated:** [November 18, 2020, 11:03pm UTC](https://discuss.circleci.com/t/trigger-heroku-build-even-if-there-are-no-code-changes/38144 "2020-11-18T23:03:29Z")

</div>

I have the following yml file version: 2.1 jobs: build: docker: - image: circleci/node:13.12.0 working\_directory: ~/repo steps: - checkout - run: name: update npm command: ‘sudo npm install -g npm@latest’ - r…

---

## [Where to store GCP Credentials for terraform](https://discuss.circleci.com/t/where-to-store-gcp-credentials-for-terraform/38128)

<div class="topic-metadata">

**Author:** [@tillias](https://discuss.circleci.com/u/tillias)\
**Replies:** 4\
**Last updated:** [November 17, 2020, 8:00pm UTC](https://discuss.circleci.com/t/where-to-store-gcp-credentials-for-terraform/38128 "2020-11-17T20:00:13Z")

</div>

Hello folks, Where should I store json credentials file generated for my service account as it is suggested in Terraform Registry ? Locally it is quite easy: terraform { required\_providers { google = { source = “h…

---

## [SSH can't establish authenticity of host, despite adding options, keys, known\_hosts, etc](https://discuss.circleci.com/t/ssh-cant-establish-authenticity-of-host-despite-adding-options-keys-known-hosts-etc/38122)

<div class="topic-metadata">

**Author:** [@orvn](https://discuss.circleci.com/u/orvn)\
**Replies:** 3\
**Last updated:** [November 16, 2020, 1:21pm UTC](https://discuss.circleci.com/t/ssh-cant-establish-authenticity-of-host-despite-adding-options-keys-known-hosts-etc/38122 "2020-11-16T13:21:34Z")

</div>

I’m new to CircleCI and I’m having an issue that others have had before, but won’t resolve for me no matter what I try. At the last step, where rsync invokes ssh I get The authenticity of host '42.42.64.64 (42.42.64.64…

---

## [message=Required "container.clusters.create" permission(s) for "projects/](https://discuss.circleci.com/t/message-required-container-clusters-create-permission-s-for-projects/38034)

<div class="topic-metadata">

**Author:** [@njpa382](https://discuss.circleci.com/u/njpa382)\
**Replies:** 1\
**Last updated:** [November 6, 2020, 8:55pm UTC](https://discuss.circleci.com/t/message-required-container-clusters-create-permission-s-for-projects/38034 "2020-11-06T20:55:51Z")

</div>

Hi. I have the error when I try to create GKE cluster. ERROR: (gcloud.beta.container.clusters.create) ResponseError: code=403, message=Required “container.clusters.create” permission(s) for "projects/ I m not able to f…

---

## [Continuous Deployment and Delivery on ECS Fargate with Terraform](https://discuss.circleci.com/t/continuous-deployment-and-delivery-on-ecs-fargate-with-terraform/37976)

<div class="topic-metadata">

**Author:** [@Taaanos](https://discuss.circleci.com/u/Taaanos)\
**Replies:** 0\
**Last updated:** [November 1, 2020, 8:41pm UTC](https://discuss.circleci.com/t/continuous-deployment-and-delivery-on-ecs-fargate-with-terraform/37976 "2020-11-01T20:41:10Z")

</div>

Hey all, My goal is simple. Commit a change to the application and have it running live on AWS. I have built all my infra with Terraform, so I want to only use Terraform to make changes to AWS. The question is, how do …

---

## [CircleCI fails to deploy "cannot find serverless-component"](https://discuss.circleci.com/t/circleci-fails-to-deploy-cannot-find-serverless-component/37898)

<div class="topic-metadata">

**Author:** [@wintvelt](https://discuss.circleci.com/u/wintvelt)\
**Replies:** 3\
**Last updated:** [October 28, 2020, 6:35pm UTC](https://discuss.circleci.com/t/circleci-fails-to-deploy-cannot-find-serverless-component/37898 "2020-10-28T18:35:46Z")

</div>

All of a sudden, CircleCI fails to deploy my serverless-component application. It used to run and deploy OK. But now, my CircleCI script refuses to deploy. The log shows the following error: Command failed: npm insta…

---

## [\[SSL: TLSV1\_ALERT\_PROTOCOL\_VERSION\] tlsv1 alert protocol version](https://discuss.circleci.com/t/ssl-tlsv1-alert-protocol-version-tlsv1-alert-protocol-version/30775)

<div class="topic-metadata">

**Author:** [@b3h3rkz](https://discuss.circleci.com/u/b3h3rkz)\
**Replies:** 10\
**Last updated:** [October 13, 2020, 8:52am UTC](https://discuss.circleci.com/t/ssl-tlsv1-alert-protocol-version-tlsv1-alert-protocol-version/30775 "2020-10-13T08:52:50Z")

</div>

I have been battling with this issue and will need help. So I am using django-cookiecutter + docker for the project. The app runs ok after deploying the docker container to the server. But when trying to push changes…

---

## [Node.js Deployment via SSH to EC2 Linux](https://discuss.circleci.com/t/node-js-deployment-via-ssh-to-ec2-linux/37662)

<div class="topic-metadata">

**Author:** [@andre1620](https://discuss.circleci.com/u/andre1620)\
**Replies:** 2\
**Last updated:** [October 5, 2020, 7:39pm UTC](https://discuss.circleci.com/t/node-js-deployment-via-ssh-to-ec2-linux/37662 "2020-10-05T19:39:33Z")

</div>

Hi Everyone! I am trying to deploy a node.js app. I am trying to ssh into EC2 Linux instance and installing node.js, running npm install and npm start. I don’t understand what the error is telling me here. Below is my e…

---

## [Having trouble deploying to digitalocean from circleci](https://discuss.circleci.com/t/having-trouble-deploying-to-digitalocean-from-circleci/36385)

<div class="topic-metadata">

**Author:** [@www.alexwallish.com](https://discuss.circleci.com/u/www.alexwallish.com)\
**Replies:** 1\
**Last updated:** [September 29, 2020, 10:29am UTC](https://discuss.circleci.com/t/having-trouble-deploying-to-digitalocean-from-circleci/36385 "2020-09-29T10:29:23Z")

</div>

I’m very new to circleci and attempting to deploy an application to digital ocean. I want to ssh into the digital ocean machine and then run a deploy script. I’ve tried running a number of different things, but can’t g…

---

## [How to deploy nuxt proj with circleci once have new commit to github](https://discuss.circleci.com/t/how-to-deploy-nuxt-proj-with-circleci-once-have-new-commit-to-github/37541)

<div class="topic-metadata">

**Author:** [@laub1199](https://discuss.circleci.com/u/laub1199)\
**Replies:** 0\
**Last updated:** [September 28, 2020, 6:29am UTC](https://discuss.circleci.com/t/how-to-deploy-nuxt-proj-with-circleci-once-have-new-commit-to-github/37541 "2020-09-28T06:29:22Z")

</div>

Recently I made a dev branch for myrepo in GitHub, I deploy the Nuxt app by running sh deploy-dev.sh in my ubuntu server (digitalocean droplet). I found that manually redeploying my project to the server every time a…

---

## [Node/VueJS deployment](https://discuss.circleci.com/t/node-vuejs-deployment/37426)

<div class="topic-metadata">

**Author:** [@kwesiaryee](https://discuss.circleci.com/u/kwesiaryee)\
**Replies:** 2\
**Last updated:** [September 17, 2020, 9:57am UTC](https://discuss.circleci.com/t/node-vuejs-deployment/37426 "2020-09-17T09:57:02Z")

</div>

Hi, I am very new to circleCi and have managed to build my node/vue application on the circleCI, but very stuck with the deployment stage. I am getting the followig error. Any help will be deeply appreciated. Blockquo…

---

## [Aws-ecs fails to \`Retrieve previous task definition and prepare new task definition values\`](https://discuss.circleci.com/t/aws-ecs-fails-to-retrieve-previous-task-definition-and-prepare-new-task-definition-values/31410)

<div class="topic-metadata">

**Author:** [@arsia](https://discuss.circleci.com/u/arsia)\
**Replies:** 19\
**Last updated:** [September 16, 2020, 1:30pm UTC](https://discuss.circleci.com/t/aws-ecs-fails-to-retrieve-previous-task-definition-and-prepare-new-task-definition-values/31410 "2020-09-16T13:30:43Z")

</div>

I am trying to set up CI/CD for my repo. The config.yml: version: 2.1 orbs: aws-ecr: circleci/aws-ecr@6.1.0 aws-ecs: circleci/aws-ecs@0.0.8 jobs: build: docker: # specify the version you desire here …

---

## [How to upgrade Python version in CircleCI configuration file?](https://discuss.circleci.com/t/how-to-upgrade-python-version-in-circleci-configuration-file/37377)

<div class="topic-metadata">

**Author:** [@itsdeo](https://discuss.circleci.com/u/itsdeo)\
**Replies:** 2\
**Last updated:** [September 11, 2020, 11:34am UTC](https://discuss.circleci.com/t/how-to-upgrade-python-version-in-circleci-configuration-file/37377 "2020-09-11T11:34:16Z")

</div>

Hi there, I am trying to deploy project on AWS EBS using CircleCI. It was deploying till tomorrow. But today CircleCI is throwing an error in “Installing deployment dependencies” Step. I am mentioning error below. Erro…

---

## [Atomic Deployments?](https://discuss.circleci.com/t/atomic-deployments/37230)

<div class="topic-metadata">

**Author:** [@elbsurfer](https://discuss.circleci.com/u/elbsurfer)\
**Replies:** 4\
**Last updated:** [August 31, 2020, 10:25pm UTC](https://discuss.circleci.com/t/atomic-deployments/37230 "2020-08-31T22:25:10Z")

</div>

Hello, I have a repository which consists mainly of a PHP application. But inside that application I have three Vue.js application which needs to be built. What I currently do is, that I have a build.sh script in my re…

---

## [Circle CI Status Ignoring Github Branch Protection Rules](https://discuss.circleci.com/t/circle-ci-status-ignoring-github-branch-protection-rules/36843)

<div class="topic-metadata">

**Author:** [@digitalali-moj](https://discuss.circleci.com/u/digitalali-moj)\
**Replies:** 2\
**Last updated:** [July 28, 2020, 9:18am UTC](https://discuss.circleci.com/t/circle-ci-status-ignoring-github-branch-protection-rules/36843 "2020-07-28T09:18:29Z")

</div>

I have branch protection settings for the master branch set to: WIP ci/circleci: build\_and\_test Everything else is unchecked. However, whatever I do on this page seems to be ignored, and it just waits for the status o…

---

## [Update on GitHub Tag Deployment](https://discuss.circleci.com/t/update-on-github-tag-deployment/35862)

<div class="topic-metadata">

**Author:** [@gDelgado14](https://discuss.circleci.com/u/gDelgado14)\
**Replies:** 3\
**Last updated:** [July 16, 2020, 1:06pm UTC](https://discuss.circleci.com/t/update-on-github-tag-deployment/35862 "2020-07-16T13:06:01Z")

</div>

I found this post, which is exactly what I’m trying to do (i.e. when release is created on github, which creates a git tag, trigger a deployment on circle). I just wanted to ask if there’s been any changes to this, or i…

---

## [Issues with SSH](https://discuss.circleci.com/t/issues-with-ssh/36728)

<div class="topic-metadata">

**Author:** [@bilalsattar24](https://discuss.circleci.com/u/bilalsattar24)\
**Replies:** 7\
**Last updated:** [July 20, 2020, 6:34pm UTC](https://discuss.circleci.com/t/issues-with-ssh/36728 "2020-07-20T18:34:53Z")

</div>

I’m attempting to use SSH to access my server and then perform a “git pull.” The issue I’m having is that once the “ssh $pythonAnywhereUser@ssh.pythonanywhere.com” is performed, the following message appears and theres n…

---

## [How to configure CircleCI Continuous Delivery at scale?](https://discuss.circleci.com/t/how-to-configure-circleci-continuous-delivery-at-scale/36585)

<div class="topic-metadata">

**Author:** [@anthonylhowardjr](https://discuss.circleci.com/u/anthonylhowardjr)\
**Replies:** 0\
**Last updated:** [July 7, 2020, 10:58pm UTC](https://discuss.circleci.com/t/how-to-configure-circleci-continuous-delivery-at-scale/36585 "2020-07-07T22:58:11Z")

</div>

I’m currently working on a project comprised of many teams that commit to a single GIT Master branch daily. We’re building a distributed system with many AWS compute services (SOA). Each one of these services has its own…

---

## [Deploy python application to AWS ECS with EFS](https://discuss.circleci.com/t/deploy-python-application-to-aws-ecs-with-efs/36170)

<div class="topic-metadata">

**Author:** [@ant](https://discuss.circleci.com/u/ant)\
**Replies:** 0\
**Last updated:** [June 1, 2020, 8:24pm UTC](https://discuss.circleci.com/t/deploy-python-application-to-aws-ecs-with-efs/36170 "2020-06-01T20:24:39Z")

</div>

Actually, the app has been deployed already and worked fine until I decided to configure an application user inside a Docker container. It forced me to use mount points for EFS. It is forbidden to specify Root directory …

---

## [Best way to restart tasks in AWS ECS](https://discuss.circleci.com/t/best-way-to-restart-tasks-in-aws-ecs/35957)

<div class="topic-metadata">

**Author:** [@random930](https://discuss.circleci.com/u/random930)\
**Replies:** 0\
**Last updated:** [May 15, 2020, 4:00pm UTC](https://discuss.circleci.com/t/best-way-to-restart-tasks-in-aws-ecs/35957 "2020-05-15T16:00:52Z")

</div>

I have an AWS ECS cluster, with a service and a task definition. The definition includes two containers whose images are managed in AWS ECR. I’m already using CircleCI to upload images to that AWS ECR, tagged “latest”. …

---

## [Can't add SSH key to command](https://discuss.circleci.com/t/cant-add-ssh-key-to-command/35953)

<div class="topic-metadata">

**Author:** [@Krapalniy](https://discuss.circleci.com/u/Krapalniy)\
**Replies:** 1\
**Last updated:** [May 15, 2020, 3:34pm UTC](https://discuss.circleci.com/t/cant-add-ssh-key-to-command/35953 "2020-05-15T15:34:31Z")

</div>

I try to push code to the server via git ftp tool. But I can’t add key. I have already add ssh key to “Additional SSH Keys” and use command add\_ssh\_keys and fingerprints this key. BUT I DON’T know how to add this to comm…

[Previous page](https://discuss.circleci.com/c/deployment/17.md?page=3)

[Next page](https://discuss.circleci.com/c/deployment/17.md?page=5)
