Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tests_api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
tests_api
Commits
6c9bc5dd
Commit
6c9bc5dd
authored
2 years ago
by
Krzysztof Mochocki
Committed by
Bartek Wrona
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add script to setup m2u
parent
ef96b7a8
No related branches found
No related tags found
1 merge request
!249
Add benchmark tests for block_api
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/setup_m2u.bash
+26
-0
26 additions, 0 deletions
benchmarks/setup_m2u.bash
with
26 additions
and
0 deletions
benchmarks/setup_m2u.bash
0 → 100644
+
26
−
0
View file @
6c9bc5dd
#!/bin/bash
set
-euo
pipefail
WORKDIR
=
m2u
M2U_URL
=
"https://github.com/tguzik/m2u.git"
if
[[
-f
"
$WORKDIR
/activate"
]]
;
then
echo
"using cached jmeter"
exit
0
fi
echo
"creating work directory"
mkdir
-p
"
$WORKDIR
"
pushd
"
$WORKDIR
"
echo
"downloading m2u"
git clone
"
$M2U_URL
"
--single-branch
-b
master
.
echo
"configuring m2u"
mvn 2>&1
>
/dev/null
echo
"M2U='java -jar
$PWD
/target/m2u.jar'"
>
activate
popd
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment