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

[ci]: use sonicbld pool #766

Merged
merged 1 commit into from
Jan 12, 2021
Merged
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
13 changes: 5 additions & 8 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ jobs:
submodules: true
- script: |
./autogen.sh
fakeroot dpkg-buildpackage -b -us -uc -Tbinary-syncd-vs
cp ../*.deb .
fakeroot dpkg-buildpackage -b -us -uc -Tbinary-syncd-vs -j$(nproc) && cp ../*.deb .
Copy link
Collaborator

Choose a reason for hiding this comment

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

just of out curiosity why this was merged to 1 line?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is to prorogate the error code to the script

displayName: "Compile sonic sairedis"
- script: |
make check || true
Expand All @@ -77,7 +76,7 @@ jobs:
- job:
timeoutInMinutes: 180
displayName: "arm64"
pool: sonic
pool: sonicbld

container:
image: sonicdev-microsoft.azurecr.io:443/sonic-slave-buster-arm64:latest
Expand Down Expand Up @@ -130,8 +129,7 @@ jobs:
submodules: true
- script: |
./autogen.sh
fakeroot dpkg-buildpackage -b -us -uc -Tbinary-syncd-vs -j$(nproc)
cp ../*.deb .
fakeroot dpkg-buildpackage -b -us -uc -Tbinary-syncd-vs -j$(nproc) && cp ../*.deb .
displayName: "Compile sonic sairedis"
- script: |
make check || true
Expand All @@ -143,7 +141,7 @@ jobs:
- job:
timeoutInMinutes: 180
displayName: "armhf"
pool: sonic
pool: sonicbld

container:
image: sonicdev-microsoft.azurecr.io:443/sonic-slave-buster-armhf:latest
Expand Down Expand Up @@ -196,8 +194,7 @@ jobs:
submodules: true
- script: |
./autogen.sh
fakeroot dpkg-buildpackage -b -us -uc -Tbinary-syncd-vs -j$(nproc)
cp ../*.deb .
fakeroot dpkg-buildpackage -b -us -uc -Tbinary-syncd-vs -j$(nproc) && cp ../*.deb .
displayName: "Compile sonic sairedis"
- script: |
make check || true
Expand Down