On Wed, Dec 30, 2020 at 10:07:30PM +0800, Liu Shaofei wrote:
[why] Since the file upload path saved by ES is inconsistent with the file path generated by the build-pkg script, the *.cgz file upload failed.
[error] ==> /tmp/stdout <== renamed '/initrd/build-pkg/nfs/openeuler/aarch64/20.03-SP1/kubelet/HEAD.cgz.tmp' -> '/initrd/build-pkg/nfs/openeuler/aarch64/20.03-SP1/kubelet/HEAD.cgz' ==> Leaving fakeroot environment. ==> Finished making: kubernetes 1.18.5-1 (Wed Dec 30 16:50:17 CST 2020) create soft link: latest.cgz -> HEAD.cgz
==> /tmp/stderr <== curl: (22) The requested URL returned error: 403 Forbidden
Signed-off-by: Liu Shaofei 370072077@qq.com
tests/build-pkg | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/tests/build-pkg b/tests/build-pkg index 801649cf4..e21397ee6 100755 --- a/tests/build-pkg +++ b/tests/build-pkg @@ -88,6 +88,9 @@ request_pkg()
create_cgz_name() {
- pkgname="${pkgname}"
This line looks redundant.
Thanks, Xijian
- [ -n "${pkgbase}" ] && pkgname="${pkgbase}"
- cgz_path="$PKG_MNT/${pack_to}/${pkgname}" cgz_name="${cgz_path}/${upstream_commit}.cgz" pkg_args="-A --check --skippgpcheck"
-- 2.23.0