Skip to content

Commit

Permalink
Merge pull request #1 from maxandersen/main
Browse files Browse the repository at this point in the history
initial commands
  • Loading branch information
johnaohara committed May 8, 2024
2 parents 2042b79 + 2c8e58e commit 7a5fad0
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>jbanghub/.github"]
}
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: build

on:
push:
branches:
- main
pull_request:

jobs:
build:
uses: jbanghub/.github/.github/workflows/shared-build.yml@main
secrets: inherit
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vscode
42 changes: 42 additions & 0 deletions jbang-catalog.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"catalogs": {},
"aliases": {
"wrk2": {
"script-ref": "io.hyperfoil:hyperfoil-cli:0.25.2",
"dependencies": [
"io.hyperfoil:hyperfoil-all:0.25.2@pom",
"io.hyperfoil:hyperfoil-api",
"io.hyperfoil:hyperfoil-clustering",
"io.hyperfoil:hyperfoil-controller-api",
"io.hyperfoil:hyperfoil-core",
"io.hyperfoil:hyperfoil-http"
],
"main": "io.hyperfoil.cli.commands.Wrk2"
},
"wrk": {
"script-ref": "io.hyperfoil:hyperfoil-cli:0.25.2",
"dependencies": [
"io.hyperfoil:hyperfoil-all:0.25.2@pom",
"io.hyperfoil:hyperfoil-api",
"io.hyperfoil:hyperfoil-clustering",
"io.hyperfoil:hyperfoil-controller-api",
"io.hyperfoil:hyperfoil-core",
"io.hyperfoil:hyperfoil-http"
],
"main": "io.hyperfoil.cli.commands.Wrk"
},
"cli": {
"script-ref": "io.hyperfoil:hyperfoil-cli:0.25.2",
"dependencies": [
"io.hyperfoil:hyperfoil-all:0.25.2@pom",
"io.hyperfoil:hyperfoil-api",
"io.hyperfoil:hyperfoil-clustering",
"io.hyperfoil:hyperfoil-controller-api",
"io.hyperfoil:hyperfoil-core",
"io.hyperfoil:hyperfoil-http"
],
"main": "io.hyperfoil.cli.HyperfoilCli"
}
},
"templates": {}
}
19 changes: 19 additions & 0 deletions readme.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Hyperfoil JBang Catalog

This is a catalog of JBang scripts for Hyperfoil.

## Usage

To use the scripts from this catalog you need to have [JBang](https://www.jbang.dev/) installed.

Example of running the 'wrk2' is as follows:

```shell
jbang wrk2@hyperfoil -t2 -c100 -d30s --latency http://localhost:8080
```

To list all the available scripts in the catalog you can use the following command:

```shell
jbang catlog list hyperfoil
```

0 comments on commit 7a5fad0

Please sign in to comment.