Skip to content

Commit 91d4daa

Browse files
Merge pull request #284 from microsoft/dev
fix: Dev to main
2 parents 8877983 + ce582ad commit 91d4daa

File tree

3 files changed

+65
-5
lines changed

3 files changed

+65
-5
lines changed

.devcontainer/setupEnv.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ yarn install
2323
cd ../../
2424

2525
echo "Setting up executable permission for shell scripts"
26-
sed -i 's/\r$//' ./infra/scripts/post_deployment.sh
27-
sudo chmod +x ./infra/scripts/docker-build.sh
28-
sudo chmod +x ./infra/scripts/post_deployment.sh
29-
sudo chmod +x ./src/ContentProcessorAPI/samples/upload_files.sh
30-
sudo chmod +x ./src/ContentProcessorAPI/samples/schemas/register_schema.sh
26+
sed -i 's/\r$//' infra/scripts/post_deployment.sh
27+
sudo chmod +x infra/scripts/docker-build.sh
28+
sudo chmod +x infra/scripts/post_deployment.sh
29+
sudo chmod +x src/ContentProcessorAPI/samples/upload_files.sh
30+
sudo chmod +x src/ContentProcessorAPI/samples/schemas/register_schema.sh
3131

3232
echo "Setup complete! 🎉"

docs/AVMPostDeploymentGuide.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# AVM Post Deployment Guide
2+
3+
> **📋 Note**: This guide is specifically for post-deployment steps after using the AVM template. For complete deployment from scratch, see the main [Deployment Guide](./DeploymentGuide.md).
4+
5+
---
6+
7+
This document provides guidance on post-deployment steps after deploying the Content processing solution accelerator from the [AVM (Azure Verified Modules) repository](https://github.com/Azure/bicep-registry-modules/tree/main/avm/ptn/sa/content-processing).
8+
9+
## Overview
10+
11+
After successfully deploying the Content Processing Solution Accelerator using the AVM template, you'll need to complete some configuration steps to make the solution fully operational.
12+
13+
## Prerequisites
14+
15+
Before starting the post-deployment process, ensure you have the following:
16+
17+
### Required Software
18+
19+
1. **[PowerShell](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-7.4)** <small>(v7.0+ recommended)</small> - Available for Windows, macOS, and Linux
20+
21+
2. **[Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli)** <small>(v2.50+)</small> - Command-line tool for managing Azure resources
22+
23+
3. **[Git](https://git-scm.com/downloads/)** - Version control system for cloning the repository
24+
25+
4. **Deployed Infrastructure** - A successful Content processing solution accelerator deployment from the [AVM repository](https://github.com/Azure/bicep-registry-modules/tree/main/avm/ptn/sa/content-processing)
26+
27+
#### Important Note for PowerShell Users
28+
29+
If you encounter issues running PowerShell scripts due to execution policy restrictions, you can temporarily adjust the `ExecutionPolicy` by running the following command in an elevated PowerShell session:
30+
31+
```powershell
32+
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
33+
```
34+
35+
This will allow the scripts to run for the current session without permanently changing your system's policy.
36+
37+
## Post-Deployment Steps
38+
39+
### Step 1: Clone the Repository
40+
41+
First, clone this repository to access the post-deployment scripts:
42+
43+
```powershell
44+
git clone https://github.com/microsoft/content-processing-solution-accelerator.git
45+
cd content-processing-solution-accelerator
46+
```
47+
48+
### Step 2: Complete Post-Deployment Configuration
49+
50+
Follow the **[Post Deployment Steps](./DeploymentGuide.md#post-deployment-steps)** section in the main Deployment Guide, which includes:
51+
52+
1. **[Optional: Publishing Local Build Container to Azure Container Registry](./DeploymentGuide.md#post-deployment-steps)**
53+
2. **[Register Schema Files](./DeploymentGuide.md#post-deployment-steps)**
54+
3. **[Import Sample Data](./DeploymentGuide.md#post-deployment-steps)**
55+
4. **[Add Authentication Provider](./DeploymentGuide.md#post-deployment-steps)**
56+
57+
## Next Steps
58+
59+
Once configuration is complete, see the **[Next Steps](./DeploymentGuide.md#next-steps)** section in the main Deployment Guide to start using the solution.

infra/scripts/checkquota.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ for REGION in "${REGIONS[@]}"; do
5454

5555
if [ -z "$MODEL_INFO" ]; then
5656
echo "⚠️ WARNING: No quota information found for model: $MODEL in $REGION. Skipping."
57+
INSUFFICIENT_QUOTA=true
5758
continue
5859
fi
5960

0 commit comments

Comments
 (0)