Skip to content

Commit

Permalink
Add sample survey to MetaDeploy (#26)
Browse files Browse the repository at this point in the history
* Fix unpackaged deployment error
* Fix path
* Add step to install sample surveys
  • Loading branch information
shunkosa authored Jan 10, 2023
1 parent c693c79 commit ff9d4c0
Show file tree
Hide file tree
Showing 58 changed files with 15 additions and 27 deletions.
16 changes: 10 additions & 6 deletions cumulusci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ tasks:
options:
required_org_code_coverage_percent: 0

deploy_post:
ui_options:
sample_surveys:
name: GRMS - Sample Surveys
is_required: False
is_recommended: False
deploy_sample_surveys:
description: GRMS - Sample Surveys
group: Salesforce Metadata
class_path: cumulusci.tasks.salesforce.Deploy
options:
path: unpackaged/config/sample_surveys

flows:
config_apextest:
Expand All @@ -47,6 +47,10 @@ flows:
task: install_managed
options:
security_type: NONE
2:
task: deploy_sample_surveys
ui_options:
is_required: False

plans:
install:
Expand Down
2 changes: 1 addition & 1 deletion sfdx-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"path": "test"
},
{
"path": "grms-sample-surveys"
"path": "unpackaged/config/sample_surveys"
}
],
"namespace": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<layoutColumns>
<layoutItems>
<behavior>Edit</behavior>
<field>%%%NAMESPACE%%%FieldWorker__c</field>
<field>GRMS__FieldWorker__c</field>
</layoutItems>
<layoutItems>
<behavior>Edit</behavior>
Expand Down Expand Up @@ -194,7 +194,7 @@
</layoutItems>
<layoutItems>
<behavior>Edit</behavior>
<field>%%%NAMESPACE%%%SurveyDate__c</field>
<field>GRMS__SurveyDate__c</field>
</layoutItems>
</layoutColumns>
<layoutColumns>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<layoutColumns>
<layoutItems>
<behavior>Edit</behavior>
<field>%%%NAMESPACE%%%FieldWorker__c</field>
<field>GRMS__FieldWorker__c</field>
</layoutItems>
<layoutItems>
<behavior>Edit</behavior>
Expand Down Expand Up @@ -126,7 +126,7 @@
</layoutItems>
<layoutItems>
<behavior>Edit</behavior>
<field>%%%NAMESPACE%%%SurveyDate__c</field>
<field>GRMS__SurveyDate__c</field>
</layoutItems>
</layoutColumns>
<style>TwoColumnsTopToBottom</style>
Expand Down
16 changes: 0 additions & 16 deletions unpackaged/post/sample_surveys/package.xml

This file was deleted.

0 comments on commit ff9d4c0

Please sign in to comment.