Change VM Size 81/10381/1
authorbeierlm <mark.beierl@canonical.com>
Tue, 23 Feb 2021 16:37:01 +0000 (11:37 -0500)
committerbeierlm <mark.beierl@canonical.com>
Tue, 23 Feb 2021 17:28:54 +0000 (18:28 +0100)
Changes flavor to a sanity constant so we can tailor it without
needing further code changes.

Change-Id: Ife5d2e84dce09d126e7f16c660c47b629833094c
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit a070ce73ab96b90d630f8451a2912f8eaf71a8b0)

jenkins/ci-pipelines/ci_stage_3.groovy

index d8a6171..35a3553 100644 (file)
@@ -308,9 +308,10 @@ node("${params.NODE}") {
                     println("Launching new VM")
                     output=sh(returnStdout: true, script: """#!/bin/sh -e
                         for line in `grep OS ~/hive/robot-systest.cfg | grep -v OS_CLOUD` ; do export \$line ; done
-                        openstack server create --flavor m1.xlarge \
+                        openstack server create --flavor osm.sanity \
                                                 --image ubuntu18.04 \
                                                 --key-name CICD \
+                                                --property build_url="${BUILD_URL}" \
                                                 --nic net-id=osm-ext \
                                                 ${container_name}
                     """).trim()