Questions tagged [circleci-orb]

23 questions
2
votes
1 answer

How can I create several executors for a job in Circle CI orb?

NOTE: The actual problem I am trying to solve is run testcontainers in Circle CI. To make it reusable, I decided to extend the existing orb in my organisation. The question, how can I create several executors for a job? I was able to create the…
1
vote
0 answers

Passing pipeline parameters to orb CircleCI

I'm trying to run my E2E tests via an API call at staging deploy using this blog tutorial: https://circleci.com/blog/pipeline-orchestration-circleback/ My E2E pipeline relies on the cypress orb, full code below: version: 2.1 parameters: …
Abraham P
  • 15,029
  • 13
  • 58
  • 126
1
vote
1 answer

Share a file between two workflows in CircleCI

In our repo build and deploy are two different workflows. In build we call lerna to check for changed packages and save the output in a file saved to the current workspace. check_changes: working_directory: ~/project executor: node …
1
vote
0 answers

Unable to deploy static website using CircleCI

Summary: I'm trying to automate the deployment of a static site (gatsby) to an S3 bucket using a CircleCI orb, but I keep getting the following error: #!/bin/bash -eo pipefail aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID --profile…
1
vote
1 answer

CircleCI: Cannot find a definition for executor named ubuntu?

I am trying to extend the orb that is already in use. We have used Docker before but now want to use a machine executor and maybe a windows executor in the future. I go through the documentation, but it is not clear if it is possible to have…
0
votes
2 answers

CircleCi Orb browser tool is failing

in my .circleci/config.yml I have specified this orb: browser-tools: circleci/browser-tools@1.4.3. It is failing due to the following error: Installed version of Google Chrome is 116.0.5845.140 ChromeDriver 116.0.5845.140 will be…
0
votes
0 answers

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 on the emulators, which were installed on the same…
PraNuta
  • 629
  • 3
  • 12
  • 33
0
votes
0 answers

Why aren't my access key and secret access key not changing for each deploy?

Im trying to create deployments for 4 different AWS account, so I created 9 enviroment variables, 2 for each AWS account, which are access key id and secret access key id, because they're all different, and the 9th is the variable that contains the…
0
votes
0 answers

Not to trigger circleci workflow when changes are from static files

I am having a workflow that i only want to trigger if the changes are not only coming from static files like below in codemagic. jobs: my_job: docker: - image: circleci/python:3.8 working_directory: ~/repo steps: -…
Nazehs
  • 478
  • 1
  • 10
  • 19
0
votes
1 answer

How can we group cypress specs using tags and run groups in parallel on circleci?

Suppose I have the following it blocks. I have added some tags to group the tests. I need to run all the specs having "Group1" tag on one machine. And those having "Group2" tag in the other machine. Basically, I need to run Group1 and Group2 in…
0
votes
0 answers

How do I use terraform output as AWS orb input parameters for a circleCI workflow?

A common flow for setting up terraform/aws CI deployments is to use terraform to deploy your infrastructure and circle to handle deployments to AWS. Most examples I have seen using this flow will manually take the outputs from running terraform…
0
votes
0 answers

CircleCI mongo executor failed

I used the new Circle v2.1 format, and declare an executor using the latest OpenJDK and mongo, but the mongo container always failed when running the pipeline. version: 2.1 orbs: maven: circleci/maven@1.4.0 codecov:…
Hantsy
  • 8,006
  • 7
  • 64
  • 109
0
votes
0 answers

BATS test helpers can't be loaded in orb

I'm have a custom orb, and for testing shell scripts I'm using bats orb. I'm including helpers into my test like in their tutorial. Here is my orb test job - bats/run: formatter: junit path: ./src/tests timing: true And here is…
magnagag
  • 94
  • 8
0
votes
1 answer

How to use variables with a circleci orb?

I am using the codedeploy orb to deploy my application to AWS and instead of hardcoding the values in there like application-name etc, i am trying to pass variables instead but the orb doesn’t seem to be respecting the variables. This is my…
Somethingwhatever
  • 1,390
  • 4
  • 32
  • 58
0
votes
1 answer

How to add multiple args in the Cloud run orb in CircleCI?

I am trying to add the flags that are mentioned in the GCP's cloud build deploy using the gcp-cloud-run orb. The documentation mentions the use of args to add the flags. The build was completed successfully with the service getting deployed but none…
1
2