-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathrun.ps1
More file actions
7 lines (6 loc) · 879 Bytes
/
run.ps1
File metadata and controls
7 lines (6 loc) · 879 Bytes
1
2
3
4
5
6
7
# Input bindings are passed in via param block.
param([byte[]] $InputBlob, $TriggerMetadata)
# Write out the blob name and size to the information log.
Write-Host "PowerShell Blob trigger function Processed blob! Name: $($TriggerMetadata.Name) Size: $($InputBlob.Length) bytes"
az containerapp job start --name "opre-ops-dev-app-blis-myltest" --resource-group "opre-ops-dev-app-rg" --cpu 0.5 --memory "1Gi" --image ghcr.io/hhs/opre-ops/ops-data-tools:d1d5a0d742c8d60797cdc1ba51b6fe85cf8b0fd9 --command "/bin/sh" "./data_tools/scripts/load_data.sh" --args "dev" "master_spreadsheet_budget_lines" $TriggerMetadata.Name
# az containerapp job start --name "opre-ops-dev-app-blis-myltest" --resource-group "opre-ops-dev-app-rg" --cpu 0.5 --memory "1Gi" --image ghcr.io/hhs/opre-ops/ops-data-tools:d1d5a0d742c8d60797cdc1ba51b6fe85cf8b0fd9 --command "ls" "./data_tools/scripts"