From 1b5217bf32345596e7aceea372abe044e8f69d4c Mon Sep 17 00:00:00 2001 From: veera Mangipudi Date: Sun, 19 May 2024 11:44:29 +0300 Subject: [PATCH 1/4] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..7438c7453 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,22 @@ +# Maven +# Build your Java project and run tests with Apache Maven. +# Add steps that analyze code, save build artifacts, deploy, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/java + +trigger: +- main + +pool: + vmImage: ubuntu-latest + +steps: +- task: Maven@3 + inputs: + mavenPomFile: 'pom.xml' + mavenOptions: '-Xmx3072m' + javaHomeOption: 'JDKVersion' + jdkVersionOption: '1.8' + jdkArchitectureOption: 'x64' + publishJUnitResults: true + testResultsFiles: '**/surefire-reports/TEST-*.xml' + goals: 'package' From abffbd5745197018f914196af46bb01e9cd0c638 Mon Sep 17 00:00:00 2001 From: veera Mangipudi Date: Sun, 19 May 2024 12:00:17 +0300 Subject: [PATCH 2/4] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines-1.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 azure-pipelines-1.yml diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml new file mode 100644 index 000000000..f53e97b6b --- /dev/null +++ b/azure-pipelines-1.yml @@ -0,0 +1,19 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- main + +pool: + vmImage: ubuntu-latest + +steps: +- script: echo Hello, world! + displayName: 'Run a one-line script' + +- script: | + echo Add other tasks to build, test, and deploy your project. + echo See https://aka.ms/yaml + displayName: 'Run a multi-line script' From 77c33ebaf521ca8a53311ce43d5358523c879c90 Mon Sep 17 00:00:00 2001 From: Veera Mangipudi Date: Sun, 9 Aug 2026 15:38:49 +0300 Subject: [PATCH 3/4] Create rollback.yml adding roll back feature --- rollback.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 rollback.yml diff --git a/rollback.yml b/rollback.yml new file mode 100644 index 000000000..474315183 --- /dev/null +++ b/rollback.yml @@ -0,0 +1,5 @@ + webapp deployment slot swap \ + --name app-myapp-prod \ + --resource-group rg-prod \ + --slot staging \ + --target-slot production From 762f51f9eb6ee0de38cfb06e79cdf3ff578ceac7 Mon Sep 17 00:00:00 2001 From: Veera Mangipudi Date: Sun, 9 Aug 2026 15:40:29 +0300 Subject: [PATCH 4/4] Update rollback.yml --- rollback.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollback.yml b/rollback.yml index 474315183..5df97edfa 100644 --- a/rollback.yml +++ b/rollback.yml @@ -1,5 +1,5 @@ webapp deployment slot swap \ - --name app-myapp-prod \ + --name app-prod \ --resource-group rg-prod \ --slot staging \ --target-slot production