Updated artifact location
This commit is contained in:
parent
a1334d3b30
commit
4e0287be45
@ -1,6 +1,7 @@
|
|||||||
variables:
|
variables:
|
||||||
AppName: basketapi
|
AppName: basketapi
|
||||||
OpenShiftServiceConnection: 'OpenShift on ARO'
|
OpenShiftServiceConnection: 'OpenShift on ARO'
|
||||||
|
SourceImageRegistryProjectName: 'development'
|
||||||
resources:
|
resources:
|
||||||
pipelines:
|
pipelines:
|
||||||
- pipeline: BasketApiBuild
|
- pipeline: BasketApiBuild
|
||||||
@ -19,6 +20,7 @@ stages:
|
|||||||
displayName: 'Download Artifacts'
|
displayName: 'Download Artifacts'
|
||||||
inputs:
|
inputs:
|
||||||
pipeline: BasketApiBuild
|
pipeline: BasketApiBuild
|
||||||
|
artifact: drop
|
||||||
- task: redhat.openshift-vsts.oc-setup-task.oc-setup@2
|
- task: redhat.openshift-vsts.oc-setup-task.oc-setup@2
|
||||||
displayName: 'Setup Openshift CLI'
|
displayName: 'Setup Openshift CLI'
|
||||||
inputs:
|
inputs:
|
||||||
@ -26,6 +28,6 @@ stages:
|
|||||||
- script: 'oc project $(OpenShiftProject)'
|
- script: 'oc project $(OpenShiftProject)'
|
||||||
failOnStderr: true
|
failOnStderr: true
|
||||||
displayName: 'Set OpenShift Project Context'
|
displayName: 'Set OpenShift Project Context'
|
||||||
- script: 'oc process -f $(Pipeline.Workspace)/openshift-webapp-deploy-template.yml -p APPLICATION_NAME=$(AppName) | oc apply -f-'
|
- script: 'oc process -f $(Pipeline.Workspace)/openshift-webapp-deploy-template.yml -p APPLICATION_NAME=$(AppName) -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) | oc apply -f-'
|
||||||
failOnStderr: true
|
failOnStderr: true
|
||||||
displayName: 'Ensure OpenShift DeploymentConfig and Service'
|
displayName: 'Ensure OpenShift DeploymentConfig and Service'
|
Loading…
x
Reference in New Issue
Block a user