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

[azue-pipeline] Use build agent pool sonic-ubuntu-1c #1504

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
3 changes: 2 additions & 1 deletion .azure-pipelines/build_and_install_module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function build_and_install_kmodule()

# Install the required debian packages to build the kernel modules
apt-get update
apt-get install -y build-essential linux-headers-${KERNEL_RELEASE} autoconf pkg-config fakeroot
apt-get install -y build-essential pahole 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

Expand All @@ -53,6 +53,7 @@ function build_and_install_kmodule()
echo CONFIG_MICROSOFT_MANA=m >> .config
echo CONFIG_SYSTEM_REVOCATION_LIST=n >> .config
make VERSION=$VERSION PATCHLEVEL=$PATCHLEVEL SUBLEVEL=$SUBLEVEL EXTRAVERSION=-${EXTRAVERSION} LOCALVERSION=-${LOCALVERSION} modules_prepare
cp /lib/modules/$(uname -r)/build/Module.symvers .
make M=drivers/net/team
mv drivers/net/Makefile drivers/net/Makefile.bak
echo 'obj-$(CONFIG_NET_VRF) += vrf.o' > drivers/net/Makefile
Expand Down
6 changes: 5 additions & 1 deletion .azure-pipelines/test-docker-sonic-vs-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,16 @@ parameters:
type: boolean
default: false

- name: pool
type: string
default: sonic-ubuntu-1c

jobs:
- job:
displayName: vstest
timeoutInMinutes: ${{ parameters.timeout }}

pool: sonic-common
pool: ${{ parameters.pool }}

steps:
- script: |
Expand Down
2 changes: 2 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ stages:
jobs:
- template: .azure-pipelines/test-docker-sonic-vs-template.yml
parameters:
pool: sonic-ubuntu-1c
log_artifact_name: log

- stage: TestAsan
Expand All @@ -154,6 +155,7 @@ stages:
jobs:
- template: .azure-pipelines/test-docker-sonic-vs-template.yml
parameters:
pool: sonic-ubuntu-1c
docker_sonic_vs_name: docker-sonic-vs-asan
log_artifact_name: log-asan
asan: true
Loading