Skip to content
Proud to collaborate with Microsoft for Startups

apphost.source.launch ​

Load a public GitHub repository, build from Dockerfile or package.json on platform ACR, and serve the image in the site's isolated namespace on the shared apphost pool. No customer kubeconfig or cloud connection.

Launch an AppHost process from a public GitHub repository.

Overview ​

PropertyValue
Workflow typeDag
LibraryApp-apphost
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
site_uuiduuidYes——
git_urlstringYes—Public GitHub URL (https://github.com/owner/repo)
refstringNo——
dockerfilestringNo——
context_dirstringNo——
portintegerNo8080—
replicasintegerNo1Replicas (1..8, default 1)
skustringNosmall—

Output Schema ​

FieldTypeRequiredDefaultDescription
site_uuiduuidNo——
git_urlstringNo——
refstringNo——
dockerfilestringNo——
context_dirstringNo——
portintegerNo——
replicasintegerNo——
skustringNo——
inspectjsonNo——
buildjsonNo——
planjsonNo——
syncjsonNo——
ack_inspectjsonNo——
ack_buildjsonNo——
ackjsonNo——
failure_reasonstringNo—Engine-stamped failure reason
failure_typestringNo—Stable failure classification
failed_actionstringNo—Action that failed
failed_at_statestringNo—State when the workflow failed
failed_stepjsonNo—Failed DAG step envelope
failed_layerjsonNo—Failed DAG layer envelope
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name
compensation_triggerjsonNo——
comp_queuejsonNo——
comp_current_layerjsonNo——
comp_retry_countjsonNo——

DAG Layers ​

#LayerStepsCompensation
1inspectapphost.source.inspectapphost.web.ack
2buildapphost.image.buildapphost.web.ack
3prepareapphost.web.prepareapphost.web.ack
4applyk8s.manifest.sync—

Execution Flow ​

Compensation ​

When any layer fails, its compensation steps run in reverse order to roll back the work completed so far.

Sub-workflows ​

Sub-workflowStep name
apphost.source.inspectinspect
apphost.image.buildbuild
apphost.web.prepareplan
k8s.manifest.syncsync
apphost.web.ackack_inspect

Outcomes ​

OutcomeTypeDescriptionState Data Keys
launchedSUCCESSSource built and process applied on the shared AppHost poolinspect, build, plan, sync
failedFAILUREApphost workflow failedfailure_reason

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "apphost.source.launch",
  "initial_data": {
    "site_uuid": "value",
    "git_url": "value"
  }
}