From 2c1772b401c133d220acd3e4f20e73cc968fd3e3 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Thu, 27 Jul 2023 10:35:50 +0200 Subject: [PATCH] ci: Add AMD pass Signed-off-by: Anatol Belski --- Jenkinsfile | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 4b2988dc3..7733233ae 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -117,6 +117,63 @@ pipeline { } } } + stage('Worker build - AMD') { + agent { node { label 'jammy-amd' } } + when { + beforeAgent true + expression { + return runWorkers + } + } + stages { + stage('Checkout') { + steps { + checkout scm + } + } + stage('Prepare environment') { + steps { + sh 'scripts/prepare_vdpa.sh' + } + } + stage('Run integration tests') { + options { + timeout(time: 1, unit: 'HOURS') + } + steps { + sh 'sudo modprobe openvswitch' + sh 'scripts/dev_cli.sh tests --integration' + } + } + stage('Run live-migration integration tests') { + options { + timeout(time: 1, unit: 'HOURS') + } + steps { + sh 'sudo modprobe openvswitch' + sh 'scripts/dev_cli.sh tests --integration-live-migration' + } + } + stage('Run integration tests for musl') { + options { + timeout(time: 1, unit: 'HOURS') + } + steps { + sh 'sudo modprobe openvswitch' + sh 'scripts/dev_cli.sh tests --integration --libc musl' + } + } + stage('Run live-migration integration tests for musl') { + options { + timeout(time: 1, unit: 'HOURS') + } + steps { + sh 'sudo modprobe openvswitch' + sh 'scripts/dev_cli.sh tests --integration-live-migration --libc musl' + } + } + } + } stage('AArch64 worker build') { agent { node { label 'bionic-arm64' } } when {