-
Notifications
You must be signed in to change notification settings - Fork 802
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1469 from OfficeDev/v-mfurquan/meeting-live-code-…
…deployment-update Meeting live code Interview Sample Deployment Code Update
- Loading branch information
Showing
7 changed files
with
11,722 additions
and
11,124 deletions.
There are no files selected for viewing
6,891 changes: 1,671 additions & 5,220 deletions
6,891
samples/meetings-live-code-interview/nodejs/api/package-lock.json
Large diffs are not rendered by default.
Oops, something went wrong.
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,18 @@ | ||
# This file includes environment variables that will be committed to git by default. | ||
|
||
# Built-in environment variables | ||
TEAMSFX_ENV=dev | ||
APP_NAME_SUFFIX=dev | ||
TEAMS_APP_NAME=meetings-live-code-interview | ||
# Updating AZURE_SUBSCRIPTION_ID or AZURE_RESOURCE_GROUP_NAME after provision may also require an update to RESOURCE_SUFFIX, because some services require a globally unique name across subscriptions/resource groups. | ||
AZURE_SUBSCRIPTION_ID= | ||
AZURE_RESOURCE_GROUP_NAME= | ||
RESOURCE_SUFFIX= | ||
|
||
# Generated during provision, you can also add your own variables. If you're adding a secret value, add SECRET_ prefix to the name so Teams Toolkit can handle them properly | ||
TEAMS_APP_ID= | ||
AZURE_STATIC_WEB_APPS_RESOURCE_ID= | ||
TAB_ENDPOINT= | ||
TEAMS_APP_TENANT_ID= | ||
TAB_DOMAIN= | ||
TAB_HOSTNAME= |
26 changes: 26 additions & 0 deletions
26
samples/meetings-live-code-interview/nodejs/infra/azure.bicep
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,26 @@ | ||
@maxLength(20) | ||
@minLength(4) | ||
param resourceBaseName string | ||
param staticWebAppSku string | ||
|
||
param staticWebAppName string = resourceBaseName | ||
|
||
// Azure Static Web Apps that hosts your static web site | ||
resource swa 'Microsoft.Web/staticSites@2022-09-01' = { | ||
name: staticWebAppName | ||
// SWA do not need location setting | ||
location: 'centralus' | ||
sku: { | ||
name: staticWebAppSku | ||
tier: staticWebAppSku | ||
} | ||
properties: {} | ||
} | ||
|
||
var siteDomain = swa.properties.defaultHostname | ||
|
||
// The output will be persisted in .env.{envName}. Visit https://aka.ms/teamsfx-actions/arm-deploy for more details. | ||
output AZURE_STATIC_WEB_APPS_RESOURCE_ID string = swa.id | ||
output TAB_DOMAIN string = siteDomain | ||
output TAB_HOSTNAME string = siteDomain | ||
output TAB_ENDPOINT string = 'https://${siteDomain}' |
12 changes: 12 additions & 0 deletions
12
samples/meetings-live-code-interview/nodejs/infra/azure.parameters.json
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,12 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"resourceBaseName": { | ||
"value": "tab${{RESOURCE_SUFFIX}}" | ||
}, | ||
"staticWebAppSku": { | ||
"value": "Free" | ||
} | ||
} | ||
} |
Oops, something went wrong.