From 069ff1c16ee51ae6d5151182d714f2827ce1e517 Mon Sep 17 00:00:00 2001 From: bgourley15 <48971982+bgourley15@users.noreply.github.com> Date: Tue, 16 Jul 2019 21:34:53 -0700 Subject: [PATCH 1/3] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index bf43e006..3a7169ad 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -3,10 +3,10 @@ variables: - group: captureorder-variables # Variable Group containing 'mongoHost', 'mongoUser' and the secret 'mongoPassword' - name: dockerRegistryServiceConnection - value: 'containerRegistryConnection' # make sure it matches the name you used in the service connection + value: 'containerRegistryConnection' - name: acrEndpoint - value: 'uniqueacrname.azurecr.io' # replace with container registry endpoint + value: akschallengecontainterregistry.azurecr.io # replace with container registry endpoint - name: tag value: '$(Build.BuildId)' From 4688b415376ac047d2719e56923410181a0612b0 Mon Sep 17 00:00:00 2001 From: bgourley15 <48971982+bgourley15@users.noreply.github.com> Date: Tue, 16 Jul 2019 21:46:04 -0700 Subject: [PATCH 2/3] 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 3a7169ad..8c2ffce2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,7 +6,7 @@ variables: value: 'containerRegistryConnection' - name: acrEndpoint - value: akschallengecontainterregistry.azurecr.io # replace with container registry endpoint + value: akschallengecontainterregistry.azurecr.io # - name: tag value: '$(Build.BuildId)' @@ -48,7 +48,7 @@ stages: pool: vmImage: ubuntu-latest - environment: 'aksworkshop.dev' # name of the environment to target [env name.namespace]. This will pull in the Kubernetes service connection automatically + environment: 'aksworkshop.dev' strategy: runOnce: From 4d14b13bc8262013c7c07d5b8ee3eb6727575899 Mon Sep 17 00:00:00 2001 From: bgourley15 <48971982+bgourley15@users.noreply.github.com> Date: Mon, 5 Aug 2019 14:59:04 -0500 Subject: [PATCH 3/3] Update deployment.yaml --- manifests/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index eb76cdc2..47977850 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -14,7 +14,7 @@ spec: spec: containers: - name: captureorder - image: uniqueacrname.azurecr.io/captureorder:placeholdertag # replace with your own repository. Due to a bug, leave the :placeholdertag tag in there to allow the pipeline to replace it + image: aksdevopschallengeacr.azurecr.io/captureorder:placeholdertag # replace with your own repository. Due to a bug, leave the :placeholdertag tag in there to allow the pipeline to replace it imagePullPolicy: Always readinessProbe: httpGet: