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 sn 202012 3 #14666

Draft
wants to merge 7 commits into
base: 202012
Choose a base branch
from
Draft

Support sn 202012 3 #14666

wants to merge 7 commits into from

Commits on Apr 14, 2023

  1. [Build] Support j2 template for debian sources (sonic-net#12557)

    Why I did it
    Unify the Debian mirror sources
    Make easy to upgrade to the next Debian release, not source url code change required.
    Support to customize the Debian mirror sources during the build
    Relative issue: sonic-net#12523
    xumia committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    790b093 View commit details
    Browse the repository at this point in the history
  2. [Build] Support Debian snapshot mirror to improve build stability (so…

    …nic-net#13097)
    
    Why I did it
    [Build] Support Debian snapshot mirror to improve build stability
    
    It is to enhance the reproducible build, supports the Debian snapshot mirror. It guarantees all the docker images using the same Debian mirror snapshot and fixes the temporary build failure which is caused by remote Debain mirror indexes changed during the build. It is also to fix the version conflict issue caused by no fixed versions of some of the Debian packages.
    
    How I did it
    Add a new feature to support the Debian snapshot mirror.
    
    How to verify it
    xumia committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    2a20559 View commit details
    Browse the repository at this point in the history
  3. [Build] Change the default mirror version config file (sonic-net#13786)

    Why I did it
    Change the mirror config file
    Use the files/build/versions/default/versions-mirror only when reproducible build enabled.
    The config in files/build/versions is only for reproducible build, while snapshot mirror feature does not have the dependency on the reproducible build.
    
    How I did it
    Skip the mirror config in files/build/versions/default/versions-mirror if reproducible build not enabled.
    
    How to verify it
    xumia committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    af9f1be View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dd6b8cb View commit details
    Browse the repository at this point in the history
  5. [Build] Support j2 template for debian sources for docker ptf (sonic-…

    …net#13198)
    
    Change to use the sources.list from the file generated from the j2 template
    xumia committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    bd6e8f1 View commit details
    Browse the repository at this point in the history
  6. [Build] Optimize the version control for Debian packages (sonic-net#1…

    …4557)
    
    Why I did it
    Optimize the version control for Debian packages.
    Fix sonic-slave-buster/sources.list.amd64 not found display issue, need to generate the file before running the shell command to evaluate the sonic image tag.
    When using the snapshot mirror, it is not necessary to update the version file based on the base image. It will reduce the version dependency issue, when an image is not run when freezing the version.
    
    How I did it
    Not to update the version file when snapshot mirror enabled.
    
    How to verify it
    xumia committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    ff26aff View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5cd8bdb View commit details
    Browse the repository at this point in the history