sonic-buildimage/scripts
Oren Reiss 729eb07d5f
Add script to upload packages to web server (#13545)
- Why I did it
The flow of SONiC reproducible build assumes that web packages (retrieved by curl and wget) are located in a single web file.
server. Currently there is no way to easily download the packages from the various file servers where they are currently deployed.
In this change we offer a utility to download all relevant packages and upload them to a specific file server.

- How I did it
We implemented python script that parse the various version files (generated by SONIC reproducible build compilation) and identify all relevant packages.
Later the script downloads the file and then upload them to the destination server pointed by the user.

- How to verify it
Script is running and was verified manually

Which release branch to backport (provide reason below if selected)
Feature will be added to master only

Signed-off-by: oreiss <oren.reiss@gmail.com>
2023-02-23 08:18:42 +02:00
..
j2cli [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
build_debian_base_system.sh 05.Version cache - docker dpkg caching support (#12005) 2022-12-12 09:20:56 +08:00
build_kvm_image.sh [Build] Fix the build unstalbe issue caused by the kvm not ready (#12180) 2022-09-27 06:55:19 +08:00
build_mirror_config.sh [Build] Change the default mirror version config file (#13786) 2023-02-14 14:59:38 +08:00
collect_build_version_files.sh 05.Version cache - docker dpkg caching support (#12005) 2022-12-12 09:20:56 +08:00
collect_docker_version_files.sh 05.Version cache - docker dpkg caching support (#12005) 2022-12-12 09:20:56 +08:00
collect_host_image_version_files.sh 05.Version cache - docker dpkg caching support (#12005) 2022-12-12 09:20:56 +08:00
convert-pfx-cert-format.sh Simplify the function to covert pfx certificate (#5086) 2020-08-01 20:07:20 +08:00
dbg_files.sh Create the src archive in target/ when INSTALL_DEBUG_TOOLS=y (#3323) 2019-08-28 09:29:48 -07:00
docker_version_control.sh [build] Fix issues found in reproducible build. (#10407) 2022-03-31 13:07:46 +08:00
generate_buildinfo_config.sh [Build] Support Debian snapshot mirror to improve build stability (#13097) 2023-01-13 16:16:35 +08:00
populate_file_web_server.py Add script to upload packages to web server (#13545) 2023-02-23 08:18:42 +02:00
prepare_debian_image_buildinfo.sh 05.Version cache - docker dpkg caching support (#12005) 2022-12-12 09:20:56 +08:00
prepare_docker_buildinfo.sh [Build] Support j2 template for debian sources for docker ptf (#13198) 2022-12-29 23:33:21 -08:00
prepare_slave_container_buildinfo.sh 05.Version cache - docker dpkg caching support (#12005) 2022-12-12 09:20:56 +08:00
process_log.sh [build]: add SONIC_CONFIG_BUILD_LOG_TIMESTAMP to add timestamp in build log (#4269) 2020-03-21 14:21:26 -07:00
run_with_retry Fix sonic-slave-* build errors about sudo command not found (#13412) 2023-01-31 12:35:17 +02:00
sign_image.sh [Secure Boot] Support to sign swi image (#4627) 2020-06-09 15:25:17 +08:00
versions_manager.py [Build] Support Debian snapshot mirror to improve build stability (#13097) 2023-01-13 16:16:35 +08:00
wait_for_docker.sh [build]: wait up to 60 seconds for docker engine to start (#3067) 2019-06-22 14:40:05 -07:00