From c202cb7bbd4eec0e8d69b6d21e391fadd65b69d1 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 21:20:59 +0530 Subject: [PATCH 01/43] Set up CI with Azure Pipelines [skip ci] --- ...cker-build-and-push-to-acr-pipeline-01.yml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 01-docker-build-and-push-to-acr-pipeline-01.yml diff --git a/01-docker-build-and-push-to-acr-pipeline-01.yml b/01-docker-build-and-push-to-acr-pipeline-01.yml new file mode 100644 index 0000000..9046f4e --- /dev/null +++ b/01-docker-build-and-push-to-acr-pipeline-01.yml @@ -0,0 +1,39 @@ +# Docker +# Build and push an image to Azure Container Registry +# https://docs.microsoft.com/azure/devops/pipelines/languages/docker + +trigger: +- master + +resources: +- repo: self + +variables: + # Container registry service connection established during pipeline creation + dockerRegistryServiceConnection: '5bdce1ee-4335-45d7-9b0e-35c0ec32aac3' + imageRepository: 'app1ngnix' + containerRegistry: 'cgaksdevopsacr.azurecr.io' + dockerfilePath: '$(Build.SourcesDirectory)/Dockerfile' + tag: '$(Build.BuildId)' + + # Agent VM image name + vmImageName: 'ubuntu-latest' + +stages: +- stage: Build + displayName: Build and push stage + jobs: + - job: Build + displayName: Build + pool: + vmImage: $(vmImageName) + steps: + - task: Docker@2 + displayName: Build and push an image to container registry + inputs: + command: buildAndPush + repository: $(imageRepository) + dockerfile: $(dockerfilePath) + containerRegistry: $(dockerRegistryServiceConnection) + tags: | + $(tag) From 3562267289018ceedd6b38d94f4780cebfc99024 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 21:24:46 +0530 Subject: [PATCH 02/43] Update 01-docker-build-and-push-to-acr-pipeline-01.yml for Azure Pipelines --- 01-docker-build-and-push-to-acr-pipeline-01.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01-docker-build-and-push-to-acr-pipeline-01.yml b/01-docker-build-and-push-to-acr-pipeline-01.yml index 9046f4e..50db7f0 100644 --- a/01-docker-build-and-push-to-acr-pipeline-01.yml +++ b/01-docker-build-and-push-to-acr-pipeline-01.yml @@ -17,7 +17,7 @@ variables: tag: '$(Build.BuildId)' # Agent VM image name - vmImageName: 'ubuntu-latest' + vmImageName: 'Linuxtesting' stages: - stage: Build From cd097e532a77bc3abad3a6239841b3f3a1a95e01 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 21:26:00 +0530 Subject: [PATCH 03/43] Update 01-docker-build-and-push-to-acr-pipeline-01.yml for Azure Pipelines --- 01-docker-build-and-push-to-acr-pipeline-01.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01-docker-build-and-push-to-acr-pipeline-01.yml b/01-docker-build-and-push-to-acr-pipeline-01.yml index 50db7f0..34f38f2 100644 --- a/01-docker-build-and-push-to-acr-pipeline-01.yml +++ b/01-docker-build-and-push-to-acr-pipeline-01.yml @@ -26,7 +26,7 @@ stages: - job: Build displayName: Build pool: - vmImage: $(vmImageName) + name: $(vmImageName) steps: - task: Docker@2 displayName: Build and push an image to container registry From dcda9f6fa149587c1ce3ab274e616371d5bce61c Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 21:45:19 +0530 Subject: [PATCH 04/43] Update 01-docker-build-and-push-to-acr-pipeline-01.yml for Azure Pipelines --- 01-docker-build-and-push-to-acr-pipeline-01.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01-docker-build-and-push-to-acr-pipeline-01.yml b/01-docker-build-and-push-to-acr-pipeline-01.yml index 34f38f2..f32aff1 100644 --- a/01-docker-build-and-push-to-acr-pipeline-01.yml +++ b/01-docker-build-and-push-to-acr-pipeline-01.yml @@ -11,7 +11,7 @@ resources: variables: # Container registry service connection established during pipeline creation dockerRegistryServiceConnection: '5bdce1ee-4335-45d7-9b0e-35c0ec32aac3' - imageRepository: 'app1ngnix' + imageRepository: 'app1/app1ngnix' containerRegistry: 'cgaksdevopsacr.azurecr.io' dockerfilePath: '$(Build.SourcesDirectory)/Dockerfile' tag: '$(Build.BuildId)' From 8f0ffa79703edac1813ff2bdba778ff78bb0f5bb Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 21:47:59 +0530 Subject: [PATCH 05/43] Update 01-docker-build-and-push-to-acr-pipeline-01.yml for Azure Pipelines --- 01-docker-build-and-push-to-acr-pipeline-01.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01-docker-build-and-push-to-acr-pipeline-01.yml b/01-docker-build-and-push-to-acr-pipeline-01.yml index f32aff1..146562b 100644 --- a/01-docker-build-and-push-to-acr-pipeline-01.yml +++ b/01-docker-build-and-push-to-acr-pipeline-01.yml @@ -11,7 +11,7 @@ resources: variables: # Container registry service connection established during pipeline creation dockerRegistryServiceConnection: '5bdce1ee-4335-45d7-9b0e-35c0ec32aac3' - imageRepository: 'app1/app1ngnix' + imageRepository: 'appp/app1ngnix' containerRegistry: 'cgaksdevopsacr.azurecr.io' dockerfilePath: '$(Build.SourcesDirectory)/Dockerfile' tag: '$(Build.BuildId)' From 7776562d41c4324f536a116a336f0f14725930bd Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 21:49:47 +0530 Subject: [PATCH 06/43] Update 01-docker-build-and-push-to-acr-pipeline-01.yml for Azure Pipelines --- 01-docker-build-and-push-to-acr-pipeline-01.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01-docker-build-and-push-to-acr-pipeline-01.yml b/01-docker-build-and-push-to-acr-pipeline-01.yml index 146562b..d31c063 100644 --- a/01-docker-build-and-push-to-acr-pipeline-01.yml +++ b/01-docker-build-and-push-to-acr-pipeline-01.yml @@ -11,7 +11,7 @@ resources: variables: # Container registry service connection established during pipeline creation dockerRegistryServiceConnection: '5bdce1ee-4335-45d7-9b0e-35c0ec32aac3' - imageRepository: 'appp/app1ngnix' + imageRepository: 'app/app1ngnix' containerRegistry: 'cgaksdevopsacr.azurecr.io' dockerfilePath: '$(Build.SourcesDirectory)/Dockerfile' tag: '$(Build.BuildId)' From 7cacd84af8aa9d513483e15c179285af32881e4c Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 22:03:40 +0530 Subject: [PATCH 07/43] Set up CI with Azure Pipelines [skip ci] --- ...cker-BuildPushToACR-DeployToAKSCluster.yml | 142 ++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 022-Docker-BuildPushToACR-DeployToAKSCluster.yml diff --git a/022-Docker-BuildPushToACR-DeployToAKSCluster.yml b/022-Docker-BuildPushToACR-DeployToAKSCluster.yml new file mode 100644 index 0000000..6fa147d --- /dev/null +++ b/022-Docker-BuildPushToACR-DeployToAKSCluster.yml @@ -0,0 +1,142 @@ +# Deploy to Azure Kubernetes Service +# Build and push image to Azure Container Registry; Deploy to Azure Kubernetes Service +# https://docs.microsoft.com/azure/devops/pipelines/languages/docker + +trigger: +- master + +resources: +- repo: self + +variables: + + # Container registry service connection established during pipeline creation + dockerRegistryServiceConnection: '19dbd652-a020-41ce-9b5e-c8f514f48fd4' + imageRepository: 'sapp1ngnixaks' + containerRegistry: 'cgaksdevopsacr.azurecr.io' + dockerfilePath: '**/Dockerfile' + tag: '$(Build.BuildId)' + imagePullSecret: 'cgaksdevopsacr9883eefa-auth' + + # Agent VM image name + vmImageName: 'Linuxtesting' + + # Name of the new namespace being created to deploy the PR changes. + k8sNamespaceForPR: 'review-app-$(System.PullRequest.PullRequestId)' + +stages: +- stage: Build + displayName: Build stage + jobs: + - job: Build + displayName: Build + pool: + vmImage: $(vmImageName) + steps: + - task: Docker@2 + displayName: Build and push an image to container registry + inputs: + command: buildAndPush + repository: $(imageRepository) + dockerfile: $(dockerfilePath) + containerRegistry: $(dockerRegistryServiceConnection) + tags: | + $(tag) + + - upload: manifests + artifact: manifests + +- stage: Deploy + displayName: Deploy stage + dependsOn: Build + + jobs: + - deployment: Deploy + condition: and(succeeded(), not(startsWith(variables['Build.SourceBranch'], 'refs/pull/'))) + displayName: Deploy + pool: + vmImage: $(vmImageName) + environment: 'shyam1986azuredevopsgithubacraksapp1.default' + strategy: + runOnce: + deploy: + steps: + - task: KubernetesManifest@0 + displayName: Create imagePullSecret + inputs: + action: createSecret + secretName: $(imagePullSecret) + dockerRegistryEndpoint: $(dockerRegistryServiceConnection) + + - task: KubernetesManifest@0 + displayName: Deploy to Kubernetes cluster + inputs: + action: deploy + manifests: | + $(Pipeline.Workspace)/manifests/deployment.yml + $(Pipeline.Workspace)/manifests/service.yml + imagePullSecrets: | + $(imagePullSecret) + containers: | + $(containerRegistry)/$(imageRepository):$(tag) + + - deployment: DeployPullRequest + displayName: Deploy Pull request + condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/pull/')) + pool: + name: $(vmImageName) + + environment: 'shyam1986azuredevopsgithubacraksapp1.$(k8sNamespaceForPR)' + strategy: + runOnce: + deploy: + steps: + - reviewApp: default + + - task: Kubernetes@1 + displayName: 'Create a new namespace for the pull request' + inputs: + command: apply + useConfigurationFile: true + inline: '{ "kind": "Namespace", "apiVersion": "v1", "metadata": { "name": "$(k8sNamespaceForPR)" }}' + + - task: KubernetesManifest@0 + displayName: Create imagePullSecret + inputs: + action: createSecret + secretName: $(imagePullSecret) + namespace: $(k8sNamespaceForPR) + dockerRegistryEndpoint: $(dockerRegistryServiceConnection) + + - task: KubernetesManifest@0 + displayName: Deploy to the new namespace in the Kubernetes cluster + inputs: + action: deploy + namespace: $(k8sNamespaceForPR) + manifests: | + $(Pipeline.Workspace)/manifests/deployment.yml + $(Pipeline.Workspace)/manifests/service.yml + imagePullSecrets: | + $(imagePullSecret) + containers: | + $(containerRegistry)/$(imageRepository):$(tag) + + - task: Kubernetes@1 + name: get + displayName: 'Get services in the new namespace' + continueOnError: true + inputs: + command: get + namespace: $(k8sNamespaceForPR) + arguments: svc + outputFormat: jsonpath='http://{.items[0].status.loadBalancer.ingress[0].ip}:{.items[0].spec.ports[0].port}' + + # Getting the IP of the deployed service and writing it to a variable for posing comment + - script: | + url="$(get.KubectlOutput)" + message="Your review app has been deployed" + if [ ! -z "$url" -a "$url" != "http://:" ] + then + message="${message} and is available at $url.

[Learn More](https://aka.ms/testwithreviewapps) about how to test and provide feedback for the app." + fi + echo "##vso[task.setvariable variable=GITHUB_COMMENT]$message" From 7abde29daefd25389f4d72403039977a5f73795c Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 22:07:30 +0530 Subject: [PATCH 08/43] Delete 01-docker-build-and-push-to-acr-pipeline-01.yml --- ...cker-build-and-push-to-acr-pipeline-01.yml | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100644 01-docker-build-and-push-to-acr-pipeline-01.yml diff --git a/01-docker-build-and-push-to-acr-pipeline-01.yml b/01-docker-build-and-push-to-acr-pipeline-01.yml deleted file mode 100644 index d31c063..0000000 --- a/01-docker-build-and-push-to-acr-pipeline-01.yml +++ /dev/null @@ -1,39 +0,0 @@ -# Docker -# Build and push an image to Azure Container Registry -# https://docs.microsoft.com/azure/devops/pipelines/languages/docker - -trigger: -- master - -resources: -- repo: self - -variables: - # Container registry service connection established during pipeline creation - dockerRegistryServiceConnection: '5bdce1ee-4335-45d7-9b0e-35c0ec32aac3' - imageRepository: 'app/app1ngnix' - containerRegistry: 'cgaksdevopsacr.azurecr.io' - dockerfilePath: '$(Build.SourcesDirectory)/Dockerfile' - tag: '$(Build.BuildId)' - - # Agent VM image name - vmImageName: 'Linuxtesting' - -stages: -- stage: Build - displayName: Build and push stage - jobs: - - job: Build - displayName: Build - pool: - name: $(vmImageName) - steps: - - task: Docker@2 - displayName: Build and push an image to container registry - inputs: - command: buildAndPush - repository: $(imageRepository) - dockerfile: $(dockerfilePath) - containerRegistry: $(dockerRegistryServiceConnection) - tags: | - $(tag) From 91a25f51f525e240fac49ceb97a107a261b2b0f9 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 22:07:57 +0530 Subject: [PATCH 09/43] Delete 01-docker-build-and-push-to-acr-pipeline.yml --- 01-docker-build-and-push-to-acr-pipeline.yml | 39 -------------------- 1 file changed, 39 deletions(-) delete mode 100644 01-docker-build-and-push-to-acr-pipeline.yml diff --git a/01-docker-build-and-push-to-acr-pipeline.yml b/01-docker-build-and-push-to-acr-pipeline.yml deleted file mode 100644 index cbeb7fc..0000000 --- a/01-docker-build-and-push-to-acr-pipeline.yml +++ /dev/null @@ -1,39 +0,0 @@ -# Docker -# Build and push an image to Azure Container Registry -# https://docs.microsoft.com/azure/devops/pipelines/languages/docker - -trigger: -- master - -resources: -- repo: self - -variables: - # Container registry service connection established during pipeline creation - dockerRegistryServiceConnection: '4ee05316-45b2-4c65-9574-a13237e77eb4' - imageRepository: 'app1/app1nginx' - containerRegistry: 'aksdevopsacr.azurecr.io' - dockerfilePath: '$(Build.SourcesDirectory)/Dockerfile' - tag: '$(Build.BuildId)' - - # Agent VM image name - vmImageName: 'ubuntu-latest' - -stages: -- stage: Build - displayName: Build and push stage - jobs: - - job: Build - displayName: Build - pool: - vmImage: $(vmImageName) - steps: - - task: Docker@2 - displayName: Build and push an image to container registry - inputs: - command: buildAndPush - repository: $(imageRepository) - dockerfile: $(dockerfilePath) - containerRegistry: $(dockerRegistryServiceConnection) - tags: | - $(tag) From 0e1ab1b40982d5d521056f1dbb424e82f7a25f50 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 22:08:17 +0530 Subject: [PATCH 10/43] Delete 02-docker-build-push-to-acs-deploy-to-aks-pipeline.yml --- ...ild-push-to-acs-deploy-to-aks-pipeline.yml | 79 ------------------- 1 file changed, 79 deletions(-) delete mode 100644 02-docker-build-push-to-acs-deploy-to-aks-pipeline.yml diff --git a/02-docker-build-push-to-acs-deploy-to-aks-pipeline.yml b/02-docker-build-push-to-acs-deploy-to-aks-pipeline.yml deleted file mode 100644 index d457d27..0000000 --- a/02-docker-build-push-to-acs-deploy-to-aks-pipeline.yml +++ /dev/null @@ -1,79 +0,0 @@ -# Deploy to Azure Kubernetes Service -# Build and push image to Azure Container Registry; Deploy to Azure Kubernetes Service -# https://docs.microsoft.com/azure/devops/pipelines/languages/docker - -trigger: -- master - -resources: -- repo: self - -variables: - - # Container registry service connection established during pipeline creation - dockerRegistryServiceConnection: '569fbdc4-eae7-48e7-a717-a723d2ae03ce' - imageRepository: 'app1nginxaks' - containerRegistry: 'aksdevopsacr.azurecr.io' - dockerfilePath: '**/Dockerfile' - tag: '$(Build.BuildId)' - imagePullSecret: 'aksdevopsacr21364011-auth' - - # Agent VM image name - vmImageName: 'ubuntu-latest' - - -stages: -- stage: Build - displayName: Build stage - jobs: - - job: Build - displayName: Build - pool: - vmImage: $(vmImageName) - steps: - - task: Docker@2 - displayName: Build and push an image to container registry - inputs: - command: buildAndPush - repository: $(imageRepository) - dockerfile: $(dockerfilePath) - containerRegistry: $(dockerRegistryServiceConnection) - tags: | - $(tag) - - - upload: manifests - artifact: manifests - -- stage: Deploy - displayName: Deploy stage - dependsOn: Build - - jobs: - - deployment: Deploy - displayName: Deploy - pool: - vmImage: $(vmImageName) - environment: 'stacksimplifyazuredevopsgithubacraksapp1.default' - strategy: - runOnce: - deploy: - steps: - - task: KubernetesManifest@0 - displayName: Create imagePullSecret - inputs: - action: createSecret - secretName: $(imagePullSecret) - dockerRegistryEndpoint: $(dockerRegistryServiceConnection) - - - task: KubernetesManifest@0 - displayName: Deploy to Kubernetes cluster - inputs: - action: deploy - manifests: | - $(Pipeline.Workspace)/manifests/deployment.yml - $(Pipeline.Workspace)/manifests/service.yml - imagePullSecrets: | - $(imagePullSecret) - containers: | - $(containerRegistry)/$(imageRepository):$(tag) - From d691a0b2a7d91ef37d2f35287a08ecc8600e6dcd Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 22:08:30 +0530 Subject: [PATCH 11/43] Delete 022-Docker-BuildPushToACR-DeployToAKSCluster.yml --- ...cker-BuildPushToACR-DeployToAKSCluster.yml | 142 ------------------ 1 file changed, 142 deletions(-) delete mode 100644 022-Docker-BuildPushToACR-DeployToAKSCluster.yml diff --git a/022-Docker-BuildPushToACR-DeployToAKSCluster.yml b/022-Docker-BuildPushToACR-DeployToAKSCluster.yml deleted file mode 100644 index 6fa147d..0000000 --- a/022-Docker-BuildPushToACR-DeployToAKSCluster.yml +++ /dev/null @@ -1,142 +0,0 @@ -# Deploy to Azure Kubernetes Service -# Build and push image to Azure Container Registry; Deploy to Azure Kubernetes Service -# https://docs.microsoft.com/azure/devops/pipelines/languages/docker - -trigger: -- master - -resources: -- repo: self - -variables: - - # Container registry service connection established during pipeline creation - dockerRegistryServiceConnection: '19dbd652-a020-41ce-9b5e-c8f514f48fd4' - imageRepository: 'sapp1ngnixaks' - containerRegistry: 'cgaksdevopsacr.azurecr.io' - dockerfilePath: '**/Dockerfile' - tag: '$(Build.BuildId)' - imagePullSecret: 'cgaksdevopsacr9883eefa-auth' - - # Agent VM image name - vmImageName: 'Linuxtesting' - - # Name of the new namespace being created to deploy the PR changes. - k8sNamespaceForPR: 'review-app-$(System.PullRequest.PullRequestId)' - -stages: -- stage: Build - displayName: Build stage - jobs: - - job: Build - displayName: Build - pool: - vmImage: $(vmImageName) - steps: - - task: Docker@2 - displayName: Build and push an image to container registry - inputs: - command: buildAndPush - repository: $(imageRepository) - dockerfile: $(dockerfilePath) - containerRegistry: $(dockerRegistryServiceConnection) - tags: | - $(tag) - - - upload: manifests - artifact: manifests - -- stage: Deploy - displayName: Deploy stage - dependsOn: Build - - jobs: - - deployment: Deploy - condition: and(succeeded(), not(startsWith(variables['Build.SourceBranch'], 'refs/pull/'))) - displayName: Deploy - pool: - vmImage: $(vmImageName) - environment: 'shyam1986azuredevopsgithubacraksapp1.default' - strategy: - runOnce: - deploy: - steps: - - task: KubernetesManifest@0 - displayName: Create imagePullSecret - inputs: - action: createSecret - secretName: $(imagePullSecret) - dockerRegistryEndpoint: $(dockerRegistryServiceConnection) - - - task: KubernetesManifest@0 - displayName: Deploy to Kubernetes cluster - inputs: - action: deploy - manifests: | - $(Pipeline.Workspace)/manifests/deployment.yml - $(Pipeline.Workspace)/manifests/service.yml - imagePullSecrets: | - $(imagePullSecret) - containers: | - $(containerRegistry)/$(imageRepository):$(tag) - - - deployment: DeployPullRequest - displayName: Deploy Pull request - condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/pull/')) - pool: - name: $(vmImageName) - - environment: 'shyam1986azuredevopsgithubacraksapp1.$(k8sNamespaceForPR)' - strategy: - runOnce: - deploy: - steps: - - reviewApp: default - - - task: Kubernetes@1 - displayName: 'Create a new namespace for the pull request' - inputs: - command: apply - useConfigurationFile: true - inline: '{ "kind": "Namespace", "apiVersion": "v1", "metadata": { "name": "$(k8sNamespaceForPR)" }}' - - - task: KubernetesManifest@0 - displayName: Create imagePullSecret - inputs: - action: createSecret - secretName: $(imagePullSecret) - namespace: $(k8sNamespaceForPR) - dockerRegistryEndpoint: $(dockerRegistryServiceConnection) - - - task: KubernetesManifest@0 - displayName: Deploy to the new namespace in the Kubernetes cluster - inputs: - action: deploy - namespace: $(k8sNamespaceForPR) - manifests: | - $(Pipeline.Workspace)/manifests/deployment.yml - $(Pipeline.Workspace)/manifests/service.yml - imagePullSecrets: | - $(imagePullSecret) - containers: | - $(containerRegistry)/$(imageRepository):$(tag) - - - task: Kubernetes@1 - name: get - displayName: 'Get services in the new namespace' - continueOnError: true - inputs: - command: get - namespace: $(k8sNamespaceForPR) - arguments: svc - outputFormat: jsonpath='http://{.items[0].status.loadBalancer.ingress[0].ip}:{.items[0].spec.ports[0].port}' - - # Getting the IP of the deployed service and writing it to a variable for posing comment - - script: | - url="$(get.KubectlOutput)" - message="Your review app has been deployed" - if [ ! -z "$url" -a "$url" != "http://:" ] - then - message="${message} and is available at $url.

[Learn More](https://aka.ms/testwithreviewapps) about how to test and provide feedback for the app." - fi - echo "##vso[task.setvariable variable=GITHUB_COMMENT]$message" From 898b71c1994ae74d88f95d42f62002fdf4231588 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 22:08:38 +0530 Subject: [PATCH 12/43] Delete 03-custom1-pipeline-buildandpush-to-acr-and-publish-artifacts.yml --- ...ldandpush-to-acr-and-publish-artifacts.yml | 59 ------------------- 1 file changed, 59 deletions(-) delete mode 100644 03-custom1-pipeline-buildandpush-to-acr-and-publish-artifacts.yml diff --git a/03-custom1-pipeline-buildandpush-to-acr-and-publish-artifacts.yml b/03-custom1-pipeline-buildandpush-to-acr-and-publish-artifacts.yml deleted file mode 100644 index b23ce93..0000000 --- a/03-custom1-pipeline-buildandpush-to-acr-and-publish-artifacts.yml +++ /dev/null @@ -1,59 +0,0 @@ -# Docker -# Build and push an image to Azure Container Registry -# https://docs.microsoft.com/azure/devops/pipelines/languages/docker - -trigger: -- master - -resources: -- repo: self - -variables: - # Container registry service connection established during pipeline creation - dockerRegistryServiceConnection: 'cf9f2bef-6696-4dea-9fa3-580d9b5cab9d' - imageRepository: 'custom1aksnginxapp1' - containerRegistry: 'aksdevopsacr.azurecr.io' - dockerfilePath: '$(Build.SourcesDirectory)/Dockerfile' - tag: '$(Build.BuildId)' - - # Agent VM image name - vmImageName: 'ubuntu-latest' - -stages: -- stage: Build - displayName: Build and push stage - jobs: - - job: Build - displayName: Build - pool: - vmImage: $(vmImageName) - steps: - - task: Docker@2 - displayName: Build and push an image to container registry - inputs: - command: buildAndPush - repository: $(imageRepository) - dockerfile: $(dockerfilePath) - containerRegistry: $(dockerRegistryServiceConnection) - tags: | - $(tag) -## Publish Artifacts pipeline code in addition to Build and Push - - bash: echo Contents in System Default Working Directory; ls -R $(System.DefaultWorkingDirectory) - - bash: echo Before copying Contents in Build Artifact Directory; ls -R $(Build.ArtifactStagingDirectory) - # Task-2: Copy files (Copy files from a source folder to target folder) - # Source Directory: $(System.DefaultWorkingDirectory)/kube-manifests - # Target Directory: $(Build.ArtifactStagingDirectory) - - task: CopyFiles@2 - inputs: - SourceFolder: '$(System.DefaultWorkingDirectory)/kube-manifests' - Contents: '**' - TargetFolder: '$(Build.ArtifactStagingDirectory)' - OverWrite: true - # List files from Build Artifact Staging Directory - After Copy - - bash: echo After copying to Build Artifact Directory; ls -R $(Build.ArtifactStagingDirectory) - # Task-3: Publish build artifacts (Publish build to Azure Pipelines) - - task: PublishBuildArtifacts@1 - inputs: - PathtoPublish: '$(Build.ArtifactStagingDirectory)' - ArtifactName: 'kube-manifests' - publishLocation: 'Container' \ No newline at end of file From cca5b32ea643f78b64b8d7efbe0b2c3c57bc530f Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 22:08:52 +0530 Subject: [PATCH 13/43] Delete 04-custom2-pipeline-build-from-scratch.yml --- 04-custom2-pipeline-build-from-scratch.yml | 54 ---------------------- 1 file changed, 54 deletions(-) delete mode 100644 04-custom2-pipeline-build-from-scratch.yml diff --git a/04-custom2-pipeline-build-from-scratch.yml b/04-custom2-pipeline-build-from-scratch.yml deleted file mode 100644 index 58d3bcb..0000000 --- a/04-custom2-pipeline-build-from-scratch.yml +++ /dev/null @@ -1,54 +0,0 @@ -# Stages -# Stage-1: - # Task-1: Build Docker Image and push to Azure Container Registry ACR - # Task-2: Copy kube-manifest files to Build Artifact Directory - # Task-3: Publish build articats to Azure Pipelines -# Pipeline Hierarchial Flow: Stages -> Stage -> Jobs -> Job -> Steps -> Task1, Task2, Task3 - -trigger: -- master - -# Variables -variables: - tag: '$(Build.BuildId)' - -stages: -# Build Stage -- stage: Build - displayName: Build Stage - jobs: - - job: Build - displayName: Build Job - pool: - vmImage: 'ubuntu-latest' - steps: - # Task-1: Build Docker Image and push to Azure Container Registry ACR - - task: Docker@2 - inputs: - containerRegistry: 'manual-aksdevopsacr-svc' - repository: 'custom2aksnginxapp1' - command: 'buildAndPush' - Dockerfile: '**/Dockerfile' - tags: | - $(tag) - $(Build.SourceVersion) -## Publish Artifacts pipeline code in addition to Build and Push - - bash: echo Contents in System Default Working Directory; ls -R $(System.DefaultWorkingDirectory) - - bash: echo Before copying Contents in Build Artifact Directory; ls -R $(Build.ArtifactStagingDirectory) - # Task-2: Copy files (Copy files from a source folder to target folder) - # Source Directory: $(System.DefaultWorkingDirectory)/kube-manifests - # Target Directory: $(Build.ArtifactStagingDirectory) - - task: CopyFiles@2 - inputs: - SourceFolder: '$(System.DefaultWorkingDirectory)/kube-manifests' - Contents: '**' - TargetFolder: '$(Build.ArtifactStagingDirectory)' - OverWrite: true - # List files from Build Artifact Staging Directory - After Copy - - bash: echo After copying to Build Artifact Directory; ls -R $(Build.ArtifactStagingDirectory) - # Task-3: Publish build artifacts (Publish build to Azure Pipelines) - - task: PublishBuildArtifacts@1 - inputs: - PathtoPublish: '$(Build.ArtifactStagingDirectory)' - ArtifactName: 'kube-manifests' - publishLocation: 'Container' \ No newline at end of file From 936955d12f4dcc5f94516ba187c824cfdc2d18e2 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 22:12:24 +0530 Subject: [PATCH 14/43] Set up CI with Azure Pipelines [skip ci] --- ...ild-push-to-acs-deploy-to-aks-pipeline.yml | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 02-docker-build-push-to-acs-deploy-to-aks-pipeline.yml diff --git a/02-docker-build-push-to-acs-deploy-to-aks-pipeline.yml b/02-docker-build-push-to-acs-deploy-to-aks-pipeline.yml new file mode 100644 index 0000000..aa28ca1 --- /dev/null +++ b/02-docker-build-push-to-acs-deploy-to-aks-pipeline.yml @@ -0,0 +1,79 @@ +# Deploy to Azure Kubernetes Service +# Build and push image to Azure Container Registry; Deploy to Azure Kubernetes Service +# https://docs.microsoft.com/azure/devops/pipelines/languages/docker + +trigger: +- master + +resources: +- repo: self + +variables: + + # Container registry service connection established during pipeline creation + dockerRegistryServiceConnection: '68e5560b-48ea-42d6-b093-1a1e7dc0e07b' + imageRepository: 'saapngnixaks' + containerRegistry: 'cgaksdevopsacr.azurecr.io' + dockerfilePath: '**/Dockerfile' + tag: '$(Build.BuildId)' + imagePullSecret: 'cgaksdevopsacr123559f5-auth' + + # Agent VM image name + vmImageName: 'Linuxtesting' + + +stages: +- stage: Build + displayName: Build stage + jobs: + - job: Build + displayName: Build + pool: + name: $(vmImageName) + steps: + - task: Docker@2 + displayName: Build and push an image to container registry + inputs: + command: buildAndPush + repository: $(imageRepository) + dockerfile: $(dockerfilePath) + containerRegistry: $(dockerRegistryServiceConnection) + tags: | + $(tag) + + - upload: manifests + artifact: manifests + +- stage: Deploy + displayName: Deploy stage + dependsOn: Build + + jobs: + - deployment: Deploy + displayName: Deploy + pool: + name: $(vmImageName) + environment: 'shyam1986azuredevopsgithubacraksapp1-1498.default' + strategy: + runOnce: + deploy: + steps: + - task: KubernetesManifest@0 + displayName: Create imagePullSecret + inputs: + action: createSecret + secretName: $(imagePullSecret) + dockerRegistryEndpoint: $(dockerRegistryServiceConnection) + + - task: KubernetesManifest@0 + displayName: Deploy to Kubernetes cluster + inputs: + action: deploy + manifests: | + $(Pipeline.Workspace)/manifests/deployment.yml + $(Pipeline.Workspace)/manifests/service.yml + imagePullSecrets: | + $(imagePullSecret) + containers: | + $(containerRegistry)/$(imageRepository):$(tag) + From 5d657c6da374608b71e5560266713853563905b7 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 22:50:06 +0530 Subject: [PATCH 15/43] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines-aks.yml | 79 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 azure-pipelines-aks.yml diff --git a/azure-pipelines-aks.yml b/azure-pipelines-aks.yml new file mode 100644 index 0000000..603ffc8 --- /dev/null +++ b/azure-pipelines-aks.yml @@ -0,0 +1,79 @@ +# Deploy to Azure Kubernetes Service +# Build and push image to Azure Container Registry; Deploy to Azure Kubernetes Service +# https://docs.microsoft.com/azure/devops/pipelines/languages/docker + +trigger: +- master + +resources: +- repo: self + +variables: + + # Container registry service connection established during pipeline creation + dockerRegistryServiceConnection: '42cc3fd5-11db-4e4c-b836-a472125dfa85' + imageRepository: 'saksnewtesting' + containerRegistry: 'cgaksdevopsacr.azurecr.io' + dockerfilePath: '**/Dockerfile' + tag: '$(Build.BuildId)' + imagePullSecret: 'cgaksdevopsacr59354dce-auth' + + # Agent VM image name + vmImageName: 'ubuntu-latest' + + +stages: +- stage: Build + displayName: Build stage + jobs: + - job: Build + displayName: Build + pool: + name: $(vmImageName) + steps: + - task: Docker@2 + displayName: Build and push an image to container registry + inputs: + command: buildAndPush + repository: $(imageRepository) + dockerfile: $(dockerfilePath) + containerRegistry: $(dockerRegistryServiceConnection) + tags: | + $(tag) + + - upload: manifests + artifact: manifests + +- stage: Deploy + displayName: Deploy stage + dependsOn: Build + + jobs: + - deployment: Deploy + displayName: Deploy + pool: + name: $(vmImageName) + environment: 'shyam1986azuredevopsgithubacraksapp1-6282.aksnamspace' + strategy: + runOnce: + deploy: + steps: + - task: KubernetesManifest@0 + displayName: Create imagePullSecret + inputs: + action: createSecret + secretName: $(imagePullSecret) + dockerRegistryEndpoint: $(dockerRegistryServiceConnection) + + - task: KubernetesManifest@0 + displayName: Deploy to Kubernetes cluster + inputs: + action: deploy + manifests: | + $(Pipeline.Workspace)/manifests/deployment.yml + $(Pipeline.Workspace)/manifests/service.yml + imagePullSecrets: | + $(imagePullSecret) + containers: | + $(containerRegistry)/$(imageRepository):$(tag) + From f591c7cc61d20bf5405205025ed700f0c42a5f94 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 22:51:33 +0530 Subject: [PATCH 16/43] Delete deployment.yml --- manifests/deployment.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 manifests/deployment.yml diff --git a/manifests/deployment.yml b/manifests/deployment.yml deleted file mode 100644 index 649747f..0000000 --- a/manifests/deployment.yml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion : apps/v1 -kind: Deployment -metadata: - name: app1nginxaks -spec: - replicas: 1 - selector: - matchLabels: - app: app1nginxaks - template: - metadata: - labels: - app: app1nginxaks - spec: - containers: - - name: app1nginxaks - image: aksdevopsacr.azurecr.io/app1nginxaks - ports: - - containerPort: 80 \ No newline at end of file From 0f7db5877c66bbf124ea4f58651e3be577afe3c2 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 22:51:41 +0530 Subject: [PATCH 17/43] Delete service.yml --- manifests/service.yml | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 manifests/service.yml diff --git a/manifests/service.yml b/manifests/service.yml deleted file mode 100644 index 5814545..0000000 --- a/manifests/service.yml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: app1nginxaks -spec: - type: LoadBalancer - ports: - - port: 80 - selector: - app: app1nginxaks \ No newline at end of file From 9f30ff5e235c003f30c2afdeeb6e36384f769c15 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 22:52:06 +0530 Subject: [PATCH 18/43] Delete azure-pipelines-aks.yml --- azure-pipelines-aks.yml | 79 ----------------------------------------- 1 file changed, 79 deletions(-) delete mode 100644 azure-pipelines-aks.yml diff --git a/azure-pipelines-aks.yml b/azure-pipelines-aks.yml deleted file mode 100644 index 603ffc8..0000000 --- a/azure-pipelines-aks.yml +++ /dev/null @@ -1,79 +0,0 @@ -# Deploy to Azure Kubernetes Service -# Build and push image to Azure Container Registry; Deploy to Azure Kubernetes Service -# https://docs.microsoft.com/azure/devops/pipelines/languages/docker - -trigger: -- master - -resources: -- repo: self - -variables: - - # Container registry service connection established during pipeline creation - dockerRegistryServiceConnection: '42cc3fd5-11db-4e4c-b836-a472125dfa85' - imageRepository: 'saksnewtesting' - containerRegistry: 'cgaksdevopsacr.azurecr.io' - dockerfilePath: '**/Dockerfile' - tag: '$(Build.BuildId)' - imagePullSecret: 'cgaksdevopsacr59354dce-auth' - - # Agent VM image name - vmImageName: 'ubuntu-latest' - - -stages: -- stage: Build - displayName: Build stage - jobs: - - job: Build - displayName: Build - pool: - name: $(vmImageName) - steps: - - task: Docker@2 - displayName: Build and push an image to container registry - inputs: - command: buildAndPush - repository: $(imageRepository) - dockerfile: $(dockerfilePath) - containerRegistry: $(dockerRegistryServiceConnection) - tags: | - $(tag) - - - upload: manifests - artifact: manifests - -- stage: Deploy - displayName: Deploy stage - dependsOn: Build - - jobs: - - deployment: Deploy - displayName: Deploy - pool: - name: $(vmImageName) - environment: 'shyam1986azuredevopsgithubacraksapp1-6282.aksnamspace' - strategy: - runOnce: - deploy: - steps: - - task: KubernetesManifest@0 - displayName: Create imagePullSecret - inputs: - action: createSecret - secretName: $(imagePullSecret) - dockerRegistryEndpoint: $(dockerRegistryServiceConnection) - - - task: KubernetesManifest@0 - displayName: Deploy to Kubernetes cluster - inputs: - action: deploy - manifests: | - $(Pipeline.Workspace)/manifests/deployment.yml - $(Pipeline.Workspace)/manifests/service.yml - imagePullSecrets: | - $(imagePullSecret) - containers: | - $(containerRegistry)/$(imageRepository):$(tag) - From 6c5946e0c7539e280a9ea104d4e9bb5cdf28ab63 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 22:52:30 +0530 Subject: [PATCH 19/43] Update azure-pipelines-aks.yml for Azure Pipelines --- azure-pipelines-aks.yml | 79 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 azure-pipelines-aks.yml diff --git a/azure-pipelines-aks.yml b/azure-pipelines-aks.yml new file mode 100644 index 0000000..8e4fde9 --- /dev/null +++ b/azure-pipelines-aks.yml @@ -0,0 +1,79 @@ +# Deploy to Azure Kubernetes Service +# Build and push image to Azure Container Registry; Deploy to Azure Kubernetes Service +# https://docs.microsoft.com/azure/devops/pipelines/languages/docker + +trigger: +- master + +resources: +- repo: self + +variables: + + # Container registry service connection established during pipeline creation + dockerRegistryServiceConnection: '42cc3fd5-11db-4e4c-b836-a472125dfa85' + imageRepository: 'saksnewtesting' + containerRegistry: 'cgaksdevopsacr.azurecr.io' + dockerfilePath: '**/Dockerfile' + tag: '$(Build.BuildId)' + imagePullSecret: 'cgaksdevopsacr59354dce-auth' + + # Agent VM image name + vmImageName: 'Linuxtesting' + + +stages: +- stage: Build + displayName: Build stage + jobs: + - job: Build + displayName: Build + pool: + name: $(vmImageName) + steps: + - task: Docker@2 + displayName: Build and push an image to container registry + inputs: + command: buildAndPush + repository: $(imageRepository) + dockerfile: $(dockerfilePath) + containerRegistry: $(dockerRegistryServiceConnection) + tags: | + $(tag) + + - upload: manifests + artifact: manifests + +- stage: Deploy + displayName: Deploy stage + dependsOn: Build + + jobs: + - deployment: Deploy + displayName: Deploy + pool: + name: $(vmImageName) + environment: 'shyam1986azuredevopsgithubacraksapp1-6282.aksnamspace' + strategy: + runOnce: + deploy: + steps: + - task: KubernetesManifest@0 + displayName: Create imagePullSecret + inputs: + action: createSecret + secretName: $(imagePullSecret) + dockerRegistryEndpoint: $(dockerRegistryServiceConnection) + + - task: KubernetesManifest@0 + displayName: Deploy to Kubernetes cluster + inputs: + action: deploy + manifests: | + $(Pipeline.Workspace)/manifests/deployment.yml + $(Pipeline.Workspace)/manifests/service.yml + imagePullSecrets: | + $(imagePullSecret) + containers: | + $(containerRegistry)/$(imageRepository):$(tag) + From 0934cb067b4fdb26a716d4eddb31a557726f1dea Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 22:56:35 +0530 Subject: [PATCH 20/43] Delete azure-pipelines-aks.yml --- azure-pipelines-aks.yml | 79 ----------------------------------------- 1 file changed, 79 deletions(-) delete mode 100644 azure-pipelines-aks.yml diff --git a/azure-pipelines-aks.yml b/azure-pipelines-aks.yml deleted file mode 100644 index 8e4fde9..0000000 --- a/azure-pipelines-aks.yml +++ /dev/null @@ -1,79 +0,0 @@ -# Deploy to Azure Kubernetes Service -# Build and push image to Azure Container Registry; Deploy to Azure Kubernetes Service -# https://docs.microsoft.com/azure/devops/pipelines/languages/docker - -trigger: -- master - -resources: -- repo: self - -variables: - - # Container registry service connection established during pipeline creation - dockerRegistryServiceConnection: '42cc3fd5-11db-4e4c-b836-a472125dfa85' - imageRepository: 'saksnewtesting' - containerRegistry: 'cgaksdevopsacr.azurecr.io' - dockerfilePath: '**/Dockerfile' - tag: '$(Build.BuildId)' - imagePullSecret: 'cgaksdevopsacr59354dce-auth' - - # Agent VM image name - vmImageName: 'Linuxtesting' - - -stages: -- stage: Build - displayName: Build stage - jobs: - - job: Build - displayName: Build - pool: - name: $(vmImageName) - steps: - - task: Docker@2 - displayName: Build and push an image to container registry - inputs: - command: buildAndPush - repository: $(imageRepository) - dockerfile: $(dockerfilePath) - containerRegistry: $(dockerRegistryServiceConnection) - tags: | - $(tag) - - - upload: manifests - artifact: manifests - -- stage: Deploy - displayName: Deploy stage - dependsOn: Build - - jobs: - - deployment: Deploy - displayName: Deploy - pool: - name: $(vmImageName) - environment: 'shyam1986azuredevopsgithubacraksapp1-6282.aksnamspace' - strategy: - runOnce: - deploy: - steps: - - task: KubernetesManifest@0 - displayName: Create imagePullSecret - inputs: - action: createSecret - secretName: $(imagePullSecret) - dockerRegistryEndpoint: $(dockerRegistryServiceConnection) - - - task: KubernetesManifest@0 - displayName: Deploy to Kubernetes cluster - inputs: - action: deploy - manifests: | - $(Pipeline.Workspace)/manifests/deployment.yml - $(Pipeline.Workspace)/manifests/service.yml - imagePullSecrets: | - $(imagePullSecret) - containers: | - $(containerRegistry)/$(imageRepository):$(tag) - From cd0ccd461a2ce16c8fcbc2f9dafaaf0aa37a84be Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 22:56:42 +0530 Subject: [PATCH 21/43] Delete 02-docker-build-push-to-acs-deploy-to-aks-pipeline.yml --- ...ild-push-to-acs-deploy-to-aks-pipeline.yml | 79 ------------------- 1 file changed, 79 deletions(-) delete mode 100644 02-docker-build-push-to-acs-deploy-to-aks-pipeline.yml diff --git a/02-docker-build-push-to-acs-deploy-to-aks-pipeline.yml b/02-docker-build-push-to-acs-deploy-to-aks-pipeline.yml deleted file mode 100644 index aa28ca1..0000000 --- a/02-docker-build-push-to-acs-deploy-to-aks-pipeline.yml +++ /dev/null @@ -1,79 +0,0 @@ -# Deploy to Azure Kubernetes Service -# Build and push image to Azure Container Registry; Deploy to Azure Kubernetes Service -# https://docs.microsoft.com/azure/devops/pipelines/languages/docker - -trigger: -- master - -resources: -- repo: self - -variables: - - # Container registry service connection established during pipeline creation - dockerRegistryServiceConnection: '68e5560b-48ea-42d6-b093-1a1e7dc0e07b' - imageRepository: 'saapngnixaks' - containerRegistry: 'cgaksdevopsacr.azurecr.io' - dockerfilePath: '**/Dockerfile' - tag: '$(Build.BuildId)' - imagePullSecret: 'cgaksdevopsacr123559f5-auth' - - # Agent VM image name - vmImageName: 'Linuxtesting' - - -stages: -- stage: Build - displayName: Build stage - jobs: - - job: Build - displayName: Build - pool: - name: $(vmImageName) - steps: - - task: Docker@2 - displayName: Build and push an image to container registry - inputs: - command: buildAndPush - repository: $(imageRepository) - dockerfile: $(dockerfilePath) - containerRegistry: $(dockerRegistryServiceConnection) - tags: | - $(tag) - - - upload: manifests - artifact: manifests - -- stage: Deploy - displayName: Deploy stage - dependsOn: Build - - jobs: - - deployment: Deploy - displayName: Deploy - pool: - name: $(vmImageName) - environment: 'shyam1986azuredevopsgithubacraksapp1-1498.default' - strategy: - runOnce: - deploy: - steps: - - task: KubernetesManifest@0 - displayName: Create imagePullSecret - inputs: - action: createSecret - secretName: $(imagePullSecret) - dockerRegistryEndpoint: $(dockerRegistryServiceConnection) - - - task: KubernetesManifest@0 - displayName: Deploy to Kubernetes cluster - inputs: - action: deploy - manifests: | - $(Pipeline.Workspace)/manifests/deployment.yml - $(Pipeline.Workspace)/manifests/service.yml - imagePullSecrets: | - $(imagePullSecret) - containers: | - $(containerRegistry)/$(imageRepository):$(tag) - From c26dbad8ac8e5e593824a62c881aedfb9be6c778 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 23:00:15 +0530 Subject: [PATCH 22/43] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 75 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..aacab28 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,75 @@ +trigger: +- master + +resources: +- repo: self + +variables: + + # Container registry service connection established during pipeline creation + dockerRegistryServiceConnection: '2ae50189-233f-4cbb-ba92-0b18a0a77842' + imageRepository: 'shyamazuredevopsgithubacraksapp' + containerRegistry: 'cgaksdevopsacr.azurecr.io' + dockerfilePath: '**/Dockerfile' + tag: '$(Build.BuildId)' + imagePullSecret: 'cgaksdevopsacr11054010-auth' + + # Agent VM image name + vmImageName: 'ubuntu-latest' + + +stages: +- stage: Build + displayName: Build stage + jobs: + - job: Build + displayName: Build + pool: + name: $(vmImageName) + steps: + - task: Docker@2 + displayName: Build and push an image to container registry + inputs: + command: buildAndPush + repository: $(imageRepository) + dockerfile: $(dockerfilePath) + containerRegistry: $(dockerRegistryServiceConnection) + tags: | + $(tag) + + - upload: manifests + artifact: manifests + +- stage: Deploy + displayName: Deploy stage + dependsOn: Build + + jobs: + - deployment: Deploy + displayName: Deploy + pool: + name: $(Linuxtesting) + environment: 'shyam1986azuredevopsgithubacraksapp1-1113.aksnamspace' + strategy: + runOnce: + deploy: + steps: + - task: KubernetesManifest@0 + displayName: Create imagePullSecret + inputs: + action: createSecret + secretName: $(imagePullSecret) + dockerRegistryEndpoint: $(dockerRegistryServiceConnection) + + - task: KubernetesManifest@0 + displayName: Deploy to Kubernetes cluster + inputs: + action: deploy + manifests: | + $(Pipeline.Workspace)/manifests/deployment.yml + $(Pipeline.Workspace)/manifests/service.yml + imagePullSecrets: | + $(imagePullSecret) + containers: | + $(containerRegistry)/$(imageRepository):$(tag) + From 4fbaf225b5c16c89da125e7f66590725643a3778 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 23:00:16 +0530 Subject: [PATCH 23/43] Set up CI with Azure Pipelines [skip ci] --- manifests/deployment.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 manifests/deployment.yml diff --git a/manifests/deployment.yml b/manifests/deployment.yml new file mode 100644 index 0000000..15f9f13 --- /dev/null +++ b/manifests/deployment.yml @@ -0,0 +1,19 @@ +apiVersion : apps/v1 +kind: Deployment +metadata: + name: shyamazuredevopsgithubacraksapp +spec: + replicas: 1 + selector: + matchLabels: + app: shyamazuredevopsgithubacraksapp + template: + metadata: + labels: + app: shyamazuredevopsgithubacraksapp + spec: + containers: + - name: shyamazuredevopsgithubacraksapp + image: cgaksdevopsacr.azurecr.io/shyamazuredevopsgithubacraksapp + ports: + - containerPort: 80 \ No newline at end of file From fc2c8c2a7a9d1902ba2579925a62ba523811d23d Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 23:00:17 +0530 Subject: [PATCH 24/43] Set up CI with Azure Pipelines [skip ci] --- manifests/service.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 manifests/service.yml diff --git a/manifests/service.yml b/manifests/service.yml new file mode 100644 index 0000000..a70ab1e --- /dev/null +++ b/manifests/service.yml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: Service +metadata: + name: shyamazuredevopsgithubacraksapp +spec: + type: LoadBalancer + ports: + - port: 80 + selector: + app: shyamazuredevopsgithubacraksapp \ No newline at end of file From 65b47005ed1f403339cd4c7c5af5caeee64dfcf6 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 23:02:08 +0530 Subject: [PATCH 25/43] 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 aacab28..16bb9a2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -15,7 +15,7 @@ variables: imagePullSecret: 'cgaksdevopsacr11054010-auth' # Agent VM image name - vmImageName: 'ubuntu-latest' + vmImageName: 'Linuxtesting' stages: From 2812f76836615753e1e1a3bbc52bea7fcea81034 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Wed, 11 Aug 2021 23:34:13 +0530 Subject: [PATCH 26/43] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 16bb9a2..431b9c4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,7 +25,7 @@ stages: - job: Build displayName: Build pool: - name: $(vmImageName) + name: Linuxtesting steps: - task: Docker@2 displayName: Build and push an image to container registry @@ -48,7 +48,7 @@ stages: - deployment: Deploy displayName: Deploy pool: - name: $(Linuxtesting) + name: Linuxtesting environment: 'shyam1986azuredevopsgithubacraksapp1-1113.aksnamspace' strategy: runOnce: From db8bd9bb3fd4a489a487ab65be04dd2a9dadaad8 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Thu, 12 Aug 2021 01:00:47 +0530 Subject: [PATCH 27/43] Set up CI with Azure Pipelines [skip ci] --- ...ublish-k8s-manifests-to-AzurePipelines.yml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 03-custom1-BuildPushToACR-Publish-k8s-manifests-to-AzurePipelines.yml diff --git a/03-custom1-BuildPushToACR-Publish-k8s-manifests-to-AzurePipelines.yml b/03-custom1-BuildPushToACR-Publish-k8s-manifests-to-AzurePipelines.yml new file mode 100644 index 0000000..b7e57bf --- /dev/null +++ b/03-custom1-BuildPushToACR-Publish-k8s-manifests-to-AzurePipelines.yml @@ -0,0 +1,49 @@ +trigger: +- master + +resources: +- repo: self + +variables: + # Container registry service connection established during pipeline creation + dockerRegistryServiceConnection: 'd6ae712d-d9d8-4b2e-ac07-5015f00d75d2' + imageRepository: 'scutom1' + containerRegistry: 'cgaksdevopsacr.azurecr.io' + dockerfilePath: '$(Build.SourcesDirectory)/Dockerfile' + tag: '$(Build.BuildId)' + + # Agent VM image name + vmImageName: 'ubuntu-latest' + +stages: +- stage: Build + displayName: Build and push stage + jobs: + - job: Build + displayName: Build + pool: + vmImage: $(vmImageName) + steps: + - task: Docker@2 + displayName: Build and push an image to container registry + inputs: + command: buildAndPush + repository: $(imageRepository) + dockerfile: $(dockerfilePath) + containerRegistry: $(dockerRegistryServiceConnection) + tags: | + $(tag) + +#publuc artificat + - task: CopyFiles@2 + inputs: + SourceFolder: '$(System.DefaultWorkingDirectory)/kube-manifests' + Contents: '**' + TargetFolder: '$(Build.ArtifactStagingDirectory)' + OverWrite: true + - task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'kube-manifests' + publishLocation: 'Container' + \ No newline at end of file From 5fb2c93b6195f5a29e3da588479a2874f198fb5d Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Thu, 12 Aug 2021 01:02:24 +0530 Subject: [PATCH 28/43] Update 03-custom1-BuildPushToACR-Publish-k8s-manifests-to-AzurePipelines.yml for Azure Pipelines --- ...BuildPushToACR-Publish-k8s-manifests-to-AzurePipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/03-custom1-BuildPushToACR-Publish-k8s-manifests-to-AzurePipelines.yml b/03-custom1-BuildPushToACR-Publish-k8s-manifests-to-AzurePipelines.yml index b7e57bf..a01ab1a 100644 --- a/03-custom1-BuildPushToACR-Publish-k8s-manifests-to-AzurePipelines.yml +++ b/03-custom1-BuildPushToACR-Publish-k8s-manifests-to-AzurePipelines.yml @@ -13,7 +13,7 @@ variables: tag: '$(Build.BuildId)' # Agent VM image name - vmImageName: 'ubuntu-latest' + vmImageName: 'Linuxtesting' stages: - stage: Build @@ -22,7 +22,7 @@ stages: - job: Build displayName: Build pool: - vmImage: $(vmImageName) + name: $(vmImageName) steps: - task: Docker@2 displayName: Build and push an image to container registry From e203bdfa22ae51bee5902f450ba9d875d0044fae Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Thu, 12 Aug 2021 01:48:24 +0530 Subject: [PATCH 29/43] Set up CI with Azure Pipelines [skip ci] --- ...ublish-k8s-manifests-to-AzurePipelines.yml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 04-custom2-BuildPushToACR-Publish-k8s-manifests-to-AzurePipelines.yml diff --git a/04-custom2-BuildPushToACR-Publish-k8s-manifests-to-AzurePipelines.yml b/04-custom2-BuildPushToACR-Publish-k8s-manifests-to-AzurePipelines.yml new file mode 100644 index 0000000..0ff2f97 --- /dev/null +++ b/04-custom2-BuildPushToACR-Publish-k8s-manifests-to-AzurePipelines.yml @@ -0,0 +1,40 @@ +trigger: +- master + +variables: + tag: '$(Build.BuildId)' + +stages: +- stage: Build + displayName: Build-Stage + jobs: + - job: Build + displayName: Build job + pool: + name: Linuxtesting + steps: + - task: Docker@2 + inputs: + containerRegistry: 'acr-shrikant' + repository: 'myappshrikantrepo' + command: 'buildAndPush' + Dockerfile: '**/Dockerfile' + tags: | + $(tag) + $(Build.SourceVersion) + + - task: CopyFiles@2 + inputs: + SourceFolder: '$(System.DefaultWorkingDirectory)/kube-manifests' + Contents: '**' + TargetFolder: '$(Build.ArtifactStagingDirectory)' + OverWrite: true + - task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'kube-manifests' + publishLocation: 'Container' + + + + From f44df35f0ec12145b8f1b85801b810cab994bd38 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Thu, 12 Aug 2021 02:17:46 +0530 Subject: [PATCH 30/43] Update 01-Deployment-and-LoadBalancer-Service.yml --- kube-manifests/01-Deployment-and-LoadBalancer-Service.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kube-manifests/01-Deployment-and-LoadBalancer-Service.yml b/kube-manifests/01-Deployment-and-LoadBalancer-Service.yml index 5f7add3..2757164 100644 --- a/kube-manifests/01-Deployment-and-LoadBalancer-Service.yml +++ b/kube-manifests/01-Deployment-and-LoadBalancer-Service.yml @@ -16,7 +16,7 @@ spec: spec: containers: - name: app1-nginx - image: aksdevopsacr.azurecr.io/custom2aksnginxapp1 + image: cgaksdevopsacr.azurecr.io/myappshrikantrepo ports: - containerPort: 80 --- From a04afe533fd0e447fb8d773648d5392a72316b88 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Thu, 12 Aug 2021 02:25:26 +0530 Subject: [PATCH 31/43] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines-5testing.yml | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 azure-pipelines-5testing.yml diff --git a/azure-pipelines-5testing.yml b/azure-pipelines-5testing.yml new file mode 100644 index 0000000..0ff2f97 --- /dev/null +++ b/azure-pipelines-5testing.yml @@ -0,0 +1,40 @@ +trigger: +- master + +variables: + tag: '$(Build.BuildId)' + +stages: +- stage: Build + displayName: Build-Stage + jobs: + - job: Build + displayName: Build job + pool: + name: Linuxtesting + steps: + - task: Docker@2 + inputs: + containerRegistry: 'acr-shrikant' + repository: 'myappshrikantrepo' + command: 'buildAndPush' + Dockerfile: '**/Dockerfile' + tags: | + $(tag) + $(Build.SourceVersion) + + - task: CopyFiles@2 + inputs: + SourceFolder: '$(System.DefaultWorkingDirectory)/kube-manifests' + Contents: '**' + TargetFolder: '$(Build.ArtifactStagingDirectory)' + OverWrite: true + - task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'kube-manifests' + publishLocation: 'Container' + + + + From 93377fd7548ce7583b3418c68376a7ace0deae83 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Thu, 12 Aug 2021 02:36:10 +0530 Subject: [PATCH 32/43] Update azure-pipelines-5testing.yml for Azure Pipelines --- azure-pipelines-5testing.yml | 76 +++++++++++++++++++++--------------- 1 file changed, 45 insertions(+), 31 deletions(-) diff --git a/azure-pipelines-5testing.yml b/azure-pipelines-5testing.yml index 0ff2f97..735cdbf 100644 --- a/azure-pipelines-5testing.yml +++ b/azure-pipelines-5testing.yml @@ -1,40 +1,54 @@ +# Stages +# Stage-1: + # Task-1: Build Docker Image and push to Azure Container Registry ACR + # Task-2: Copy kube-manifest files to Build Artifact Directory + # Task-3: Publish build articats to Azure Pipelines +# Pipeline Hierarchial Flow: Stages -> Stage -> Jobs -> Job -> Steps -> Task1, Task2, Task3 + trigger: - master +# Variables variables: tag: '$(Build.BuildId)' stages: +# Build Stage - stage: Build - displayName: Build-Stage + displayName: Build Stage jobs: - - job: Build - displayName: Build job - pool: - name: Linuxtesting - steps: - - task: Docker@2 - inputs: - containerRegistry: 'acr-shrikant' - repository: 'myappshrikantrepo' - command: 'buildAndPush' - Dockerfile: '**/Dockerfile' - tags: | - $(tag) - $(Build.SourceVersion) - - - task: CopyFiles@2 - inputs: - SourceFolder: '$(System.DefaultWorkingDirectory)/kube-manifests' - Contents: '**' - TargetFolder: '$(Build.ArtifactStagingDirectory)' - OverWrite: true - - task: PublishBuildArtifacts@1 - inputs: - PathtoPublish: '$(Build.ArtifactStagingDirectory)' - ArtifactName: 'kube-manifests' - publishLocation: 'Container' - - - - + - job: Build + displayName: Build Job + pool: + name: Linuxtesting + steps: + # Task-1: Build Docker Image and push to Azure Container Registry ACR + - task: Docker@2 + inputs: + containerRegistry: 'manual-aksdevopsacr-svc' + repository: 'custom2aksnginxapp1' + command: 'buildAndPush' + Dockerfile: '**/Dockerfile' + tags: | + $(tag) + $(Build.SourceVersion) +## Publish Artifacts pipeline code in addition to Build and Push + - bash: echo Contents in System Default Working Directory; ls -R $(System.DefaultWorkingDirectory) + - bash: echo Before copying Contents in Build Artifact Directory; ls -R $(Build.ArtifactStagingDirectory) + # Task-2: Copy files (Copy files from a source folder to target folder) + # Source Directory: $(System.DefaultWorkingDirectory)/kube-manifests + # Target Directory: $(Build.ArtifactStagingDirectory) + - task: CopyFiles@2 + inputs: + SourceFolder: '$(System.DefaultWorkingDirectory)/kube-manifests' + Contents: '**' + TargetFolder: '$(Build.ArtifactStagingDirectory)' + OverWrite: true + # List files from Build Artifact Staging Directory - After Copy + - bash: echo After copying to Build Artifact Directory; ls -R $(Build.ArtifactStagingDirectory) + # Task-3: Publish build artifacts (Publish build to Azure Pipelines) + - task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'kube-manifests' + publishLocation: 'Container' \ No newline at end of file From c08b85f7735a300e0009cdecc25e28a4ccc39647 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Thu, 12 Aug 2021 02:40:44 +0530 Subject: [PATCH 33/43] Update azure-pipelines-5testing.yml for Azure Pipelines --- azure-pipelines-5testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines-5testing.yml b/azure-pipelines-5testing.yml index 735cdbf..49294ee 100644 --- a/azure-pipelines-5testing.yml +++ b/azure-pipelines-5testing.yml @@ -25,7 +25,7 @@ stages: # Task-1: Build Docker Image and push to Azure Container Registry ACR - task: Docker@2 inputs: - containerRegistry: 'manual-aksdevopsacr-svc' + containerRegistry: 'acr-shrikant' repository: 'custom2aksnginxapp1' command: 'buildAndPush' Dockerfile: '**/Dockerfile' From 7719d7bb40a312fcf00a6a54ec646159517d8dc2 Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Thu, 12 Aug 2021 02:48:42 +0530 Subject: [PATCH 34/43] Update 01-Deployment-and-LoadBalancer-Service.yml --- kube-manifests/01-Deployment-and-LoadBalancer-Service.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kube-manifests/01-Deployment-and-LoadBalancer-Service.yml b/kube-manifests/01-Deployment-and-LoadBalancer-Service.yml index 2757164..cb51569 100644 --- a/kube-manifests/01-Deployment-and-LoadBalancer-Service.yml +++ b/kube-manifests/01-Deployment-and-LoadBalancer-Service.yml @@ -16,7 +16,7 @@ spec: spec: containers: - name: app1-nginx - image: cgaksdevopsacr.azurecr.io/myappshrikantrepo + image: cgaksdevopsacr.azurecr.io/custom2aksnginxapp1 ports: - containerPort: 80 --- From 2a722908a4d2c25912364da6341f79453a85c9bc Mon Sep 17 00:00:00 2001 From: shyam1986 <46450823+shyam1986@users.noreply.github.com> Date: Thu, 12 Aug 2021 02:49:22 +0530 Subject: [PATCH 35/43] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines0001-1.yml | 54 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 azure-pipelines0001-1.yml diff --git a/azure-pipelines0001-1.yml b/azure-pipelines0001-1.yml new file mode 100644 index 0000000..49294ee --- /dev/null +++ b/azure-pipelines0001-1.yml @@ -0,0 +1,54 @@ +# Stages +# Stage-1: + # Task-1: Build Docker Image and push to Azure Container Registry ACR + # Task-2: Copy kube-manifest files to Build Artifact Directory + # Task-3: Publish build articats to Azure Pipelines +# Pipeline Hierarchial Flow: Stages -> Stage -> Jobs -> Job -> Steps -> Task1, Task2, Task3 + +trigger: +- master + +# Variables +variables: + tag: '$(Build.BuildId)' + +stages: +# Build Stage +- stage: Build + displayName: Build Stage + jobs: + - job: Build + displayName: Build Job + pool: + name: Linuxtesting + steps: + # Task-1: Build Docker Image and push to Azure Container Registry ACR + - task: Docker@2 + inputs: + containerRegistry: 'acr-shrikant' + repository: 'custom2aksnginxapp1' + command: 'buildAndPush' + Dockerfile: '**/Dockerfile' + tags: | + $(tag) + $(Build.SourceVersion) +## Publish Artifacts pipeline code in addition to Build and Push + - bash: echo Contents in System Default Working Directory; ls -R $(System.DefaultWorkingDirectory) + - bash: echo Before copying Contents in Build Artifact Directory; ls -R $(Build.ArtifactStagingDirectory) + # Task-2: Copy files (Copy files from a source folder to target folder) + # Source Directory: $(System.DefaultWorkingDirectory)/kube-manifests + # Target Directory: $(Build.ArtifactStagingDirectory) + - task: CopyFiles@2 + inputs: + SourceFolder: '$(System.DefaultWorkingDirectory)/kube-manifests' + Contents: '**' + TargetFolder: '$(Build.ArtifactStagingDirectory)' + OverWrite: true + # List files from Build Artifact Staging Directory - After Copy + - bash: echo After copying to Build Artifact Directory; ls -R $(Build.ArtifactStagingDirectory) + # Task-3: Publish build artifacts (Publish build to Azure Pipelines) + - task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'kube-manifests' + publishLocation: 'Container' \ No newline at end of file From e9e576b97267fbceb0ab1acf1cea31e30c64ecd2 Mon Sep 17 00:00:00 2001 From: shri Date: Thu, 12 Aug 2021 10:54:14 +0530 Subject: [PATCH 36/43] html changes --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 15d2edf..62fe32e 100644 --- a/index.html +++ b/index.html @@ -1,8 +1,9 @@ -

Welcome to Stack Simplify - Azure DevOps App1 - V13

+

Welcome to CG - Azure DevOps App1 - V13

Azure DevOps Demo App1

Application Version: V13

+- \ No newline at end of file From a6998cd44dbce4b28aad1686b1a59765d31b469b Mon Sep 17 00:00:00 2001 From: shri Date: Thu, 12 Aug 2021 11:03:13 +0530 Subject: [PATCH 37/43] df --- azure-devops-github-acr-aks-app1 | 1 + 1 file changed, 1 insertion(+) create mode 160000 azure-devops-github-acr-aks-app1 diff --git a/azure-devops-github-acr-aks-app1 b/azure-devops-github-acr-aks-app1 new file mode 160000 index 0000000..2a72290 --- /dev/null +++ b/azure-devops-github-acr-aks-app1 @@ -0,0 +1 @@ +Subproject commit 2a722908a4d2c25912364da6341f79453a85c9bc From 3ed2d93cc294552aef1df9db1028b127a2abd7bb Mon Sep 17 00:00:00 2001 From: shri Date: Thu, 12 Aug 2021 11:15:47 +0530 Subject: [PATCH 38/43] ok --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 62fe32e..32a41de 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@

Welcome to CG - Azure DevOps App1 - V13

Azure DevOps Demo App1

-

Application Version: V13

+

Application Version08: V13

- \ No newline at end of file From 6dc9d5c45a4060b9f67eb382032002e024af2d3e Mon Sep 17 00:00:00 2001 From: shri Date: Thu, 12 Aug 2021 11:37:40 +0530 Subject: [PATCH 39/43] go --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 32a41de..bb9a1f0 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@

Welcome to CG - Azure DevOps App1 - V13

Azure DevOps Demo App1

-

Application Version08: V13

+

Application Version0899: V13

- \ No newline at end of file From 2124dd0b08c2c2da2e6f001ef6b7d0c33a712de9 Mon Sep 17 00:00:00 2001 From: shri Date: Thu, 12 Aug 2021 11:43:18 +0530 Subject: [PATCH 40/43] final-test --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index bb9a1f0..146ffce 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@

Welcome to CG - Azure DevOps App1 - V13

Azure DevOps Demo App1

-

Application Version0899: V13

+

Application Version-final-test: V13

- \ No newline at end of file From 1488882aafcd3bc7aac801706b960a087750bfe2 Mon Sep 17 00:00:00 2001 From: shri Date: Thu, 12 Aug 2021 11:48:30 +0530 Subject: [PATCH 41/43] testing --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 146ffce..1fb10c1 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@

Welcome to CG - Azure DevOps App1 - V13

Azure DevOps Demo App1

-

Application Version-final-test: V13

+

Application Version-final-test1: V13

- \ No newline at end of file From 0a6f6252d2677d8e40380e5e167263a56faebe63 Mon Sep 17 00:00:00 2001 From: shri Date: Thu, 12 Aug 2021 12:16:40 +0530 Subject: [PATCH 42/43] pipeline-rename-testing --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 1fb10c1..940a455 100644 --- a/index.html +++ b/index.html @@ -1,9 +1,9 @@ -

Welcome to CG - Azure DevOps App1 - V13

+

Welcome to CG - Azure DevOps App1 - V14

Azure DevOps Demo App1

-

Application Version-final-test1: V13

+

Application Version-final-test1: V14

- \ No newline at end of file From dce748c27aeb4fd533627cb3baa038af1639c45d Mon Sep 17 00:00:00 2001 From: shri Date: Thu, 12 Aug 2021 15:58:12 +0530 Subject: [PATCH 43/43] new change --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 940a455..d6a6175 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ - +

Welcome to CG - Azure DevOps App1 - V14

Azure DevOps Demo App1

Application Version-final-test1: V14