Added artifacts
This commit is contained in:
		
							parent
							
								
									248349248f
								
							
						
					
					
						commit
						67038ab6db
					
				@ -34,21 +34,9 @@ stages:
 | 
				
			|||||||
          inputs:
 | 
					          inputs:
 | 
				
			||||||
            sourcePath: ./deploy/aro/catalog-api
 | 
					            sourcePath: ./deploy/aro/catalog-api
 | 
				
			||||||
            filePattern: catalog-public-route.json
 | 
					            filePattern: catalog-public-route.json
 | 
				
			||||||
        - task: redhat.openshift-vsts.oc-setup-task.oc-setup@2
 | 
					        - task: CopyFiles@2
 | 
				
			||||||
          displayName: 'Setup Openshift CLI'
 | 
					 | 
				
			||||||
          inputs:
 | 
					          inputs:
 | 
				
			||||||
            openshiftService: $(OpenShiftServiceConnection)
 | 
					            contents: deploy/aro/catalog-api/catalog-public-route.yml
 | 
				
			||||||
        - script: 'oc project $(OpenShiftProject)'
 | 
					            targetFolder: $(Build.ArtifactStagingDirectory)
 | 
				
			||||||
          failOnStderr: true
 | 
					        - task: PublishBuildArtifacts@1
 | 
				
			||||||
          displayName: 'Set OpenShift Project Context'
 | 
					          displayName: 'Publish Artifact: drop'
 | 
				
			||||||
        - 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'
 | 
					 | 
				
			||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	"apiVersion": "v1",
 | 
						"apiVersion": "route.openshift.io/v1",
 | 
				
			||||||
	"kind": "Route",
 | 
						"kind": "Route",
 | 
				
			||||||
	"metadata": {
 | 
						"metadata": {
 | 
				
			||||||
		"labels": {
 | 
							"labels": {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user