Skip to content

Commit

Permalink
update ec2 runner to jdk21 (#918)
Browse files Browse the repository at this point in the history
Signed-off-by: Kamesh Akella <kamesh.asp@gmail.com>
  • Loading branch information
kami619 authored Aug 8, 2024
1 parent bac2b28 commit 2753346
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions ansible/roles/benchmark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ See `defaults/main.yml` for default values.
### Installation
- `kcb_zip`: Path to the local `keycloak-benchmark-*.zip` file.
If not provided the role will attempt to download the file based on `kcb_zip_url`.
- `kcb_zip_url`: URL from which `keycloak-benchmark-*.zip` file will be downloaded.
- `kcb_zip_url`: URL from which `keycloak-benchmark-*.zip` file will be downloaded.
If not provided it will default to GitHub release URL based on `kcb_version`.
- `kcb_version`: Version of `keycloak-benchmark-*.zip` file. Optional.
If `kcb_zip` or `kcb_zip_url` are provided it will be set from the filename.
- `skip_install`: Defaults to `no`. If the installation step is skipped
- `skip_install`: Defaults to `no`. If the installation step is skipped
then `kcb_version` needs to be provided to the execution phase.

### Execution
Expand All @@ -27,7 +27,7 @@ then `kcb_version` needs to be provided to the execution phase.
### Other
- `update_system_packages`: Whether to update the system packages. Defaults to `no`.
- `install_java`: Whether to install OpenJDK on the system. Defaults to `yes`.
- `java_version`: Version of OpenJDK to be installed. Defaults to `17`.
- `java_version`: Version of OpenJDK to be installed. Defaults to `21`.


## Example Playbook
Expand All @@ -50,12 +50,12 @@ Note the outer and inner quotes for the `kcb_params`.

### Workload per Node

Workload parameter provided inside `kcb_params` will be divided by the number
Workload parameter provided inside `kcb_params` will be divided by the number
of hosts in the `benchmark` group.

In case of `--concurrent-users` the value must be divisible by the number of nodes,
In case of `--concurrent-users` the value must be divisible by the number of nodes,
otherwise the execution will end with an error.

In case of `--users-per-sec` workload parameter the value will be simply divided,
In case of `--users-per-sec` workload parameter the value will be simply divided,
resulting in a floating-point value.

2 changes: 1 addition & 1 deletion ansible/roles/benchmark/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ kcb_clean_results: yes

update_system_packages: no
install_java: yes
java_version: 17
java_version: 21

skip_install: no

0 comments on commit 2753346

Please sign in to comment.