Skip to main content

17. Deployment

Azure resources

All resources are defined in Bicep:

ResourceRole
Functions appThe engine: API, interpreter, activities, event and schedule functions
Durable Task SchedulerLive run state
Azure SQLDefinitions and history
Service BusWorker queues, topics
Blob storagePayloads and archive
Event Grid topicsEvents in and out
API ManagementGateway: authentication, tool endpoints, AI policies
App Configuration and Key VaultConfiguration and secrets
Application Insights and Log AnalyticsTraces, metrics, audit
Container Apps environmentWorker hosting
Logic Apps StandardSaaS connectors
Foundry projectModels

Pipeline

  1. Validate every definition in the repository against the schema and the registration checks.
  2. Register changed definitions, task definitions, and instruction texts. Create Service Bus queues for new task types.
  3. Regenerate the gateway tool policy from the definitions and deploy it.
  4. Deploy the engine only when engine code changed.
  5. Build and deploy changed worker images.

Steps 1 to 3 run for every definition change. Steps 4 and 5 run only when code changed.