update ubuntu version (#15604)

This commit is contained in:
Alan Ren
2021-06-02 05:23:21 -07:00
committed by GitHub
parent 1de05a2339
commit 0f9f17fb1b
4 changed files with 10 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
pool: pool:
vmImage: 'Ubuntu-16.04' vmImage: 'Ubuntu-18.04'
trigger: trigger:
branches: branches:

View File

@@ -1,5 +1,5 @@
#Download base image ubuntu 16.04 #Download base image ubuntu 18.04
FROM ubuntu:16.04 FROM ubuntu:18.04
# Update Software repository # Update Software repository
RUN apt-get update RUN apt-get update

View File

@@ -1,5 +1,5 @@
#Download base image ubuntu 16.04 #Download base image ubuntu 18.04
FROM ubuntu:16.04 FROM ubuntu:18.04
# Update Software repository # Update Software repository
RUN apt-get update && apt-get upgrade -y RUN apt-get update && apt-get upgrade -y

View File

@@ -7,7 +7,7 @@ resources:
jobs: jobs:
- job: Compile - job: Compile
pool: pool:
vmImage: 'Ubuntu-16.04' vmImage: 'Ubuntu-18.04'
container: linux-x64 container: linux-x64
steps: steps:
- script: | - script: |
@@ -40,7 +40,7 @@ jobs:
- job: Linux - job: Linux
condition: and(succeeded(), eq(variables['VSCODE_BUILD_LINUX'], 'true')) condition: and(succeeded(), eq(variables['VSCODE_BUILD_LINUX'], 'true'))
pool: pool:
vmImage: 'Ubuntu-16.04' vmImage: 'Ubuntu-18.04'
container: linux-x64 container: linux-x64
dependsOn: dependsOn:
- Compile - Compile
@@ -53,7 +53,7 @@ jobs:
- job: LinuxWeb - job: LinuxWeb
condition: and(succeeded(), eq(variables['VSCODE_BUILD_WEB'], 'true'), ne(variables['VSCODE_QUALITY'], 'saw')) condition: and(succeeded(), eq(variables['VSCODE_BUILD_WEB'], 'true'), ne(variables['VSCODE_QUALITY'], 'saw'))
pool: pool:
vmImage: 'Ubuntu-16.04' vmImage: 'Ubuntu-18.04'
container: linux-x64 container: linux-x64
variables: variables:
VSCODE_ARCH: x64 VSCODE_ARCH: x64
@@ -66,7 +66,7 @@ jobs:
- job: Docker - job: Docker
condition: and(succeeded(), eq(variables['VSCODE_BUILD_DOCKER'], 'true')) condition: and(succeeded(), eq(variables['VSCODE_BUILD_DOCKER'], 'true'))
pool: pool:
vmImage: 'Ubuntu-16.04' vmImage: 'Ubuntu-18.04'
container: linux-x64 container: linux-x64
dependsOn: dependsOn:
- Linux - Linux
@@ -98,7 +98,7 @@ jobs:
- job: Release - job: Release
condition: and(succeeded(), or(eq(variables['VSCODE_RELEASE'], 'true'), and(eq(variables['VSCODE_QUALITY'], 'insider'), eq(variables['Build.Reason'], 'Schedule')))) condition: and(succeeded(), or(eq(variables['VSCODE_RELEASE'], 'true'), and(eq(variables['VSCODE_QUALITY'], 'insider'), eq(variables['Build.Reason'], 'Schedule'))))
pool: pool:
vmImage: 'Ubuntu-16.04' vmImage: 'Ubuntu-18.04'
dependsOn: dependsOn:
- macOS - macOS
- Linux - Linux