Shilong Liu
6b69ddc861
[build] Fix reproducible build issues ( #8548 )
...
* [build] Fix reproducible build issues
2021-08-26 10:22:02 +00:00
Shilong Liu
7811e7eef1
Bug fix for reproducible build ( #8061 )
2021-07-07 09:41:29 +00:00
Shilong Liu
d9b1089a3c
Enable reproducible build for git in 202012 branch. (redo 6562) ( #7994 )
2021-06-30 10:54:54 +08:00
Qi Luo
8b7091ff51
Revert some mistakenly merged/pushed code
...
* Revert "fix"
This reverts commit 93585b0a0a
.
* Revert "Version control git (#6562 )"
This reverts commit 52b87753db
.
* Revert "Revert "[files/build/versions]: support reproduceable build for git (#5774 )""
This reverts commit 1cb8daf585
.
* Revert "[files/build/versions]: support reproduceable build for git (#5774 )"
This reverts commit 547aa9b2c7
.
2021-06-21 06:35:54 +00:00
liushilongbuaa
52b87753db
Version control git ( #6562 )
...
* support reproduceable build for git clone
Signed-off-by: shilongliu <shilongliu@microsoft.com>
* fix
* bug-fix
Signed-off-by: shilongliu <shilongliu@microsoft.com>
* bug-fix
Signed-off-by: shilongliu <shilongliu@microsoft.com>
Co-authored-by: shilongliu <shilongliu@microsoft.com>
2021-06-18 13:32:32 +08:00
Guohan Lu
1cb8daf585
Revert "[files/build/versions]: support reproduceable build for git ( #5774 )"
...
This reverts commit d75c290f00
.
2021-06-18 13:32:27 +08:00
liushilongbuaa
547aa9b2c7
[files/build/versions]: support reproduceable build for git ( #5774 )
...
* support reproduceable build for git clone
Signed-off-by: shilongliu <shilongliu@microsoft.com>
* fix
Co-authored-by: shilongliu <shilongliu@microsoft.com>
2021-06-18 13:32:20 +08:00
xumia
dc44da4e0f
Skip the web proxy when downloading from proxy endpoint ( #7592 )
...
Why I did it
Skip to use the web proxy when the packages have been in the proxy server.
For sai packages or the other packages, we will upload the the proxy server directly, the reproducible will skip to check the site, not necessary to change the version files.
2021-05-24 22:18:00 +00:00
Yilan
642a8e720f
[build]: Fix pip3 hook ENABLE_VERSION_CONTROL_PY param ( #7147 )
2021-04-08 18:38:08 +00:00
xumia
fbc6190c0c
[arista]: Fix web package md5 hash not correct issue ( #6411 )
...
Need to add the follow redirection option -L when downloading the package with redirection.
2021-02-19 11:49:48 -08:00
xumia
ef16128ce8
Fix py3 version changed even version control enabled issue ( #6422 )
...
* Fix py3 version changed even version control enabled issue
* Add some comments and simplify the script
* Add the comment to explain how to get the not hooked command
2021-01-15 08:17:03 -08:00
xumia
0a36de3a89
Recover "Support SONiC Reproduceable Build-debian/pip/web packages ( #6255 )
...
* Revert "Revert "Support SONiC Reproduceable Build-debian/pip/web packages (#5718 )""
This reverts commit 17497a65e3
.
* Revert "Revert "Remove unnecessary sudo authority in build Makefile (#6237 )""
This reverts commit 163b7111b5
.
2020-12-21 15:31:10 +08:00
Guohan Lu
17497a65e3
Revert "Support SONiC Reproduceable Build-debian/pip/web packages ( #5718 )"
...
This reverts commit 55a707586b
.
2020-12-18 23:37:27 -08:00
Guohan Lu
163b7111b5
Revert "Remove unnecessary sudo authority in build Makefile ( #6237 )"
...
This reverts commit 07b4aaf473
.
2020-12-18 23:37:12 -08:00
xumia
07b4aaf473
Remove unnecessary sudo authority in build Makefile ( #6237 )
...
- Why I did it
In some build machine, it may be not able to run as root during the build, only has root authority in docker containers.
- How I did it
Remove the sudo in Makefile
- How to verify it
cd src/sonic-build-hooks
make all
2020-12-18 21:27:42 -08:00
xumia
55a707586b
Support SONiC Reproduceable Build-debian/pip/web packages ( #5718 )
...
* Support SONiC reproduceable build for deb/py2/py3/web
* Remove j2 files
* Fix bug
* Fix some issues
1. Change some code format issues
2. Fix curl calling wget command, pip2 calling pip3 issue
3. Fix wget/curl downloading multiple urls issue
* Fix some code format issue
* Fix bug
* Fix bug
* Fix command path hard code in build info scripts issue
* Add debian package sonic-build-tools
* Fix auto debian package removed issue
* Change build debian package name, and change the folder
* Collect the pre-versions and post-versions
* Change to use debian:buster
* Remove apt-mark and improve code
* Remove set_build_hooks
* Change docker trusted gpg files
* Fix docker build COPY directory name issue
* Move the trusted gpg files into the sonic-build-hooks package
2020-12-17 13:06:53 +08:00