diff --git a/deploy/aro/catalog-api/azure-pipelines.yml b/deploy/aro/catalog-api/azure-pipelines.yml index cbb4df6cd..f87de48bd 100644 --- a/deploy/aro/catalog-api/azure-pipelines.yml +++ b/deploy/aro/catalog-api/azure-pipelines.yml @@ -29,6 +29,11 @@ stages: inputs: azureSubscription: 'Azure OpenShift Demo' KeyVaultName: 'openshift-demo-vault' + - task: colinsalmcorner.colinsalmcorner-buildtasks.replace-tokens-task.ReplaceTokens@1 + displayName: 'Replace tokens in catalog-public-route' + inputs: + sourcePath: ./deploy/aro/catalog-api + filePattern: catalog-public-route.yml - task: redhat.openshift-vsts.oc-setup-task.oc-setup@2 displayName: 'Setup Openshift CLI' inputs: @@ -43,4 +48,7 @@ stages: -p CATALOG_PUBLIC_HOSTNAME=$(CatalogPublicHostName) | oc apply -f-' failOnStderr: true - displayName: 'Ensure Catalog API OpenShift DeploymentConfig and Service' \ No newline at end of file + displayName: 'Ensure Catalog API OpenShift DeploymentConfig and Service' + - script: 'oc apply -f .deploy/aro/catalog-api/catalog-public-route.yml' + failOnStderr: true + displayName: 'Ensure Catalog API Route' \ No newline at end of file