diff --git a/argo/cron/matrix/bank.yaml b/argo/cron/matrix/bank.yaml new file mode 100644 index 00000000..96f877d8 --- /dev/null +++ b/argo/cron/matrix/bank.yaml @@ -0,0 +1,92 @@ +metadata: + name: tipocket-bank-matrix +spec: + schedule: "0 0 * * *" + concurrencyPolicy: "Forbid" + timezone: "Asia/Shanghai" + startingDeadlineSeconds: 0 + workflowSpec: + entrypoint: call-tipocket-bank + arguments: + parameters: + - name: ns + value: tipocket-bank-matrix + - name: purge + value: "true" + - name: image-version + value: nightly + - name: storage-class + value: sas + - name: nemesis + value: random_kill,kill_pd_leader_5min,partition_one,subcritical_skews,big_skews,shuffle-leader-scheduler,shuffle-region-scheduler,random-merge-scheduler + - name: client + value: "5" + - name: request-count + value: "20000" + - name: round + value: "100" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "/config/matrix.yaml" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-bank + steps: + - - name: call-wait-cluster + templateRef: + name: wait-cluster + template: wait-cluster + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - - name: call-tipocket-bank + templateRef: + name: tipocket-bank + template: tipocket-bank + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: client + value: "{{workflow.parameters.client}}" + - name: request-count + value: "{{workflow.parameters.request-count}}" + - name: round + value: "{{workflow.parameters.round}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/cron/matrix/ledger.yaml b/argo/cron/matrix/ledger.yaml new file mode 100644 index 00000000..1cdc45a6 --- /dev/null +++ b/argo/cron/matrix/ledger.yaml @@ -0,0 +1,84 @@ +metadata: + name: tipocket-ledger-matrix +spec: + schedule: "0 1 * * *" + concurrencyPolicy: "Forbid" + timezone: "Asia/Shanghai" + startingDeadlineSeconds: 0 + workflowSpec: + entrypoint: call-tipocket-ledger + arguments: + parameters: + - name: ns + value: tipocket-ledger-matrix + - name: purge + value: "true" + - name: image-version + value: release-4.0-nightly + - name: storage-class + value: sas + - name: nemesis + value: "" + - name: run-time + value: "120m" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "/config/matrix.yaml" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-ledger + steps: + - - name: call-wait-cluster + templateRef: + name: wait-cluster + template: wait-cluster + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - - name: call-tipocket-ledger + templateRef: + name: tipocket-ledger + template: tipocket-ledger + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: run-time + value: "{{workflow.parameters.run-time}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/cron/matrix/list-append.yaml b/argo/cron/matrix/list-append.yaml new file mode 100644 index 00000000..5643967f --- /dev/null +++ b/argo/cron/matrix/list-append.yaml @@ -0,0 +1,108 @@ +metadata: + name: tipocket-list-append-matrix +spec: + schedule: "0 5 * * *" + concurrencyPolicy: "Forbid" + timezone: "Asia/Shanghai" + startingDeadlineSeconds: 0 + workflowSpec: + entrypoint: call-tipocket-list-append + arguments: + parameters: + - name: table-count + value: 7 + - name: read-lock + value: "\"FOR UPDATE\"" + - name: txn-mode + value: pessimistic + - name: ns + value: tipocket-list-append-matrix + - name: purge + value: "true" + - name: repository + value: pingcap + - name: image-version + value: nightly + - name: storage-class + value: sas + - name: nemesis + value: "random_kill,kill_pd_leader_5min,partition_one,subcritical_skews,big_skews,shuffle-leader-scheduler,shuffle-region-scheduler,random-merge-scheduler" + - name: client + value: "5" + - name: request-count + value: "100000" + - name: round + value: "10" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "/config/matrix.yaml" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-list-append + steps: + - - name: call-wait-cluster + templateRef: + name: wait-cluster + template: wait-cluster + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - - name: call-tipocket-list-append + templateRef: + name: tipocket-list-append + template: tipocket-list-append + arguments: + parameters: + - name: table-count + value: "{{workflow.parameters.table-count}}" + - name: read-lock + value: "{{workflow.parameters.read-lock}}" + - name: txn-mode + value: "{{workflow.parameters.txn-mode}}" + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: repository + value: "{{workflow.parameters.repository}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: client + value: "{{workflow.parameters.client}}" + - name: request-count + value: "{{workflow.parameters.request-count}}" + - name: round + value: "{{workflow.parameters.round}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/cron/matrix/rw-register.yaml b/argo/cron/matrix/rw-register.yaml new file mode 100644 index 00000000..89a79361 --- /dev/null +++ b/argo/cron/matrix/rw-register.yaml @@ -0,0 +1,108 @@ +metadata: + name: tipocket-rw-register-matrix +spec: + schedule: "0 5 * * *" + concurrencyPolicy: "Forbid" + timezone: "Asia/Shanghai" + startingDeadlineSeconds: 0 + workflowSpec: + entrypoint: call-tipocket-rw-register + arguments: + parameters: + - name: table-count + value: 7 + - name: read-lock + value: "\"FOR UPDATE\"" + - name: txn-mode + value: pessimistic + - name: ns + value: tipocket-rw-register-matrix + - name: purge + value: "true" + - name: repository + value: pingcap + - name: image-version + value: nightly + - name: storage-class + value: sas + - name: nemesis + value: "random_kill,kill_pd_leader_5min,partition_one,subcritical_skews,big_skews,shuffle-leader-scheduler,shuffle-region-scheduler,random-merge-scheduler" + - name: client + value: "5" + - name: request-count + value: "100000" + - name: round + value: "10" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "/config/matrix.yaml" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-rw-register + steps: + - - name: call-wait-cluster + templateRef: + name: wait-cluster + template: wait-cluster + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - - name: call-tipocket-rw-register + templateRef: + name: tipocket-rw-register + template: tipocket-rw-register + arguments: + parameters: + - name: table-count + value: "{{workflow.parameters.table-count}}" + - name: read-lock + value: "{{workflow.parameters.read-lock}}" + - name: txn-mode + value: "{{workflow.parameters.txn-mode}}" + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: repository + value: "{{workflow.parameters.repository}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: client + value: "{{workflow.parameters.client}}" + - name: request-count + value: "{{workflow.parameters.request-count}}" + - name: round + value: "{{workflow.parameters.round}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/cron/matrix/sc_bank.yaml b/argo/cron/matrix/sc_bank.yaml new file mode 100644 index 00000000..2792b14d --- /dev/null +++ b/argo/cron/matrix/sc_bank.yaml @@ -0,0 +1,100 @@ +metadata: + name: tipocket-scbank-matrix +spec: + schedule: "0 2 * * *" + concurrencyPolicy: "Forbid" + timezone: "Asia/Shanghai" + startingDeadlineSeconds: 0 + workflowSpec: + entrypoint: call-tipocket-scbank + arguments: + parameters: + - name: ns + value: tipocket-scbank-matrix + - name: purge + value: "true" + - name: image-version + value: nightly + - name: storage-class + value: sas + - name: nemesis + value: "random_kill,kill_pd_leader_5min,partition_one,subcritical_skews,big_skews,shuffle-leader-scheduler,shuffle-region-scheduler,random-merge-scheduler" + - name: tidb-config + value: "" + - name: tikv-config + value: "" + - name: pd-config + value: "" + - name: tikv-replicas + value: "4" + - name: tidb-replica-read + value: "leader-and-follower" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "/config/matrix.yaml" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-scbank + steps: + - - name: call-wait-cluster + templateRef: + name: wait-cluster + template: wait-cluster + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - - name: call-tipocket-scbank + templateRef: + name: tipocket-scbank + template: tipocket-scbank + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: tidb-config + value: "{{workflow.parameters.tidb-config}}" + - name: tikv-config + value: "{{workflow.parameters.tikv-config}}" + - name: pd-config + value: "{{workflow.parameters.pd-config}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: tikv-replicas + value: "{{workflow.parameters.tikv-replicas}}" + - name: tidb-replica-read + value: "{{workflow.parameters.tidb-replica-read}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/cron/matrix/sc_bank2.yaml b/argo/cron/matrix/sc_bank2.yaml new file mode 100644 index 00000000..b04d1148 --- /dev/null +++ b/argo/cron/matrix/sc_bank2.yaml @@ -0,0 +1,100 @@ +metadata: + name: tipocket-scbank2-matrix +spec: + schedule: "0 3 * * *" + concurrencyPolicy: "Forbid" + timezone: "Asia/Shanghai" + startingDeadlineSeconds: 0 + workflowSpec: + entrypoint: call-tipocket-scbank2 + arguments: + parameters: + - name: ns + value: tipocket-scbank2-matrix + - name: purge + value: "true" + - name: image-version + value: nightly + - name: storage-class + value: sas + - name: nemesis + value: "random_kill,kill_pd_leader_5min,partition_one,subcritical_skews,big_skews,shuffle-leader-scheduler,shuffle-region-scheduler,random-merge-scheduler" + - name: tidb-config + value: "" + - name: tikv-config + value: "" + - name: pd-config + value: "" + - name: tikv-replicas + value: "4" + - name: tidb-replica-read + value: "leader-and-follower" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "/config/matrix.yaml" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-scbank2 + steps: + - - name: call-wait-cluster + templateRef: + name: wait-cluster + template: wait-cluster + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - - name: call-tipocket-scbank2 + templateRef: + name: tipocket-scbank2 + template: tipocket-scbank2 + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: tidb-config + value: "{{workflow.parameters.tidb-config}}" + - name: tikv-config + value: "{{workflow.parameters.tikv-config}}" + - name: pd-config + value: "{{workflow.parameters.pd-config}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: tikv-replicas + value: "{{workflow.parameters.tikv-replicas}}" + - name: tidb-replica-read + value: "{{workflow.parameters.tidb-replica-read}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/cron/matrix/vbank.yaml b/argo/cron/matrix/vbank.yaml new file mode 100644 index 00000000..a8e04bc9 --- /dev/null +++ b/argo/cron/matrix/vbank.yaml @@ -0,0 +1,96 @@ +metadata: + name: tipocket-vbank-matrix +spec: + schedule: "0 4 * * *" + concurrencyPolicy: "Forbid" + timezone: "Asia/Shanghai" + startingDeadlineSeconds: 0 + workflowSpec: + entrypoint: call-tipocket-vbank + arguments: + parameters: + - name: ns + value: tipocket-vbank-matrix + - name: purge + value: "true" + - name: repository + value: pingcap + - name: image-version + value: nightly + - name: storage-class + value: sas + - name: nemesis + value: "random_kill,kill_pd_leader_5min,partition_one,subcritical_skews,big_skews,shuffle-leader-scheduler,shuffle-region-scheduler,random-merge-scheduler" + - name: client + value: "5" + - name: request-count + value: "20000" + - name: round + value: "100" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "/config/matrix.yaml" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-vbank + steps: + - - name: call-wait-cluster + templateRef: + name: wait-cluster + template: wait-cluster + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - - name: call-tipocket-vbank + templateRef: + name: tipocket-vbank + template: tipocket-vbank + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: repository + value: "{{workflow.parameters.repository}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: client + value: "{{workflow.parameters.client}}" + - name: request-count + value: "{{workflow.parameters.request-count}}" + - name: round + value: "{{workflow.parameters.round}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/workflow/release/matrix/bank.yaml b/argo/workflow/release/matrix/bank.yaml new file mode 100644 index 00000000..4c37860d --- /dev/null +++ b/argo/workflow/release/matrix/bank.yaml @@ -0,0 +1,108 @@ +metadata: + generateName: tipocket-bank-matrix- + namespace: argo +spec: + entrypoint: call-tipocket-bank + arguments: + parameters: + - name: ns + value: tipocket-bank-matrix + - name: purge + value: "true" + - name: hub + value: "hub.pingcap.net" + - name: repository + value: qa + - name: image-version + value: release-4.0-failpoint + - name: tidb-image + value: "" + - name: tikv-image + value: "" + - name: pd-image + value: "" + - name: storage-class + value: sas + - name: nemesis + value: random_kill,kill_pd_leader_5min,partition_one,subcritical_skews,big_skews,shuffle-leader-scheduler,shuffle-region-scheduler,random-merge-scheduler + - name: client + value: "5" + - name: request-count + value: "20000" + - name: round + value: "100" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-bank + steps: + - - name: call-wait-cluster + templateRef: + name: wait-cluster + template: wait-cluster + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - - name: call-tipocket-bank + templateRef: + name: tipocket-bank + template: tipocket-bank + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: hub + value: "{{workflow.parameters.hub}}" + - name: repository + value: "{{workflow.parameters.repository}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: tidb-image + value: "{{workflow.parameters.tidb-image}}" + - name: tikv-image + value: "{{workflow.parameters.tikv-image}}" + - name: pd-image + value: "{{workflow.parameters.pd-image}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: client + value: "{{workflow.parameters.client}}" + - name: request-count + value: "{{workflow.parameters.request-count}}" + - name: round + value: "{{workflow.parameters.round}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/workflow/release/matrix/block-writer.yaml b/argo/workflow/release/matrix/block-writer.yaml new file mode 100644 index 00000000..27490575 --- /dev/null +++ b/argo/workflow/release/matrix/block-writer.yaml @@ -0,0 +1,92 @@ +metadata: + generateName: tipocket-block-writer-matrix- + namespace: argo +spec: + entrypoint: call-tipocket-block-writer + arguments: + parameters: + - name: ns + value: tipocket-block-writer-matrix + - name: purge + value: "true" + - name: hub + value: "hub.pingcap.net" + - name: repository + value: qa + - name: image-version + value: release-4.0-failpoint + - name: tidb-image + value: "" + - name: tikv-image + value: "" + - name: pd-image + value: "" + - name: storage-class + value: sas + - name: nemesis + value: "" + - name: run-time + value: "60m" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-block-writer + steps: + - - name: call-tipocket-block-writer + templateRef: + name: tipocket-block-writer + template: tipocket-block-writer + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: hub + value: "{{workflow.parameters.hub}}" + - name: repository + value: "{{workflow.parameters.repository}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: tidb-image + value: "{{workflow.parameters.tidb-image}}" + - name: tikv-image + value: "{{workflow.parameters.tikv-image}}" + - name: pd-image + value: "{{workflow.parameters.pd-image}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: run-time + value: "{{workflow.parameters.run-time}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/workflow/release/matrix/ledger.yaml b/argo/workflow/release/matrix/ledger.yaml new file mode 100644 index 00000000..c8178cf3 --- /dev/null +++ b/argo/workflow/release/matrix/ledger.yaml @@ -0,0 +1,100 @@ +metadata: + generateName: tipocket-ledger-matrix- + namespace: argo +spec: + entrypoint: call-tipocket-ledger + arguments: + parameters: + - name: ns + value: tipocket-ledger-matrix + - name: purge + value: "true" + - name: hub + value: "hub.pingcap.net" + - name: repository + value: qa + - name: image-version + value: release-4.0-failpoint + - name: tidb-image + value: "" + - name: tikv-image + value: "" + - name: pd-image + value: "" + - name: storage-class + value: sas + - name: nemesis + value: "" + - name: run-time + value: "60m" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-ledger + steps: + - - name: call-wait-cluster + templateRef: + name: wait-cluster + template: wait-cluster + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - - name: call-tipocket-ledger + templateRef: + name: tipocket-ledger + template: tipocket-ledger + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: hub + value: "{{workflow.parameters.hub}}" + - name: repository + value: "{{workflow.parameters.repository}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: tidb-image + value: "{{workflow.parameters.tidb-image}}" + - name: tikv-image + value: "{{workflow.parameters.tikv-image}}" + - name: pd-image + value: "{{workflow.parameters.pd-image}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: run-time + value: "{{workflow.parameters.run-time}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/workflow/release/matrix/list-append.yaml b/argo/workflow/release/matrix/list-append.yaml new file mode 100644 index 00000000..894a5f52 --- /dev/null +++ b/argo/workflow/release/matrix/list-append.yaml @@ -0,0 +1,120 @@ +metadata: + generateName: tipocket-list-append-matrix- + namespace: argo +spec: + entrypoint: call-tipocket-list-append + arguments: + parameters: + - name: table-count-matrix + value: 7 + - name: read-lock + value: "\"FOR UPDATE\"" + - name: txn-mode + value: pessimistic + - name: ns + value: tipocket-list-append + - name: purge + value: "true" + - name: hub + value: "hub.pingcap.net" + - name: repository + value: qa + - name: image-version + value: release-4.0-failpoint + - name: tidb-image + value: "" + - name: tikv-image + value: "" + - name: pd-image + value: "" + - name: storage-class + value: sas + - name: nemesis + value: "random_kill,kill_pd_leader_5min,partition_one,subcritical_skews,big_skews,shuffle-leader-scheduler,shuffle-region-scheduler,random-merge-scheduler" + - name: client + value: "5" + - name: request-count + value: "100000" + - name: round + value: "10" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-list-append + steps: + - - name: call-wait-cluster + templateRef: + name: wait-cluster + template: wait-cluster + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - - name: call-tipocket-list-append + templateRef: + name: tipocket-list-append + template: tipocket-list-append + arguments: + parameters: + - name: table-count + value: "{{workflow.parameters.table-count}}" + - name: read-lock + value: "{{workflow.parameters.read-lock}}" + - name: txn-mode + value: "{{workflow.parameters.txn-mode}}" + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: hub + value: "{{workflow.parameters.hub}}" + - name: repository + value: "{{workflow.parameters.repository}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: tidb-image + value: "{{workflow.parameters.tidb-image}}" + - name: tikv-image + value: "{{workflow.parameters.tikv-image}}" + - name: pd-image + value: "{{workflow.parameters.pd-image}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: client + value: "{{workflow.parameters.client}}" + - name: request-count + value: "{{workflow.parameters.request-count}}" + - name: round + value: "{{workflow.parameters.round}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/workflow/release/matrix/rawkv-linearizability.yaml b/argo/workflow/release/matrix/rawkv-linearizability.yaml new file mode 100644 index 00000000..e8c1b6da --- /dev/null +++ b/argo/workflow/release/matrix/rawkv-linearizability.yaml @@ -0,0 +1,100 @@ +metadata: + generateName: tipocket-rawkv-linearizability-matrix- + namespace: argo +spec: + entrypoint: call-tipocket-rawkv-linearizability + arguments: + parameters: + - name: ns + value: tipocket-rawkv-linearizability-matrix + - name: purge + value: "true" + - name: hub + value: "hub.pingcap.net" + - name: repository + value: qa + - name: image-version + value: release-4.0-failpoint + - name: tidb-image + value: "" + - name: tikv-image + value: "" + - name: pd-image + value: "" + - name: storage-class + value: sas + - name: nemesis + value: "partition_one,subcritical_skews,big_skews,shuffle-leader-scheduler,shuffle-region-scheduler,random-merge-scheduler" + - name: client + value: "5" + - name: request-count + value: "20000" + - name: round + value: "100" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-rawkv-linearizability + steps: + - - name: call-tipocket-rawkv-linearizability + templateRef: + name: tipocket-rawkv-linearizability + template: tipocket-rawkv-linearizability + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: hub + value: "{{workflow.parameters.hub}}" + - name: repository + value: "{{workflow.parameters.repository}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: tidb-image + value: "{{workflow.parameters.tidb-image}}" + - name: tikv-image + value: "{{workflow.parameters.tikv-image}}" + - name: pd-image + value: "{{workflow.parameters.pd-image}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: client + value: "{{workflow.parameters.client}}" + - name: request-count + value: "{{workflow.parameters.request-count}}" + - name: round + value: "{{workflow.parameters.round}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" \ No newline at end of file diff --git a/argo/workflow/release/matrix/region-available.yaml b/argo/workflow/release/matrix/region-available.yaml new file mode 100644 index 00000000..1523af9f --- /dev/null +++ b/argo/workflow/release/matrix/region-available.yaml @@ -0,0 +1,92 @@ +metadata: + generateName: tipocket-region-available-matrix- + namespace: argo +spec: + entrypoint: call-tipocket-region-available + arguments: + parameters: + - name: ns + value: tipocket-region-available-matrix + - name: purge + value: "true" + - name: hub + value: "hub.pingcap.net" + - name: repository + value: qa + - name: image-version + value: release-4.0-failpoint + - name: tidb-image + value: "" + - name: tikv-image + value: "" + - name: pd-image + value: "" + - name: storage-class + value: sas + - name: nemesis + value: "" + - name: run-time + value: "4h" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "" + - name: loki-password + value: "" + - name: matrix-config + value: "" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-region-available + steps: + - - name: call-tipocket-region-available + templateRef: + name: tipocket-region-available + template: tipocket-region-available + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: hub + value: "{{workflow.parameters.hub}}" + - name: repository + value: "{{workflow.parameters.repository}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: tidb-image + value: "{{workflow.parameters.tidb-image}}" + - name: tikv-image + value: "{{workflow.parameters.tikv-image}}" + - name: pd-image + value: "{{workflow.parameters.pd-image}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: run-time + value: "{{workflow.parameters.run-time}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/workflow/release/matrix/rw-register.yaml b/argo/workflow/release/matrix/rw-register.yaml new file mode 100644 index 00000000..3046d03f --- /dev/null +++ b/argo/workflow/release/matrix/rw-register.yaml @@ -0,0 +1,120 @@ +metadata: + generateName: tipocket-rw-register-matrix- + namespace: argo +spec: + entrypoint: call-tipocket-rw-register + arguments: + parameters: + - name: table-count-matrix + value: 7 + - name: read-lock + value: "\"FOR UPDATE\"" + - name: txn-mode + value: pessimistic + - name: ns + value: tipocket-rw-register + - name: purge + value: "true" + - name: hub + value: "hub.pingcap.net" + - name: repository + value: qa + - name: image-version + value: release-4.0-failpoint + - name: tidb-image + value: "" + - name: tikv-image + value: "" + - name: pd-image + value: "" + - name: storage-class + value: sas + - name: nemesis + value: "random_kill,kill_pd_leader_5min,partition_one,subcritical_skews,big_skews,shuffle-leader-scheduler,shuffle-region-scheduler,random-merge-scheduler" + - name: client + value: "5" + - name: request-count + value: "100000" + - name: round + value: "10" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-rw-register + steps: + - - name: call-wait-cluster + templateRef: + name: wait-cluster + template: wait-cluster + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - - name: call-tipocket-rw-register + templateRef: + name: tipocket-rw-register + template: tipocket-rw-register + arguments: + parameters: + - name: table-count + value: "{{workflow.parameters.table-count}}" + - name: read-lock + value: "{{workflow.parameters.read-lock}}" + - name: txn-mode + value: "{{workflow.parameters.txn-mode}}" + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: hub + value: "{{workflow.parameters.hub}}" + - name: repository + value: "{{workflow.parameters.repository}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: tidb-image + value: "{{workflow.parameters.tidb-image}}" + - name: tikv-image + value: "{{workflow.parameters.tikv-image}}" + - name: pd-image + value: "{{workflow.parameters.pd-image}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: client + value: "{{workflow.parameters.client}}" + - name: request-count + value: "{{workflow.parameters.request-count}}" + - name: round + value: "{{workflow.parameters.round}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/workflow/release/matrix/sc_bank.yaml b/argo/workflow/release/matrix/sc_bank.yaml new file mode 100644 index 00000000..166a514b --- /dev/null +++ b/argo/workflow/release/matrix/sc_bank.yaml @@ -0,0 +1,116 @@ +metadata: + generateName: tipocket-scbank-matrix- + namespace: argo +spec: + entrypoint: call-tipocket-scbank + arguments: + parameters: + - name: ns + value: tipocket-scbank-matrix + - name: purge + value: "true" + - name: hub + value: "hub.pingcap.net" + - name: repository + value: qa + - name: image-version + value: release-4.0-failpoint + - name: tidb-image + value: "" + - name: tikv-image + value: "" + - name: pd-image + value: "" + - name: storage-class + value: sas + - name: nemesis + value: "random_kill,kill_pd_leader_5min,partition_one,subcritical_skews,big_skews,shuffle-leader-scheduler,shuffle-region-scheduler,random-merge-scheduler" + - name: tidb-config + value: "" + - name: tikv-config + value: "" + - name: pd-config + value: "" + - name: tikv-replicas + value: "4" + - name: tidb-replica-read + value: "leader-and-follower" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-scbank + steps: + - - name: call-wait-cluster + templateRef: + name: wait-cluster + template: wait-cluster + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - - name: call-tipocket-scbank + templateRef: + name: tipocket-scbank + template: tipocket-scbank + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: hub + value: "{{workflow.parameters.hub}}" + - name: repository + value: "{{workflow.parameters.repository}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: tidb-image + value: "{{workflow.parameters.tidb-image}}" + - name: tikv-image + value: "{{workflow.parameters.tikv-image}}" + - name: pd-image + value: "{{workflow.parameters.pd-image}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: tidb-config + value: "{{workflow.parameters.tidb-config}}" + - name: tikv-config + value: "{{workflow.parameters.tikv-config}}" + - name: pd-config + value: "{{workflow.parameters.pd-config}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: tikv-replicas + value: "{{workflow.parameters.tikv-replicas}}" + - name: tidb-replica-read + value: "{{workflow.parameters.tidb-replica-read}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/workflow/release/matrix/sc_bank2.yaml b/argo/workflow/release/matrix/sc_bank2.yaml new file mode 100644 index 00000000..3f651e20 --- /dev/null +++ b/argo/workflow/release/matrix/sc_bank2.yaml @@ -0,0 +1,116 @@ +metadata: + generateName: tipocket-scbank2-matrix- + namespace: argo +spec: + entrypoint: call-tipocket-scbank2 + arguments: + parameters: + - name: ns + value: tipocket-scbank2-matrix + - name: purge + value: "true" + - name: hub + value: "hub.pingcap.net" + - name: repository + value: qa + - name: image-version + value: release-4.0-failpoint + - name: tidb-image + value: "" + - name: tikv-image + value: "" + - name: pd-image + value: "" + - name: storage-class + value: sas + - name: nemesis + value: "random_kill,kill_pd_leader_5min,partition_one,subcritical_skews,big_skews,shuffle-leader-scheduler,shuffle-region-scheduler,random-merge-scheduler" + - name: tidb-config + value: "" + - name: tikv-config + value: "" + - name: pd-config + value: "" + - name: tikv-replicas + value: "4" + - name: tidb-replica-read + value: "leader-and-follower" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-scbank2 + steps: + - - name: call-wait-cluster + templateRef: + name: wait-cluster + template: wait-cluster + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - - name: call-tipocket-scbank2 + templateRef: + name: tipocket-scbank2 + template: tipocket-scbank2 + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: hub + value: "{{workflow.parameters.hub}}" + - name: repository + value: "{{workflow.parameters.repository}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: tidb-image + value: "{{workflow.parameters.tidb-image}}" + - name: tikv-image + value: "{{workflow.parameters.tikv-image}}" + - name: pd-image + value: "{{workflow.parameters.pd-image}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: tidb-config + value: "{{workflow.parameters.tidb-config}}" + - name: tikv-config + value: "{{workflow.parameters.tikv-config}}" + - name: pd-config + value: "{{workflow.parameters.pd-config}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: tikv-replicas + value: "{{workflow.parameters.tikv-replicas}}" + - name: tidb-replica-read + value: "{{workflow.parameters.tidb-replica-read}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/workflow/release/matrix/sqllogic.yaml b/argo/workflow/release/matrix/sqllogic.yaml new file mode 100644 index 00000000..0634c189 --- /dev/null +++ b/argo/workflow/release/matrix/sqllogic.yaml @@ -0,0 +1,88 @@ +metadata: + generateName: tipocket-sqllogic-matrix- + namespace: argo +spec: + entrypoint: call-tipocket-sqllogic + arguments: + parameters: + - name: ns + value: tipocket-sqllogic-matrix + - name: purge + value: "true" + - name: hub + value: "hub.pingcap.net" + - name: repository + value: qa + - name: image-version + value: release-4.0-failpoint + - name: tidb-image + value: "" + - name: tikv-image + value: "" + - name: pd-image + value: "" + - name: storage-class + value: sas + - name: run-time + value: "8h" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-sqllogic + steps: + - - name: call-tipocket-sqllogic + templateRef: + name: tipocket-sqllogic + template: tipocket-sqllogic + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: hub + value: "{{workflow.parameters.hub}}" + - name: repository + value: "{{workflow.parameters.repository}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: tidb-image + value: "{{workflow.parameters.tidb-image}}" + - name: tikv-image + value: "{{workflow.parameters.tikv-image}}" + - name: pd-image + value: "{{workflow.parameters.pd-image}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: run-time + value: "{{workflow.parameters.run-time}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/workflow/release/matrix/tpcc.yaml b/argo/workflow/release/matrix/tpcc.yaml new file mode 100644 index 00000000..11d93d4b --- /dev/null +++ b/argo/workflow/release/matrix/tpcc.yaml @@ -0,0 +1,100 @@ +metadata: + generateName: tipocket-tpcc-matrix- + namespace: argo +spec: + entrypoint: call-tipocket-tpcc + arguments: + parameters: + - name: ns + value: tipocket-tpcc-matrix + - name: purge + value: "true" + - name: hub + value: "hub.pingcap.net" + - name: repository + value: qa + - name: image-version + value: release-4.0-failpoint + - name: tidb-image + value: "" + - name: tikv-image + value: "" + - name: pd-image + value: "" + - name: storage-class + value: sas + - name: nemesis + value: random_kill,kill_pd_leader_5min,partition_one,subcritical_skews,big_skews,shuffle-leader-scheduler,shuffle-region-scheduler,random-merge-scheduler + - name: client + value: "100" + - name: request-count + value: "1000000" + - name: round + value: "10" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-tpcc + steps: + - - name: call-tipocket-tpcc + templateRef: + name: tipocket-tpcc + template: tipocket-tpcc + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: hub + value: "{{workflow.parameters.hub}}" + - name: repository + value: "{{workflow.parameters.repository}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: tidb-image + value: "{{workflow.parameters.tidb-image}}" + - name: tikv-image + value: "{{workflow.parameters.tikv-image}}" + - name: pd-image + value: "{{workflow.parameters.pd-image}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: client + value: "{{workflow.parameters.client}}" + - name: request-count + value: "{{workflow.parameters.request-count}}" + - name: round + value: "{{workflow.parameters.round}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/workflow/release/matrix/txn-rand-pessimistic.yaml b/argo/workflow/release/matrix/txn-rand-pessimistic.yaml new file mode 100644 index 00000000..dc5b98b5 --- /dev/null +++ b/argo/workflow/release/matrix/txn-rand-pessimistic.yaml @@ -0,0 +1,92 @@ +metadata: + generateName: tipocket-txn-rand-pessimistic-matrix- + namespace: argo +spec: + entrypoint: call-tipocket-txn-rand-pessimistic + arguments: + parameters: + - name: ns + value: tipocket-txn-rand-pessimistic-matrix + - name: purge + value: "true" + - name: hub + value: "hub.pingcap.net" + - name: repository + value: qa + - name: image-version + value: release-4.0-failpoint + - name: tidb-image + value: "" + - name: tikv-image + value: "" + - name: pd-image + value: "" + - name: storage-class + value: sas + - name: nemesis + value: random_kill,kill_pd_leader_5min,partition_one,subcritical_skews,big_skews,shuffle-leader-scheduler,shuffle-region-scheduler,random-merge-scheduler + - name: run-time + value: "4h" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-txn-rand-pessimistic + steps: + - - name: call-tipocket-txn-rand-pessimistic + templateRef: + name: tipocket-txn-rand-pessimistic + template: tipocket-txn-rand-pessimistic + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: hub + value: "{{workflow.parameters.hub}}" + - name: repository + value: "{{workflow.parameters.repository}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: tidb-image + value: "{{workflow.parameters.tidb-image}}" + - name: tikv-image + value: "{{workflow.parameters.tikv-image}}" + - name: pd-image + value: "{{workflow.parameters.pd-image}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: run-time + value: "{{workflow.parameters.run-time}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}" diff --git a/argo/workflow/release/matrix/vbank.yaml b/argo/workflow/release/matrix/vbank.yaml new file mode 100644 index 00000000..678691ae --- /dev/null +++ b/argo/workflow/release/matrix/vbank.yaml @@ -0,0 +1,108 @@ +metadata: + generateName: tipocket-vbank-matrix- + namespace: argo +spec: + entrypoint: call-tipocket-vbank + arguments: + parameters: + - name: ns + value: tipocket-vbank-matrix + - name: purge + value: "true" + - name: hub + value: "hub.pingcap.net" + - name: repository + value: qa + - name: image-version + value: release-4.0-failpoint + - name: tidb-image + value: "" + - name: tikv-image + value: "" + - name: pd-image + value: "" + - name: storage-class + value: sas + - name: nemesis + value: "random_kill,kill_pd_leader_5min,partition_one,subcritical_skews,big_skews,shuffle-leader-scheduler,shuffle-region-scheduler,random-merge-scheduler" + - name: client + value: "5" + - name: request-count + value: "20000" + - name: round + value: "100" + - name: loki-addr + value: "http://gateway.loki.svc" + - name: loki-username + value: "loki" + - name: loki-password + value: "admin" + - name: matrix-config + value: "" + - name: matrix-tidb + value: "tidb.toml" + - name: matrix-tikv + value: "tikv.toml" + - name: matrix-pd + value: "pd.toml" + - name: matrix-sql + value: "mysql-system-vars.sql,tidb-system-vars.sql" + templates: + - name: call-tipocket-vbank + steps: + - - name: call-wait-cluster + templateRef: + name: wait-cluster + template: wait-cluster + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - - name: call-tipocket-vbank + templateRef: + name: tipocket-vbank + template: tipocket-vbank + arguments: + parameters: + - name: ns + value: "{{workflow.parameters.ns}}" + - name: purge + value: "{{workflow.parameters.purge}}" + - name: hub + value: "{{workflow.parameters.hub}}" + - name: repository + value: "{{workflow.parameters.repository}}" + - name: image-version + value: "{{workflow.parameters.image-version}}" + - name: tidb-image + value: "{{workflow.parameters.tidb-image}}" + - name: tikv-image + value: "{{workflow.parameters.tikv-image}}" + - name: pd-image + value: "{{workflow.parameters.pd-image}}" + - name: storage-class + value: "{{workflow.parameters.storage-class}}" + - name: nemesis + value: "{{workflow.parameters.nemesis}}" + - name: client + value: "{{workflow.parameters.client}}" + - name: request-count + value: "{{workflow.parameters.request-count}}" + - name: round + value: "{{workflow.parameters.round}}" + - name: loki-addr + value: "{{workflow.parameters.loki-addr}}" + - name: loki-username + value: "{{workflow.parameters.loki-username}}" + - name: loki-password + value: "{{workflow.parameters.loki-password}}" + - name: matrix-config + value: "{{workflow.parameters.matrix-config}}" + - name: matrix-tidb + value: "{{workflow.parameters.matrix-tidb}}" + - name: matrix-tikv + value: "{{workflow.parameters.matrix-tikv}}" + - name: matrix-pd + value: "{{workflow.parameters.matrix-pd}}" + - name: matrix-sql + value: "{{workflow.parameters.matrix-sql}}"