diff --git a/deploy/aro/mobilemarketingapigw/azure-pipelines.yml b/deploy/aro/mobilemarketingapigw/azure-pipelines.yml index ff065193a..7dff9ed69 100644 --- a/deploy/aro/mobilemarketingapigw/azure-pipelines.yml +++ b/deploy/aro/mobilemarketingapigw/azure-pipelines.yml @@ -35,9 +35,12 @@ stages: - script: 'oc project $(OpenShiftProject)' failOnStderr: true displayName: 'Set OpenShift Project Context' + - script: 'oc delete configmap mobilemarketingapigw' + failOnStderr: true + displayName: 'Delete Envoy ConfigMap' - script: 'oc create configmap mobilemarketingapigw --from-file=./deploy/aro/mobilemarketingapigw/envoy.yml' failOnStderr: true - displayName: 'Add Envoy ConfigMap' + displayName: 'Create Envoy ConfigMap' - script: 'oc process -f ./deploy/aro/mobilemarketingapigw/mobilemarketingapigw-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) | oc apply -f-' failOnStderr: true displayName: 'Ensure Mobile Marketing API Gateway OpenShift DeploymentConfig and Service' \ No newline at end of file