Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '_support')
-rw-r--r--_support/benchmarking/roles/client/files/queries/FindCommit/git.git.json10
-rw-r--r--_support/benchmarking/roles/client/tasks/main.yml8
2 files changed, 18 insertions, 0 deletions
diff --git a/_support/benchmarking/roles/client/files/queries/FindCommit/git.git.json b/_support/benchmarking/roles/client/files/queries/FindCommit/git.git.json
new file mode 100644
index 000000000..92c62f30b
--- /dev/null
+++ b/_support/benchmarking/roles/client/files/queries/FindCommit/git.git.json
@@ -0,0 +1,10 @@
+{
+ "repository": {
+ "storageName": "default",
+ "relativePath": "git.git",
+ "gitAlternateObjectDirectories": [],
+ "glRepository": "git",
+ "glProjectPath": "git/git"
+ },
+ "revision": "bWFzdGVy"
+}
diff --git a/_support/benchmarking/roles/client/tasks/main.yml b/_support/benchmarking/roles/client/tasks/main.yml
index 294f720ee..1d8c26ea1 100644
--- a/_support/benchmarking/roles/client/tasks/main.yml
+++ b/_support/benchmarking/roles/client/tasks/main.yml
@@ -62,6 +62,14 @@
- ghz
remote_src: true
+- name: Copy query files
+ copy:
+ src: queries
+ dest: /opt/ghz
+ owner: git
+ group: git
+ mode: '0755'
+
- name: Generate SSH key
shell: ssh-keygen -q -t ed25519 -f /root/.ssh/id_ed25519 -N ""
args: