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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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/36] 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 cfe466a22455e5859fb6be2aade0d8ca14693921 Mon Sep 17 00:00:00 2001 From: GliciniaD <190259001+GliciniaD@users.noreply.github.com> Date: Thu, 19 Mar 2026 19:48:15 +0000 Subject: [PATCH 36/36] Update azure-pipelines-2.yml --- azure-pipelines-2.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines-2.yml b/azure-pipelines-2.yml index 762a0fa04..006a2824b 100644 --- a/azure-pipelines-2.yml +++ b/azure-pipelines-2.yml @@ -3,6 +3,7 @@ # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml +#trigger removed to avoid it all running and taking up microsoft agents #trigger removed to avoid it all running and taking up microsoft agents pool: @@ -37,4 +38,4 @@ stages: runOnce: deploy: steps: - - script: echo "Deploying to Prod!" \ No newline at end of file + - script: echo "Deploying to Prod!"