From 3dce16d89e08c174aa5ba31787e2b1c0fd61418a Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 1 Mar 2026 00:57:52 +0000 Subject: [PATCH 01/67] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..1183dabe7 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,45 @@ +trigger: +- main + +pool: + vmImage: ubuntu-latest + +strategy: + matrix: + Python310: + python.version: '3.10' + Python311: + python.version: '3.11' + Python312: + python.version: '3.12' + +steps: + - task: UsePythonVersion@0 + inputs: + versionSpec: '$(python.version)' + displayName: 'Use Python $(python.version)' + + - script: | + python -m pip install --upgrade pip + pip install -r requirements.txt + displayName: 'Install dependencies' + + - task: ArchiveFiles@2 + displayName: 'Archive files' + inputs: + rootFolderOrFile: $(System.DefaultWorkingDirectory) + includeRootFolder: false + archiveType: zip + archiveFile: $(Build.ArtifactStagingDirectory)/$(Build.BuildId)-$(python.version).zip + replaceExistingArchive: true + + - task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'drop' + publishLocation: 'Container' + + - script: | + pip install pytest pytest-azurepipelines + pytest + displayName: 'pytest' From a86aacc8d74c20aef2c9287891c627f78d80458a Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 1 Mar 2026 08:32:43 +0000 Subject: [PATCH 02/67] 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 9b4a944110617e577fefc60625276cc2ab09f98b Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 1 Mar 2026 09:36:04 +0000 Subject: [PATCH 03/67] Update azure-pipelines.yml to save to artifact --- azure-pipelines.yml | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1183dabe7..35697c00b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,10 +8,6 @@ strategy: matrix: Python310: python.version: '3.10' - Python311: - python.version: '3.11' - Python312: - python.version: '3.12' steps: - task: UsePythonVersion@0 @@ -20,26 +16,16 @@ steps: displayName: 'Use Python $(python.version)' - script: | - python -m pip install --upgrade pip - pip install -r requirements.txt - displayName: 'Install dependencies' + python -m pip install --upgrade pip --upgrade build + python -m build + displayName: 'Build Package' - - task: ArchiveFiles@2 - displayName: 'Archive files' + - task: + displayName: 'TwineAuthenticate@1@1' inputs: - rootFolderOrFile: $(System.DefaultWorkingDirectory) - includeRootFolder: false - archiveType: zip - archiveFile: $(Build.ArtifactStagingDirectory)/$(Build.BuildId)-$(python.version).zip - replaceExistingArchive: true - - - task: PublishBuildArtifacts@1 - inputs: - PathtoPublish: '$(Build.ArtifactStagingDirectory)' - ArtifactName: 'drop' - publishLocation: 'Container' + artifactFeed: 'Test-feed' - script: | - pip install pytest pytest-azurepipelines - pytest - displayName: 'pytest' + pythin -m pip install twine + twine upload -r Test-feed --config-file $(PYPIRC_PATH) dist/* + displayName: 'Upload package to Test feed' From a1ea7e2c238a4664b3a204e70704f418bbc040ed Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 1 Mar 2026 09:38:42 +0000 Subject: [PATCH 04/67] Update azure-pipelines.yml for Azure Pipelines fix task name --- azure-pipelines.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 35697c00b..60b86ee66 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,8 +20,7 @@ steps: python -m build displayName: 'Build Package' - - task: - displayName: 'TwineAuthenticate@1@1' + - task: 'TwineAuthenticate@1' inputs: artifactFeed: 'Test-feed' From 04fa9400b54dae44e0fb0002814635105926ebc9 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 1 Mar 2026 10:11:56 +0000 Subject: [PATCH 05/67] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 60b86ee66..4f6f4d258 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -4,12 +4,19 @@ trigger: pool: vmImage: ubuntu-latest +variables: + feedName: 'Test-feed' + packageName: 'flask-app' + packageVersion: '1.0.$(Build.BuildID' + + strategy: matrix: Python310: python.version: '3.10' steps: +#Use Python - task: UsePythonVersion@0 inputs: versionSpec: '$(python.version)' @@ -17,14 +24,15 @@ steps: - script: | python -m pip install --upgrade pip --upgrade build - python -m build - displayName: 'Build Package' - - - task: 'TwineAuthenticate@1' - inputs: - artifactFeed: 'Test-feed' + python install -r requirements.txt + displayName: 'Install dependencies' - script: | - pythin -m pip install twine - twine upload -r Test-feed --config-file $(PYPIRC_PATH) dist/* - displayName: 'Upload package to Test feed' + echo "Pipeline workspace: $(Pipeline.Workspace)" + echo "Sources dir: $(Build.SourcesDirectory)" + echo "Artifact staging dir: $(Build.ArtifactStagingDirectory)" + echo "Contents of sources dir:" + ls -la $(Build.SourcesDirectory) + echo "Contents of artifact staging dir:" + ls -la $(Build.ArtifactStagingDirectory) + displayName: 'Debug paths' \ No newline at end of file From 7dc05c69cac6b803b95ebf87b9db88e79dbd2f41 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 1 Mar 2026 10:19:06 +0000 Subject: [PATCH 06/67] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 72 ++++++++++++++++++++++++++------------------- 1 file changed, 42 insertions(+), 30 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4f6f4d258..807edcee1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,38 +1,50 @@ trigger: -- main +- main # or your default branch pool: - vmImage: ubuntu-latest + vmImage: 'ubuntu-latest' variables: - feedName: 'Test-feed' - packageName: 'flask-app' - packageVersion: '1.0.$(Build.BuildID' + feedName: 'YourFeedName' # <-- Replace with your Azure Artifacts feed + packageName: 'flask-sample-app' # <-- Name for the universal package + packageVersion: '1.0.$(Build.BuildId)' +steps: -strategy: - matrix: - Python310: - python.version: '3.10' +# 1️⃣ Checkout your GitHub repo +- checkout: self + displayName: 'Checkout repository' -steps: -#Use Python - - task: UsePythonVersion@0 - inputs: - versionSpec: '$(python.version)' - displayName: 'Use Python $(python.version)' - - - script: | - python -m pip install --upgrade pip --upgrade build - python install -r requirements.txt - displayName: 'Install dependencies' - - - script: | - echo "Pipeline workspace: $(Pipeline.Workspace)" - echo "Sources dir: $(Build.SourcesDirectory)" - echo "Artifact staging dir: $(Build.ArtifactStagingDirectory)" - echo "Contents of sources dir:" - ls -la $(Build.SourcesDirectory) - echo "Contents of artifact staging dir:" - ls -la $(Build.ArtifactStagingDirectory) - displayName: 'Debug paths' \ No newline at end of file +# 2️⃣ Optional: Debug repo contents +- script: | + echo "Repo root: $(Build.SourcesDirectory)" + echo "Contents:" + ls -la $(Build.SourcesDirectory) + displayName: 'List repo root contents' + +# 3️⃣ Ensure artifact staging directory exists +- script: mkdir -p $(Build.ArtifactStagingDirectory) + displayName: 'Ensure artifact staging directory exists' + +# 4️⃣ Archive the entire repo into a zip +- task: ArchiveFiles@2 + inputs: + rootFolderOrFile: '$(Build.SourcesDirectory)' # <-- This is the correct folder + includeRootFolder: false # <-- Include only contents + archiveType: 'zip' + archiveFile: '$(Build.ArtifactStagingDirectory)/flask-app.zip' + replaceExistingArchive: true + displayName: 'Archive repository' + +# 5️⃣ Publish the zip as a Universal Package +- task: UniversalPackages@0 + inputs: + command: publish + publishDirectory: '$(Build.ArtifactStagingDirectory)' + feedsToUsePublish: 'internal' + vstsFeedPublish: '$(feedName)' + vstsFeedPackagePublish: '$(packageName)' + versionOption: 'custom' + versionPublish: '$(packageVersion)' + packagePublishDescription: 'Simple Flask sample app packaged as Universal Package' + displayName: 'Publish Universal Package' \ No newline at end of file From d5526045b7e10ff28ae92790c422c7b8620ede61 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 1 Mar 2026 10:19:50 +0000 Subject: [PATCH 07/67] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 807edcee1..980d3d8fd 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,7 +5,7 @@ pool: vmImage: 'ubuntu-latest' variables: - feedName: 'YourFeedName' # <-- Replace with your Azure Artifacts feed + feedName: 'Test-feed' # <-- Replace with your Azure Artifacts feed packageName: 'flask-sample-app' # <-- Name for the universal package packageVersion: '1.0.$(Build.BuildId)' From a4f333635ea4986e3b39b8d4eba74c455d3cb068 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 1 Mar 2026 10:26:38 +0000 Subject: [PATCH 08/67] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 980d3d8fd..b0f1080cd 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -42,7 +42,7 @@ steps: command: publish publishDirectory: '$(Build.ArtifactStagingDirectory)' feedsToUsePublish: 'internal' - vstsFeedPublish: '$(feedName)' + vstsFeedPublish: 'DEVOPSAZ400 Pratice (Agile One)/Test-Feed' vstsFeedPackagePublish: '$(packageName)' versionOption: 'custom' versionPublish: '$(packageVersion)' From 00de4968bbfaa305754ac5ea5ea72bca520506ab Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 1 Mar 2026 10:27:05 +0000 Subject: [PATCH 09/67] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b0f1080cd..c77c2ded9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -42,7 +42,7 @@ steps: command: publish publishDirectory: '$(Build.ArtifactStagingDirectory)' feedsToUsePublish: 'internal' - vstsFeedPublish: 'DEVOPSAZ400 Pratice (Agile One)/Test-Feed' + vstsFeedPublish: 'DevOpsAZ400 Pratice (Agile one)/Test-Feed' vstsFeedPackagePublish: '$(packageName)' versionOption: 'custom' versionPublish: '$(packageVersion)' From ba371f4875db9a3c68db11dc761f7994294a8ceb Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 1 Mar 2026 15:27:01 +0000 Subject: [PATCH 10/67] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines-2.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 azure-pipelines-2.yml diff --git a/azure-pipelines-2.yml b/azure-pipelines-2.yml new file mode 100644 index 000000000..f53e97b6b --- /dev/null +++ b/azure-pipelines-2.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 241c3f4299318f7091b31232cafcd70d6d7ac425 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 1 Mar 2026 15:43:25 +0000 Subject: [PATCH 11/67] Update azure-pipelines-2.yml for Azure Pipelines --- azure-pipelines-2.yml | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/azure-pipelines-2.yml b/azure-pipelines-2.yml index f53e97b6b..d9314556e 100644 --- a/azure-pipelines-2.yml +++ b/azure-pipelines-2.yml @@ -9,11 +9,32 @@ trigger: pool: vmImage: ubuntu-latest -steps: -- script: echo Hello, world! - displayName: 'Run a one-line script' +stages: +#Build Stage +- stage: Build + jobs: + - job: BuildJob + steps: + - script: echo "Hey there, this is the building stage!" +#Dev Environment +- stage: Dev + dependsOn: Build + jobs: + - deployment: DeployDev + environment: Dev + strategy: + runOnce: + deploy: + steps: + - script: echo "Deploying to Dev!" -- script: | - echo Add other tasks to build, test, and deploy your project. - echo See https://aka.ms/yaml - displayName: 'Run a multi-line script' +- stage: Prod + dependsOn: Dev + jobs: + - deployment: DeployProd + environment: Prod + strategy: + runOnce: + deploy: + steps: + - script: echo "Deploying to Prod!" \ No newline at end of file From 645e0fada3bed7e6ea4f4856a0d8b11c7658d8bc Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 1 Mar 2026 15:43:46 +0000 Subject: [PATCH 12/67] Update azure-pipelines-2.yml for Azure Pipelines --- azure-pipelines-2.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines-2.yml b/azure-pipelines-2.yml index d9314556e..37ccf95f9 100644 --- a/azure-pipelines-2.yml +++ b/azure-pipelines-2.yml @@ -28,6 +28,7 @@ stages: steps: - script: echo "Deploying to Dev!" +#Prod Environment - stage: Prod dependsOn: Dev jobs: From a6ac991e95b20b023bcc54c66a9d5c2b01663d42 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 1 Mar 2026 16:52:42 +0000 Subject: [PATCH 13/67] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines-3.yml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 azure-pipelines-3.yml diff --git a/azure-pipelines-3.yml b/azure-pipelines-3.yml new file mode 100644 index 000000000..57e1fa82c --- /dev/null +++ b/azure-pipelines-3.yml @@ -0,0 +1,43 @@ +# Python package +# Create and test a Python package on multiple Python versions. +# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/python + +trigger: +- main + +pool: + vmImage: ubuntu-latest + +strategy: + matrix: + Python38: + python.version: '3.8' + Python39: + python.version: '3.9' + +jobs: +- job: TestAndCoverage + display name:'Run Python Tests and collect Coverage' + +steps: +#Install Python and pip +- task: UsePythonVersion@0 + inputs: + versionSpec: '$(python.version)' +- script: | + python -m pip install --upgrade pip + pip install -r requirements.txt + +#Install Test and Coverage tool +- script: | + pytest --cov=. --cov-report=xml + displayName: 'Install test and coverage checker' + +# Publish coverage results +- task: PublishCoveCoverageResults@1 + inputs: + codeCoverageTool: 'Covertura' + summaryFileLocation:'coverage.xml' + displayName:'Publish Code to ADO' + From ccb7bac5b0a42a15ae58c3bcde60233ae09b635d Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 1 Mar 2026 16:57:16 +0000 Subject: [PATCH 14/67] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines-4.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 azure-pipelines-4.yml diff --git a/azure-pipelines-4.yml b/azure-pipelines-4.yml new file mode 100644 index 000000000..e5f9b89d2 --- /dev/null +++ b/azure-pipelines-4.yml @@ -0,0 +1,42 @@ +# Python package +# Create and test a Python package on multiple Python versions. +# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/python + +trigger: +- main + +pool: + vmImage: ubuntu-latest + +strategy: + matrix: + Python38: + python.version: '3.8' + Python39: + python.version: '3.9' + +jobs: +- job: TestAndCoverage + display name:'Run Python Tests and collect Coverage' + +steps: +#Install Python and pip +- task: UsePythonVersion@0 + inputs: + versionSpec: '$(python.version)' +- script: | + python -m pip install --upgrade pip + pip install -r requirements.txt + +#Install Test and Coverage tool +- script: | + pytest --cov=. --cov-report=xml + displayName: 'Install test and coverage checker' + +# Publish coverage results +- task: PublishCoveCoverageResults@1 + inputs: + codeCoverageTool: 'Covertura' + summaryFileLocation:'coverage.xml' + displayName:'Publish Code to ADO' \ No newline at end of file From 6641de199dfc12135fab8877ae38a7c0d21637ed Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 1 Mar 2026 17:07:57 +0000 Subject: [PATCH 15/67] Update azure-pipelines-4.yml for Azure Pipelines --- azure-pipelines-4.yml | 57 ++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 31 deletions(-) diff --git a/azure-pipelines-4.yml b/azure-pipelines-4.yml index e5f9b89d2..a13f9fbee 100644 --- a/azure-pipelines-4.yml +++ b/azure-pipelines-4.yml @@ -1,42 +1,37 @@ -# Python package -# Create and test a Python package on multiple Python versions. -# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more: -# https://docs.microsoft.com/azure/devops/pipelines/languages/python - trigger: - main pool: vmImage: ubuntu-latest -strategy: - matrix: - Python38: - python.version: '3.8' - Python39: - python.version: '3.9' - jobs: - job: TestAndCoverage - display name:'Run Python Tests and collect Coverage' + displayName: 'Run Python Tests and collect Coverage' + strategy: + matrix: + Python38: + python.version: '3.8' + Python39: + python.version: '3.9' + steps: + # Install Python and pip + - task: UsePythonVersion@0 + inputs: + versionSpec: '$(python.version)' -steps: -#Install Python and pip -- task: UsePythonVersion@0 - inputs: - versionSpec: '$(python.version)' -- script: | - python -m pip install --upgrade pip - pip install -r requirements.txt + - script: | + python -m pip install --upgrade pip + pip install -r requirements.txt + displayName: 'Install dependencies' -#Install Test and Coverage tool -- script: | - pytest --cov=. --cov-report=xml - displayName: 'Install test and coverage checker' + # Run tests and collect coverage + - script: | + pytest --cov=. --cov-report=xml + displayName: 'Run Tests and Coverage' -# Publish coverage results -- task: PublishCoveCoverageResults@1 - inputs: - codeCoverageTool: 'Covertura' - summaryFileLocation:'coverage.xml' - displayName:'Publish Code to ADO' \ No newline at end of file + # Publish coverage results + - task: PublishCodeCoverageResults@1 + inputs: + codeCoverageTool: 'Cobertura' + summaryFileLocation: 'coverage.xml' + displayName: 'Publish Code Coverage to ADO' \ No newline at end of file From 596869f598e1e23a49d38f949fffe45a8c0862f0 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 1 Mar 2026 17:12:59 +0000 Subject: [PATCH 16/67] Update azure-pipelines-4.yml for Azure Pipelines --- azure-pipelines-4.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines-4.yml b/azure-pipelines-4.yml index a13f9fbee..05b0cc17b 100644 --- a/azure-pipelines-4.yml +++ b/azure-pipelines-4.yml @@ -22,6 +22,7 @@ jobs: - script: | python -m pip install --upgrade pip pip install -r requirements.txt + pip install pytest pytest-cov displayName: 'Install dependencies' # Run tests and collect coverage From 4b2667ceddd0cf0df4e08050dd99287e900477c0 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 1 Mar 2026 17:13:23 +0000 Subject: [PATCH 17/67] Update azure-pipelines-4.yml for Azure Pipelines --- azure-pipelines-4.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines-4.yml b/azure-pipelines-4.yml index 05b0cc17b..150f58a15 100644 --- a/azure-pipelines-4.yml +++ b/azure-pipelines-4.yml @@ -14,7 +14,7 @@ jobs: Python39: python.version: '3.9' steps: - # Install Python and pip + # Install Python and the coverage checker - task: UsePythonVersion@0 inputs: versionSpec: '$(python.version)' From 3f730e43f5661d5ecc6ad2cc2d0afefd5289ccf0 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 7 Mar 2026 22:35:53 +0000 Subject: [PATCH 18/67] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines-5.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 azure-pipelines-5.yml diff --git a/azure-pipelines-5.yml b/azure-pipelines-5.yml new file mode 100644 index 000000000..f53e97b6b --- /dev/null +++ b/azure-pipelines-5.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 b986c462f471e9d6b09aa7e2a2f3460ffcab4268 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 7 Mar 2026 23:09:42 +0000 Subject: [PATCH 19/67] Update azure-pipelines-5.yml for Azure Pipelines --- azure-pipelines-5.yml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/azure-pipelines-5.yml b/azure-pipelines-5.yml index f53e97b6b..e0ae8074b 100644 --- a/azure-pipelines-5.yml +++ b/azure-pipelines-5.yml @@ -1,19 +1,21 @@ # 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' +#Create Infrustruture (dont forget to delete it afwards) +Stage: Create Web app to Azure +-task: AzureCLI@2 + inputs: + azureSubscription: + scriptType: + script + + +Stage: Build App + + +Stage: Deploy app to web app I created above From 24f2eceba5275745c98fa3e10a6db995305daac7 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 7 Mar 2026 23:12:17 +0000 Subject: [PATCH 20/67] Update azure-pipelines-5.yml for Azure Pipelines --- azure-pipelines-5.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/azure-pipelines-5.yml b/azure-pipelines-5.yml index e0ae8074b..1a11ff9f3 100644 --- a/azure-pipelines-5.yml +++ b/azure-pipelines-5.yml @@ -15,7 +15,13 @@ Stage: Create Web app to Azure script +#Build the app Stage: Build App +#Deploy it to app created in stage one Stage: Deploy app to web app I created above + + +Stage: +Echo: "Delete it now" \ No newline at end of file From d0307360480b9ca22353c4c5a5e75dbbbc87172f Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 8 Mar 2026 10:22:56 +0000 Subject: [PATCH 21/67] Update azure-pipelines-5.yml for Azure Pipelines --- azure-pipelines-5.yml | 73 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 58 insertions(+), 15 deletions(-) diff --git a/azure-pipelines-5.yml b/azure-pipelines-5.yml index 1a11ff9f3..a6bcc54f4 100644 --- a/azure-pipelines-5.yml +++ b/azure-pipelines-5.yml @@ -6,22 +6,65 @@ pool: vmImage: ubuntu-latest -#Create Infrustruture (dont forget to delete it afwards) -Stage: Create Web app to Azure --task: AzureCLI@2 - inputs: - azureSubscription: - scriptType: - script +stages: +- stage: Create Web App + displayName: 'Create Web App on Azure' + jobs: + - job: CreateApp + displayName: 'Create app via CLI' + steps: + - task: AzureCLI@2 + displayName: AzureCLI Deployment + inputs: + azureSubscription: # string. Alias: connectedServiceNameARM. Required. Azure Resource Manager connection. + scriptType:'bash' + scriptLocation: inlineScript + inlineScript: | + az webapp create \ --resource-group AZ400-play \ --plan ASP-AzureAppIncidentProjectgroup-8d3f \ --name myflaskwebapp123 \ --runtime "PYTHON:3.10" +- stage: Build app + displayName: 'Build Python Stage' + dependsOn: Create Web App + isSkippable: false + jobs: + - job: Build App on Devops + displayName: 'Build App on Devops' + steps: + - task: UsePythonVersion@0 + inputs: + versionSpec: '$(python.version)' + - script: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install pytest pytest-cov + displayName: 'Install dependencies' -#Build the app -Stage: Build App +- stage: Deploy app + displayName: 'Deploy App Stage' + dependsOn: Build app + isSkippable: false + jobs: + - job: Deploy to Azure + displayName: 'Deploy Build App to Azure' + steps: + - script: | + echo "Running unit tests..." + displayName: 'Run unit tests' + - task: AzureWebApp@1 + inputs: + azureSubscription: # string. Required. Azure subscription. + appType: # 'webApp' | 'webAppLinux'. Required. App type. + appName: # string. Required. App name. + package: '$(System.DefaultWorkingDirectory)/**/*.zip' # string. Required. Package or folder. Default: $(System.DefaultWorkingDirectory)/**/*.zip. -#Deploy it to app created in stage one -Stage: Deploy app to web app I created above - - -Stage: -Echo: "Delete it now" \ No newline at end of file +- stage: Reminder to delete + displayName: 'Reminder to delete' + dependsOn: Deploy App + isSkippable: false + jobs: + - job: Reminder + displayName: 'Text reminder ' + steps: + - script: | + echo "Delete or at least stop" From 7dce12043d699e66de4590fd05cd64be640cc631 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 8 Mar 2026 11:00:47 +0000 Subject: [PATCH 22/67] Update azure-pipelines-5.yml for Azure Pipelines --- azure-pipelines-5.yml | 56 +++++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/azure-pipelines-5.yml b/azure-pipelines-5.yml index a6bcc54f4..14e672bd0 100644 --- a/azure-pipelines-5.yml +++ b/azure-pipelines-5.yml @@ -1,4 +1,5 @@ -# Starter pipeline +# Pipeline I created to 1)create webapp into exisitng rg and plan + trigger: - main @@ -7,27 +8,31 @@ pool: stages: -- stage: Create Web App - displayName: 'Create Web App on Azure' +- stage: CreateWebApp + displayName: "Create Web App on Azure" jobs: - job: CreateApp displayName: 'Create app via CLI' steps: - task: AzureCLI@2 - displayName: AzureCLI Deployment + displayName: "AzureCLI Deployment" inputs: - azureSubscription: # string. Alias: connectedServiceNameARM. Required. Azure Resource Manager connection. - scriptType:'bash' - scriptLocation: inlineScript - inlineScript: | - az webapp create \ --resource-group AZ400-play \ --plan ASP-AzureAppIncidentProjectgroup-8d3f \ --name myflaskwebapp123 \ --runtime "PYTHON:3.10" + azureSubscription: SPN-Dev-01 + scriptType: bash + scriptLocation: inlineScript + inlineScript: | + az webapp create \ + --resource-group AZ400-play \ + --plan ASP-AzureAppIncidentProjectgroup-8d3f \ + --name flaskappgmd28 \ + --runtime "PYTHON:3.10" -- stage: Build app +- stage: BuildApp displayName: 'Build Python Stage' - dependsOn: Create Web App + dependsOn: CreateWebApp isSkippable: false jobs: - - job: Build App on Devops + - job: BuildAppOnDevops displayName: 'Build App on Devops' steps: - task: UsePythonVersion@0 @@ -36,35 +41,30 @@ stages: - script: | python -m pip install --upgrade pip pip install -r requirements.txt - pip install pytest pytest-cov displayName: 'Install dependencies' -- stage: Deploy app +- stage: DeployApp displayName: 'Deploy App Stage' - dependsOn: Build app + dependsOn: BuildApp isSkippable: false jobs: - - job: Deploy to Azure + - job: DeployToAzure displayName: 'Deploy Build App to Azure' steps: - - script: | - echo "Running unit tests..." - displayName: 'Run unit tests' - task: AzureWebApp@1 - inputs: - azureSubscription: # string. Required. Azure subscription. - appType: # 'webApp' | 'webAppLinux'. Required. App type. - appName: # string. Required. App name. - package: '$(System.DefaultWorkingDirectory)/**/*.zip' # string. Required. Package or folder. Default: $(System.DefaultWorkingDirectory)/**/*.zip. - + inputs: + azureSubscription: SPN-Dev-01 + appType: webApp + appName: flaskappgmd28 + package: '$(System.DefaultWorkingDirectory)' -- stage: Reminder to delete +- stage: ReminderToDelete displayName: 'Reminder to delete' - dependsOn: Deploy App + dependsOn: DeployApp isSkippable: false jobs: - job: Reminder displayName: 'Text reminder ' steps: - script: | - echo "Delete or at least stop" + echo "Delete or at least stop" From 7b88b873dcb9db4a847d63759b04059a01efec0d Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 8 Mar 2026 11:07:58 +0000 Subject: [PATCH 23/67] Update azure-pipelines-5.yml for Azure Pipelines removed space after / coz it wasnt allowing it to recognise it when creating the webapp --- azure-pipelines-5.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/azure-pipelines-5.yml b/azure-pipelines-5.yml index 14e672bd0..9731c6031 100644 --- a/azure-pipelines-5.yml +++ b/azure-pipelines-5.yml @@ -21,10 +21,10 @@ stages: scriptType: bash scriptLocation: inlineScript inlineScript: | - az webapp create \ - --resource-group AZ400-play \ - --plan ASP-AzureAppIncidentProjectgroup-8d3f \ - --name flaskappgmd28 \ + az webapp create \ + --resource-group AZ400-play \ + --plan ASP-AzureAppIncidentProjectgroup-8d3f \ + --name flaskappgmd28 \ --runtime "PYTHON:3.10" - stage: BuildApp From 7a06d3a6bddf0a93b9c309db3daf5b99551692d6 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 8 Mar 2026 11:27:53 +0000 Subject: [PATCH 24/67] Update azure-pipelines-5.yml for Azure Pipelines --- azure-pipelines-5.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/azure-pipelines-5.yml b/azure-pipelines-5.yml index 9731c6031..ef49c488e 100644 --- a/azure-pipelines-5.yml +++ b/azure-pipelines-5.yml @@ -1,7 +1,11 @@ # Pipeline I created to 1)create webapp into exisitng rg and plan +--- trigger: -- main + branches: + include: + - main + batch: true pool: vmImage: ubuntu-latest From 1ed6412bec7accdc7dfee33e3f562f174610b880 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 8 Mar 2026 11:41:34 +0000 Subject: [PATCH 25/67] Update azure-pipelines-5.yml for Azure Pipelines --- azure-pipelines-5.yml | 48 +++++++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/azure-pipelines-5.yml b/azure-pipelines-5.yml index ef49c488e..37bef2b08 100644 --- a/azure-pipelines-5.yml +++ b/azure-pipelines-5.yml @@ -1,6 +1,5 @@ -# Pipeline I created to 1)create webapp into exisitng rg and plan +# Pipeline to create webapp, build, deploy, and reminder ---- trigger: branches: include: @@ -10,47 +9,54 @@ trigger: pool: vmImage: ubuntu-latest - stages: +# =============================== +# Stage 1: Create Web App +# =============================== - stage: CreateWebApp - displayName: "Create Web App on Azure" + displayName: Create Web App on Azure jobs: - job: CreateApp - displayName: 'Create app via CLI' + displayName: Create app via CLI steps: - task: AzureCLI@2 - displayName: "AzureCLI Deployment" + displayName: "Create Web App if not exists" inputs: - azureSubscription: SPN-Dev-01 - scriptType: bash + azureSubscription: SPN-Dev-01 + scriptType: bash scriptLocation: inlineScript inlineScript: | - az webapp create \ - --resource-group AZ400-play \ - --plan ASP-AzureAppIncidentProjectgroup-8d3f \ - --name flaskappgmd28 \ - --runtime "PYTHON:3.10" + if az webapp show --name flaskappgmd28 --resource-group AZ400-play &>/dev/null; then + echo "Web app already exists, skipping creation" + else + az webapp create --resource-group AZ400-play --plan ASP-AzureAppIncidentProjectgroup-8d3f --name flaskappgmd28 --runtime "PYTHON:3.10" + fi +# =============================== +# Stage 2: Build Python App +# =============================== - stage: BuildApp displayName: 'Build Python Stage' dependsOn: CreateWebApp - isSkippable: false jobs: - job: BuildAppOnDevops - displayName: 'Build App on Devops' + displayName: 'Build App on DevOps' steps: - task: UsePythonVersion@0 inputs: - versionSpec: '$(python.version)' + versionSpec: '3.10' # Updated to 3.10, change if you want + addToPath: true - script: | python -m pip install --upgrade pip pip install -r requirements.txt displayName: 'Install dependencies' +# =============================== +# Stage 3: Deploy App +# =============================== - stage: DeployApp displayName: 'Deploy App Stage' dependsOn: BuildApp - isSkippable: false jobs: - job: DeployToAzure displayName: 'Deploy Build App to Azure' @@ -62,13 +68,15 @@ stages: appName: flaskappgmd28 package: '$(System.DefaultWorkingDirectory)' +# =============================== +# Stage 4: Reminder +# =============================== - stage: ReminderToDelete displayName: 'Reminder to delete' dependsOn: DeployApp - isSkippable: false jobs: - job: Reminder - displayName: 'Text reminder ' + displayName: 'Text reminder' steps: - script: | - echo "Delete or at least stop" + echo "Delete or at least stop" \ No newline at end of file From 1b99d431bf23956035395a0aed0ee187eea1c13b Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 8 Mar 2026 11:42:06 +0000 Subject: [PATCH 26/67] Update azure-pipelines-5.yml for Azure Pipelines --- azure-pipelines-5.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines-5.yml b/azure-pipelines-5.yml index 37bef2b08..d8ccf3c5b 100644 --- a/azure-pipelines-5.yml +++ b/azure-pipelines-5.yml @@ -44,7 +44,7 @@ stages: steps: - task: UsePythonVersion@0 inputs: - versionSpec: '3.10' # Updated to 3.10, change if you want + versionSpec: '3.10' addToPath: true - script: | python -m pip install --upgrade pip From c441a94852bd09ffdebea615814c2c48133d890a Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 8 Mar 2026 11:56:36 +0000 Subject: [PATCH 27/67] Create app.py As I wanted to see proof that my code was delpyed to webapp --- app.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 app.py diff --git a/app.py b/app.py new file mode 100644 index 000000000..1ac232478 --- /dev/null +++ b/app.py @@ -0,0 +1,7 @@ +from flask import Flask + +app = Flask(__name__) + +@app.route("/") +def home(): + return "Hello from Flask!If you can see this, the code has been deployed to your webapp" From be328f7e1d10f73ab8916419b9868bb41eb2c653 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 8 Mar 2026 11:57:55 +0000 Subject: [PATCH 28/67] Update requirements.txt update flask to see it on the webapp --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e3e9a71d9..cdd7590ae 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ -Flask +Flask==2.3.0 +gunicorn==20.1.0 From e821e6007b142932d015167e8f5afc479c019da6 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 8 Mar 2026 11:58:47 +0000 Subject: [PATCH 29/67] Update azure-pipelines-5.yml for Azure Pipelines update so I can see the flask on webapp --- azure-pipelines-5.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines-5.yml b/azure-pipelines-5.yml index d8ccf3c5b..064a5d164 100644 --- a/azure-pipelines-5.yml +++ b/azure-pipelines-5.yml @@ -67,6 +67,7 @@ stages: appType: webApp appName: flaskappgmd28 package: '$(System.DefaultWorkingDirectory)' + startupCommand: 'gunicorn --bind 0.0.0.0:8000 app:app' # =============================== # Stage 4: Reminder From 3905a4d7fa1ff6c3e6e8c8459857f642117d34ce Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 8 Mar 2026 12:08:40 +0000 Subject: [PATCH 30/67] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c77c2ded9..bfa83912e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,5 +1,3 @@ -trigger: -- main # or your default branch pool: vmImage: 'ubuntu-latest' From 457e0d40d3268c1a3bbd098f03ec63a04c21633d Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 8 Mar 2026 12:09:15 +0000 Subject: [PATCH 31/67] Update azure-pipelines-2.yml for Azure Pipelines --- azure-pipelines-2.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/azure-pipelines-2.yml b/azure-pipelines-2.yml index 37ccf95f9..762a0fa04 100644 --- a/azure-pipelines-2.yml +++ b/azure-pipelines-2.yml @@ -3,8 +3,7 @@ # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml -trigger: -- main +#trigger removed to avoid it all running and taking up microsoft agents pool: vmImage: ubuntu-latest From b084e01bc39fceb7daeacd12ee147a4002c013de Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 8 Mar 2026 12:09:53 +0000 Subject: [PATCH 32/67] Update azure-pipelines-5.yml for Azure Pipelines --- azure-pipelines-5.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/azure-pipelines-5.yml b/azure-pipelines-5.yml index 064a5d164..313f32387 100644 --- a/azure-pipelines-5.yml +++ b/azure-pipelines-5.yml @@ -1,11 +1,5 @@ # Pipeline to create webapp, build, deploy, and reminder -trigger: - branches: - include: - - main - batch: true - pool: vmImage: ubuntu-latest From c8bd291fe810af39d6fa52d1c598c0c04c000625 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 8 Mar 2026 12:10:11 +0000 Subject: [PATCH 33/67] Update azure-pipelines-4.yml for Azure Pipelines --- azure-pipelines-4.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/azure-pipelines-4.yml b/azure-pipelines-4.yml index 150f58a15..7e633dab0 100644 --- a/azure-pipelines-4.yml +++ b/azure-pipelines-4.yml @@ -1,5 +1,3 @@ -trigger: -- main pool: vmImage: ubuntu-latest From d8ed07a67c3fd4da7c356239baee7d234c0752eb Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 8 Mar 2026 12:17:14 +0000 Subject: [PATCH 34/67] test to see if all pipelines run again --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 1ac232478..6c5d1fd10 100644 --- a/app.py +++ b/app.py @@ -4,4 +4,4 @@ @app.route("/") def home(): - return "Hello from Flask!If you can see this, the code has been deployed to your webapp" + return "Hello from Flask!If you can see this, the code has been deployed to your webapp. Test to see if all pipelines run again" From 50b2d464807285edfebfee258f57c2ad5674e115 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 8 Mar 2026 12:21:42 +0000 Subject: [PATCH 35/67] test 2 --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 6c5d1fd10..20a7b246b 100644 --- a/app.py +++ b/app.py @@ -4,4 +4,4 @@ @app.route("/") def home(): - return "Hello from Flask!If you can see this, the code has been deployed to your webapp. Test to see if all pipelines run again" + return "Hello from Flask!If you can see this, the code has been deployed to your webapp. Test to see if all pipelines run again 2x" From 3a4d9ba861c59a0dc60d731b2f70d72d64866d60 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Fri, 20 Mar 2026 21:34:04 +0000 Subject: [PATCH 36/67] Create Create k8s.yaml for AKS pipeline --- Create k8s.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Create k8s.yaml diff --git a/Create k8s.yaml b/Create k8s.yaml new file mode 100644 index 000000000..9bfb6722b --- /dev/null +++ b/Create k8s.yaml @@ -0,0 +1,32 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: flaskapp +spec: + replicas: 1 + selector: + matchLabels: + app: flaskapp + template: + metadata: + labels: + app: flaskapp + spec: + containers: + - name: flaskapp + image: .azurecr.io/flaskapp:v1 + ports: + - containerPort: 5000 + +--- +apiVersion: v1 +kind: Service +metadata: + name: flaskapp-service +spec: + type: LoadBalancer + selector: + app: flaskapp + ports: + - port: 80 + targetPort: 5000 From bd13f6912f57505f2c96ec7d80a5eba5174f64dd Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Fri, 20 Mar 2026 21:37:46 +0000 Subject: [PATCH 37/67] Update and rename Create k8s.yaml to k8s.yaml --- Create k8s.yaml => k8s.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename Create k8s.yaml => k8s.yaml (89%) diff --git a/Create k8s.yaml b/k8s.yaml similarity index 89% rename from Create k8s.yaml rename to k8s.yaml index 9bfb6722b..97d927433 100644 --- a/Create k8s.yaml +++ b/k8s.yaml @@ -14,7 +14,7 @@ spec: spec: containers: - name: flaskapp - image: .azurecr.io/flaskapp:v1 + image: myacr12345gd.azurecr.io/flaskapp:v1 ports: - containerPort: 5000 From 7c5b86c91aa55934d5ce49520cc772194a78f809 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 07:54:52 +0000 Subject: [PATCH 38/67] Rename azure-pipelines-2.yml to environments-play.yml --- azure-pipelines-2.yml => environments-play.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename azure-pipelines-2.yml => environments-play.yml (94%) diff --git a/azure-pipelines-2.yml b/environments-play.yml similarity index 94% rename from azure-pipelines-2.yml rename to environments-play.yml index 762a0fa04..68e575340 100644 --- a/azure-pipelines-2.yml +++ b/environments-play.yml @@ -37,4 +37,4 @@ stages: runOnce: deploy: steps: - - script: echo "Deploying to Prod!" \ No newline at end of file + - script: echo "Deploying to Prod!" From 812f201c2a359f5a82ce08a1830d4298f0b75f03 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:02:35 +0000 Subject: [PATCH 39/67] Set up CI with Azure Pipelines [skip ci] --- 123.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 123.yml diff --git a/123.yml b/123.yml new file mode 100644 index 000000000..bfa83912e --- /dev/null +++ b/123.yml @@ -0,0 +1,48 @@ + +pool: + vmImage: 'ubuntu-latest' + +variables: + feedName: 'Test-feed' # <-- Replace with your Azure Artifacts feed + packageName: 'flask-sample-app' # <-- Name for the universal package + packageVersion: '1.0.$(Build.BuildId)' + +steps: + +# 1️⃣ Checkout your GitHub repo +- checkout: self + displayName: 'Checkout repository' + +# 2️⃣ Optional: Debug repo contents +- script: | + echo "Repo root: $(Build.SourcesDirectory)" + echo "Contents:" + ls -la $(Build.SourcesDirectory) + displayName: 'List repo root contents' + +# 3️⃣ Ensure artifact staging directory exists +- script: mkdir -p $(Build.ArtifactStagingDirectory) + displayName: 'Ensure artifact staging directory exists' + +# 4️⃣ Archive the entire repo into a zip +- task: ArchiveFiles@2 + inputs: + rootFolderOrFile: '$(Build.SourcesDirectory)' # <-- This is the correct folder + includeRootFolder: false # <-- Include only contents + archiveType: 'zip' + archiveFile: '$(Build.ArtifactStagingDirectory)/flask-app.zip' + replaceExistingArchive: true + displayName: 'Archive repository' + +# 5️⃣ Publish the zip as a Universal Package +- task: UniversalPackages@0 + inputs: + command: publish + publishDirectory: '$(Build.ArtifactStagingDirectory)' + feedsToUsePublish: 'internal' + vstsFeedPublish: 'DevOpsAZ400 Pratice (Agile one)/Test-Feed' + vstsFeedPackagePublish: '$(packageName)' + versionOption: 'custom' + versionPublish: '$(packageVersion)' + packagePublishDescription: 'Simple Flask sample app packaged as Universal Package' + displayName: 'Publish Universal Package' \ No newline at end of file From fc9af5575c7b8d9a9235e4e36d931f2ad8c578cb Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:06:56 +0000 Subject: [PATCH 40/67] Rename azure-pipelines-3.yml to code-coverage-pay.yml --- azure-pipelines-3.yml => code-coverage-pay.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename azure-pipelines-3.yml => code-coverage-pay.yml (100%) diff --git a/azure-pipelines-3.yml b/code-coverage-pay.yml similarity index 100% rename from azure-pipelines-3.yml rename to code-coverage-pay.yml From 3a5e29cf28c44f52ab3d8056858ae1a2a082444d Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:07:26 +0000 Subject: [PATCH 41/67] Set up CI with Azure Pipelines [skip ci] --- temporary2.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 temporary2.yml diff --git a/temporary2.yml b/temporary2.yml new file mode 100644 index 000000000..bfa83912e --- /dev/null +++ b/temporary2.yml @@ -0,0 +1,48 @@ + +pool: + vmImage: 'ubuntu-latest' + +variables: + feedName: 'Test-feed' # <-- Replace with your Azure Artifacts feed + packageName: 'flask-sample-app' # <-- Name for the universal package + packageVersion: '1.0.$(Build.BuildId)' + +steps: + +# 1️⃣ Checkout your GitHub repo +- checkout: self + displayName: 'Checkout repository' + +# 2️⃣ Optional: Debug repo contents +- script: | + echo "Repo root: $(Build.SourcesDirectory)" + echo "Contents:" + ls -la $(Build.SourcesDirectory) + displayName: 'List repo root contents' + +# 3️⃣ Ensure artifact staging directory exists +- script: mkdir -p $(Build.ArtifactStagingDirectory) + displayName: 'Ensure artifact staging directory exists' + +# 4️⃣ Archive the entire repo into a zip +- task: ArchiveFiles@2 + inputs: + rootFolderOrFile: '$(Build.SourcesDirectory)' # <-- This is the correct folder + includeRootFolder: false # <-- Include only contents + archiveType: 'zip' + archiveFile: '$(Build.ArtifactStagingDirectory)/flask-app.zip' + replaceExistingArchive: true + displayName: 'Archive repository' + +# 5️⃣ Publish the zip as a Universal Package +- task: UniversalPackages@0 + inputs: + command: publish + publishDirectory: '$(Build.ArtifactStagingDirectory)' + feedsToUsePublish: 'internal' + vstsFeedPublish: 'DevOpsAZ400 Pratice (Agile one)/Test-Feed' + vstsFeedPackagePublish: '$(packageName)' + versionOption: 'custom' + versionPublish: '$(packageVersion)' + packagePublishDescription: 'Simple Flask sample app packaged as Universal Package' + displayName: 'Publish Universal Package' \ No newline at end of file From 55239484f889e804a0e08e73ee73267862a51491 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:11:06 +0000 Subject: [PATCH 42/67] Set up CI with Azure Pipelines [skip ci] --- temporary3delete.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 temporary3delete.yml diff --git a/temporary3delete.yml b/temporary3delete.yml new file mode 100644 index 000000000..bfa83912e --- /dev/null +++ b/temporary3delete.yml @@ -0,0 +1,48 @@ + +pool: + vmImage: 'ubuntu-latest' + +variables: + feedName: 'Test-feed' # <-- Replace with your Azure Artifacts feed + packageName: 'flask-sample-app' # <-- Name for the universal package + packageVersion: '1.0.$(Build.BuildId)' + +steps: + +# 1️⃣ Checkout your GitHub repo +- checkout: self + displayName: 'Checkout repository' + +# 2️⃣ Optional: Debug repo contents +- script: | + echo "Repo root: $(Build.SourcesDirectory)" + echo "Contents:" + ls -la $(Build.SourcesDirectory) + displayName: 'List repo root contents' + +# 3️⃣ Ensure artifact staging directory exists +- script: mkdir -p $(Build.ArtifactStagingDirectory) + displayName: 'Ensure artifact staging directory exists' + +# 4️⃣ Archive the entire repo into a zip +- task: ArchiveFiles@2 + inputs: + rootFolderOrFile: '$(Build.SourcesDirectory)' # <-- This is the correct folder + includeRootFolder: false # <-- Include only contents + archiveType: 'zip' + archiveFile: '$(Build.ArtifactStagingDirectory)/flask-app.zip' + replaceExistingArchive: true + displayName: 'Archive repository' + +# 5️⃣ Publish the zip as a Universal Package +- task: UniversalPackages@0 + inputs: + command: publish + publishDirectory: '$(Build.ArtifactStagingDirectory)' + feedsToUsePublish: 'internal' + vstsFeedPublish: 'DevOpsAZ400 Pratice (Agile one)/Test-Feed' + vstsFeedPackagePublish: '$(packageName)' + versionOption: 'custom' + versionPublish: '$(packageVersion)' + packagePublishDescription: 'Simple Flask sample app packaged as Universal Package' + displayName: 'Publish Universal Package' \ No newline at end of file From cfeb1d481761e583f0fe9b3d4067ae9d4ede0efd Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:12:42 +0000 Subject: [PATCH 43/67] Rename azure-pipelines-5.yml to web-app-creation-and-app-deployment.yml --- ...e-pipelines-5.yml => web-app-creation-and-app-deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename azure-pipelines-5.yml => web-app-creation-and-app-deployment.yml (98%) diff --git a/azure-pipelines-5.yml b/web-app-creation-and-app-deployment.yml similarity index 98% rename from azure-pipelines-5.yml rename to web-app-creation-and-app-deployment.yml index 313f32387..65cc7fcae 100644 --- a/azure-pipelines-5.yml +++ b/web-app-creation-and-app-deployment.yml @@ -74,4 +74,4 @@ stages: displayName: 'Text reminder' steps: - script: | - echo "Delete or at least stop" \ No newline at end of file + echo "Delete or at least stop" From 714063034edbf604bc125594edce53888f0245e4 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:18:58 +0000 Subject: [PATCH 44/67] Delete temporary2.yml --- temporary2.yml | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 temporary2.yml diff --git a/temporary2.yml b/temporary2.yml deleted file mode 100644 index bfa83912e..000000000 --- a/temporary2.yml +++ /dev/null @@ -1,48 +0,0 @@ - -pool: - vmImage: 'ubuntu-latest' - -variables: - feedName: 'Test-feed' # <-- Replace with your Azure Artifacts feed - packageName: 'flask-sample-app' # <-- Name for the universal package - packageVersion: '1.0.$(Build.BuildId)' - -steps: - -# 1️⃣ Checkout your GitHub repo -- checkout: self - displayName: 'Checkout repository' - -# 2️⃣ Optional: Debug repo contents -- script: | - echo "Repo root: $(Build.SourcesDirectory)" - echo "Contents:" - ls -la $(Build.SourcesDirectory) - displayName: 'List repo root contents' - -# 3️⃣ Ensure artifact staging directory exists -- script: mkdir -p $(Build.ArtifactStagingDirectory) - displayName: 'Ensure artifact staging directory exists' - -# 4️⃣ Archive the entire repo into a zip -- task: ArchiveFiles@2 - inputs: - rootFolderOrFile: '$(Build.SourcesDirectory)' # <-- This is the correct folder - includeRootFolder: false # <-- Include only contents - archiveType: 'zip' - archiveFile: '$(Build.ArtifactStagingDirectory)/flask-app.zip' - replaceExistingArchive: true - displayName: 'Archive repository' - -# 5️⃣ Publish the zip as a Universal Package -- task: UniversalPackages@0 - inputs: - command: publish - publishDirectory: '$(Build.ArtifactStagingDirectory)' - feedsToUsePublish: 'internal' - vstsFeedPublish: 'DevOpsAZ400 Pratice (Agile one)/Test-Feed' - vstsFeedPackagePublish: '$(packageName)' - versionOption: 'custom' - versionPublish: '$(packageVersion)' - packagePublishDescription: 'Simple Flask sample app packaged as Universal Package' - displayName: 'Publish Universal Package' \ No newline at end of file From 5ae16652e8dcbb7dfe39748921a79f80eeebbcbd Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:19:11 +0000 Subject: [PATCH 45/67] Delete azure-pipelines-1.yml --- azure-pipelines-1.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 azure-pipelines-1.yml diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml deleted file mode 100644 index f53e97b6b..000000000 --- a/azure-pipelines-1.yml +++ /dev/null @@ -1,19 +0,0 @@ -# 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 c21d1846d977c6ccb2b91f841706c5f51cd9c0dc Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:19:29 +0000 Subject: [PATCH 46/67] Delete temporary3delete.yml --- temporary3delete.yml | 48 -------------------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 temporary3delete.yml diff --git a/temporary3delete.yml b/temporary3delete.yml deleted file mode 100644 index bfa83912e..000000000 --- a/temporary3delete.yml +++ /dev/null @@ -1,48 +0,0 @@ - -pool: - vmImage: 'ubuntu-latest' - -variables: - feedName: 'Test-feed' # <-- Replace with your Azure Artifacts feed - packageName: 'flask-sample-app' # <-- Name for the universal package - packageVersion: '1.0.$(Build.BuildId)' - -steps: - -# 1️⃣ Checkout your GitHub repo -- checkout: self - displayName: 'Checkout repository' - -# 2️⃣ Optional: Debug repo contents -- script: | - echo "Repo root: $(Build.SourcesDirectory)" - echo "Contents:" - ls -la $(Build.SourcesDirectory) - displayName: 'List repo root contents' - -# 3️⃣ Ensure artifact staging directory exists -- script: mkdir -p $(Build.ArtifactStagingDirectory) - displayName: 'Ensure artifact staging directory exists' - -# 4️⃣ Archive the entire repo into a zip -- task: ArchiveFiles@2 - inputs: - rootFolderOrFile: '$(Build.SourcesDirectory)' # <-- This is the correct folder - includeRootFolder: false # <-- Include only contents - archiveType: 'zip' - archiveFile: '$(Build.ArtifactStagingDirectory)/flask-app.zip' - replaceExistingArchive: true - displayName: 'Archive repository' - -# 5️⃣ Publish the zip as a Universal Package -- task: UniversalPackages@0 - inputs: - command: publish - publishDirectory: '$(Build.ArtifactStagingDirectory)' - feedsToUsePublish: 'internal' - vstsFeedPublish: 'DevOpsAZ400 Pratice (Agile one)/Test-Feed' - vstsFeedPackagePublish: '$(packageName)' - versionOption: 'custom' - versionPublish: '$(packageVersion)' - packagePublishDescription: 'Simple Flask sample app packaged as Universal Package' - displayName: 'Publish Universal Package' \ No newline at end of file From 2f6b286048ebe874c2a9bad87e3e4e810464163c Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:25:23 +0000 Subject: [PATCH 47/67] Set up CI with Azure Pipelines [skip ci] --- todelete12.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 todelete12.yml diff --git a/todelete12.yml b/todelete12.yml new file mode 100644 index 000000000..bfa83912e --- /dev/null +++ b/todelete12.yml @@ -0,0 +1,48 @@ + +pool: + vmImage: 'ubuntu-latest' + +variables: + feedName: 'Test-feed' # <-- Replace with your Azure Artifacts feed + packageName: 'flask-sample-app' # <-- Name for the universal package + packageVersion: '1.0.$(Build.BuildId)' + +steps: + +# 1️⃣ Checkout your GitHub repo +- checkout: self + displayName: 'Checkout repository' + +# 2️⃣ Optional: Debug repo contents +- script: | + echo "Repo root: $(Build.SourcesDirectory)" + echo "Contents:" + ls -la $(Build.SourcesDirectory) + displayName: 'List repo root contents' + +# 3️⃣ Ensure artifact staging directory exists +- script: mkdir -p $(Build.ArtifactStagingDirectory) + displayName: 'Ensure artifact staging directory exists' + +# 4️⃣ Archive the entire repo into a zip +- task: ArchiveFiles@2 + inputs: + rootFolderOrFile: '$(Build.SourcesDirectory)' # <-- This is the correct folder + includeRootFolder: false # <-- Include only contents + archiveType: 'zip' + archiveFile: '$(Build.ArtifactStagingDirectory)/flask-app.zip' + replaceExistingArchive: true + displayName: 'Archive repository' + +# 5️⃣ Publish the zip as a Universal Package +- task: UniversalPackages@0 + inputs: + command: publish + publishDirectory: '$(Build.ArtifactStagingDirectory)' + feedsToUsePublish: 'internal' + vstsFeedPublish: 'DevOpsAZ400 Pratice (Agile one)/Test-Feed' + vstsFeedPackagePublish: '$(packageName)' + versionOption: 'custom' + versionPublish: '$(packageVersion)' + packagePublishDescription: 'Simple Flask sample app packaged as Universal Package' + displayName: 'Publish Universal Package' \ No newline at end of file From b870646217a3741e167b54db81173e24ec778c77 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:26:10 +0000 Subject: [PATCH 48/67] Rename azure-pipelines-4.yml to test-and-coverage-report.yml --- azure-pipelines-4.yml => test-and-coverage-report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename azure-pipelines-4.yml => test-and-coverage-report.yml (94%) diff --git a/azure-pipelines-4.yml b/test-and-coverage-report.yml similarity index 94% rename from azure-pipelines-4.yml rename to test-and-coverage-report.yml index 7e633dab0..fbb11b64e 100644 --- a/azure-pipelines-4.yml +++ b/test-and-coverage-report.yml @@ -33,4 +33,4 @@ jobs: inputs: codeCoverageTool: 'Cobertura' summaryFileLocation: 'coverage.xml' - displayName: 'Publish Code Coverage to ADO' \ No newline at end of file + displayName: 'Publish Code Coverage to ADO' From bfc33a27778b585f347cb2b0a204121f646dffa7 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:26:38 +0000 Subject: [PATCH 49/67] Delete code-coverage-pay.yml --- code-coverage-pay.yml | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 code-coverage-pay.yml diff --git a/code-coverage-pay.yml b/code-coverage-pay.yml deleted file mode 100644 index 57e1fa82c..000000000 --- a/code-coverage-pay.yml +++ /dev/null @@ -1,43 +0,0 @@ -# Python package -# Create and test a Python package on multiple Python versions. -# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more: -# https://docs.microsoft.com/azure/devops/pipelines/languages/python - -trigger: -- main - -pool: - vmImage: ubuntu-latest - -strategy: - matrix: - Python38: - python.version: '3.8' - Python39: - python.version: '3.9' - -jobs: -- job: TestAndCoverage - display name:'Run Python Tests and collect Coverage' - -steps: -#Install Python and pip -- task: UsePythonVersion@0 - inputs: - versionSpec: '$(python.version)' -- script: | - python -m pip install --upgrade pip - pip install -r requirements.txt - -#Install Test and Coverage tool -- script: | - pytest --cov=. --cov-report=xml - displayName: 'Install test and coverage checker' - -# Publish coverage results -- task: PublishCoveCoverageResults@1 - inputs: - codeCoverageTool: 'Covertura' - summaryFileLocation:'coverage.xml' - displayName:'Publish Code to ADO' - From 20d80600e36e9069b63838b385c1480f60bfbd53 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:31:42 +0000 Subject: [PATCH 50/67] Delete todelete12.yml --- todelete12.yml | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 todelete12.yml diff --git a/todelete12.yml b/todelete12.yml deleted file mode 100644 index bfa83912e..000000000 --- a/todelete12.yml +++ /dev/null @@ -1,48 +0,0 @@ - -pool: - vmImage: 'ubuntu-latest' - -variables: - feedName: 'Test-feed' # <-- Replace with your Azure Artifacts feed - packageName: 'flask-sample-app' # <-- Name for the universal package - packageVersion: '1.0.$(Build.BuildId)' - -steps: - -# 1️⃣ Checkout your GitHub repo -- checkout: self - displayName: 'Checkout repository' - -# 2️⃣ Optional: Debug repo contents -- script: | - echo "Repo root: $(Build.SourcesDirectory)" - echo "Contents:" - ls -la $(Build.SourcesDirectory) - displayName: 'List repo root contents' - -# 3️⃣ Ensure artifact staging directory exists -- script: mkdir -p $(Build.ArtifactStagingDirectory) - displayName: 'Ensure artifact staging directory exists' - -# 4️⃣ Archive the entire repo into a zip -- task: ArchiveFiles@2 - inputs: - rootFolderOrFile: '$(Build.SourcesDirectory)' # <-- This is the correct folder - includeRootFolder: false # <-- Include only contents - archiveType: 'zip' - archiveFile: '$(Build.ArtifactStagingDirectory)/flask-app.zip' - replaceExistingArchive: true - displayName: 'Archive repository' - -# 5️⃣ Publish the zip as a Universal Package -- task: UniversalPackages@0 - inputs: - command: publish - publishDirectory: '$(Build.ArtifactStagingDirectory)' - feedsToUsePublish: 'internal' - vstsFeedPublish: 'DevOpsAZ400 Pratice (Agile one)/Test-Feed' - vstsFeedPackagePublish: '$(packageName)' - versionOption: 'custom' - versionPublish: '$(packageVersion)' - packagePublishDescription: 'Simple Flask sample app packaged as Universal Package' - displayName: 'Publish Universal Package' \ No newline at end of file From ec8ef6205938680ebf0e6888b9a5809c074512d8 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:33:22 +0000 Subject: [PATCH 51/67] Rename azure-pipelines.yml to Artifact-to-ADO-feed.yml --- azure-pipelines.yml => Artifact-to-ADO-feed.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename azure-pipelines.yml => Artifact-to-ADO-feed.yml (97%) diff --git a/azure-pipelines.yml b/Artifact-to-ADO-feed.yml similarity index 97% rename from azure-pipelines.yml rename to Artifact-to-ADO-feed.yml index bfa83912e..0f1510ed5 100644 --- a/azure-pipelines.yml +++ b/Artifact-to-ADO-feed.yml @@ -45,4 +45,4 @@ steps: versionOption: 'custom' versionPublish: '$(packageVersion)' packagePublishDescription: 'Simple Flask sample app packaged as Universal Package' - displayName: 'Publish Universal Package' \ No newline at end of file + displayName: 'Publish Universal Package' From fcf6fa0256af6f3dd7ae55465da83b88e7b49920 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:34:03 +0000 Subject: [PATCH 52/67] Set up CI with Azure Pipelines [skip ci] --- delete.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 delete.yml diff --git a/delete.yml b/delete.yml new file mode 100644 index 000000000..f53e97b6b --- /dev/null +++ b/delete.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 6229ad7820f93778cf82aad2e8388bf7a7f60ed9 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:40:17 +0000 Subject: [PATCH 53/67] Delete 123.yml --- 123.yml | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 123.yml diff --git a/123.yml b/123.yml deleted file mode 100644 index bfa83912e..000000000 --- a/123.yml +++ /dev/null @@ -1,48 +0,0 @@ - -pool: - vmImage: 'ubuntu-latest' - -variables: - feedName: 'Test-feed' # <-- Replace with your Azure Artifacts feed - packageName: 'flask-sample-app' # <-- Name for the universal package - packageVersion: '1.0.$(Build.BuildId)' - -steps: - -# 1️⃣ Checkout your GitHub repo -- checkout: self - displayName: 'Checkout repository' - -# 2️⃣ Optional: Debug repo contents -- script: | - echo "Repo root: $(Build.SourcesDirectory)" - echo "Contents:" - ls -la $(Build.SourcesDirectory) - displayName: 'List repo root contents' - -# 3️⃣ Ensure artifact staging directory exists -- script: mkdir -p $(Build.ArtifactStagingDirectory) - displayName: 'Ensure artifact staging directory exists' - -# 4️⃣ Archive the entire repo into a zip -- task: ArchiveFiles@2 - inputs: - rootFolderOrFile: '$(Build.SourcesDirectory)' # <-- This is the correct folder - includeRootFolder: false # <-- Include only contents - archiveType: 'zip' - archiveFile: '$(Build.ArtifactStagingDirectory)/flask-app.zip' - replaceExistingArchive: true - displayName: 'Archive repository' - -# 5️⃣ Publish the zip as a Universal Package -- task: UniversalPackages@0 - inputs: - command: publish - publishDirectory: '$(Build.ArtifactStagingDirectory)' - feedsToUsePublish: 'internal' - vstsFeedPublish: 'DevOpsAZ400 Pratice (Agile one)/Test-Feed' - vstsFeedPackagePublish: '$(packageName)' - versionOption: 'custom' - versionPublish: '$(packageVersion)' - packagePublishDescription: 'Simple Flask sample app packaged as Universal Package' - displayName: 'Publish Universal Package' \ No newline at end of file From 4ef4e369d434d11779f90d75f80995250648aed9 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:42:02 +0000 Subject: [PATCH 54/67] Set up CI with Azure Pipelines [skip ci] --- Deploy-SQL.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Deploy-SQL.yml diff --git a/Deploy-SQL.yml b/Deploy-SQL.yml new file mode 100644 index 000000000..f53e97b6b --- /dev/null +++ b/Deploy-SQL.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 03ab1ac461a3931a35efb339801313f21e4940fa Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:54:52 +0000 Subject: [PATCH 55/67] Update Deploy-SQL.yml for Azure Pipelines --- Deploy-SQL.yml | 82 +++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 68 insertions(+), 14 deletions(-) diff --git a/Deploy-SQL.yml b/Deploy-SQL.yml index f53e97b6b..ab89684c1 100644 --- a/Deploy-SQL.yml +++ b/Deploy-SQL.yml @@ -1,19 +1,73 @@ -# 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 +variables: + resourceGroup: my-sql-rg + location: uksouth + sqlServer: mysqlserver12345 + sqlDatabase: mydatabase + adminUser: sqladmin + adminPassword: $(SQL_ADMIN_PASSWORD) # store in pipeline secrets + +stages: +- stage: DeploySQL + jobs: + - job: Deploy + pool: + vmImage: ubuntu-latest + + steps: + - task: AzureCLI@2 + inputs: + azureSubscription: 'YOUR-SERVICE-CONNECTION' + scriptType: bash + scriptLocation: inlineScript + inlineScript: | + + echo "Checking Resource Group..." + if az group exists --name $resourceGroup; then + echo "Resource Group already exists" + else + echo "Creating Resource Group..." + az group create --name $resourceGroup --location $location + fi + + echo "Checking SQL Server..." + if az sql server show --name $sqlServer --resource-group $resourceGroup > /dev/null 2>&1; then + echo "SQL Server already exists" + else + echo "Creating SQL Server..." + az sql server create \ + --name $sqlServer \ + --resource-group $resourceGroup \ + --location $location \ + --admin-user $adminUser \ + --admin-password $adminPassword + fi + + echo "Checking SQL Database..." + if az sql db show --name $sqlDatabase --server $sqlServer --resource-group $resourceGroup > /dev/null 2>&1; then + echo "Database already exists" + else + echo "Creating Database..." + az sql db create \ + --resource-group $resourceGroup \ + --server $sqlServer \ + --name $sqlDatabase \ + --service-objective S0 + fi -steps: -- script: echo Hello, world! - displayName: 'Run a one-line script' + echo "Allow Azure services..." + az sql server firewall-rule create \ + --resource-group $resourceGroup \ + --server $sqlServer \ + --name AllowAllAzureIPs \ + --start-ip-address 0.0.0.0 \ + --end-ip-address 0.0.0.0 -- script: | - echo Add other tasks to build, test, and deploy your project. - echo See https://aka.ms/yaml - displayName: 'Run a multi-line script' + echo "Running SQL script..." + sqlcmd -S ${sqlServer}.database.windows.net \ + -d $sqlDatabase \ + -U $adminUser \ + -P $adminPassword \ + -i schema.sql From 28234117bfc5c08fef3da60accfef79d0201f2bd Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 09:03:46 +0000 Subject: [PATCH 56/67] Update Deploy-SQL.yml for Azure Pipelines --- Deploy-SQL.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Deploy-SQL.yml b/Deploy-SQL.yml index ab89684c1..e28cf51c8 100644 --- a/Deploy-SQL.yml +++ b/Deploy-SQL.yml @@ -19,7 +19,7 @@ stages: steps: - task: AzureCLI@2 inputs: - azureSubscription: 'YOUR-SERVICE-CONNECTION' + azureSubscription: 'SPN-Dev-01' scriptType: bash scriptLocation: inlineScript inlineScript: | From 23d19a58f79837113c5d653fba9f44d3f0ae9891 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sat, 21 Mar 2026 09:04:56 +0000 Subject: [PATCH 57/67] Create schema.sql --- schema.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 schema.sql diff --git a/schema.sql b/schema.sql new file mode 100644 index 000000000..017554ee4 --- /dev/null +++ b/schema.sql @@ -0,0 +1,8 @@ +CREATE TABLE Users ( + Id INT PRIMARY KEY, + Name NVARCHAR(100), + Email NVARCHAR(100) +); + +INSERT INTO Users (Id, Name, Email) +VALUES (1, 'Test User', 'test@email.com'); From 31c49cb9445e9484c966248abbdfdc3ed1f71d1c Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 22 Mar 2026 08:29:18 +0000 Subject: [PATCH 58/67] Update Deploy-SQL.yml for Azure Pipelines --- Deploy-SQL.yml | 99 ++++++++++++++++++++++++++++++++++---------------- 1 file changed, 68 insertions(+), 31 deletions(-) diff --git a/Deploy-SQL.yml b/Deploy-SQL.yml index e28cf51c8..7eef0c3a0 100644 --- a/Deploy-SQL.yml +++ b/Deploy-SQL.yml @@ -7,15 +7,16 @@ variables: sqlServer: mysqlserver12345 sqlDatabase: mydatabase adminUser: sqladmin - adminPassword: $(SQL_ADMIN_PASSWORD) # store in pipeline secrets + adminPassword: $(SQL_ADMIN_PASSWORD) + dacpacPath: $(Build.SourcesDirectory)/database/database.dacpac stages: - stage: DeploySQL jobs: - - job: Deploy + + - job: CheckResourceGroup pool: vmImage: ubuntu-latest - steps: - task: AzureCLI@2 inputs: @@ -23,51 +24,87 @@ stages: scriptType: bash scriptLocation: inlineScript inlineScript: | - - echo "Checking Resource Group..." - if az group exists --name $resourceGroup; then + if az group exists --name $(resourceGroup); then echo "Resource Group already exists" else - echo "Creating Resource Group..." - az group create --name $resourceGroup --location $location + az group create --name $(resourceGroup) --location $(location) fi - echo "Checking SQL Server..." - if az sql server show --name $sqlServer --resource-group $resourceGroup > /dev/null 2>&1; then + - job: CheckSQLServer + dependsOn: CheckResourceGroup + pool: + vmImage: ubuntu-latest + steps: + - task: AzureCLI@2 + inputs: + azureSubscription: 'SPN-Dev-01' + scriptType: bash + scriptLocation: inlineScript + inlineScript: | + if az sql server show --name $(sqlServer) --resource-group $(resourceGroup) > /dev/null 2>&1; then echo "SQL Server already exists" else - echo "Creating SQL Server..." az sql server create \ - --name $sqlServer \ - --resource-group $resourceGroup \ - --location $location \ - --admin-user $adminUser \ - --admin-password $adminPassword + --name $(sqlServer) \ + --resource-group $(resourceGroup) \ + --location $(location) \ + --admin-user $(adminUser) \ + --admin-password $(adminPassword) fi - echo "Checking SQL Database..." - if az sql db show --name $sqlDatabase --server $sqlServer --resource-group $resourceGroup > /dev/null 2>&1; then + - job: CheckDatabase + dependsOn: CheckSQLServer + pool: + vmImage: ubuntu-latest + steps: + - task: AzureCLI@2 + inputs: + azureSubscription: 'SPN-Dev-01' + scriptType: bash + scriptLocation: inlineScript + inlineScript: | + if az sql db show --name $(sqlDatabase) --server $(sqlServer) --resource-group $(resourceGroup) > /dev/null 2>&1; then echo "Database already exists" else - echo "Creating Database..." az sql db create \ - --resource-group $resourceGroup \ - --server $sqlServer \ - --name $sqlDatabase \ + --resource-group $(resourceGroup) \ + --server $(sqlServer) \ + --name $(sqlDatabase) \ --service-objective S0 fi - echo "Allow Azure services..." + - job: ConfigureFirewall + dependsOn: CheckDatabase + pool: + vmImage: ubuntu-latest + steps: + - task: AzureCLI@2 + inputs: + azureSubscription: 'SPN-Dev-01' + scriptType: bash + scriptLocation: inlineScript + inlineScript: | az sql server firewall-rule create \ - --resource-group $resourceGroup \ - --server $sqlServer \ + --resource-group $(resourceGroup) \ + --server $(sqlServer) \ --name AllowAllAzureIPs \ --start-ip-address 0.0.0.0 \ --end-ip-address 0.0.0.0 - echo "Running SQL script..." - sqlcmd -S ${sqlServer}.database.windows.net \ - -d $sqlDatabase \ - -U $adminUser \ - -P $adminPassword \ - -i schema.sql + - job: DeployDacpac + dependsOn: ConfigureFirewall + pool: + vmImage: ubuntu-latest + steps: + - task: SqlAzureDacpacDeployment@1 + displayName: Deploy DACPAC + inputs: + azureSubscription: 'SPN-Dev-01' + AuthenticationType: server + ServerName: $(sqlServer).database.windows.net + DatabaseName: $(sqlDatabase) + SqlUsername: $(adminUser) + SqlPassword: $(adminPassword) + deployType: DacpacTask + DeploymentAction: Publish + DacpacFile: $(dacpacPath) \ No newline at end of file From 01bc7edc1d780115ec3ab018c9db7a3a39a5bc11 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 22 Mar 2026 20:08:58 +0000 Subject: [PATCH 59/67] Create swagger.json --- swagger.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 swagger.json diff --git a/swagger.json b/swagger.json new file mode 100644 index 000000000..20c493de6 --- /dev/null +++ b/swagger.json @@ -0,0 +1,19 @@ +{ + "openapi": "3.0.0", + "info": { + "title": "Test API", + "version": "1.0.0" + }, + "paths": { + "/hello": { + "get": { + "summary": "Say hello", + "responses": { + "200": { + "description": "Successful response" + } + } + } + } + } +} From 5bf9ae85d99a8780da184e796f3c853ddf88f3af Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 22 Mar 2026 20:10:21 +0000 Subject: [PATCH 60/67] Update Deploy-SQL.yml for Azure Pipelines --- Deploy-SQL.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Deploy-SQL.yml b/Deploy-SQL.yml index 7eef0c3a0..0e4391c3f 100644 --- a/Deploy-SQL.yml +++ b/Deploy-SQL.yml @@ -1,5 +1,3 @@ -trigger: -- main variables: resourceGroup: my-sql-rg From 9ded66d2606bb6a4e70de313cabaece53e161582 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 22 Mar 2026 20:10:55 +0000 Subject: [PATCH 61/67] Set up CI with Azure Pipelines [skip ci] --- API-documentation.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 API-documentation.yml diff --git a/API-documentation.yml b/API-documentation.yml new file mode 100644 index 000000000..f53e97b6b --- /dev/null +++ b/API-documentation.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 a8fa1f1e550e27d4f6f06b4a56c47c103793a414 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 22 Mar 2026 20:12:28 +0000 Subject: [PATCH 62/67] Update API-documentation.yml for Azure Pipelines --- API-documentation.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/API-documentation.yml b/API-documentation.yml index f53e97b6b..c68646412 100644 --- a/API-documentation.yml +++ b/API-documentation.yml @@ -1,7 +1,4 @@ -# 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 +# Pipeline to publish API documentation trigger: - main @@ -10,10 +7,14 @@ 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' + npm install -g redoc-cli + redoc-cli build swagger.json -o api-docs.html + displayName: Generate API Documentation + +- task: PublishBuildArtifacts@1 + inputs: + pathToPublish: 'api-docs.html' + artifactName: 'api-docs' + displayName: Publish API Docs From 7a951ab089ba396d3b15ec6dd1a9e43299244e30 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 22 Mar 2026 20:27:47 +0000 Subject: [PATCH 63/67] Set up CI with Azure Pipelines [skip ci] --- generate-release-notes-automatically.yml | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 generate-release-notes-automatically.yml diff --git a/generate-release-notes-automatically.yml b/generate-release-notes-automatically.yml new file mode 100644 index 000000000..196924634 --- /dev/null +++ b/generate-release-notes-automatically.yml @@ -0,0 +1,33 @@ +# 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 + +pool: + vmImage: ubuntu-latest + +steps: + +# 1️⃣ Generate Release Notes +- task: GenerateReleaseNotes@3 + inputs: + outputfile: '$(Build.ArtifactStagingDirectory)/ReleaseNotes.md' + templateLocation: 'Inline' + inlineTemplate: | + # Release Notes + ## Commits + {{#each commits}} + - {{this.message}} + {{/each}} + ## Work Items + {{#each workitems}} + - {{this.id}} {{this.fields['System.Title']}} + {{/each}} + displayName: Generate Release Notes + +# 2️⃣ Publish the release notes as a build artifact +- task: PublishBuildArtifacts@1 + inputs: + pathToPublish: '$(Build.ArtifactStagingDirectory)/ReleaseNotes.md' + artifactName: 'ReleaseNotes' + displayName: Publish Release Notes \ No newline at end of file From 529d9296f6da4903020b24a2faf1720ef3e7ff5a Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 22 Mar 2026 20:28:34 +0000 Subject: [PATCH 64/67] Update generate-release-notes-automatically.yml for Azure Pipelines --- generate-release-notes-automatically.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/generate-release-notes-automatically.yml b/generate-release-notes-automatically.yml index 196924634..c484f6193 100644 --- a/generate-release-notes-automatically.yml +++ b/generate-release-notes-automatically.yml @@ -1,7 +1,5 @@ -# 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 From 6719ceb3a57fd0d15b1816b79427db94b44b5422 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 22 Mar 2026 20:29:05 +0000 Subject: [PATCH 65/67] Update API-documentation.yml for Azure Pipelines --- API-documentation.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/API-documentation.yml b/API-documentation.yml index c68646412..aa0b9f472 100644 --- a/API-documentation.yml +++ b/API-documentation.yml @@ -1,8 +1,5 @@ # Pipeline to publish API documentation -trigger: -- main - pool: vmImage: ubuntu-latest From 2cef47279586f0fc0144a67454f32b5d80f7fe26 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 22 Mar 2026 20:33:07 +0000 Subject: [PATCH 66/67] Update generate-release-notes-automatically.yml for Azure Pipelines --- generate-release-notes-automatically.yml | 39 +++++++++++++++--------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/generate-release-notes-automatically.yml b/generate-release-notes-automatically.yml index c484f6193..feb8b525c 100644 --- a/generate-release-notes-automatically.yml +++ b/generate-release-notes-automatically.yml @@ -5,23 +5,32 @@ pool: vmImage: ubuntu-latest steps: - -# 1️⃣ Generate Release Notes -- task: GenerateReleaseNotes@3 +- task: XplatGenerateReleaseNotes@4 inputs: - outputfile: '$(Build.ArtifactStagingDirectory)/ReleaseNotes.md' - templateLocation: 'Inline' - inlineTemplate: | + outputfile: 'ReleaseNotes.md' + templateLocation: 'InLine' + inlinetemplate: | # Release Notes - ## Commits - {{#each commits}} - - {{this.message}} - {{/each}} - ## Work Items - {{#each workitems}} - - {{this.id}} {{this.fields['System.Title']}} - {{/each}} - displayName: Generate Release Notes + ## Commits + {{#each commits}} + - {{this.message}} + {{/each}} + ## Work Items + {{#each workitems}} + - {{this.id}} {{this.fields['System.Title']}} + {{/each}} + dumpPayloadToConsole: false + dumpPayloadToFile: false + replaceFile: True + getParentsAndChildren: False + getAllParents: False + getIndirectPullRequests: False + stopOnError: False + considerPartiallySuccessfulReleases: False + checkForManuallyLinkedWI: False + wiqlFromTarget: 'WorkItems' + + # 2️⃣ Publish the release notes as a build artifact - task: PublishBuildArtifacts@1 From 186ed149183304973369a130ec6bb00b2158cd47 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Sun, 22 Mar 2026 20:36:02 +0000 Subject: [PATCH 67/67] Update generate-release-notes-automatically.yml for Azure Pipelines --- generate-release-notes-automatically.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/generate-release-notes-automatically.yml b/generate-release-notes-automatically.yml index feb8b525c..e20ea2a9e 100644 --- a/generate-release-notes-automatically.yml +++ b/generate-release-notes-automatically.yml @@ -30,11 +30,3 @@ steps: checkForManuallyLinkedWI: False wiqlFromTarget: 'WorkItems' - - -# 2️⃣ Publish the release notes as a build artifact -- task: PublishBuildArtifacts@1 - inputs: - pathToPublish: '$(Build.ArtifactStagingDirectory)/ReleaseNotes.md' - artifactName: 'ReleaseNotes' - displayName: Publish Release Notes \ No newline at end of file