Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 29 additions & 18 deletions ci/azure_pipelines/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@
# The main reason that forced the Ray team to have Jenkings is
# the travis limitation of two cores per environment.

parameters:
- name: ImageName
displayName: 'OS Image'
type: string
default: ubuntu-18.04
values:
- ubuntu-latest
- ubuntu-20.04
- ubuntu-18.04
- ubuntu-16.04

name: $(BuildDefinitionName)_$(SourceBranchName)_$(BuildID)
stages:
- stage: RayBuild
Expand All @@ -17,7 +28,7 @@ stages:
strategy:
matrix:
linux_python36:
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.6'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand Down Expand Up @@ -57,7 +68,7 @@ stages:
strategy:
matrix:
linux_python36:
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.6'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand Down Expand Up @@ -97,7 +108,7 @@ stages:
strategy:
matrix:
linux_python36:
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.6'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand Down Expand Up @@ -139,7 +150,7 @@ stages:
strategy:
matrix:
linux_python36:
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.6'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand Down Expand Up @@ -178,7 +189,7 @@ stages:
matrix:
linux_python36:
# poolName: 'ADORayTests'
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.6'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand Down Expand Up @@ -207,7 +218,7 @@ stages:
matrix:
linux_python36:
# poolName: 'ADORayTests'
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.6'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand Down Expand Up @@ -236,7 +247,7 @@ stages:
matrix:
linux_python36:
# poolName: 'ADORayTests'
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.6'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand Down Expand Up @@ -293,7 +304,7 @@ stages:
matrix:
python36:
# poolName: 'ADORayTests'
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.6'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand Down Expand Up @@ -419,7 +430,7 @@ stages:
strategy:
matrix:
linux_python36:
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.7'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand Down Expand Up @@ -450,7 +461,7 @@ stages:
strategy:
matrix:
linux_python36:
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.6'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand All @@ -477,7 +488,7 @@ stages:
strategy:
matrix:
linux_python36:
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.6'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand All @@ -504,7 +515,7 @@ stages:
strategy:
matrix:
linux_python36:
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.6'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand Down Expand Up @@ -534,7 +545,7 @@ stages:
matrix:
linux_python36:
# poolName: 'ADORayTests'
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.6'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand Down Expand Up @@ -563,7 +574,7 @@ stages:
matrix:
linux_python36:
# poolName: 'ADORayTests'
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.6'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand Down Expand Up @@ -592,7 +603,7 @@ stages:
matrix:
linux_python36:
# poolName: 'ADORayTests'
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.6'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand Down Expand Up @@ -621,7 +632,7 @@ stages:
matrix:
linux_python36:
# poolName: 'ADORayTests'
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.6'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand Down Expand Up @@ -653,7 +664,7 @@ stages:
strategy:
matrix:
linux_python36:
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.6'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand Down Expand Up @@ -705,7 +716,7 @@ stages:
strategy:
matrix:
linux_python36:
imageName: 'ubuntu-16.04'
imageName: ${{ parameters.ImageName }}
python.version: '3.6'
bazel.outputRoot: $(Agent.TempDirectory)/_bazel_*
TEST_TMPDIR: $(Agent.TempDirectory)
Expand Down