From a5d8971266fbb708c7ee7eb1c7639bea6d088c63 Mon Sep 17 00:00:00 2001 From: adarsh571 Date: Fri, 17 Jan 2025 16:34:24 +0530 Subject: [PATCH 1/2] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..e7f2c77 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,25 @@ +# 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: +- master + +pool: + vmImage: ubuntu-latest +variables: + imageName: 'demo-pipelines-docker' + +steps: + - task: Docker@2 + displayName: Build the demo image + inputs: + repository: $(imageName) + command: build + Dockerfile: app/Dockerfile + +- 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 5738d25554db4700789e61ff2d01c6a8e6c96da6 Mon Sep 17 00:00:00 2001 From: adarsh571 Date: Fri, 17 Jan 2025 16:35:24 +0530 Subject: [PATCH 2/2] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e7f2c77..6e8df3e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,9 +17,4 @@ steps: inputs: repository: $(imageName) command: build - Dockerfile: app/Dockerfile - -- script: | - echo Add other tasks to build, test, and deploy your project. - echo See https://aka.ms/yaml - displayName: 'Run a multi-line script' + Dockerfile: app/Dockerfile \ No newline at end of file