Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[azure-pipelines] update azp from buster to bullseye #2455

Merged
merged 15 commits into from
Nov 17, 2022

Conversation

maipbui
Copy link
Contributor

@maipbui maipbui commented Oct 25, 2022

Signed-off-by: maipbui maibui@microsoft.com

What I did

Update to bullseye to use python 3.9

How I did it

Change pipeline from buster to bullseye

How to verify it

Pass PR build checker

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

Signed-off-by: maipbui <maibui@microsoft.com>
Signed-off-by: maipbui <maibui@microsoft.com>
@@ -48,8 +48,9 @@ stages:
displayName: "Download artifacts from latest sonic-buildimage build"

- script: |
apt list | grep "libboost-serialization"
Copy link
Contributor

@qiluo-msft qiluo-msft Oct 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apt list | grep "libboost-serialization"

This is for debug purpose? Suggest remove in final code. #Closed

set -xe
sudo apt-get -y purge libhiredis-dev libnl-3-dev libnl-route-3-dev
sudo apt-get -y purge libhiredis-dev libnl-3-dev libnl-route-3-dev libboost-serialization1.71-dev
Copy link
Contributor

@qiluo-msft qiluo-msft Oct 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

purge

purge is like removing a package. Is it intended? #Closed

@@ -29,6 +29,8 @@ function build_and_install_kmodule()
apt-get install -y build-essential linux-headers-${KERNEL_RELEASE} autoconf pkg-config fakeroot
apt-get install -y flex bison libssl-dev libelf-dev
apt-get install -y libnl-route-3-200 libnl-route-3-dev libnl-cli-3-200 libnl-cli-3-dev libnl-3-dev
# Install libs required by libswsscommon for build
apt-get install -y libzmq3-dev libzmq5 libboost-serialization1.71.0 uuid-dev
Copy link
Contributor

@qiluo-msft qiluo-msft Oct 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.71.0

If you build in bullseye, you want to install 1.74?

Signed-off-by: maipbui <maibui@microsoft.com>
Signed-off-by: maipbui <maibui@microsoft.com>
Signed-off-by: maipbui <maibui@microsoft.com>
Signed-off-by: maipbui <maibui@microsoft.com>
@maipbui
Copy link
Contributor Author

maipbui commented Nov 14, 2022

/azp run Azure.sonic-utilities

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: maipbui <maibui@microsoft.com>
Signed-off-by: maipbui <maibui@microsoft.com>
Signed-off-by: maipbui <maibui@microsoft.com>
Signed-off-by: maipbui <maibui@microsoft.com>
Signed-off-by: maipbui <maibui@microsoft.com>
Signed-off-by: maipbui <maibui@microsoft.com>
@@ -29,6 +29,8 @@ function build_and_install_kmodule()
apt-get install -y build-essential linux-headers-${KERNEL_RELEASE} autoconf pkg-config fakeroot
apt-get install -y flex bison libssl-dev libelf-dev
apt-get install -y libnl-route-3-200 libnl-route-3-dev libnl-cli-3-200 libnl-cli-3-dev libnl-3-dev
# Install libs required by libswsscommon for build
apt-get install -y libzmq3-dev libzmq5 libboost-serialization-dev uuid-dev
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove this line now I believe

Signed-off-by: maipbui <maibui@microsoft.com>
@maipbui maipbui changed the title [azure-pipelines] update azp image container and libswsscommon deps [azure-pipelines] update azp from buster to bullseye Nov 16, 2022
@maipbui maipbui merged commit c497c84 into sonic-net:master Nov 17, 2022
@maipbui maipbui deleted the bui/update_azp_libswsscommon branch November 17, 2022 13:01
preetham-singh pushed a commit to preetham-singh/sonic-utilities that referenced this pull request Nov 21, 2022
Signed-off-by: maipbui maibui@microsoft.com
What I did
Update to bullseye to use python 3.9
How I did it
Change pipeline from buster to bullseye
How to verify it
Pass PR build checker
mdanish-kh pushed a commit to mdanish-kh/sonic-utilities that referenced this pull request Nov 23, 2022
Signed-off-by: maipbui maibui@microsoft.com
What I did
Update to bullseye to use python 3.9
How I did it
Change pipeline from buster to bullseye
How to verify it
Pass PR build checker
yxieca pushed a commit that referenced this pull request Dec 13, 2022
Signed-off-by: maipbui maibui@microsoft.com
What I did
Update to bullseye to use python 3.9
How I did it
Change pipeline from buster to bullseye
How to verify it
Pass PR build checker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants