Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into feature/2gp-feature-test #289

Open
wants to merge 3 commits into
base: feature/2gp-feature-test
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
/browser_tests
/test_results.xml
.DS_Store
src
vlocity-temp
92 changes: 90 additions & 2 deletions cumulusci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,28 @@ tasks:
description: Dummy task for UX testing
class_path: cumulusci.tasks.util.Sleep
options:
seconds: 10
seconds: 10
outbound_funds:
description: Dummy task for UX testing
class_path: cumulusci.tasks.util.Sleep
options:
seconds: 5

install_vbt:
description: Install VBT Package (for migrating OmniStudio components)
class_path: cumulusci.tasks.salesforce.InstallPackageVersion
group: OmniStudio
options:
namespace: vbtapp
version: "1.3"
name: VBT App
install_omnistudio:
description: Install OmniStudio
class_path: cumulusci.tasks.salesforce.InstallPackageVersion
group: OmniStudio
options:
namespace: omnistudio
version: "234.4"
name: OmniStudio

flows:
ci_test_concurrency:
Expand Down Expand Up @@ -526,3 +541,76 @@ flows:
options:
task_name: not_implemented

test_metadeploy:
description: A flow that tests happy-path MetaDeploy capabilities
steps:
1:
task: install_omnistudio
2:
task: install_vbt
3:
task: deploy
options:
path: force-app
4:
# Validate we can shell to sfdx
task: dx_convert_from
5:
# Validate we can run a VBT task
task: vlocity_pack_export
options:
job_file: jobfile.yaml
# Wait steps so we can make this plan take time if we need to test concurrency or safe restarts.
6:
task: util_sleep
options:
seconds: 300
ui_options:
is_required: false
is_recommended: false
7:
task: util_sleep
options:
seconds: 300
ui_options:
is_required: false
is_recommended: false
8:
task: util_sleep
options:
seconds: 300
ui_options:
is_required: false
is_recommended: false
9:
task: util_sleep
options:
seconds: 300
ui_options:
is_required: false
is_recommended: false
10:
task: util_sleep
options:
seconds: 300
ui_options:
is_required: false
is_recommended: false

orgs:
scratch:
e2e:
config_file: orgs/e2e.json

plans:
install:
tier: primary
slug: install
title: Install
allowed_org_providers:
- devhub
- user
description: This is a test installation plan. Do not run this plan on a real Salesforce org.
steps:
1:
flow: test_metadeploy
3 changes: 3 additions & 0 deletions jobfile.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
projectPath: omni
queries:
- VlocityDataPackType: IntegrationProcedure
60 changes: 60 additions & 0 deletions metadeploy/labels_en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"product": {
"title": {
"message": "CumulusCI-Test",
"description": "name of product"
}
},
"plan:install": {
"title": {
"message": "Install Test Plan",
"description": "title of installation plan"
}
},
"steps": {
"Install {product} {version}": {
"message": "Install {product} {version}",
"description": "title of installation step"
},
"Deploy unpackaged/pre/account_record_types": {
"message": "Deploy unpackaged/pre/account_record_types",
"description": "title of installation step"
},
"Deploy unpackaged/pre/opportunity_record_types": {
"message": "Deploy unpackaged/pre/opportunity_record_types",
"description": "title of installation step"
},
"dx_convert_from": {
"message": "dx_convert_from",
"description": "title of installation step"
},
"unschedule_apex": {
"message": "unschedule_apex",
"description": "title of installation step"
},
"update_package_xml": {
"message": "update_package_xml",
"description": "title of installation step"
},
"deploy": {
"message": "deploy",
"description": "title of installation step"
},
"uninstall_packaged_incremental": {
"message": "uninstall_packaged_incremental",
"description": "title of installation step"
},
"Deploy unpackaged/post/salesforce1": {
"message": "Deploy unpackaged/post/salesforce1",
"description": "title of installation step"
},
"Update Admin Profile": {
"message": "Update Admin Profile",
"description": "title of installation step"
},
"check_chatter_enabled": {
"message": "check_chatter_enabled",
"description": "title of installation step"
}
}
}
16 changes: 16 additions & 0 deletions orgs/e2e.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"edition": "Developer",
"orgName": "CumulusCI-Test Dev Workspace",
"features": [
"OmniStudioDesigner",
"OmniStudioRuntime"
],
"settings": {
"chatterSettings": {
"enableChatter": true
},
"lightningExperienceSettings": {
"enableS1DesktopEnabled": true
}
}
}