From 8746cb85d41e838be34303b6476ef8e76a9baadf Mon Sep 17 00:00:00 2001 From: Valerii Ponomarov Date: Fri, 12 Jan 2024 10:56:18 +0200 Subject: [PATCH] ci(k8s-eks): add mgmt restore CI job --- ...ylla-operator-3h-eks-mgmt-restore.jenkinsfile | 16 ++++++++++++++++ ...ongevity-scylla-operator-3h-mgmt-restore.yaml | 15 +++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 jenkins-pipelines/operator/eks/longevity-scylla-operator-3h-eks-mgmt-restore.jenkinsfile create mode 100644 test-cases/scylla-operator/longevity-scylla-operator-3h-mgmt-restore.yaml diff --git a/jenkins-pipelines/operator/eks/longevity-scylla-operator-3h-eks-mgmt-restore.jenkinsfile b/jenkins-pipelines/operator/eks/longevity-scylla-operator-3h-eks-mgmt-restore.jenkinsfile new file mode 100644 index 0000000000..1ed9906207 --- /dev/null +++ b/jenkins-pipelines/operator/eks/longevity-scylla-operator-3h-eks-mgmt-restore.jenkinsfile @@ -0,0 +1,16 @@ +#!groovy + +def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm) + +longevityPipeline( + backend: 'k8s-eks', + region: 'eu-north-1', + availability_zone: 'c', + test_name: 'longevity_test.LongevityTest.test_custom_time', + test_config: 'test-cases/scylla-operator/longevity-scylla-operator-3h-mgmt-restore.yaml', + email_recipients: 'qa@scylladb.com,scylla-operator@scylladb.com', + post_behavior_db_nodes: 'destroy', + post_behavior_loader_nodes: 'destroy', + post_behavior_monitor_nodes: 'destroy', + post_behavior_k8s_cluster: 'destroy' +) diff --git a/test-cases/scylla-operator/longevity-scylla-operator-3h-mgmt-restore.yaml b/test-cases/scylla-operator/longevity-scylla-operator-3h-mgmt-restore.yaml new file mode 100644 index 0000000000..cae59e1cf0 --- /dev/null +++ b/test-cases/scylla-operator/longevity-scylla-operator-3h-mgmt-restore.yaml @@ -0,0 +1,15 @@ +test_duration: 300 +stress_cmd: [ + "cassandra-stress write cl=QUORUM duration=180m -schema 'replication(strategy=NetworkTopologyStrategy,replication_factor=3) compaction(strategy=SizeTieredCompactionStrategy)' -mode cql3 native -rate threads=100 throttle=5000/s -pop seq=1..10000000 -log interval=5", +] +n_db_nodes: 3 +k8s_n_scylla_pods_per_cluster: 3 + +n_loaders: 2 +n_monitor_nodes: 1 + +nemesis_class_name: 'MgmtRestore' +nemesis_interval: 5 +nemesis_during_prepare: false + +user_prefix: 'longevity-operator-3h-mgmt-restore'