Revert "build: Temporarily disable bare metal workers"

This reverts commit ff818869dd.

Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
Bo Chen 2023-09-19 15:24:45 -07:00 committed by Bo Chen
parent ed4537f4ae
commit 57b7f35739

280
Jenkinsfile vendored
View File

@ -295,146 +295,146 @@ pipeline {
} }
} }
} }
// stage('Worker build - Metrics') { stage('Worker build - Metrics') {
// agent { node { label 'jammy-metrics' } } agent { node { label 'jammy-metrics' } }
// when { when {
// branch 'main' branch 'main'
// beforeAgent true beforeAgent true
// expression { expression {
// return runWorkers return runWorkers
// } }
// } }
// environment { environment {
// METRICS_PUBLISH_KEY = credentials('52e0945f-ce7a-43d1-87af-67d1d87cc40f') METRICS_PUBLISH_KEY = credentials('52e0945f-ce7a-43d1-87af-67d1d87cc40f')
// } }
// stages { stages {
// stage('Checkout') { stage('Checkout') {
// steps { steps {
// checkout scm checkout scm
// } }
// } }
// stage('Run metrics tests') { stage('Run metrics tests') {
// options { options {
// timeout(time: 1, unit: 'HOURS') timeout(time: 1, unit: 'HOURS')
// } }
// steps { steps {
// sh 'scripts/dev_cli.sh tests --metrics -- -- --report-file /root/workloads/metrics.json' sh 'scripts/dev_cli.sh tests --metrics -- -- --report-file /root/workloads/metrics.json'
// } }
// } }
// stage('Upload metrics report') { stage('Upload metrics report') {
// steps { steps {
// sh 'curl -X PUT https://cloud-hypervisor-metrics.azurewebsites.net/api/publishmetrics -H "x-functions-key: $METRICS_PUBLISH_KEY" -T ~/workloads/metrics.json' sh 'curl -X PUT https://cloud-hypervisor-metrics.azurewebsites.net/api/publishmetrics -H "x-functions-key: $METRICS_PUBLISH_KEY" -T ~/workloads/metrics.json'
// } }
// } }
// } }
// } }
// stage('Worker build - Rate Limiter') { stage('Worker build - Rate Limiter') {
// agent { node { label 'focal-metrics' } } agent { node { label 'focal-metrics' } }
// when { when {
// branch 'main' branch 'main'
// beforeAgent true beforeAgent true
// expression { expression {
// return runWorkers return runWorkers
// } }
// } }
// stages { stages {
// stage('Checkout') { stage('Checkout') {
// steps { steps {
// checkout scm checkout scm
// } }
// } }
// stage('Run rate-limiter integration tests') { stage('Run rate-limiter integration tests') {
// options { options {
// timeout(time: 10, unit: 'MINUTES') timeout(time: 10, unit: 'MINUTES')
// } }
// steps { steps {
// sh 'scripts/dev_cli.sh tests --integration-rate-limiter' sh 'scripts/dev_cli.sh tests --integration-rate-limiter'
// } }
// } }
// } }
// } }
// stage('Worker build - SGX') { stage('Worker build - SGX') {
// agent { node { label 'jammy-sgx' } } agent { node { label 'jammy-sgx' } }
// when { when {
// beforeAgent true beforeAgent true
// allOf { allOf {
// branch 'main' branch 'main'
// expression { expression {
// return runWorkers return runWorkers
// } }
// } }
// } }
// stages { stages {
// stage('Checkout') { stage('Checkout') {
// steps { steps {
// checkout scm checkout scm
// } }
// } }
// stage('Run SGX integration tests') { stage('Run SGX integration tests') {
// options { options {
// timeout(time: 1, unit: 'HOURS') timeout(time: 1, unit: 'HOURS')
// } }
// steps { steps {
// sh 'scripts/dev_cli.sh tests --integration-sgx' sh 'scripts/dev_cli.sh tests --integration-sgx'
// } }
// } }
// stage('Run SGX integration tests for musl') { stage('Run SGX integration tests for musl') {
// options { options {
// timeout(time: 1, unit: 'HOURS') timeout(time: 1, unit: 'HOURS')
// } }
// steps { steps {
// sh 'scripts/dev_cli.sh tests --integration-sgx --libc musl' sh 'scripts/dev_cli.sh tests --integration-sgx --libc musl'
// } }
// } }
// } }
// post { post {
// always { always {
// sh "sudo chown -R jenkins.jenkins ${WORKSPACE}" sh "sudo chown -R jenkins.jenkins ${WORKSPACE}"
// deleteDir() deleteDir()
// } }
// } }
// } }
// stage('Worker build - VFIO') { stage('Worker build - VFIO') {
// agent { node { label 'jammy-vfio' } } agent { node { label 'jammy-vfio' } }
// when { when {
// beforeAgent true beforeAgent true
// allOf { allOf {
// branch 'main' branch 'main'
// expression { expression {
// return runWorkers return runWorkers
// } }
// } }
// } }
// stages { stages {
// stage('Checkout') { stage('Checkout') {
// steps { steps {
// checkout scm checkout scm
// } }
// } }
// stage('Run VFIO integration tests') { stage('Run VFIO integration tests') {
// options { options {
// timeout(time: 1, unit: 'HOURS') timeout(time: 1, unit: 'HOURS')
// } }
// steps { steps {
// sh 'scripts/dev_cli.sh tests --integration-vfio' sh 'scripts/dev_cli.sh tests --integration-vfio'
// } }
// } }
// stage('Run VFIO integration tests for musl') { stage('Run VFIO integration tests for musl') {
// options { options {
// timeout(time: 1, unit: 'HOURS') timeout(time: 1, unit: 'HOURS')
// } }
// steps { steps {
// sh 'scripts/dev_cli.sh tests --integration-vfio --libc musl' sh 'scripts/dev_cli.sh tests --integration-vfio --libc musl'
// } }
// } }
// } }
// post { post {
// always { always {
// sh "sudo chown -R jenkins.jenkins ${WORKSPACE}" sh "sudo chown -R jenkins.jenkins ${WORKSPACE}"
// deleteDir() deleteDir()
// } }
// } }
// } }
} }
} }
} }