generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated gradle build files and added documentation for deployment steps
- Loading branch information
1 parent
63dc2e6
commit ab522be
Showing
4 changed files
with
59 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Cosmos Sync Function App | ||
|
||
## Setup | ||
|
||
The following is needed in order to build and deploy this function app: | ||
|
||
- [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli) | ||
- [Azure Functions Core Tools](https://learn.microsoft.com/en-us/azure/azure-functions/functions-run-local?tabs=v4%2Clinux%2Ccsharp%2Cportal%2Cbash#v2) | ||
- [gradle](https://gradle.org/install/) | ||
|
||
## Build and Deploy | ||
|
||
To build and deploy you can use the Azure Functions Gradle plugin. You can do this with the following command: | ||
|
||
``` | ||
gradle azureFunctionsDeploy -Dsubscription=<subcription_id> -DresourceGroup=<resource_group> -DappName=<function_app_name> | ||
``` | ||
Replace the `subscription`, `resourceGroup` and `appName` parameters with the actual values. | ||
|
||
*Note:* You will need to temporarily enable public access through the Azure portal to successfully deploy the function app. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Suplemental API Function App | ||
|
||
## Setup | ||
|
||
The following is needed in order to build and deploy this function app: | ||
|
||
- [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli) | ||
- [Azure Functions Core Tools](https://learn.microsoft.com/en-us/azure/azure-functions/functions-run-local?tabs=v4%2Clinux%2Ccsharp%2Cportal%2Cbash#v2) | ||
- [gradle](https://gradle.org/install/) | ||
|
||
## Build and Deploy | ||
|
||
To build and deploy you can use the Azure Functions Gradle plugin. You can do this with the following command: | ||
|
||
``` | ||
gradle azureFunctionsDeploy -Dsubscription=<subcription_id> -DresourceGroup=<resource_group> -DappName=<function_app_name> | ||
``` | ||
Replace the `subscription`, `resourceGroup` and `appName` parameters with the actual values. | ||
|
||
*Note:* You will need to temporarily enable public access through the Azure portal to successfully deploy the function app. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters