Skip to contentSkip to conversation

automation: Use a different ImageBuilder repository URL

PATCH In review Michal Orzel 5 participants 7 messages Jul 10, 2024 – Jul 11, 2024 Arm/Zynq architecture

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 automation: Use a different ImageBuilder repository URL

Switch to using https://gitlab.com/xen-project/imagebuilder.git which should be considered official ImageBuilder repo.

Take the opportunity to truncate the git history when cloning using --depth 1.

---
Changes in v2:
- truncate history when cloning

---
 automation/scripts/qemu-smoke-dom0-arm32.sh       | 2 +-
 automation/scripts/qemu-smoke-dom0-arm64.sh       | 2 +-
 automation/scripts/qemu-smoke-dom0less-arm32.sh   | 2 +-
 automation/scripts/qemu-smoke-dom0less-arm64.sh   | 2 +-
 automation/scripts/qemu-xtf-dom0less-arm64.sh     | 2 +-
 automation/scripts/xilinx-smoke-dom0less-arm64.sh | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
automation/scripts/qemu-smoke-dom0-arm32.sh +1 -1
index d91648905669..31c05cc840e5 100755
@@ -73,7 +73,7 @@ UBOOT_SOURCE="boot.source"
 UBOOT_SCRIPT="boot.scr"' > config
 
 rm -rf imagebuilder
-git clone https://gitlab.com/ViryaOS/imagebuilder
+git clone --depth 1 https://gitlab.com/xen-project/imagebuilder.git
 bash imagebuilder/scripts/uboot-script-gen -t tftp -d . -c config
 
 rm -f ${serial_log}
automation/scripts/qemu-smoke-dom0-arm64.sh +1 -1
index e0bb37af3610..352963a741ce 100755
@@ -87,7 +87,7 @@ LOAD_CMD="tftpb"
 UBOOT_SOURCE="boot.source"
 UBOOT_SCRIPT="boot.scr"' > binaries/config
 rm -rf imagebuilder
-git clone https://gitlab.com/ViryaOS/imagebuilder
+git clone --depth 1 https://gitlab.com/xen-project/imagebuilder.git
 bash imagebuilder/scripts/uboot-script-gen -t tftp -d binaries/ -c binaries/config
 
 
automation/scripts/qemu-smoke-dom0less-arm32.sh +1 -1
index 1e2b939aadf7..c027c8c5c823 100755
@@ -125,7 +125,7 @@ if [[ "${test_variant}" == "without-dom0" ]]; then
 fi
 
 rm -rf imagebuilder
-git clone https://gitlab.com/ViryaOS/imagebuilder
+git clone --depth 1 https://gitlab.com/xen-project/imagebuilder.git
 bash imagebuilder/scripts/uboot-script-gen -t tftp -d . -c config
 
 # Run the test
automation/scripts/qemu-smoke-dom0less-arm64.sh +1 -1
index 292c38a56147..15258692d58c 100755
@@ -198,7 +198,7 @@ NUM_CPUPOOLS=1' >> binaries/config
 fi
 
 rm -rf imagebuilder
-git clone https://gitlab.com/ViryaOS/imagebuilder
+git clone --depth 1 https://gitlab.com/xen-project/imagebuilder.git
 bash imagebuilder/scripts/uboot-script-gen -t tftp -d binaries/ -c binaries/config
 
 
automation/scripts/qemu-xtf-dom0less-arm64.sh +1 -1
index a667e0412c92..b08c2d44fb4f 100755
@@ -45,7 +45,7 @@ UBOOT_SOURCE="boot.source"
 UBOOT_SCRIPT="boot.scr"' > binaries/config
 
 rm -rf imagebuilder
-git clone https://gitlab.com/ViryaOS/imagebuilder
+git clone --depth 1 https://gitlab.com/xen-project/imagebuilder.git
 bash imagebuilder/scripts/uboot-script-gen -t tftp -d binaries/ -c binaries/config
 
 # Run the test
automation/scripts/xilinx-smoke-dom0less-arm64.sh +1 -1
index 4a071c6ef148..666411d6a065 100755
@@ -122,7 +122,7 @@ if [[ "${test_variant}" == "gem-passthrough" ]]; then
 fi
 
 rm -rf imagebuilder
-git clone https://gitlab.com/ViryaOS/imagebuilder
+git clone --depth 1 https://gitlab.com/xen-project/imagebuilder.git
 bash imagebuilder/scripts/uboot-script-gen -t tftp -d $TFTP/ -c $TFTP/config
 
 # restart the board
Signature · 1 line
2.25.1
#1 lore raw
Quoted 8 lines · Michal Orzel

Switch to using https://gitlab.com/xen-project/imagebuilder.git which should be considered official ImageBuilder repo.

Take the opportunity to truncate the git history when cloning using --depth 1.

Given the current overhaul I'm (still) doing for CI in 4.19, I'd suggest taking this.

It will mean an 8-month improvement in switching over fully.

~Andrew

#2 lore raw
Quoted 7 lines · Andrew Cooper
Quoted 6 lines · Michal Orzel

Switch to using https://gitlab.com/xen-project/imagebuilder.git which should be considered official ImageBuilder repo.

Take the opportunity to truncate the git history when cloning using --depth 1.

Quoted 7 lines
Quoted 2 lines

Given the current overhaul I'm (still) doing for CI in 4.19, I'd suggest taking this.

It will mean an 8-month improvement in switching over fully.

Agreed

#3 lore raw
In reply to Andrew Cooper
Quoted 8 lines · Andrew Cooper
Quoted 7 lines · Michal Orzel

Switch to using
https://gitlab.com/xen-project/imagebuilder.git which
should be considered official ImageBuilder repo.

Take the opportunity to truncate the git history when cloning using --depth 1.

Quoted 6 lines
Quoted 2 lines

Given the current overhaul I'm (still) doing for CI in 4.19, I'd suggest
taking this.

-git clone https://gitlab.com/ViryaOS/imagebuilder
+git clone https://gitlab.com/xen-project/imagebuilder.git

But is it the same imagebuilders and only location is changed?

~ Oleksii

Quoted 4 lines

It will mean an 8-month improvement in switching over fully.

~Andrew

#4 lore raw

Hi Oleksii,

Quoted 21 lines · Oleksii
Quoted 14 lines · Andrew Cooper
Quoted 9 lines · Michal Orzel

Switch to using
https://gitlab.com/xen-project/imagebuilder.git which should be considered official ImageBuilder repo.

Take the opportunity to truncate the git history when cloning using --depth 1.

Given the current overhaul I'm (still) doing for CI in 4.19, I'd suggest
taking this.

(quoted diff) +1 -1
-git clone https://gitlab.com/ViryaOS/imagebuilder
+git clone https://gitlab.com/xen-project/imagebuilder.git
Quoted 1 line

But is it the same imagebuilders and only location is changed?

That's the same project but the repo under xen-project is more up-to-date and we decided that it should be considered the official repo location.

You can check that it contains more commits.

~Michal

#5 lore raw
Quoted 22 lines · Michal Orzel

Hi Oleksii,

Quoted 19 lines · Oleksii
Quoted 15 lines · Andrew Cooper
Quoted 10 lines · Michal Orzel

Switch to using
https://gitlab.com/xen-project/imagebuilder.git which
should be considered official ImageBuilder repo.

Take the opportunity to truncate the git history when cloning using
--depth 1.

Given the current overhaul I'm (still) doing for CI in 4.19, I'd suggest
taking this.

Quoted 7 lines
Quoted 4 lines
(quoted diff) +1 -1
-git clone https://gitlab.com/ViryaOS/imagebuilder
+git clone https://gitlab.com/xen-project/imagebuilder.git

But is it the same imagebuilders and only location is changed?

That's the same project but the repo under xen-project is more up-to- date and we decided
that it should be considered the official repo location.

Then I am okay to have this change in 4.19:

~ Oleksii

Reviewed-by on v2 1/1
#6 lore raw
In reply to Michal Orzel
Quoted 11 lines · Michal Orzel

Switch to using https://gitlab.com/xen-project/imagebuilder.git which should be considered official ImageBuilder repo.

Take the opportunity to truncate the git history when cloning using --depth 1.

---
Changes in v2:
- truncate history when cloning

Quoted 8 lines
---
 automation/scripts/qemu-smoke-dom0-arm32.sh       | 2 +-
 automation/scripts/qemu-smoke-dom0-arm64.sh       | 2 +-
 automation/scripts/qemu-smoke-dom0less-arm32.sh   | 2 +-
 automation/scripts/qemu-smoke-dom0less-arm64.sh   | 2 +-
 automation/scripts/qemu-xtf-dom0less-arm64.sh     | 2 +-
 automation/scripts/xilinx-smoke-dom0less-arm64.sh | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

lgtm,