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
3e1911eb
Commit
3e1911eb
authored
2 years ago
by
Krzysztof Mochocki
Committed by
Krzysztof Mochocki
5 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Add m2u as jmeter dependency in Dockerfile
parent
c0d3b416
No related branches found
No related tags found
1 merge request
!253
Add template for benchmarking
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/Dockerfile.jmeter
+10
-4
10 additions, 4 deletions
benchmarks/Dockerfile.jmeter
with
10 additions
and
4 deletions
benchmarks/Dockerfile.jmeter
+
10
−
4
View file @
3e1911eb
...
...
@@ -3,27 +3,33 @@
FROM alpine as jmeter_dependencies
# install all required dependencies
RUN apk add git bash openjdk8 python3 py3-pip
RUN apk add git bash openjdk8 python3 py3-pip
maven
RUN python3 -m pip install --upgrade pip && pip install prettytable requests
# base enviroments
# base enviro
n
ments
ENV WDIR /jmeter
ENV BENCHMARK_DIR ${WDIR}/benchmarks
# set working direc
o
try in container
# set working direct
o
ry in container
WORKDIR ${WDIR}
# get required resources from current build dir
ADD . ${BENCHMARK_DIR}
# configure java
ENV JAVA_ARGS -Xms4g -Xmx4g
# configure jmeter
RUN bash ${BENCHMARK_DIR}/setup_jmeter.bash
ENV JAVA_ARGS -Xms4g -Xmx4g
ENV JMETER="${WDIR}/jmeter/apache/bin/jmeter"
# configure file/dir server
RUN git clone https://github.com/simon-budig/woof.git
ENV WOOF "${WDIR}/woof/woof"
# configure M2U
RUN bash ${BENCHMARK_DIR}/setup_m2u.bash
ENV M2U="java -jar ${WDIR}/m2u/target/m2u.jar"
################################################################
# this image contains set of rules to start benchmark tests
FROM jmeter_dependencies AS benchmark_aio
...
...
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