Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcfarland committed Jun 29, 2024
1 parent 44dc0dd commit 8774038
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion deployment/bin/lib
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function deploy_funcs() {
prepare_funcs

pushd /opt/src/pcfuncs_deploy
func azure functionapp publish ${FUNCTION_APP_NAME} --python #--no-build
func azure functionapp publish ${FUNCTION_APP_NAME} --python
popd
}

Expand Down
11 changes: 4 additions & 7 deletions deployment/terraform/resources/functions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,15 @@ resource "azurerm_linux_function_app" "pcfuncs" {
}

app_settings = {
"FUNCTIONS_WORKER_RUNTIME" = "python",
"APP_INSIGHTS_IKEY" = azurerm_application_insights.pc_application_insights.instrumentation_key,
"APPINSIGHTS_INSTRUMENTATIONKEY" = azurerm_application_insights.pc_application_insights.instrumentation_key,
"AzureWebJobsDisableHomepage" = true,

"WEBSITE_RUN_FROM_PACKAGE" = 1,
"FUNCTIONS_WORKER_RUNTIME" = "python",
"APP_INSIGHTS_IKEY" = azurerm_application_insights.pc_application_insights.instrumentation_key,

# Remote build
"BUILD_FLAGS" = "UseExpressBuild",
"ENABLE_ORYX_BUILD" = "true"
"SCM_DO_BUILD_DURING_DEPLOYMENT" = "1",
"WEBSITE_RUN_FROM_PACKAGE" = "1",
"XDG_CACHE_HOME" = "/tmp/.cache"
"AzureWebJobsDisableHomepage" = true,

# Animation Function
"ANIMATION_OUTPUT_STORAGE_URL" = var.animation_output_storage_url,
Expand Down

0 comments on commit 8774038

Please sign in to comment.