Skip to content

Commit

Permalink
adding support for flex consumption plan
Browse files Browse the repository at this point in the history
  • Loading branch information
patelchandni committed May 21, 2024
1 parent 16151a0 commit 41bcfbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/run-e2e-tests-python310-flexcon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
with:
app-name: ${{ env.AZURE_FUNCTIONAPP_NAME }}
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
remote-build: true

- name: E2E Check HttpTrigger Result
shell: pwsh
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ If `WEBSITE_RUN_FROM_PACKAGE_BLOB_MI_RESOURCE_ID` is defined then user-assigned
- **respect-funcignore**: Allow GitHub Action to parse your .funcignore file and exclude files and folders defined in it. By default, this value is set to `false`. If your GitHub repo contains .funcignore file and want to exclude certain paths (e.g. text editor configs .vscode/, Python virtual environment .venv/), we recommend setting this to `true`.
- **scm-do-build-during-deployment**: Allow Kudu site (e.g. https://your-site-name.scm.azurewebsites.net/) to perform pre-deployment operation. By default, this is set to `false`. If you don't want to resolve the dependencies in the GitHub Workflow, and instead, you want to control the deployments in Kudu / KuduLite, you may want to change this setting to `true`. For more information on SCM_DO_BUILD_DURING_DEPLOYMENT setting, please visit our [Kudu doc](https://github.com/projectkudu/kudu/wiki/Configurable-settings#enabledisable-build-actions).
- **enable-oryx-build**: Allow Kudu site to resolve your project dependencies with [Oryx](https://github.com/Microsoft/Oryx). By default, this is set to `false`. If you want to use Oryx to resolve your dependencies (e.g. [remote build](https://docs.microsoft.com/en-us/azure/azure-functions/functions-deployment-technologies#remote-build)) instead of GitHub Workflow, please consider setting **scm-do-build-during-deployment** and **enable-oryx-build** to `true`.
- **sku**: For function app on Flex Consumption plan, please set this to `flexconsumption`. You can skip this parameter for function app on other plans.
- **sku**: For function app on Flex Consumption plan, set this to `flexconsumption`. You can skip this parameter for function app on other plans.
If using RBAC credentials, then by default, GitHub Action will resolve the value for this paramter. But if using **publish-profile**,
then you must set this for function app on Flex Consumption plan.
- **remote-build**: For function app on Flex Consumption plan, enable build action from Kudu when the package is deployed onto the function app by setting this to `true`.
Parameter **remote-build** is only supported for function app on Flex Consumption plan. For other plans, please set **scm-do-build-during-deployment** and **enable-oryx-build**.
For function app on Flex Consumption plan, please do not set **scm-do-build-during-deployment** and **enable-oryx-build**.
Parameter **remote-build** is only supported for function app on Flex Consumption plan. For other plans, you can use **scm-do-build-during-deployment** and **enable-oryx-build**.
For function app on Flex Consumption plan, do not set **scm-do-build-during-deployment** and **enable-oryx-build**.
By default, this is set to `false`.

## Dependencies on other GitHub Actions
Expand Down

0 comments on commit 41bcfbd

Please sign in to comment.