From d13d9b0d402e0b2b543f814e190f90d9e3f5b322 Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Thu, 13 Feb 2020 22:09:52 -0600 Subject: [PATCH] Updated deploy pipeline --- deploy/aro/basket-api/azure-pipelines.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deploy/aro/basket-api/azure-pipelines.yml b/deploy/aro/basket-api/azure-pipelines.yml index 72e8f231a..69a9e2b4e 100644 --- a/deploy/aro/basket-api/azure-pipelines.yml +++ b/deploy/aro/basket-api/azure-pipelines.yml @@ -1,5 +1,4 @@ variables: - OpenShiftProject: development AppName: basketapi OpenShiftServiceConnection: 'OpenShift on ARO' resources: @@ -9,6 +8,8 @@ resources: stages: - stage: development displayName: Development + variables: + OpenShiftProject: development jobs: - job: Configuration pool: @@ -18,12 +19,12 @@ stages: inputs: pipeline: BasketApiBuild - task: redhat.openshift-vsts.oc-setup-task.oc-setup@2 - displayName: 'oc-setup ' + displayName: 'Setup Openshift CLI' inputs: openshiftService: $(OpenShiftServiceConnection) - script: 'oc project $(OpenShiftProject)' failOnStderr: true - displayName: 'Set Project Context' + displayName: 'Set OpenShift Project Context' - script: 'oc process -f $(Pipeline.Workspace)/openshift-webapp-deploy-template.yml -p APPLICATION_NAME=$(AppName) | oc apply -f-' failOnStderr: true displayName: 'Ensure OpenShift DeploymentConfig and Service' \ No newline at end of file