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

Support for package version caching #10772

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Kalimuthu-Velappan
Copy link
Contributor

During the SONiC build, it downloads and installs packages for
multiple build components which includes debian packages, pip modules,
python packages, source code packages, git modules and docker images.
The package versioning feature provides an infrastructure to select
and freeze a particular version of a package.

The package version caching feature provides an infrastructure to cache
the package with the given version into a local storage, so that
subsequent installation will not download from web instead it will load
from local cache path.

The following variable controls the verion caching feature. By default
it is truned off.
SONIC_VERSION_CACHE_METHOD = [none/cache]
SONIC_VERSION_CACHE_SOURCE = /path/to/local/storage

Why I did it

How I did it

How to verify it

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

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

@lgtm-com
Copy link

lgtm-com bot commented May 6, 2022

This pull request introduces 1 alert when merging 3e7523828e0800fbae27e19628c643912949162b into 05c6488 - view on LGTM.com

new alerts:

  • 1 for Modification of parameter with default

@lgtm-com
Copy link

lgtm-com bot commented May 7, 2022

This pull request introduces 1 alert when merging 5a9bb2222fc70ca54f6fcd29092cc54a025b8c36 into d5a182f - view on LGTM.com

new alerts:

  • 1 for Modification of parameter with default

@lgtm-com
Copy link

lgtm-com bot commented May 7, 2022

This pull request introduces 1 alert when merging 363191215a14c6eba95a1d663b7efea13ae3a493 into d5a182f - view on LGTM.com

new alerts:

  • 1 for Modification of parameter with default

During the SONiC build, it downloads and installs packages for
multiple build components which includes debian packages, pip modules,
python packages, source code packages, git modules and docker images.
The package versioning feature provides an infrastructure to select
and freeze a particular version of a package.

The package version caching feature provides an infrastructure to cache
the package with the given version into a local storage, so that
subsequent installation will not download from web instead it will load
from local cache path.

The following variable controls the verion caching feature. By default
it is truned off.
    SONIC_VERSION_CACHE_METHOD = [none/cache]
    SONIC_VERSION_CACHE_SOURCE = /path/to/local/storage
@lgtm-com
Copy link

lgtm-com bot commented May 7, 2022

This pull request introduces 1 alert when merging 1d06baa into 71a515e - view on LGTM.com

new alerts:

  • 1 for Modification of parameter with default

@Kalimuthu-Velappan
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).

@Kalimuthu-Velappan Kalimuthu-Velappan requested a review from a team as a code owner June 10, 2022 02:01
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.

2 participants