[ci]: add native arm64/armhf sonic-slave build pipeline#9056
Merged
lguohan merged 2 commits intosonic-net:masterfrom Nov 6, 2021
Merged
[ci]: add native arm64/armhf sonic-slave build pipeline#9056lguohan merged 2 commits intosonic-net:masterfrom
lguohan merged 2 commits intosonic-net:masterfrom
Conversation
liushilongbuaa
previously approved these changes
Oct 26, 2021
setup sonic-slave template and use the template for amd64, arm64 and armhf sonic-slave Signed-off-by: Guohan Lu <lguohan@gmail.com>
liushilongbuaa
previously approved these changes
Oct 28, 2021
Contributor
There was a problem hiding this comment.
we can reuse the docker naming code in Makefile.work
set SLAVE_BASE_IMAGE after line 85
SLAVE_BASE_IMAGE = $(grep $SLAVE_BASE_TAG $tmpfile | grep "Successfully tagged" | cut -d' ' -f3 | cut -d: -f1)
Collaborator
Author
There was a problem hiding this comment.
intend to keep it as line L63-L64 check if the platform/arch combination is supported or not.
Contributor
There was a problem hiding this comment.
This pipeline works for all dists in arm64 agent.
we shouldn't compare pipeline name and dist.
Collaborator
Author
There was a problem hiding this comment.
i think for arm64, we still want to create different pipeline for different slave dist.
qiluo-msft
previously approved these changes
Oct 28, 2021
Signed-off-by: Guohan Lu <lguohan@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
setup sonic-slave template and use the template
for amd64, arm64 and armhf sonic-slave
Signed-off-by: Guohan Lu lguohan@gmail.com
Why I did it
build native docker for armhf and arm64
How I did it
move sonic-slave to template
How to verify it
run several pipeline.
sonic-slave-buster-arm64
sonic-slave-buster-armhf
https://dev.azure.com/mssonic/build/_build?definitionScope=%5Cbldenv
Which release branch to backport (provide reason below if selected)
Description for the changelog
A picture of a cute animal (not mandatory but encouraged)