Browse Source

Added other tasks back in

pull/1259/head
Tim McCarthy 5 years ago
parent
commit
fe096ee681
1 changed files with 17 additions and 5 deletions
  1. +17
    -5
      deploy/aro/catalog-api/azure-pipelines.yml

+ 17
- 5
deploy/aro/catalog-api/azure-pipelines.yml View File

@ -34,9 +34,21 @@ stages:
inputs: inputs:
sourcePath: ./deploy/aro/catalog-api sourcePath: ./deploy/aro/catalog-api
filePattern: catalog-public-route.json filePattern: catalog-public-route.json
- task: CopyFiles@2
- task: redhat.openshift-vsts.oc-setup-task.oc-setup@2
displayName: 'Setup Openshift CLI'
inputs: inputs:
contents: deploy/aro/catalog-api/catalog-public-route.json
targetFolder: $(Build.ArtifactStagingDirectory)
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: drop'
openshiftService: $(OpenShiftServiceConnection)
- script: 'oc project $(OpenShiftProject)'
failOnStderr: true
displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/openshift-templates/catalogapi-deploy-template.yml
-p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName)
-p PIC_BASE_URL=$(PicBaseUrl)
-p RABBITMQ_HOSTNAME=$(RabbitMqHostname)
-p CATALOG_PUBLIC_HOSTNAME=$(CatalogPublicHostName)
| oc apply -f-'
failOnStderr: true
displayName: 'Ensure Catalog API OpenShift DeploymentConfig and Service'
- script: 'oc apply -f ./deploy/aro/catalog-api/catalog-public-route.json'
failOnStderr: true
displayName: 'Ensure Catalog API Route'

Loading…
Cancel
Save