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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

Grouping logs in CircleCI

Some CI providers have a way of grouping logs into collapsible segments, making reading long log outputs easier. For example, GitHub has something like this: ::group::{section title} {logs that should ...
Miroslav Jonas's user avatar
0 votes
1 answer
10 views

React Native CircleCI pipeline is always failed (Android)

I am using CircleCI to send APK to QA testers via AppCenter, but when I've upgraded to the RN 0.72 the build is always failing my confi.yml is: version: 2.1 jobs: node: ...
Hamza Hmem's user avatar
0 votes
0 answers
25 views

circleCI permission denied after updating build tools image version

just inherited a drupal site using circleCI to deploy to Pantheon. Am needing to update the php to version 8.1+ Build tools image was originally set to: quay.io/pantheon-public/build-tools-ci:7.4.x ...
matthew.collins's user avatar
0 votes
0 answers
21 views

iOS- Cannot Run Test Plan on CI tool

I am looking for help with using TestPlans in my ci tool. My workspace consists of my main project and 2 frameworks, that are linked to my main project. I am using fastlane to run my test lane ...
kawaxman's user avatar
0 votes
0 answers
28 views

How can I trigger my repo's deployment based on a third party repo I don't control?

How can I trigger my repo's deployment based on a third party repo I don't control? I have my project, which is dependant on some repository I don't control (a repository full of publicly available ...
Tomasz Gałkowski's user avatar
0 votes
0 answers
22 views

How to add more storage to my job using GKE Autopilot

I'm trying to setup a cluster to run CircleCI jobs on GKE. I have no experience with kubernetes. I managed to setup the cluster on GKE and to use the CircleCI-provide helm chart. Now my jobs launch ...
Corentin S.'s user avatar
  • 5,820
0 votes
0 answers
12 views

Handling multiple CircleCI workflows with a shared jobs

How can I trigger some job that requires another job in another CircleCI workflow in the same project? For example: workflows: version: 2 build: jobs: - build: name: "...
Idan QA's user avatar
  • 53
0 votes
0 answers
19 views

Can't run gremlin-server on CircleCI

I'm trying to run gremlin-server as a secondary container in my CircleCI build, but can't seem to connect to it from my primary container. My config looks as follows: jobs: checks: docker: ...
lucasjames92's user avatar
-1 votes
1 answer
46 views

How to interface a Maven project with Jacoco/codecov on CircleCI?

I have this repository and cannot make test coverage via Jacoco and put those test coverage files in codecov. My attempt is: version: 2.1 orbs: codecov: codecov/[email protected] workflows: upload-to-...
coderodde's user avatar
  • 1,359
-1 votes
0 answers
37 views

How to SSH into CircleCI and debug Cypress tests failing?

We have a fairly simple monolith Rails app consisting of a backend and a frontend portion. Locally, we start the backend with rails s (after starting some backend services like postgres), and we start ...
Alien's user avatar
  • 1,000
0 votes
0 answers
48 views

Use Circle CI environment variable in string literal as part of a command parameter

I am new to Circle CI and all CI in general. I would like to call an rsync command with a custom port number using an envronment variable ($SSH_PORT) like so: - run: rsync -ru -e 'ssh -p ${SSH_PORT}' ~...
peterpie's user avatar
  • 101
0 votes
1 answer
45 views

Gitversion issues with incrementing version

I have a circleci pipeline that process a net core project and generate a nuget package. I followed the steps in this great tutorial https://renatogolia.com/2022/12/23/publish-nuget-package-with-...
Mauro Alvarez's user avatar
0 votes
2 answers
49 views

grep over docker compose logs returns 255 exit code unexpectedly in until loop on CircleCI

For my application, I am using kafka, and I wanted a way to make sure that I was properly awaiting it being ready before trying to run the application e2e tests in our CI test suite. To accomplish ...
MasterOdin's user avatar
  • 7,306
0 votes
1 answer
60 views

check circleci's docker container memory usage

I am building and testing code through circleci on github. As shown below, docker executor is specified and used for testing. // in .circleci/config.yml executors: test_executor: docker: - ...
DK2's user avatar
  • 651
1 vote
0 answers
31 views

how to configure CircleCI with custom yml or existing orb to release to github packages

Looking for existing solution to be able to release a java library to github packages, currently Im able to deploy(with snapshot) but now i want to be able to release a new version, this is the ...
daniel's user avatar
  • 13
0 votes
0 answers
127 views

Exit code: ENOENT. spawn prlctl ENOENT failedTask=build stackTrace=Error: Exit code: ENOENT. spawn prlctl ENOENT

While implementing ci/cd pipeline for my electron application through circleci I am facing this error Exit code: ENOENT. spawn prlctl ENOENT failedTask=build stackTrace=Error: Exit code: ENOENT. ...
Bhavanish Reddy's user avatar
1 vote
1 answer
489 views

ArgoCD Callback To Pipeline

What I want is to have ArgoCD approve a job that is in the approval step in CircleCI when a deployment was successful. However, this has been a multi week journey with no results. I first looked at ...
wesleywh's user avatar
  • 1,103
0 votes
2 answers
284 views

CircleCi Orb browser tool is failing

in my .circleci/config.yml I have specified this orb: browser-tools: circleci/[email protected]. It is failing due to the following error: Installed version of Google Chrome is 116.0.5845.140 ...
oldmanowl's user avatar
  • 144
0 votes
0 answers
83 views

Illegal option -o pipefail on CircleCi

I am using circleci for CI CD, and here I am running a shell script. Their website says we should use these as best practices, #!/usr/bin/env bash # Exit script if you try to use an uninitialized ...
ashraf minhaj's user avatar
0 votes
0 answers
18 views

Duplicate resources error on Android when running fastlane in CircleCI

I'm receiving the error duplicate resources when I run the command below in the CircleCI: react-native bundle app:mergePrototypeReleaseResources is the failed task and the message below says the ...
dlc's user avatar
  • 1
0 votes
0 answers
27 views

How to close Amplify PR preview website once the new commit is pushed?

I'm setting Amplify for reviewing PRs in the deployed website and also I have CircleCI with Cypress tests. The current structure of my project is once a PR is raised, Amplify deployment starts and at ...
plzfday's user avatar
  • 23
0 votes
1 answer
52 views

Issue with CircleCI Script: Permission Denied, Token Decoding Error, and Exit Code 1

I'm encountering a set of errors in my CircleCI script that involves fetching data from Jira and performing some actions based on the retrieved information. The script aims to perform various tasks, ...
Ayesha Khan's user avatar
0 votes
1 answer
19 views

Issue with Geckodriver Installation in CircleCI Deployment

How can I fix this issue? I'm encountering an issue while deploying my code on CircleCI. I made changes to my code and included geckodriver installation. The code works locally, but when I try to ...
Shehan Jayalath's user avatar
1 vote
0 answers
61 views

Deployment to the application failed in build_and_push_image-2 circleci

Issue : Deployment to the application failed in build_and_push_image-2 Pipeline : Circle-CI Hosted Environment : EKS Docker Image : node: 12.22.10-stretch-slim Error : Command "python setup.py ...
Anudeep Duddu's user avatar
0 votes
0 answers
26 views

How to create a machine user with access to project repo and keys repo for iOS build in CircleCI

I'm building an iOS app and uploading some artifacts using Fastlane (Scan and Gym). It all looks good except I need to give my repositories in CircleCI a 'User Key' which has access to both my iOS ...
lacking-cypher's user avatar
0 votes
0 answers
22 views

Can I group CI steps together so that failing one of them will prevent next steps from running but not fail the job?

We use CircleCI configuration version 2.1. I have a command consisting of several steps, but it's just to send some Slack notifications; it shouldn't fail the build if the command itself fails. I can ...
Alexey Romanov's user avatar
0 votes
0 answers
87 views

Docker logs not displayed in the mounted log file

We are having some services running in docker containers on an EC2 machine (Linux based). These containers are deployed using CircleCI. Following is the circle CI config.yml version: 2 jobs: deploy: ...
ShwetaJ's user avatar
  • 488
0 votes
1 answer
176 views

How to run circle ci only on PR and not on merge.?

Is there any way to run circle ci build only when the pr raised to a specific branch and not on when merged to the branch.
Ranjith's user avatar
  • 145
0 votes
1 answer
110 views

CircleCI failing for docker command not found

I am having a maven project previously built using bitbucket pipeline. I want to migrate it to circleCI. My config file looks like as follow version: 2.1 orbs: docker: circleci/[email protected] # ...
Kuldeep Yadav's user avatar
0 votes
0 answers
37 views

Appium + WDIO + CircleCI unable to connect to Android device diring test

During my try to integrate Appium + WDIO + CircleCI in order to execute tests on Android mobile simulator I am getting following error: "Request failed with status 500 due to An unknown server-...
Yakov's user avatar
  • 1
0 votes
1 answer
105 views

Maven clean install in CircleCI

I am trying CircleCI to set build pipeline for my maven project. The intent is to run mvn clean install -s settings.xml my config.yml looks like following version: 2.1 orbs: maven: circleci/maven@1....
Kuldeep Yadav's user avatar
0 votes
0 answers
20 views

Pushing a cloned git tag to heroku

As part of my continuous integration process, I am trying to push to Heroku the latest tag from my github: ./git-clone-latest-tag [email protected]:user/repo.git ~/api cd ~/api git checkout -b master git ...
Carlo's user avatar
  • 400
0 votes
1 answer
68 views

Deploy docker [kubernet]

I am using kubernet with circleci to deploy docker. When I run the command "./bin/kubectl rollout status deployments/prj5-deploy --timeout=2700s" it runs for about 20 minutes and gives an ...
alex's user avatar
  • 41
0 votes
0 answers
15 views

Circleci workflow development using multiple yml script pipelines

I am having a task of putting both my own test automation code from GitHub and **DEV team-developed application bundles .apk, .ipa bundles available at the Circleci server in the cloud, install them ...
PraNuta's user avatar
  • 629
0 votes
1 answer
56 views

How to use CircleCI's ecs orbs to do actual ticketing of depends_on

I am currently deploying with CircleCI using ECS orbs. Here are the contents of config.yaml. version: 2.1 orbs: aws-ecr: circleci/[email protected] aws-ecs: circleci/[email protected] jobs: dev-ecr-...
kyoshida's user avatar
  • 223
4 votes
1 answer
2k views

When I build Go Image with CircleCI, I get runtime/cgo: pthread_create failed: Operation not permitted

I was building and pushing Docker Image to ECR with CircleCi, and it was working fine until June, but since July, I started getting the following error. + docker buildx build -f ././docker/deploy/go/...
kyoshida's user avatar
  • 223
0 votes
1 answer
43 views

Difference in app.jar size when building the jar in circleci build and deploying to app service v/s when looking under wwwroot on appservice host

I have a java spark web service that I am building using gradle. I am trying to build and deploy the jar to azure app service using circleci. Upon adding intermediate 'ls' within my circleci tasks, I ...
thalaivva's user avatar
2 votes
2 answers
4k views

initdb: error: program "postgres" is needed by initdb but was not found using circleci ubuntu docker-compose docker-entrypoint-initdb.d

I am using docker-compose on circleci to spin up a postgres container with a bunch of sql files mounted on /docker-entrypoint-initdb.d/. I am using an ubuntu machine image: ubuntu-2004:202010-01, but ...
valcapp's user avatar
  • 341
0 votes
1 answer
164 views

How can I properly escape a CircleCI parameter to use it inside a JSON string?

I have a CircleCI command wrapping slack/notify. Let's simplify it to commands: slack-message: parameters: message: type: string steps: - slack/notify: custom: |...
Alexey Romanov's user avatar
0 votes
0 answers
21 views

CicleCI trouble with buldah build

There was a problem with the image build in CircleCI, I don't understand why it doesn't work with the ruby ​​image Here proplem - buildah bud -f ./Dockerfile -t hiq-intelligence-api:83948762 STEP 1/...
ggg's user avatar
  • 13
1 vote
0 answers
34 views

Is there a workaround for running a step/job upon the cancellation of a build in CircleCI?

After some research on the CircleCI docs, it seems that there is no native way to run a job/command/script/step upon the cancellation of an entire build. This is a critical issue for my pipelines ...
codeing_monkey's user avatar
0 votes
1 answer
64 views

How to run all the tests specified in files with a naming convention like *_unit_test.go in a Golang project?

I run go tests for a large project on ci. It takes around 30mins to complete. For some branches, I just need to run tests in *_unit_test.go file. go test -run takes a regexp of the test name not file ...
guy_fawkes's user avatar
0 votes
0 answers
22 views

Can't run bundle exec rake db:create in circleCI

I am trying to run bundle exec rails yarn:instal but it fails. I am using image: postgres:latest and also have environment defined. I have installed postgres client too. My database.yml configuration ...
irakli182's user avatar
0 votes
0 answers
117 views

Error in CircleCi Integration on symfony app

Problem : Hello everyone, I have an error in integrating circli on my symfony project. It can't build because there is a problem between composer.lock and composer.json Project structure: -root ...
Théo Pantecouteau's user avatar
0 votes
1 answer
202 views

How to know if Gradle tasks are running in CI (Jenkins/CircleCI/etc.)

I want to detect if the Gradle tasks are running on local env or CI env in build.gradle. Is there any proper way like System.getenv("some ci key")!=null can help me know the env? Like this ...
user2699165's user avatar
0 votes
0 answers
44 views

Build And Push Image To GHCR From CircleCI

At steps: export CR_PAT='xxx' echo $CR_PAT | docker login ghcr.io -u xxx --password-stdin When use this code to build and push image, my personal access token on github removed itself. How to do it in ...
Steven Alexander's user avatar
0 votes
0 answers
29 views

On github, how do I check that all the circleci optional jobs are done runnning?

tl;dr; Does Github support a branch protection rule that waits for all optional CircleCI jobs to be done? If not, how can I create a "final" (dummy) job in CircleCI that triggers once all ...
Finch_Powers's user avatar
  • 2,968
0 votes
0 answers
31 views

Parsing parameters into CircleCI workflow from UI

I am running the below command in my config.yml terraform import aws_ssoadmin_account_assignment.<< pipeline.parameters.account_assignment >> << pipeline.parameters....
Devang Sanghani's user avatar
1 vote
0 answers
388 views

How to connect to AWS ECR via CircleCI

I'm trying to authenticate a CircleCI pipeline with AWS and I followed this guide to achieve that. The summary of this guide is: Create an OIDC identity provider Add aws-cli orb to the CircleCI ...
Fabio Milheiro's user avatar
0 votes
0 answers
97 views

extraneous key [context] is not permitted in circleCI?

I am getting below error on CircleCI page as I am totally new to it. And I have to make it working. Let me know what would be solution to fix this issue. Config.yml version: 2.1 orbs: slack: ...
Prashant's user avatar
  • 1,349

1
2 3 4 5
38