Questions tagged [cumulusci]
Questions related to the CumulusCI build automation and continuous integration toolchain.
55
questions
1
vote
1
answer
34
views
Deploying flows through CumulusCI
I have a full Salesforce repository in Vs Code that I deployed with the command cci task run deploy. I had some issues including a recent change of mine which included a new Quick Action that runs a ...
0
votes
1
answer
39
views
Getting NamespacePrefix as null while running run_tests task with cumulusci
I am trying to run apex test with CumulusCI, I am running on Unmanaged code(Scratch orgs)
I have set my name space in cumulusci.yml
minimum_cumulusci_version: '3.1.2'
project:
name: AmpImpact
...
0
votes
0
answers
48
views
Can CumulusCI Migrate Files?
I'm using CumulusCI to automate org setup, deployment and data migration. This is all working great but I have run into a problem using the tool to migrate files.
Is this a known limitation of ...
6
votes
1
answer
196
views
cumulusci commit message not generated
I'm trying to run build_unlocked_test_package flow, followed by qa_org_unlocked. I don't get any commit status created automatically and I'm not sure how to generate it properly so that the resolver ...
0
votes
0
answers
62
views
CCI set default username when creating a scratch org
I started reading the documentation from Cumulus CI and I'm a little confused about the process to create scratch orgs. My company already has a cumulus.yml file setup for github actions but some ...
1
vote
0
answers
35
views
ESLint/prettier conflict when using cumulusci namespace placeholder in Apex
I am getting the below error when I run npm run prettier and when I commit (since I have a husky hook) a couple of Apex classes that use namespace placeholders .
Error: Found punctuation symbol or ...
0
votes
1
answer
117
views
CumulusCI: Error: Could not process MDAPI response, but was not found in zipped directory
I have set up this structure of metadata to be deployed as a pre step, before I can push the main code. Please note that this package is dependent on another package, which is already deployed.
And ...
0
votes
1
answer
55
views
CumulusCI - how to run a packaging deploy with check_only false?
We are currently running into issues where we are not catching test failures due to the NAMESPACE issues until we try and deploy to the packaging org.
We have GitHub actions working on merging to a ...
0
votes
1
answer
52
views
CumulusCI - Data Automation in pipeline?
I recently starting evaluating CumulusCI to see if it meets our data automation needs. One use-case is populating new sandboxes with a bunch of foundational data (e.g. schools, academic majors, ...
1
vote
2
answers
120
views
Does CumulusCI help with the deployment of per version layout and flexi-page changes?
I'm wondering what the best way to use CumulusCI is to deploy changes that managed package upgrades usually skip. The common problem areas are:
Layouts
Flexipages
Picklist values
We package daily ...
0
votes
0
answers
35
views
CumulusCI 2GP Beta Release Permissions Issue
I have some unit tests failing during a 2gp beta release due to the running test user not having the proper field-level permissions. I've followed the documentation here and defined the permission set ...
0
votes
1
answer
35
views
Does CCI support Patch Org management?
I have inherited a cumulus ci project and can see that the process for creating scratch orgs and pushing releases to the packaging org is all set up.
However, it looks like some scripts are being used ...
0
votes
0
answers
25
views
Getting CumulusCI error "root path '/Users/.../.cci/snapshot' does not exist" when running command "cci task run list_changes --org dev"
I'm going through the "Build Applications with CumulusCI" Trailhead module. On the "Make and Capture Customizations to Your App" exercise, I made all of the requested changes to ...
0
votes
0
answers
37
views
How to pass org name dynamic in cumulus standard command task
I am using cumulus standard command task to delete my org (cci org scratch_delete )
But I am not getting how to pass the dynamic org name there?
delete_scratch_org:
description: delete the ...
1
vote
1
answer
158
views
What's the right way to data-load sample data from a CumulusCI dependency
I've spun up a bare-bones CumulusCI scratch org where cumulusci.yml says:
dependencies:
- github: https://github.com/SalesforceFoundation/EDA
- github: https://github.com/SFDO-Community/...
0
votes
1
answer
24
views
Turning off Visual Flows through CCI
I would like to load large datasets using Snowfakery and CCI into a testing environment. There are some flows in the org that fail and prevent the data from getting loaded. What I am trying to figure ...
1
vote
1
answer
56
views
error running robot script from Github Actions using connected app
I followed this article (JWT Flow Authorization) but I am getting the following error:
Error: Error retrieving access token:
{"error":"invalid_grant","error_description":&...
0
votes
1
answer
399
views
CCI scratch org management
Community!
I have some annoying issue with scratch org management with Cumulus CI and your help will be appreciated very much.
I work with VS Code 1.71.0, sfdx-cli/7.166.1 win32-x64 node-v16.17.0, ...
0
votes
1
answer
56
views
Dataset load issue with Person Accounts and Business Accounts
I generated mapping and extracted dataset based on the mapping, but now when I am trying to load it, it keeps failing on Person Account fields. I suspect it is because both the Person Accounts and ...
1
vote
1
answer
100
views
Is it possible to authenticate your packaging orgs using a connected app in your DevHub org using jwt auth flow?
We are using github actions and cumulusci as part of our ci/cd pipeline. In each of our repositories (packages in SF context), we have a .github/workflows folder and inside it are our yaml files that ...
0
votes
0
answers
75
views
Cumulus CI: Error: 'xxxxxx__StudentAssignment__c_sf_ids'
While trying to load data using Cumulus CI, I am getting below error:
Error: 'xxxxxx__StudentAssignment__c_sf_ids'
I checked the cci.log file, and this is the stacktrace:
Error: '...
0
votes
1
answer
230
views
Getting "Error: no such option: --extra" for cci task run dx_push --extra -f
I am trying to push the force-app directory metadata into a scratch org,I am getting below error when I run cci task run dx_push --extra -f
ci task run dx_push --extra -f
Error: no such option: --...
1
vote
1
answer
194
views
Cumulus CI Flow has become very slow deploying force-app to a new scratch org - what might affect the speed it processes?
Is anyone else experiencing Cumulus CI Flow delays, particularly in deploying force-app data to a newly created scratch org?
Have you ever had a Cumulus CI flow suddenly take a lot longer to run? Was ...
0
votes
1
answer
166
views
Creating second generation package - stuck on Initializing
When we try to create a second generation package using CumulusCi we get stuck on the initializing part. This use to work fine but stopped working all at once. The steps to recreate is below. We also ...
1
vote
1
answer
199
views
CumulusCI: Assign record types for profile
I am trying to automate the creation of scratch org using Cumulus CI where we are deploying the Education Cloud package, and we are successfully able to deploy the EDA as well as the unmanaged package ...
1
vote
1
answer
137
views
Cumulus CI: Automate Data Operations to associate parent record with child
I was going through the documentation to automate data operation by loading the dataset that I am currently working on. Everything looks fine, but there is a use case where I am stuck.
There is a ...
2
votes
2
answers
603
views
Help with SFDX 2GP release version error: "You cannot install an unlocked package without a namespace into an org with a namespace."
I am trying to release an Unlocked 2GP package that has an Unlocked package dependency (UnofficialSF component), and when SF servers verify the dependencies I get the same error every time:
Error: You ...
1
vote
1
answer
358
views
CumulusCI: Connect to org by specifying username and password right in command line
According to CumulusCI docs it is possible to connect to persistent org, but this requires opening web browser and typing your creds in SF log-in form.
Is there any way to provide username and ...
3
votes
1
answer
487
views
How do I set "enableHistory" to "true" on a managed object in a scratch org?
I'm trying to run the following code:
cci task run deploy --path force-app\main\default\objects\ExpensivePackage__Their_Custom_Object__c --org my_scratch_org_alias
Against an ...
3
votes
1
answer
122
views
snowfakery INVALID_CROSS_REFERENCE_KEY error when doing Insert PermissionSetAssignment
I am trying to create some test data with snowfakery. I am creating users with the snowfakery recipe below.
I am creating 1 user, then another user as a 'friend' so I can set the manager field on the ...
1
vote
1
answer
64
views
Bulk upload data with cumulusci
I am trying to bulk upload data with cumulusci.
Is there any command to enable bulk mode?
Any thing to append in the json while inserting the data
1
vote
1
answer
300
views
How do I add active TDTM trigger handler records to an org with CumulusCI?
EDA and NPSP come with Table-Driven Trigger Management (TDTM), a trigger framework that uses records in a custom object to track which "trigger handler" Apex classes are active, rather than, ...
3
votes
1
answer
158
views
CumulusCI error - 'utf-8'
When I try to run command like cci service connect github or cci org scratch dev <alias> --default I've received error
'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte
I ...
1
vote
1
answer
154
views
CumulusCI 'utf-8' error
When I try to run command like cci service connect github I've received error 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte. I am working on WSL. CumulusCI version: 3.44.1. ...
2
votes
1
answer
666
views
Scratch org creation hangs
In the past weeks we are observing a lot of issues when creating a scratch org. It seems cumulusci or sfdx hangs during the scratch org creation:
Executing command: cci org scratch dev master ...
4
votes
1
answer
4k
views
"ERROR running force:source:push" when doing "cci task run dx_push" to a Developer edition org
I am doing trailheads
https://trailhead.salesforce.com/en/content/learn/projects/quick-start-lightning-web-components/create-a-hello-world-lightning-web-component?trail_id=build-lightning-web-...
2
votes
1
answer
136
views
Generate sfdxAuthUrl from CumulusCI
I'm looking into a way of handle automatic access token refresh for a scratch org and sfdx auth:sfdxurl:store looks like a good candidate. This command requires a sfdxAuthUrl.
When I sfdx auth:web:...
2
votes
1
answer
181
views
Cumulus CI deletes custom list views from production
I'm using Cumulus CI to push our metadata changes to our production Salesforce app using cci flow run dev_org --org production and this generally works fine.
I have a custom object called Print_Job__c ...
1
vote
0
answers
131
views
Setting the mydomain login page url in Scratch org via SFDX or CCI
I'm trying to build out a scratch org definition/ cci project and I'm wanting to set the sidebar URL of the main login screen, you set that in the My Domain page, however it doesn't appear to be ...
0
votes
1
answer
266
views
Cumulus CI: Cannot connect sandbox org after upgrade to latest version (3.35.0)
We are playing around with Cumulus CI and trying to connect our existent sandbox org to be able to execute different Cumulus commands against it.
Running the following command according to ...
1
vote
1
answer
199
views
CumulusCI trailhead challenge stuck due to cci error
I'm new to SF and CumulusCI and I'm learning it through trailhead. I'm currently stuck with the challenge "Get Ready to Release Your Managed Package" in the "CumulusCI for Managed ...
0
votes
1
answer
383
views
Cumulus CI:Logging into an Org(Sanbbox) is error out
I am using Cumulus CI to try robotframework for salesforce automation. Following https://cumulusci.readthedocs.io/en/latest/tutorial.html as a reference to configure the sandbox.
Everything went well ...
0
votes
1
answer
140
views
Load PricebookEntry in empty Scratchorg with Cumulusci
When generating a .yml file with generate_dataset_mapping with cumulusci it resolves in following code(sample):
Insert Product2:
sf_object: Product2
table: Product2
fields:
Id: sf_id
...
2
votes
0
answers
405
views
Lighting web component UI testing with robotframework-selenium: Not able to interact with LWC element
I am trying to automate a page with LWC, But due to shadow DOM, I am able to interact with element.
Is there a way where we can interact with the element.
2
votes
1
answer
92
views
Error when Merges the latest commit on the master branch into all open feature branches
I am trying to merge the latest commit on the master branch into all open feature branches but I am getting error for cci task run github_parent_to_children and github_master_to_feature
C:\AutoMerge>...
2
votes
2
answers
5k
views
Expected 1 non-named argument, got 0 error while inserting data using CumulusCI
I am trying to insert data in the ORG,
I am creating Dectionary of **kwargs
${Dist}= Create Dictionary Project__c=${Project_Id} Description__c=Test Data_Type__c=Percent ...
1
vote
1
answer
270
views
CumulusCI: Intermittent Keychain Error Observed on CircleCI
I'm trying to run CCI commands on CircleCI.
First command executes without issue:
cci flow run qa_org --org dev
Second command errors out:
env/bin/cci task run robot --org dev -o suites[..]
Does ...
0
votes
1
answer
231
views
scratch org is getting created on cci task run robot command
I am trying to run a robot test on CircleCI using the command cci task run robot, but it is creating the fresh org again as it executes.
I am using below commands,
venv/bin/cci flow run qa_org --org ...
0
votes
1
answer
2k
views
Element has an invalid reference error while pushing the code using CCI command
I am trying to push the code using cci flow run qa_org --org dev command, But it is giving me Element has an invalid reference error
Running command: sfdx force:source:push -u test-xxxxxxxxxxxx@...
0
votes
1
answer
316
views
How to push code to an org using a CCI command?
I am trying to run a robot test on CircleCI using the command cci task run robot, but it is creating the fresh org again as it executes.
How can I push the code to a newly created org?
This is the ...