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

Don't build libhiredis anymore #15633

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

saiarcot895
Copy link
Contributor

@saiarcot895 saiarcot895 commented Jun 27, 2023

Why I did it

We're not adding any patch on top of hiredis, and there's no apparent reason to build this. Remove the build step here, and just install the package from the Debian repos.

Work item tracking
  • Microsoft ADO (number only): 24381590

How I did it

How to verify it

Build the SONiC image, and load it. Verify that services come up.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

  • master branch
  • 20230531.02

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

We're not adding any patch on top of hiredis, and there's no apparent
reason to build this. Remove the build step here, and just install the
package from the Debian repos.

Signed-off-by: Saikrishna Arcot <[email protected]>
@@ -406,6 +406,8 @@ RUN apt-get update && apt-get install -y \
libgirepository1.0-dev \
libsystemd-dev \
pkg-config \
# For sonic-swss-common build
libhiredis-dev \
Copy link
Collaborator

@qiluo-msft qiluo-msft Jul 26, 2023

Choose a reason for hiding this comment

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

libhiredis

also change sonic-slave-buster/Dockerfile.j2? #Closed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added.

This might not be needed, but adding it, just in case.

Signed-off-by: Saikrishna Arcot <[email protected]>
@saiarcot895
Copy link
Contributor Author

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 15633 in repo sonic-net/sonic-buildimage

@saiarcot895
Copy link
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

No commit pushedDate could be found for PR 15633 in repo sonic-net/sonic-buildimage

@saiarcot895
Copy link
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@qiluo-msft qiluo-msft merged commit 24ae0a9 into sonic-net:master Sep 6, 2023
14 checks passed
saiarcot895 added a commit to saiarcot895/sonic-host-services that referenced this pull request Sep 8, 2023
libhiredis is now used as-is from the slave container, since we're not
making any changes to this package. See also
sonic-net/sonic-buildimage#15633.

Signed-off-by: Saikrishna Arcot <[email protected]>
saiarcot895 added a commit to saiarcot895/sonic-utilities that referenced this pull request Sep 13, 2023
libhiredis is now used as-is from the slave container, since we're not
making any changes to this package. See also
sonic-net/sonic-buildimage#15633.

Signed-off-by: Saikrishna Arcot <[email protected]>
@saiarcot895 saiarcot895 deleted the remove-hiredis-build branch September 13, 2023 17:08
saiarcot895 added a commit to saiarcot895/sonic-platform-common that referenced this pull request Sep 13, 2023
libhiredis is now used as-is from the slave container, since we're not
making any changes to this package. See also
sonic-net/sonic-buildimage#15633.

Signed-off-by: Saikrishna Arcot <[email protected]>
saiarcot895 added a commit to saiarcot895/sonic-platform-daemons that referenced this pull request Sep 13, 2023
libhiredis is now used as-is from the slave container, since we're not
making any changes to this package. See also
sonic-net/sonic-buildimage#15633.

Signed-off-by: Saikrishna Arcot <[email protected]>
saiarcot895 added a commit to saiarcot895/sonic-platform-daemons that referenced this pull request Sep 13, 2023
libhiredis is now used as-is from the slave container, since we're not
making any changes to this package. See also
sonic-net/sonic-buildimage#15633.

Signed-off-by: Saikrishna Arcot <[email protected]>
saiarcot895 added a commit to saiarcot895/sonic-gnmi that referenced this pull request Sep 13, 2023
libhiredis is now used as-is from the slave container, since we're not
making any changes to this package. See also
sonic-net/sonic-buildimage#15633.

Signed-off-by: Saikrishna Arcot <[email protected]>
saiarcot895 added a commit to saiarcot895/sonic-dbsyncd that referenced this pull request Sep 13, 2023
libhiredis is now used as-is from the slave container, since we're not
making any changes to this package. See also
sonic-net/sonic-buildimage#15633.

Signed-off-by: Saikrishna Arcot <[email protected]>
prgeor pushed a commit to sonic-net/sonic-platform-common that referenced this pull request Sep 13, 2023
libhiredis is now used as-is from the slave container, since we're not
making any changes to this package. See also
sonic-net/sonic-buildimage#15633.

Signed-off-by: Saikrishna Arcot <[email protected]>
saiarcot895 added a commit to saiarcot895/sonic-restapi that referenced this pull request Sep 13, 2023
libhiredis is now used as-is from the slave container, since we're not
making any changes to this package. See also
sonic-net/sonic-buildimage#15633.

Signed-off-by: Saikrishna Arcot <[email protected]>
abdosi pushed a commit to sonic-net/sonic-host-services that referenced this pull request Sep 13, 2023
libhiredis is now used as-is from the slave container, since we're not making any changes to this package. See also
sonic-net/sonic-buildimage#15633.
prgeor pushed a commit to sonic-net/sonic-platform-daemons that referenced this pull request Sep 13, 2023
libhiredis is now used as-is from the slave container, since we're not
making any changes to this package. See also
sonic-net/sonic-buildimage#15633.

Signed-off-by: Saikrishna Arcot <[email protected]>
saiarcot895 added a commit to sonic-net/sonic-utilities that referenced this pull request Sep 13, 2023
libhiredis is now used as-is from the slave container, since we're not
making any changes to this package. See also
sonic-net/sonic-buildimage#15633.

Signed-off-by: Saikrishna Arcot <[email protected]>
SviatoslavBoichuk pushed a commit to SviatoslavBoichuk/sonic-host-services that referenced this pull request Sep 14, 2023
libhiredis is now used as-is from the slave container, since we're not making any changes to this package. See also
sonic-net/sonic-buildimage#15633.
qiluo-msft pushed a commit to sonic-net/sonic-snmpagent that referenced this pull request Sep 16, 2023
…mage artifect. (#293)

Fix pipeline build break caused by libhredis remove from sonic-buildimage artifect.

Pipeline build break because sonic-buildimage repo not build libhredis by this PR: sonic-net/sonic-buildimage#15633

**- What I did**
Fix pipeline build break caused by libhredis remove from sonic-buildimage artifect.

**- How I did it**
Install libhiredis0.14 from debian apt source.

**- How to verify it**
Pass all UT

**- Description for the changelog**
Fix pipeline build break caused by libhredis remove from sonic-buildimage artifect.
sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this pull request Sep 20, 2023
### Why I did it

We're not adding any patch on top of hiredis, and there's no apparent reason to build this. Remove the build step here, and just install the package from the Debian repos.

##### Work item tracking
- Microsoft ADO **(number only)**: 24381590

#### How to verify it

Build the SONiC image, and load it. Verify that services come up.
qiluo-msft pushed a commit to sonic-net/sonic-gnmi that referenced this pull request Sep 27, 2023
### Why I did it

libhiredis is now used as-is from the slave container, since we're not making any changes to this package. See also
sonic-net/sonic-buildimage#15633.
JunhongMao pushed a commit to JunhongMao/sonic-utilities that referenced this pull request Oct 4, 2023
libhiredis is now used as-is from the slave container, since we're not
making any changes to this package. See also
sonic-net/sonic-buildimage#15633.

Signed-off-by: Saikrishna Arcot <[email protected]>
prsunny pushed a commit to sonic-net/sonic-restapi that referenced this pull request Oct 12, 2023
* Remove command to install libhiredis deb file

libhiredis is now used as-is from the slave container, since we're not making any changes to this package. See also
sonic-net/sonic-buildimage#15633.
StormLiangMS pushed a commit to sonic-net/sonic-gnmi that referenced this pull request Oct 17, 2023
### Why I did it

libhiredis is now used as-is from the slave container, since we're not making any changes to this package. See also
sonic-net/sonic-buildimage#15633.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants