diff options
Diffstat (limited to '.ci/templates/job-get-latest-uhd-docker.yml')
-rw-r--r-- | .ci/templates/job-get-latest-uhd-docker.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.ci/templates/job-get-latest-uhd-docker.yml b/.ci/templates/job-get-latest-uhd-docker.yml index a6b712fb0..ad46db9b0 100644 --- a/.ci/templates/job-get-latest-uhd-docker.yml +++ b/.ci/templates/job-get-latest-uhd-docker.yml @@ -7,6 +7,7 @@ # $[ dependencies.get_latest_uhd_docker.outputs['setDockerVar.dockerImageMatrixLin'] ] # $[ dependencies.get_latest_uhd_docker.outputs['setDockerVar.dockerImageMatrixWin'] ] # $[ dependencies.get_latest_uhd_docker.outputs['setDockerVar.dockerImageMatrixUbuntuDeb'] ] +# $[ dependencies.get_latest_uhd_docker.outputs['setDockerVar.macOSBuilders'] ] jobs: - job: get_latest_uhd_docker displayName: Get Last Docker Build Version @@ -17,6 +18,9 @@ jobs: - checkout: none - download: uhd_build_docker_container displayName: Download Docker Image List + # The following script pulls each line from the DockerImageNames + # file and variablizes them in the AzDO Pipeline Context. + # sed '1q;d' pulls the first line, sed '2q;d' pulls the second, etc. - script: | cd $(Pipeline.Workspace)/uhd_build_docker_container/ docker_build_number=$(sed '1q;d' $(UHDPipelineDockerImageArtifactName)/$(UHDPipelineDockerImageArtifactName)) @@ -24,11 +28,13 @@ jobs: docker_image_matrix_lin=$(sed '3q;d' $(UHDPipelineDockerImageArtifactName)/$(UHDPipelineDockerImageArtifactName)) docker_image_matrix_win=$(sed '4q;d' $(UHDPipelineDockerImageArtifactName)/$(UHDPipelineDockerImageArtifactName)) docker_image_matrix_ubuntu_deb=$(sed '5q;d' $(UHDPipelineDockerImageArtifactName)/$(UHDPipelineDockerImageArtifactName)) + macos_builders=$(sed '6q;d' $(UHDPipelineDockerImageArtifactName)/$(UHDPipelineDockerImageArtifactName)) echo "##vso[task.setvariable variable=dockerBuildNumber;isOutput=true;]$docker_build_number" echo "##vso[task.setvariable variable=dockerImagePrefix;isOutput=true;]$docker_image_prefix" echo "##vso[task.setvariable variable=dockerImageMatrixLin;isOutput=true;]$docker_image_matrix_lin" echo "##vso[task.setvariable variable=dockerImageMatrixWin;isOutput=true;]$docker_image_matrix_win" echo "##vso[task.setvariable variable=dockerImageMatrixUbuntuDeb;isOutput=true;]$docker_image_matrix_ubuntu_deb" + echo "##vso[task.setvariable variable=macOSBuilders;isOutput=true;]$macos_builders" name: setDockerVar - script: | echo "Docker Build Number: " @@ -37,4 +43,5 @@ jobs: echo $(setDockerVar.dockerImageMatrixLin) echo $(setDockerVar.dockerImageMatrixWin) echo $(setDockerVar.dockerImageMatrixUbuntuDeb) + echo $(setDockerVar.macOSBuilders) name: echoDockerVar |