Skip to content
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion tools/sdk-generation-pipeline/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion tools/sdk-generation-pipeline/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN apt install python3-pip -y && apt install python3-venv -y && pip3 install --
RUN add-apt-repository ppa:deadsnakes/ppa -y && apt-get install python3.10 -y && apt-get install python3.10-venv -y

# install powershell
RUN wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb
RUN wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb
RUN dpkg -i packages-microsoft-prod.deb
RUN apt-get update && apt-get install -y powershell
RUN rm packages-microsoft-prod.deb
Expand Down
4 changes: 2 additions & 2 deletions tools/sdk-generation-pipeline/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ variables:
value: $(Build.ArtifactStagingDirectory)

pool:
name: "azsdk-pool-mms-ubuntu-2004-general"
vmImage: "MMSUbuntu20.04"
name: azsdk-pool-mms-ubuntu-2204-general
vmImage: MMSUbuntu22.04

stages:
- stage: Build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ SDK Automation is launched in azure pipeline. It runs tasks in the following ste

### CodegenToSdkConfig
This is type of file `./codegen_to_sdk_config.json` in sdk repo.
The running environment of these scripts would be expected to be __Ubuntu 20.04__ on Azure Pipeline. This may change in the future. All the running script should be executable.
The running environment of these scripts would be expected to be __Ubuntu 22.04__ on Azure Pipeline. This may change in the future. All the running script should be executable.
The working folder of all the scripts is the __root folder of sdk repo__.

#### CodegenToSdkConfig Example
Expand Down
4 changes: 2 additions & 2 deletions tools/sdk-generation-pipeline/sdk-generation-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ stages:
jobs:
- job: SdkGeneration
pool:
name: azsdk-pool-mms-ubuntu-2004-general
vmImage: MMSUbuntu20.04
name: azsdk-pool-mms-ubuntu-2204-general
vmImage: MMSUbuntu22.04
timeoutInMinutes: 180
displayName: ${{ parameters.sdkToGenerate }}-${{ parameters.serviceType }}-${{ parameters.service }}
steps:
Expand Down