Build: Fix restapi-sidecar docker Makefile#25417
Merged
lihuay merged 2 commits intosonic-net:masterfrom Feb 24, 2026
Merged
Conversation
Having this PHONY target results in unconditional builds. We should use the docker UT Schema to run the tests instead of doing it from the Makefile. Signed-off-by: Nate White <[email protected]>
Collaborator
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
@liushilongbuaa could you help review and merge please? This is basically the same as your PR #25122 but for a different container. Thanks! |
Collaborator
|
@qiluo-msft , review this one? |
liushilongbuaa
approved these changes
Feb 12, 2026
baxia-lan
pushed a commit
that referenced
this pull request
Feb 25, 2026
* Build: Fix restapi-sidecar docker Makefile (#25417) Having this PHONY target results in unconditional builds. We should use the docker UT Schema to run the tests instead of doing it from the Makefile. Signed-off-by: Nate White <[email protected]> Signed-off-by: Sonika Jindal <[email protected]> * [azure-pipelines] Add alpinevs build pipeline Signed-off-by: Sonika Jindal <[email protected]> * Remove BUILD_MULTIASIC_KVM and INCLUDE_DHCP_SERVER from alpinevs build options Signed-off-by: Sonika Jindal <[email protected]> --------- Signed-off-by: Nate White <[email protected]> Signed-off-by: Sonika Jindal <[email protected]> Co-authored-by: nate-nexthop <[email protected]>
FengPan-Frank
pushed a commit
to FengPan-Frank/sonic-buildimage
that referenced
this pull request
Mar 6, 2026
Having this PHONY target results in unconditional builds. We should use the docker UT Schema to run the tests instead of doing it from the Makefile. Signed-off-by: Nate White <[email protected]> Signed-off-by: Feng Pan <[email protected]>
FengPan-Frank
pushed a commit
to FengPan-Frank/sonic-buildimage
that referenced
this pull request
Mar 6, 2026
* Build: Fix restapi-sidecar docker Makefile (sonic-net#25417) Having this PHONY target results in unconditional builds. We should use the docker UT Schema to run the tests instead of doing it from the Makefile. Signed-off-by: Nate White <[email protected]> Signed-off-by: Sonika Jindal <[email protected]> * [azure-pipelines] Add alpinevs build pipeline Signed-off-by: Sonika Jindal <[email protected]> * Remove BUILD_MULTIASIC_KVM and INCLUDE_DHCP_SERVER from alpinevs build options Signed-off-by: Sonika Jindal <[email protected]> --------- Signed-off-by: Nate White <[email protected]> Signed-off-by: Sonika Jindal <[email protected]> Co-authored-by: nate-nexthop <[email protected]> Signed-off-by: Feng Pan <[email protected]>
dprital
pushed a commit
that referenced
this pull request
Mar 19, 2026
Having this PHONY target results in unconditional builds. We should use the docker UT Schema to run the tests instead of doing it from the Makefile. Signed-off-by: Nate White <[email protected]> Signed-off-by: dprital <[email protected]>
dprital
pushed a commit
that referenced
this pull request
Mar 19, 2026
* Build: Fix restapi-sidecar docker Makefile (#25417) Having this PHONY target results in unconditional builds. We should use the docker UT Schema to run the tests instead of doing it from the Makefile. Signed-off-by: Nate White <[email protected]> Signed-off-by: Sonika Jindal <[email protected]> * [azure-pipelines] Add alpinevs build pipeline Signed-off-by: Sonika Jindal <[email protected]> * Remove BUILD_MULTIASIC_KVM and INCLUDE_DHCP_SERVER from alpinevs build options Signed-off-by: Sonika Jindal <[email protected]> --------- Signed-off-by: Nate White <[email protected]> Signed-off-by: Sonika Jindal <[email protected]> Co-authored-by: nate-nexthop <[email protected]> Signed-off-by: dprital <[email protected]>
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.
Why I did it
Having this PHONY target results in unconditional builds. We should use the docker UT Schema to run the tests instead of doing it from the Makefile.
Note this was done for the telemetry sidecar here: #25122
Tests are run from here:
sonic-buildimage/slave.mk
Line 1195 in 0364048
Work item tracking
How I did it
How to verify it
Test still runs when docker-restapi-sidecar is built:
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)