Files
ROCm/.azuredevops/templates/steps/build-script.yml
Joseph Macaranas 1eb517456e Tagged builds of External CI components (#3078)
* Tagged builds of External CI components

Adding capability to kick off builds of ROCm components based on a tag ref, without the need of the yaml file in the corresponding repo that is used for pre-submit and on-submit builds. This unblocks the team from creating an initial set of pipelines to verify things work.

Also made some improvements to the code structure and added support for more repos.

---------

Co-authored-by: abhimeda <abhinav.meda@amd.com>
Co-authored-by: alexxu-amd <alex.xu@amd.com>
2024-05-02 15:27:06 -04:00

23 lines
512 B
YAML

parameters:
- name: componentName
type: string
default: ''
- name: scriptDir
type: string
default: '.'
- name: scriptExecutable
type: string
default: './install.sh'
- name: scriptParameters
type: string
default: ''
steps:
- task: Bash@3
displayName: '${{ parameters.componentName }} Building via script'
continueOnError: true
inputs:
targetType: inline
script: ${{ parameters.scriptExecutable }} ${{ parameters.scriptParameters }}
workingDirectory: ${{ parameters.scriptDir }}