Skip to content
This repository was archived by the owner on Feb 20, 2023. It is now read-only.

Commit 520e0da

Browse files
authored
Enable the Performance Cop in CI. (#1415)
1 parent 10ad9e6 commit 520e0da

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

Jenkinsfile

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,11 @@ pipeline {
369369
}
370370
stage('Performance') {
371371
agent { label 'benchmark' }
372+
environment {
373+
//Do not change.
374+
//Performance Storage Service(Django) authentication information. The credentials can only be changed on Jenkins webpage
375+
PSS_CREATOR = credentials('pss-creator')
376+
}
372377
steps {
373378
sh 'echo $NODE_NAME'
374379

@@ -381,32 +386,32 @@ pipeline {
381386

382387
sh script:'''
383388
cd build
384-
timeout 10m python3 ../script/testing/oltpbench/run_oltpbench.py --config-file=../script/testing/oltpbench/configs/end_to_end_performance/tatp.json --build-type=release
389+
timeout 10m python3 ../script/testing/oltpbench/run_oltpbench.py --config-file=../script/testing/oltpbench/configs/end_to_end_performance/tatp.json --build-type=release --publish-results=prod --publish-username=${PSS_CREATOR_USR} --publish-password=${PSS_CREATOR_PSW}
385390
''', label: 'OLTPBench (TATP)'
386391

387392
sh script:'''
388393
cd build
389-
timeout 10m python3 ../script/testing/oltpbench/run_oltpbench.py --config-file=../script/testing/oltpbench/configs/end_to_end_performance/tatp_wal_disabled.json --build-type=release
394+
timeout 10m python3 ../script/testing/oltpbench/run_oltpbench.py --config-file=../script/testing/oltpbench/configs/end_to_end_performance/tatp_wal_disabled.json --build-type=release --publish-results=prod --publish-username=${PSS_CREATOR_USR} --publish-password=${PSS_CREATOR_PSW}
390395
''', label: 'OLTPBench (TATP No WAL)'
391396

392397
sh script:'''
393398
cd build
394-
timeout 10m python3 ../script/testing/oltpbench/run_oltpbench.py --config-file=../script/testing/oltpbench/configs/end_to_end_performance/tatp_wal_ramdisk.json --build-type=release
399+
timeout 10m python3 ../script/testing/oltpbench/run_oltpbench.py --config-file=../script/testing/oltpbench/configs/end_to_end_performance/tatp_wal_ramdisk.json --build-type=release --publish-results=prod --publish-username=${PSS_CREATOR_USR} --publish-password=${PSS_CREATOR_PSW}
395400
''', label: 'OLTPBench (TATP RamDisk WAL)'
396401

397402
sh script:'''
398403
cd build
399-
timeout 30m python3 ../script/testing/oltpbench/run_oltpbench.py --config-file=../script/testing/oltpbench/configs/end_to_end_performance/tpcc.json --build-type=release
404+
timeout 30m python3 ../script/testing/oltpbench/run_oltpbench.py --config-file=../script/testing/oltpbench/configs/end_to_end_performance/tpcc.json --build-type=release --publish-results=prod --publish-username=${PSS_CREATOR_USR} --publish-password=${PSS_CREATOR_PSW}
400405
''', label: 'OLTPBench (TPCC HDD WAL)'
401406

402407
sh script:'''
403408
cd build
404-
timeout 30m python3 ../script/testing/oltpbench/run_oltpbench.py --config-file=../script/testing/oltpbench/configs/end_to_end_performance/tpcc_wal_disabled.json --build-type=release
409+
timeout 30m python3 ../script/testing/oltpbench/run_oltpbench.py --config-file=../script/testing/oltpbench/configs/end_to_end_performance/tpcc_wal_disabled.json --build-type=release --publish-results=prod --publish-username=${PSS_CREATOR_USR} --publish-password=${PSS_CREATOR_PSW}
405410
''', label: 'OLTPBench (TPCC No WAL)'
406411

407412
sh script:'''
408413
cd build
409-
timeout 30m python3 ../script/testing/oltpbench/run_oltpbench.py --config-file=../script/testing/oltpbench/configs/end_to_end_performance/tpcc_wal_ramdisk.json --build-type=release
414+
timeout 30m python3 ../script/testing/oltpbench/run_oltpbench.py --config-file=../script/testing/oltpbench/configs/end_to_end_performance/tpcc_wal_ramdisk.json --build-type=release --publish-results=prod --publish-username=${PSS_CREATOR_USR} --publish-password=${PSS_CREATOR_PSW}
410415
''', label: 'OLTPBench (TPCC RamDisk WAL)'
411416
}
412417
post {

0 commit comments

Comments
 (0)