From c8fe101b6f1f2dd199b0d2b2469fc2b47b6d97b8 Mon Sep 17 00:00:00 2001 From: Bo Chen Date: Thu, 8 Sep 2022 10:58:54 -0700 Subject: [PATCH] Jenkinsfile: Add CI worker for rate limiter tests Given rate limiter tests are performance related, they need to be tested on a bare-metal machine. It is now using the same node as the metrics CI. Signed-off-by: Bo Chen --- Jenkinsfile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 3ae9ff95a..4fde7b007 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -400,6 +400,31 @@ pipeline{ } } } + stage ('Worker build - Rate Limiter') { + agent { node { label 'focal-metrics' } } + when { + branch 'main' + beforeAgent true + expression { + return runWorkers + } + } + stages { + stage ('Checkout') { + steps { + checkout scm + } + } + stage ('Run rate-limiter integration tests') { + options { + timeout(time: 10, unit: 'MINUTES') + } + steps { + sh "scripts/dev_cli.sh tests --integration-rate-limiter" + } + } + } + } } } }