Question
Is it possible to update an Infrastructure CI via XL CLI?
Answer
Yes, it is possible to update an Infrastructure CI (or Application / ENvironment CI) via XL CLI
Steps to Follow
More details on XL CLI can be found at https://docs.xebialabs.com/v.10.2/release/how-to/install-the-xl-cli/.
Once you download and configure the XL CLI, you can do something like the example below to update any property value for the Infrastructure CI -
- Export the Infrastructure CI which you want to update
xl generate xl-deploy -p Infrastructure/<<CI_Name>> -f <<filename>>.yaml --xl-deploy-url <<http:
//deploy_url:port>> --xl-deploy-username <<username>> --xl-deploy-password <<password>>
- Edit the generated <<filename>>.yaml and update the required property value
- Update the Infrastructure CI using the updated <<filename>>.yaml
xl apply xl-deploy -f <<filename>>.yaml --xl-deploy-url <<http://deploy_url:port>> --xl-deploy-
username <<username>> --xl-deploy-password <<password>>
Comments
Please sign in to leave a comment.