Kiuwan action to perform a delivery analysis.
Usage: Add the action in any workflow in your repository --> Actions.
Required parameters:
- userid: the username of your kiuwan account (*)
- password: the password of your kiuwan account (*)
Optional parameters:
- kiuwanbaseurl: Kiuwan server used to perform the analysis. The default value is https://www.kiuwan.com
- project name: Name of the project. If not provided, the github repository name is used (owner/project format)
- label: Selected label for the analysis. If not provided, the run number will be used
- databasetype: Database type files in the project, if any. Can be one or more of [none, transacsql, plsql, informix]
- advancedparams: Rest of parameters to be used in the baseline. For a comprehensive list of options, please visit. https://www.kiuwan.com/docs/display/K5/Kiuwan+Local+Analyzer+CLI+-+Command+Line+Interface
- change request: the change request id for this delivery
- branch: the branch id for the delivery
- type: the type of the delivery, can be partial or complete (default)
- status: the status of the delivery, can be inprogress or resolved
(*) It is higly recommended to use the userid and password as "secrets" of the repository. The secrets can be defined in the Settings options of the repository.
Example of usage as step in a workflow:
steps:
- name: Checkout the repository
uses: actions/checkout@v1
- name: Kiuwan Delivery Analysis
uses: lsacera/KiuwanDeliveryAction@v1.1
with:
# Name of Kiuwan project
project: Personalblog
# Label for the analysis
label: version
# Username for kiuwan platform
userid: ${{ secrets.KIUWAN_USER }}
# Password for kiuwan platform
password: ${{ secrets.KIUWAN_PASS }}
# Change Request
changerequest: change request id
# Branch
branch: branch id
# Complete or partial: completeDelivery / partialDelivery
type: partialDelivery
# Status of the delivery: inprogress / resolved
status: inprogress