diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2023-10-19 12:43:57 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2023-10-19 12:43:57 +0200 |
commit | 1ad167e03c2b2463e91e00379469307ef58c62a4 (patch) | |
tree | 5c2b5cdd9c29255b3f7d83479d1297e0f5d90a84 /jjb/functest | |
parent | ef6d7e3fdcdce5f9aa2681f7f130767068d8f582 (diff) |
Publish xtestingci qcow2
Change-Id: I8a9815c4a7cd2b033ad58e7c0e0724c43292841b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest')
-rw-r--r-- | jjb/functest/xtesting-ci-vm.yaml | 7 |
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 |