Skip to content
Closed
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
7 changes: 5 additions & 2 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,12 @@ jobs:
- name: 'Assign Manage Prompt Template permission set'
run: sf org assign permset -n EinsteinGPTPromptTemplateManager

# Deploy employee agent source to scratch org
# Deploy employee agent source to scratch org in two batches:
# a single deploy accepts at most 25 agent bundles
- name: 'Deploy employee agent recipes'
run: sf project deploy start --source-dir force-app
run: |
sf project deploy start --source-dir force-app/main/shared/objects --source-dir force-app/main/shared/tabs --source-dir force-app/main/01_languageEssentials --source-dir force-app/main/02_actionConfiguration --source-dir force-app/main/03_reasoningMechanics
sf project deploy start --source-dir force-app/main/04_architecturalPatterns --source-dir force-app/main/shared/applications --source-dir force-app/main/shared/permissionsets

# Assign permission sets
- name: 'Assign permission sets to default user'
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,12 @@ jobs:
- name: 'Assign Manage Prompt Template permission set'
run: sf org assign permset -n EinsteinGPTPromptTemplateManager

# Deploy employee agent source to scratch org
# Deploy employee agent source to scratch org in two batches:
# a single deploy accepts at most 25 agent bundles
- name: 'Deploy employee agent recipes'
run: sf project deploy start --source-dir force-app
run: |
sf project deploy start --source-dir force-app/main/shared/objects --source-dir force-app/main/shared/tabs --source-dir force-app/main/01_languageEssentials --source-dir force-app/main/02_actionConfiguration --source-dir force-app/main/03_reasoningMechanics
sf project deploy start --source-dir force-app/main/04_architecturalPatterns --source-dir force-app/main/shared/applications --source-dir force-app/main/shared/permissionsets

# Assign permission sets
- name: 'Assign permission sets to default user'
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ If you don't have an org yet, you can sign up for a free [Developer Edition Org]
sf org login web -s -a agent-script-recipes
```

1. Deploy the app to your org:
1. Deploy the app to your org. A single deploy accepts at most 25 agent bundles, so the recipes are deployed in two batches:

```bash
sf project deploy start -d force-app
sf project deploy start --source-dir force-app/main/shared/objects --source-dir force-app/main/shared/tabs --source-dir force-app/main/01_languageEssentials --source-dir force-app/main/02_actionConfiguration --source-dir force-app/main/03_reasoningMechanics
sf project deploy start --source-dir force-app/main/04_architecturalPatterns --source-dir force-app/main/shared/applications --source-dir force-app/main/shared/permissionsets
```

1. Assign the `Agent_Script_Recipes_Data` and `Agent_Script_Recipes_App` permission sets to the default user:
Expand Down
4 changes: 3 additions & 1 deletion bin/install-scratch.bat
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ call :checkForError
@echo:

echo Deploying employee agent recipes...
cmd.exe /c sf project deploy start --source-dir force-app
cmd.exe /c sf project deploy start --source-dir force-app/main/shared/objects --source-dir force-app/main/shared/tabs --source-dir force-app/main/01_languageEssentials --source-dir force-app/main/02_actionConfiguration --source-dir force-app/main/03_reasoningMechanics
call :checkForError
cmd.exe /c sf project deploy start --source-dir force-app/main/04_architecturalPatterns --source-dir force-app/main/shared/applications --source-dir force-app/main/shared/permissionsets
call :checkForError
@echo:

Expand Down
3 changes: 2 additions & 1 deletion bin/install-scratch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ sf org assign permset -n EinsteinGPTPromptTemplateManager && \
echo "" && \

echo "Deploying employee agent recipes..." && \
sf project deploy start --source-dir force-app && \
sf project deploy start --source-dir force-app/main/shared/objects --source-dir force-app/main/shared/tabs --source-dir force-app/main/01_languageEssentials --source-dir force-app/main/02_actionConfiguration --source-dir force-app/main/03_reasoningMechanics && \
sf project deploy start --source-dir force-app/main/04_architecturalPatterns --source-dir force-app/main/shared/applications --source-dir force-app/main/shared/permissionsets && \
echo "" && \

echo "Assigning Agent Script permission sets..." && \
Expand Down
Loading