summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2023-10-19 10:48:42 +0000
committerGerrit Code Review <gerrit@opnfv.org>2023-10-19 10:48:42 +0000
commitf16b81e1240fba7e98a72981d160f1838d82918d (patch)
tree36615f93d5611fc81afb4f00e6464705d7c58c20 /jjb/functest
parent8f421799c07dc1957fdd23dd8c355ec1ccf65642 (diff)
parent1ad167e03c2b2463e91e00379469307ef58c62a4 (diff)
Merge "Publish xtestingci qcow2"
Diffstat (limited to 'jjb/functest')
-rw-r--r--jjb/functest/xtesting-ci-vm.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/jjb/functest/xtesting-ci-vm.yaml b/jjb/functest/xtesting-ci-vm.yaml
index a349700bd..4bae5ac9f 100644
--- a/jjb/functest/xtesting-ci-vm.yaml
+++ b/jjb/functest/xtesting-ci-vm.yaml
@@ -11,6 +11,10 @@
name: xtesting-ci-vm-builder
builders:
- shell: |
+ curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
+ echo "deb https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee \
+ /etc/apt/sources.list.d/google-cloud-sdk.list
+ sudo apt-get -o DPkg::Lock::Timeout=300 update && \
DEBIAN_FRONTEND=noninteractive sudo apt-get \
-o DPkg::Lock::Timeout=300 install python3-diskimage-builder -y
export ELEMENTS_PATH=$(pwd)/elements
@@ -22,7 +26,8 @@
export DIB_CLOUD_INIT_ALLOW_SSH_PWAUTH=Yes
export DIB_RELEASE=bookworm
export DIB_DEV_USER_USERNAME=xtesting
- disk-image-create --image-size 20 -o xtesting.qcow2 debian vm devuser openssh-server xtestingci
+ disk-image-create --image-size 20 -o xtestingci-4.1.0.qcow2 debian vm devuser openssh-server xtestingci
+ gsutil cp xtestingci-4.1.0.qcow2 gs://artifacts.opnfv.org/xtestingci/xtestingci-4.1.0.qcow2
- trigger:
name: xtesting-ci-vm-trigger