Skip to content

Latest commit

 

History

History
118 lines (65 loc) · 2.1 KB

File metadata and controls

118 lines (65 loc) · 2.1 KB

Execute Step Priority

I. Create, Update, or Deploy

When creating or updating resources, execute steps should occupy certain priority ranges to ensure creation happens in the required sequential order. 0 - 190 should be kept clear for Azure Tools common execute steps (e.g. VerifyProvidersStep, ResourceGroupCreateStep, etc.).

1. Managed Environment

Priority Range: 200 - 290

Steps

  • LogAnalyticsCreateStep: 220
  • ManagedEnvironmentCreateStep: 250

2. Azure Container Registry

Priority Range: 300 - 390

Steps

  • RegistryCreateStep: 350

3. Image Source

Priority Range: 400 - 490

Build Image in Azure Steps

  • TarFileStep: 420
  • UploadSourceCodeStep: 430
  • RunStep: 440
  • BuildImageStep: 450
  • ContainerRegistryImageConfigureStep: 470

Container Registry Steps

  • ContainerRegistryImageConfigureStep: 470

Common Steps

  • ContainerAppUpdateStep: 480 (Todo - investigate decoupling this command from imageSource when revision draft update support is added)

4. Environment Variables

Priority Range: 500 - 590

Steps

Reserved

5. Ingress

Priority Range: 600 - 690

Steps

  • EnableIngressStep: 650

  • DisableIngressStep: 650

  • TargetPortUpdateStep: 650 (single command only)

  • ToggleIngressVisibilityStep: 650 (single command only)

6. Container App

Priority Range: 700 - 790

Steps

  • ContainerAppCreateStep: 750

7. Secrets

Priority Range: 800 - 890

Steps

  • SecretCreateStep: 820
  • SecretUpdateStep: 850

8. Unallocated Space

Priority Range: 900 - 1090

Steps

  • Reserved for future commands TBD.

9. Scaling

Priority Range: 1100 - 1190

Steps

  • ScaleRangeUpdateStep: 1110
  • AddScaleRuleStep: 1120

10. Unallocated Space

Priority Range: 1200 - 1390

Steps

  • Reserved for future commands TBD.

11. Deploy

Priority Range: 1400 - 1490

Steps

  • DeployRevisionDraftStep: 1450

II. Delete Steps

TBD... Note: When deleting resources, typically the priority ranges will change as the dependencies are inverted when compared to the create steps.