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