From 4e0287be4550e0bd6305172a0257bdd159043e79 Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Thu, 13 Feb 2020 23:55:41 -0600 Subject: [PATCH] Updated artifact location --- deploy/aro/basket-api/azure-pipelines.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/aro/basket-api/azure-pipelines.yml b/deploy/aro/basket-api/azure-pipelines.yml index 4cfdb8f7b..c511dff9e 100644 --- a/deploy/aro/basket-api/azure-pipelines.yml +++ b/deploy/aro/basket-api/azure-pipelines.yml @@ -1,6 +1,7 @@ variables: AppName: basketapi OpenShiftServiceConnection: 'OpenShift on ARO' + SourceImageRegistryProjectName: 'development' resources: pipelines: - pipeline: BasketApiBuild @@ -19,6 +20,7 @@ stages: displayName: 'Download Artifacts' inputs: pipeline: BasketApiBuild + artifact: drop - task: redhat.openshift-vsts.oc-setup-task.oc-setup@2 displayName: 'Setup Openshift CLI' inputs: @@ -26,6 +28,6 @@ stages: - script: 'oc project $(OpenShiftProject)' failOnStderr: true displayName: 'Set OpenShift Project Context' - - script: 'oc process -f $(Pipeline.Workspace)/openshift-webapp-deploy-template.yml -p APPLICATION_NAME=$(AppName) | oc apply -f-' + - script: 'oc process -f $(Pipeline.Workspace)/openshift-webapp-deploy-template.yml -p APPLICATION_NAME=$(AppName) -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) | oc apply -f-' failOnStderr: true displayName: 'Ensure OpenShift DeploymentConfig and Service' \ No newline at end of file