mirror of
https://github.com/ROCm/ROCm.git
synced 2026-01-09 22:58:17 -05:00
* 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>
23 lines
512 B
YAML
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 }}
|