From 60548a0b7121a3e448625142c60e4491b9ad519f Mon Sep 17 00:00:00 2001 From: Zhixiong Chi Date: Tue, 21 Dec 2021 21:05:17 -0500 Subject: [PATCH] stx tool: Drop the previous way to sync cengn mirror in prepare task Now we set the default value for the CENGNURL as the commit https://review.opendev.org/c/starlingx/tools/+/821535 mentioned. Since the mirrors of the debian packages are not initialized yet in cengn server, we will encounter 400 Bad Request result in prepare task. Just drop the mirror work for prepare task now. We will implement the detailed program to download the debian binary and source packages to replace it later. Or once the specific directory structure for debian packages in cengn server was created, we can recover it with the more accurate path if necessary. Story: 2008862 Task: 44219 Signed-off-by: Zhixiong Chi Change-Id: I0c02e52aa4febe5de0a267ec88c9243e191208a8 --- .../stx-builder/configmap/stx-prepare-build | 4 ---- 1 file changed, 4 deletions(-) diff --git a/stx/stx-build-tools-chart/stx-builder/configmap/stx-prepare-build b/stx/stx-build-tools-chart/stx-builder/configmap/stx-prepare-build index 587e770cf..90d4441ef 100755 --- a/stx/stx-build-tools-chart/stx-builder/configmap/stx-prepare-build +++ b/stx/stx-build-tools-chart/stx-builder/configmap/stx-prepare-build @@ -34,10 +34,6 @@ TMPLIST=`mktemp /tmp/XXXXXX.lst` debdownloader $TMPLIST rm $TMPLIST -if [[ x"$CENGNURL" != x"" ]]; then - repo_manage.py mirror --url $CENGNURL -fi - if [[ x"$SOURCESLIST" != x"" ]]; then if [[ x"$DEBLIST" == x"" ]]; then if [[ x"$DSCLIST" == x"" ]]; then