Skip to content

Commit 67e87d5

Browse files
config and feeders
1 parent 595959f commit 67e87d5

25 files changed

+1035
-21
lines changed

.chglog/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ style: github
22
template: CHANGELOG.tpl.md
33
info:
44
title: CHANGELOG
5-
repository_url: https://github.com/ik-performance/performance-blueprint-project.git
5+
repository_url: https://github.com/ik-performance/gatling-blueprint.git
66
options:
77
header:
88
pattern: "^(.*)$"

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
steps:
1010
- uses: actions/checkout@master
1111
with:
12-
fetch-depth: '0'
12+
fetch-depth: '1'
1313
- name: Install Deps
1414
run: |
1515
brew install pre-commit

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@master
1818
with:
19-
fetch-depth: '10'
19+
fetch-depth: '1'
2020

2121
- name: register values
2222
id: register

.gitignore

Lines changed: 264 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,264 @@
1+
2+
# Created by https://www.gitignore.io/api/git,java,scala,visualstudiocode,gradle,macos,jetbrains+all,eclipse
3+
# Edit at https://www.gitignore.io/?templates=git,java,scala,visualstudiocode,gradle,macos,jetbrains+all,eclipse
4+
5+
### Eclipse ###
6+
.metadata
7+
bin/
8+
tmp/
9+
*.tmp
10+
*.bak
11+
*.swp
12+
*~.nib
13+
local.properties
14+
.settings/
15+
.loadpath
16+
.recommenders
17+
18+
# External tool builders
19+
.externalToolBuilders/
20+
21+
# Locally stored "Eclipse launch configurations"
22+
*.launch
23+
24+
# PyDev specific (Python IDE for Eclipse)
25+
*.pydevproject
26+
27+
# CDT-specific (C/C++ Development Tooling)
28+
.cproject
29+
30+
# CDT- autotools
31+
.autotools
32+
33+
# Java annotation processor (APT)
34+
.factorypath
35+
36+
# PDT-specific (PHP Development Tools)
37+
.buildpath
38+
39+
# sbteclipse plugin
40+
.target
41+
42+
# Tern plugin
43+
.tern-project
44+
45+
# TeXlipse plugin
46+
.texlipse
47+
48+
# STS (Spring Tool Suite)
49+
.springBeans
50+
51+
# Code Recommenders
52+
.recommenders/
53+
54+
# Annotation Processing
55+
.apt_generated/
56+
57+
# Scala IDE specific (Scala & Java development for Eclipse)
58+
.cache-main
59+
.scala_dependencies
60+
.worksheet
61+
62+
### Eclipse Patch ###
63+
# Eclipse Core
64+
.project
65+
66+
# JDT-specific (Eclipse Java Development Tools)
67+
.classpath
68+
69+
# Annotation Processing
70+
.apt_generated
71+
72+
.sts4-cache/
73+
74+
### Git ###
75+
# Created by git for backups. To disable backups in Git:
76+
# $ git config --global mergetool.keepBackup false
77+
*.orig
78+
79+
# Created by git when using merge tools for conflicts
80+
*.BACKUP.*
81+
*.BASE.*
82+
*.LOCAL.*
83+
*.REMOTE.*
84+
*_BACKUP_*.txt
85+
*_BASE_*.txt
86+
*_LOCAL_*.txt
87+
*_REMOTE_*.txt
88+
89+
### Java ###
90+
# Compiled class file
91+
*.class
92+
93+
# Log file
94+
*.log
95+
96+
# BlueJ files
97+
*.ctxt
98+
99+
# Mobile Tools for Java (J2ME)
100+
.mtj.tmp/
101+
102+
# Package Files #
103+
*.jar
104+
*.war
105+
*.nar
106+
*.ear
107+
*.zip
108+
*.tar.gz
109+
*.rar
110+
111+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
112+
hs_err_pid*
113+
114+
### JetBrains+all ###
115+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
116+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
117+
118+
# User-specific stuff
119+
.idea/**/workspace.xml
120+
.idea/**/tasks.xml
121+
.idea/**/usage.statistics.xml
122+
.idea/**/dictionaries
123+
.idea/**/shelf
124+
125+
# Generated files
126+
.idea/**/contentModel.xml
127+
128+
# Sensitive or high-churn files
129+
.idea/**/dataSources/
130+
.idea/**/dataSources.ids
131+
.idea/**/dataSources.local.xml
132+
.idea/**/sqlDataSources.xml
133+
.idea/**/dynamic.xml
134+
.idea/**/uiDesigner.xml
135+
.idea/**/dbnavigator.xml
136+
137+
# Gradle
138+
.idea/**/gradle.xml
139+
.idea/**/libraries
140+
141+
# Gradle and Maven with auto-import
142+
# When using Gradle or Maven with auto-import, you should exclude module files,
143+
# since they will be recreated, and may cause churn. Uncomment if using
144+
# auto-import.
145+
# .idea/modules.xml
146+
# .idea/*.iml
147+
# .idea/modules
148+
# *.iml
149+
# *.ipr
150+
151+
# CMake
152+
cmake-build-*/
153+
154+
# Mongo Explorer plugin
155+
.idea/**/mongoSettings.xml
156+
157+
# File-based project format
158+
*.iws
159+
160+
# IntelliJ
161+
out/
162+
163+
# mpeltonen/sbt-idea plugin
164+
.idea_modules/
165+
166+
# JIRA plugin
167+
atlassian-ide-plugin.xml
168+
169+
# Cursive Clojure plugin
170+
.idea/replstate.xml
171+
172+
# Crashlytics plugin (for Android Studio and IntelliJ)
173+
com_crashlytics_export_strings.xml
174+
crashlytics.properties
175+
crashlytics-build.properties
176+
fabric.properties
177+
178+
# Editor-based Rest Client
179+
.idea/httpRequests
180+
181+
# Android studio 3.1+ serialized cache file
182+
.idea/caches/build_file_checksums.ser
183+
184+
### JetBrains+all Patch ###
185+
# Ignores the whole .idea folder and all .iml files
186+
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360
187+
188+
.idea/
189+
190+
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
191+
192+
*.iml
193+
modules.xml
194+
.idea/misc.xml
195+
*.ipr
196+
197+
# Sonarlint plugin
198+
.idea/sonarlint
199+
200+
### macOS ###
201+
# General
202+
.DS_Store
203+
.AppleDouble
204+
.LSOverride
205+
206+
# Icon must end with two \r
207+
Icon
208+
209+
# Thumbnails
210+
._*
211+
212+
# Files that might appear in the root of a volume
213+
.DocumentRevisions-V100
214+
.fseventsd
215+
.Spotlight-V100
216+
.TemporaryItems
217+
.Trashes
218+
.VolumeIcon.icns
219+
.com.apple.timemachine.donotpresent
220+
221+
# Directories potentially created on remote AFP share
222+
.AppleDB
223+
.AppleDesktop
224+
Network Trash Folder
225+
Temporary Items
226+
.apdisk
227+
228+
### Scala ###
229+
*.metals
230+
231+
### VisualStudioCode ###
232+
.vscode/*
233+
!.vscode/settings.json
234+
!.vscode/tasks.json
235+
!.vscode/launch.json
236+
!.vscode/extensions.json
237+
238+
### VisualStudioCode Patch ###
239+
# Ignore all local history of files
240+
.history
241+
242+
### Gradle ###
243+
.gradle
244+
build/
245+
246+
# Ignore Gradle GUI config
247+
gradle-app.setting
248+
249+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
250+
!gradle-wrapper.jar
251+
252+
# Cache of project
253+
.gradletasknamecache
254+
255+
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
256+
# gradle/wrapper/gradle-wrapper.properties
257+
258+
### Gradle Patch ###
259+
**/build/
260+
261+
# End of https://www.gitignore.io/api/git,java,scala,visualstudiocode,gradle,macos,jetbrains+all,eclipse
262+
263+
results/*
264+
!results/.gitkeep

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
.PHONY: pre-commit changelog release
22

3+
SHELL = /bin/bash -o pipefail
4+
DOCKER_IMAGE ?= cloudkats/gatling:3.3.1
5+
PROJECT_PATH ?= $(shell 'pwd')
6+
37
help:
48
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
59

@@ -14,3 +18,11 @@ validate: ## Validate with pre-commit hooks
1418
change: ## Update changelog
1519
git-chglog -o CHANGELOG.md --next-tag `semtag final -s minor -o`
1620

21+
simulation: ## Gatling run scenario
22+
@docker run --rm -it \
23+
-v ${PROJECT_PATH}/conf:/opt/gatling/conf \
24+
-v ${PROJECT_PATH}/src/gatling:/opt/gatling/user-files \
25+
-v ${PROJECT_PATH}/results:/opt/gatling/results \
26+
$(DOCKER_IMAGE) \
27+
bin/gatling.sh \
28+
--simulation SimpleSimulation

0 commit comments

Comments
 (0)