This commit is contained in:
Mariana Mihova 2022-02-09 11:42:04 -08:00
Родитель 6d3f2b9a02
Коммит c846d3897d
6 изменённых файлов: 39 добавлений и 6 удалений

Просмотреть файл

@ -12,7 +12,7 @@ then
exit 1
fi
VERSION_TAG="v0.0.3"
VERSION_TAG="v0.0.4-rc1"
# where am I
TOPDIR=$(dirname $0)

Просмотреть файл

@ -23,7 +23,7 @@ function is_os_tier1() {
case $ID in
ubuntu)
if [ "$VERSION_ID" == "18.04" ];
if [ "$VERSION_ID" == "18.04" ] || [ "$VERSION_ID" == "20.04" ];
then
return 0
fi

Просмотреть файл

@ -14,6 +14,13 @@ test_ubuntu1804() {
assert_eq 0 $?
}
test_ubuntu2004() {
ID="ubuntu"
VERSION_ID="20.04"
is_os_tier1 "$ID" "$VERSION_ID"
assert_eq 0 $?
}
test_raspbian() {
ID="raspbian"
VERSION_ID="9"
@ -30,6 +37,7 @@ test_tier2() {
# run tests
test_ubuntu1804
test_ubuntu2004
test_raspbian
test_tier2

Просмотреть файл

@ -33,7 +33,7 @@ stages:
dependsOn: []
condition: succeeded()
- job: UbuntuE2ETests
- job: Ubuntu1804E2ETests
pool:
vmImage: ubuntu-18.04
steps:
@ -41,4 +41,13 @@ stages:
- template: continuous-e2e.yml
dependsOn: []
condition: succeeded()
- job: Ubuntu2004E2ETests
pool:
vmImage: ubuntu-20.04
steps:
- template: continuous-e2e-setup.yml
- template: continuous-e2e.yml
dependsOn: []
condition: succeeded()

Просмотреть файл

@ -33,11 +33,20 @@ stages:
dependsOn: []
condition: succeeded()
- job: UbuntuPerfTests
- job: Ubuntu1804PerfTests
pool:
vmImage: ubuntu-18.04
steps:
- template: continuous-e2e-setup.yml
- template: continuous-perf.yml
dependsOn: []
condition: succeeded()
- job: Ubuntu2004PerfTests
pool:
vmImage: ubuntu-20.04
steps:
- template: continuous-e2e-setup.yml
- template: continuous-perf.yml
dependsOn: []
condition: succeeded()

Просмотреть файл

@ -13,12 +13,18 @@ stages:
- stage: UnitTest
displayName: Unit Tests
jobs:
- job: LinuxUnitTests
- job: Linux1804UnitTests
pool:
vmImage: ubuntu-18.04
steps:
- template: linux/continuous-linux.yml
- job: Linux2004UnitTests
pool:
vmImage: ubuntu-20.04
steps:
- template: linux/continuous-linux.yml
- job: RaspberryPiUnitTests
pool:
vmImage: ubuntu-latest
@ -29,7 +35,8 @@ stages:
pool:
vmImage: ubuntu-18.04
dependsOn:
- LinuxUnitTests
- Linux1804UnitTests
- Linux2004UnitTests
- RaspberryPiUnitTests
condition: and(succeeded('LinuxUnitTests'), succeeded('RaspberryPiUnitTests'))
steps: