Skip to content

Commit eff5412

Browse files
committed
Debian Trixie migration for sonic-mgmt-framework
1 parent 79619b6 commit eff5412

2 files changed

Lines changed: 16 additions & 6 deletions

File tree

azure-pipelines.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ stages:
4141
vmImage: ubuntu-latest
4242

4343
container:
44-
image: sonicdev-microsoft.azurecr.io:443/sonic-slave-bookworm:latest
44+
image: sonicdev-microsoft.azurecr.io:443/sonic-slave-trixie:latest
4545

4646
steps:
4747
- checkout: self
@@ -63,8 +63,12 @@ stages:
6363
runVersion: 'latestFromBranch'
6464
runBranch: 'refs/heads/$(BUILD_BRANCH)'
6565
patterns: |
66-
target/debs/bookworm/libyang*.deb
67-
target/python-wheels/bookworm/sonic_yang_models*.whl
66+
target/debs/trixie/libpcre3_*.deb
67+
target/debs/trixie/libpcre16-3_*.deb
68+
target/debs/trixie/libpcre32-3_*.deb
69+
target/debs/trixie/libpcrecpp0v5_*.deb
70+
target/debs/trixie/libyang*.deb
71+
target/python-wheels/trixie/sonic_yang_models*.whl
6872
displayName: "Download sonic buildimage"
6973

7074
- script: |
@@ -76,8 +80,14 @@ stages:
7680
sudo sed -ri 's/redis-server.sock/redis.sock/' /etc/redis/redis.conf
7781
sudo service redis-server start
7882
83+
# LIBPCRE3 (not in Trixie repos, required by libyang 1.0.73)
84+
sudo dpkg -i ../target/debs/trixie/libpcre3_*.deb \
85+
../target/debs/trixie/libpcre16-3_*.deb \
86+
../target/debs/trixie/libpcre32-3_*.deb \
87+
../target/debs/trixie/libpcrecpp0v5_*.deb
88+
7989
# LIBYANG
80-
sudo dpkg -i ../target/debs/bookworm/libyang*1.0.73*.deb
90+
sudo dpkg -i ../target/debs/trixie/libyang*1.0.73*.deb
8191
8292
# Install from "requirement" files in sonic-mgmt-framework/tools/test directory.
8393
pushd sonic-mgmt-framework/tools/test
@@ -94,7 +104,7 @@ stages:
94104
displayName: "Install dependency"
95105
96106
- script: |
97-
sudo pip3 install ../target/python-wheels/bookworm/sonic_yang_models-1.0-py3-none-any.whl
107+
sudo pip3 install ../target/python-wheels/trixie/sonic_yang_models-1.0-py3-none-any.whl
98108
displayName: "Install sonic yangs"
99109
100110
- script: |

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ require (
4444

4545
replace github.com/Azure/sonic-mgmt-common => ../sonic-mgmt-common
4646

47-
go 1.19
47+
go 1.24.4

0 commit comments

Comments
 (0)