Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
f6c8f29
Update CODEOWNERS
sgollapudi77 Oct 11, 2023
e0d17a2
Merge pull request #367 from Azure/sgollapudi77/updateCodeOwners
surenderssm Oct 17, 2023
51b391e
Moving to pull_request for the action
vivekjilla Nov 30, 2023
81e0440
Update pr_check_windows_container_pubprofile.yml
vivekjilla Nov 30, 2023
71170cb
Merge pull request #381 from Azure/vivekjilla_pull_request_event
surenderssm Nov 30, 2023
1700df8
Updated node version to 20 as node 16 is deprecated (#408)
ShilpiRachna1 Apr 3, 2024
5c1d76e
npm install and build tasks made conditional (#415)
ShilpiRachna1 Apr 5, 2024
334fc76
Invoking AzureResourceFilterUtility.getAppDetails with slotname
ShilpiRach Jul 15, 2024
48d5894
Fixing pr workflow
ShilpiRach Jul 21, 2024
ce8b292
Fixing test workflow
ShilpiRach Jul 21, 2024
b800e53
Merge pull request #429 from Azure/shilpirachna1/slotfixmaster
ShilpiRachna1 Jul 23, 2024
6c9b1a3
Github actions test
Saipriya-1144 Sep 30, 2024
ec18e7f
Github actions test
Saipriya-1144 Sep 30, 2024
abaac2e
Create githubactionstest
Saipriya-1144 Sep 30, 2024
588b05b
modified github actions test
Saipriya-1144 Oct 3, 2024
3f2aea3
copied github_actions_test to other workflow for testsing
Saipriya-1144 Oct 3, 2024
8751410
modified helloController to trigger workflow
Saipriya-1144 Oct 3, 2024
51e9216
added a github action workflow
Saipriya-1144 Oct 3, 2024
5d297e0
removed sln file
Saipriya-1144 Oct 3, 2024
1593b78
modified defaultlabels.yml
Saipriya-1144 Oct 3, 2024
0d666eb
added node sample app
Saipriya-1144 Oct 6, 2024
79292b3
copied this code to defaultLabels.yml for testing
Saipriya-1144 Oct 6, 2024
06cc512
copied this code to defaultLabels.yml for testing
Saipriya-1144 Oct 6, 2024
7fe2efa
modified github_actions_test workflow
Saipriya-1144 Oct 7, 2024
19ad66c
modified node sample app
Saipriya-1144 Oct 7, 2024
13b3c55
modified node app name
Saipriya-1144 Oct 7, 2024
8308b2c
modified node app server.js
Saipriya-1144 Oct 7, 2024
5254800
modified site name for this node app
Saipriya-1144 Oct 7, 2024
f52d595
modified server.js in sample node app
Saipriya-1144 Oct 7, 2024
2467ad1
modified server.js in sample node app
Saipriya-1144 Oct 7, 2024
19d66c3
modified server.js in sample node app
Saipriya-1144 Oct 7, 2024
d337a21
modified github_actions_test.yml
Saipriya-1144 Oct 7, 2024
9adeea5
added new workflow to prebuild and deploy the app
Saipriya-1144 Oct 8, 2024
fa413bb
removed unnecessary workflows
Saipriya-1144 Oct 17, 2024
ceb4c06
modified ci.yml
Saipriya-1144 Oct 17, 2024
fe7f03b
pushed to defaultlabels.yml to trigger workflow
Saipriya-1144 Oct 23, 2024
afc95b5
modified github actions workflow
Saipriya-1144 Oct 23, 2024
cc54675
updated HelloController.cs
Saipriya-1144 Nov 27, 2024
39572e3
Merge pull request #443 from Azure/user/vchintalapat/github-actions-test
Saipriya-1144 Nov 27, 2024
78f6258
Use a zip archival utility to exclude some file patterns (#465)
kumaraksh1 Jul 16, 2025
b75f150
Revert "Use a zip archival utility to exclude some file patterns (#46…
kumaraksh1 Jul 18, 2025
eb814f5
Add changes to delete archived folder (#474)
kumaraksh1 Jul 18, 2025
7206715
set isLinux param for publish profile (#479)
kumaraksh1 Jul 22, 2025
9ef6108
Delete release archive folder (#481)
kumaraksh1 Jul 23, 2025
66eae17
Add changes for Sitecontainers deployment (#461)
kumaraksh1 Jul 29, 2025
263aa55
Update app service rest package (#485)
kumaraksh1 Jul 30, 2025
f139758
Update Readme for SiteContainers
kumaraksh1 Aug 14, 2025
55cf31b
Merge pull request #490 from Azure/users/kumaraksh/sitecontainers-rea…
surenderssm Aug 14, 2025
7bc019e
Add kudu warm up logic (#497)
kumaraksh1 Jan 29, 2026
d7b2a6c
[Temp for testing ] Updat release process (#501)
kumaraksh1 Feb 6, 2026
3d4e108
Refactor code (#507)
kumaraksh1 Feb 6, 2026
b8ba957
Revert "Refactor code (#507)" (#509)
kumaraksh1 Feb 16, 2026
ebb3431
Revert "[Temp for testing ] Updat release process (#501)" (#510)
kumaraksh1 Feb 16, 2026
f64cddc
Update common rest package version (#511)
kumaraksh1 Feb 18, 2026
f6bf0f1
Make changes to release using ncc/dist (#502)
kumaraksh1 Feb 18, 2026
450adcf
Updates tests, release/revert workflow (#512)
kumaraksh1 Feb 19, 2026
9dfc9da
Update CODEOWNERS with new contributors
prathambande Feb 19, 2026
c435df7
Merge pull request #516 from Azure/user/prathambande/update-owners
prathambande Feb 19, 2026
53cce47
Add a file to keep the version
kumaraksh1 Feb 20, 2026
bc9af58
Add a file to keep the version (#517)
kumaraksh1 Feb 20, 2026
632e66b
Merge branch 'master' of https://github.com/Azure/webapps-deploy
kumaraksh1 Feb 20, 2026
b37db9b
Release Feb|26
kumaraksh1 Feb 20, 2026
2f24e26
refactor code
kumaraksh1 Feb 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @kaverma @kanika1894 @BALAGA-GAYATRI @pulkitaggarwl
* @surenderssm @sarsharma @ShilpiRachna1 @kumaramit-msft @CodingIsBliss @Saipriya-1144 @prathambande @Shi1810 @kumaraksh1
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- name: 'Validate build'
run: |
npm install
npm ci
npm run build

- name: 'Run L0 tests'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/defaultLabels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
stale-pr-label: 'idle'
days-before-stale: 14
days-before-close: -1
operations-per-run: 100
operations-per-run: 100
99 changes: 99 additions & 0 deletions .github/workflows/github_actions_test_v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy to Azure App Services

on:
push:
branches:
- master
schedule:
- cron: "0 0/3 * * *"

jobs:
build-and-deploy-dotnet-app:
runs-on: ubuntu-latest

permissions:
id-token: write

steps:
- uses: actions/checkout@v4

- name: Modify the sample app
run: |
cp -r ./__tests__/dotnetsampleapp dotnetapp
current_utc_time=$(date -u +"%Y-%m-%d %H:%M:%S %Z")
sed -i "s/<<<net-place-holder>>>/$current_utc_time/g" dotnetapp/Controllers/HelloController.cs

echo "The placeholder has been replaced with current UTC time: $current_utc_time"

- name: Set up .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'

- name: Build with dotnet
run: dotnet build --configuration Release dotnetapp/DOTNET_8_APP.csproj

- name: dotnet publish
run: dotnet publish dotnetapp/DOTNET_8_APP.csproj -c Release -o myapp

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
with:
name: .net-app
path: myapp

- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@releases/v2
with:
app-name: 'lwasv2-euap-dotnet-githubactionstest-v2'
slot-name: 'Production'
package: myapp
publish-profile: ${{ secrets.LWASV2_EUAP_DOTNET_GITHUBACTIONSTEST_V2 }}

build-and-deploy-node-app:
runs-on: ubuntu-latest

permissions:
id-token: write

steps:
- uses: actions/checkout@v4

- name: modify Node.js App
run: |
cp -r ./__tests__/nodesampleapp nodeapp
current_utc_time=$(date -u +"%Y-%m-%d %H:%M:%S %Z")
sed -i "s/<<<node-place-holder>>>/$current_utc_time/g" nodeapp/server.js

echo "The placeholder has been replaced with current UTC time: $current_utc_time"

- name: Set up Node.js version
uses: actions/setup-node@v3
with:
node-version: '20.x'

- name: npm ci, build, and test
run: |
cd nodeapp
npm ci
npm run build --if-present
npm run test --if-present

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
with:
name: node-app
path: nodeapp

- name: 'Deploy to Azure Web App'
id: deploy-to-webapp
uses: azure/webapps-deploy@releases/v2
with:
app-name: 'lwasv2-euap-node-githubactions-v2'
slot-name: 'Production'
package: nodeapp
publish-profile: ${{ secrets.LWASV2_EUAP_NODE_GITHUBACTIONS_V2 }}
111 changes: 111 additions & 0 deletions .github/workflows/github_actions_test_v3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy to Azure App Services

on:
push:
branches:
- master
schedule:
- cron: "0 0/3 * * *"

jobs:
build-and-deploy-dotnet-app:
runs-on: ubuntu-latest

permissions:
id-token: write

steps:
- uses: actions/checkout@v4

- name: Modify the sample app
run: |
cp -r ./__tests__/dotnetsampleapp dotnetapp
current_utc_time=$(date -u +"%Y-%m-%d %H:%M:%S %Z")
sed -i "s/<<<net-place-holder>>>/$current_utc_time/g" dotnetapp/Controllers/HelloController.cs

echo "The placeholder has been replaced with current UTC time: $current_utc_time"

- name: Set up .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'

- name: Build with dotnet
run: dotnet build --configuration Release dotnetapp/DOTNET_8_APP.csproj

- name: dotnet publish
run: dotnet publish dotnetapp/DOTNET_8_APP.csproj -c Release -o myapp

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
with:
name: .net-app
path: myapp

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_DOTNETAPP1 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID }}

- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@releases/v3
with:
app-name: 'lwasv2-euap-dotnet-githubactionstest'
slot-name: 'Production'
package: myapp

build-and-deploy-node-app:
runs-on: ubuntu-latest

permissions:
id-token: write

steps:
- uses: actions/checkout@v4

- name: modify Node.js App
run: |
cp -r ./__tests__/nodesampleapp nodeapp
current_utc_time=$(date -u +"%Y-%m-%d %H:%M:%S %Z")
sed -i "s/<<<node-place-holder>>>/$current_utc_time/g" nodeapp/server.js

echo "The placeholder has been replaced with current UTC time: $current_utc_time"

- name: Set up Node.js version
uses: actions/setup-node@v3
with:
node-version: '18.x'

- name: npm ci, build, and test
run: |
cd nodeapp
npm ci
npm run build --if-present
npm run test --if-present

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
with:
name: node-app
path: nodeapp

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_NODEAPP1 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID }}

- name: 'Deploy to Azure Web App'
id: deploy-to-webapp
uses: azure/webapps-deploy@releases/v3
with:
app-name: 'lwasv2-euap-node-githubactions'
slot-name: 'Production'
package: nodeapp
11 changes: 4 additions & 7 deletions .github/workflows/pr_check_webapp_dotnet_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- releases/*
paths-ignore:
- '**.md'
pull_request_target:
pull_request:
branches:
- master
- 'releases/*'
Expand Down Expand Up @@ -66,16 +66,13 @@ jobs:
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
path: 'webapps-deploy'
ref: ${{ github.event.pull_request.head.ref }}
ref: ${{ github.event.pull_request.head.sha }}

- name: Installing dependencies and building latest changes
run: |
cd webapps-deploy
if (-NOT(TEST-PATH node_modules))
{
npm install
npm run build
}
npm ci
npm run package

- name: Azure authentication
uses: azure/login@v2
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/pr_check_windows_container_pubprofile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- releases/*
paths-ignore:
- '**.md'
pull_request_target:
pull_request:
branches:
- master
- 'releases/*'
Expand Down Expand Up @@ -87,20 +87,17 @@ jobs:
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
path: 'webapps-deploy'
ref: ${{ github.event.pull_request.head.ref }}
ref: ${{ github.event.pull_request.head.sha }}

- name: Installing dependencies and building latest changes in action
run: |
cd webapps-deploy
if (-NOT(TEST-PATH node_modules))
{
npm install
npm run build
}
npm ci
npm run package

- name: 'Deploy to Azure WebApp'
uses: ./webapps-deploy/
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }} # Replace with your app name
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
images: ${{ env.CONTAINER_REGISTRY }}/containerwebapp/canaryreplica:latest
images: ${{ env.CONTAINER_REGISTRY }}/containerwebapp/canaryreplica:latest
70 changes: 70 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: Release

on:
workflow_dispatch:
inputs:
tag:
description: 'Tag to release or revert to (e.g., v3.2.1)'
required: true
type: string
revert:
description: 'Revert releases/vX to this existing tag?'
required: false
type: boolean
default: false

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Validate tag format
run: |
TAG="${{ inputs.tag }}"
if [[ ! "$TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "❌ Invalid tag format: $TAG. Expected: v<major>.<minor>.<patch>"
exit 1
fi

- name: Parse version
id: version
run: |
TAG="${{ inputs.tag }}"
MAJOR=$(echo "$TAG" | cut -d. -f1)
echo "major=${MAJOR}" >> $GITHUB_OUTPUT
echo "branch=releases/${MAJOR}" >> $GITHUB_OUTPUT

- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ inputs.revert == true && inputs.tag || steps.version.outputs.branch }}
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"

- name: Release new tag
if: ${{ inputs.revert == false }}
run: |
MAJOR="${{ steps.version.outputs.major }}"

# Update the major tag (e.g., v3) to point to same commit as inputs.tag
git tag -fa ${MAJOR} -m "Release ${{ inputs.tag }}"
git push origin ${MAJOR} --force

echo "## ✅ Release ${{ inputs.tag }}" >> $GITHUB_STEP_SUMMARY
echo "- Tag: \`${{ inputs.tag }}\`" >> $GITHUB_STEP_SUMMARY
echo "- Branch: \`${{ steps.version.outputs.branch }}\`" >> $GITHUB_STEP_SUMMARY

- name: Revert to existing tag
if: ${{ inputs.revert == true }}
run: |
BRANCH="${{ steps.version.outputs.branch }}"
git push origin ${{ inputs.tag }}:refs/heads/${BRANCH} --force

echo "## ⏪ Reverted ${BRANCH} to ${{ inputs.tag }}" >> $GITHUB_STEP_SUMMARY
echo "- \`${BRANCH}\` now points to \`${{ inputs.tag }}\`" >> $GITHUB_STEP_SUMMARY
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

# Bundled output (built during release)
# dist/
lib/

# User-specific files
*.suo
*.user
Expand Down Expand Up @@ -261,7 +265,7 @@ FakesAssemblies/

# Node.js Tools for Visual Studio
.ntvs_analysis.dat
# node_modules/
node_modules/

# Visual Studio 6 build log
*.plg
Expand Down
Loading
Loading