Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/renovate-tracked-deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,21 +225,6 @@
"ubuntu"
]
},
".mise/envs/jmx-exporter/mise.toml": {
"mise": [
"java"
]
},
".mise/envs/micrometer/mise.toml": {
"mise": [
"java"
]
},
".mise/envs/native/mise.toml": {
"mise": [
"java"
]
},
".mvn/wrapper/maven-wrapper.properties": {
"maven-wrapper": [
"maven"
Expand Down
15 changes: 12 additions & 3 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -36,28 +36,37 @@
matchDepNames: [
'java',
],
matchDepTypes: [
'tools',
],
groupName: 'java temurin',
additionalBranchPrefix: 'temurin-',
},
{
matchFileNames: [
'.mise/envs/native/mise.toml',
'mise.toml',
],
matchDepNames: [
'java',
],
matchDepTypes: [
'task-native-test-tools',
],
groupName: 'java graalvm',
additionalBranchPrefix: 'graalvm-',
},
{
description: 'Compat tests pin an LTS JDK the upstream release supports; block major JDK bumps that would break those builds',
matchFileNames: [
'.mise/envs/jmx-exporter/mise.toml',
'.mise/envs/micrometer/mise.toml',
'mise.toml',
],
matchDepNames: [
'java',
],
matchDepTypes: [
'task-jmx-exporter:compat-test-tools',
'task-micrometer:compat-test-tools',
],
matchUpdateTypes: [
'major',
],
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/jmx-exporter-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,13 @@ jobs:
with:
version: v2026.8.11
sha256: 3d825b8341925abb398fba6fd8dcd7d6e92ade6820d892da62992e0765638e66
working_directory: .mise/envs/jmx-exporter
- name: Cache local Maven repository
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
- name: Run JMX Exporter compatibility tests
working-directory: .mise/envs/jmx-exporter
env:
JMX_EXPORTER_REPOSITORY: ${{ inputs.repository || 'prometheus/jmx_exporter' }}
JMX_EXPORTER_REF: ${{ inputs.ref }}
run: mise compat-test
run: mise run jmx-exporter:compat-test
4 changes: 1 addition & 3 deletions .github/workflows/micrometer-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,16 @@ jobs:
with:
version: v2026.8.11
sha256: 3d825b8341925abb398fba6fd8dcd7d6e92ade6820d892da62992e0765638e66
working_directory: .mise/envs/micrometer
- name: Cache local Maven repository
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
- name: Run Micrometer compatibility tests
working-directory: .mise/envs/micrometer
env:
MICROMETER_REPOSITORY: ${{ matrix.repository }}
MICROMETER_REF: ${{ matrix.ref }}
run: mise compat-test
run: mise run micrometer:compat-test

micrometer-compatibility:
name: micrometer-compatibility
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/native-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@ jobs:
with:
version: v2026.8.11
sha256: 3d825b8341925abb398fba6fd8dcd7d6e92ade6820d892da62992e0765638e66
working_directory: .mise/envs/native
- name: Run native tests
run: mise //.mise/envs/native:native-test
run: mise run native-test
10 changes: 0 additions & 10 deletions .mise/envs/jmx-exporter/mise.toml

This file was deleted.

10 changes: 0 additions & 10 deletions .mise/envs/micrometer/mise.toml

This file was deleted.

10 changes: 0 additions & 10 deletions .mise/envs/native/mise.toml

This file was deleted.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ If you're getting errors when running tests:
### Running native tests

```shell
mise --cd .mise/envs/native run native-test
mise run native-test
```

### Avoid failures while running tests
Expand Down
56 changes: 56 additions & 0 deletions mise.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 26 additions & 5 deletions mise.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
monorepo_root = true

[monorepo]
config_roots = [".mise/envs/*"]

[tools]
"aqua:grafana/gcx" = "v1.2.0"
"aqua:grafana/oats" = "0.10.0"
Expand Down Expand Up @@ -73,6 +68,32 @@ run = "./mvnw verify"
description = "build all modules without tests"
run = "./mvnw install -DskipTests -Dcoverage.skip=true"

[tasks.native-test]
description = "Run GraalVM native tests"
depends = "build"
tools.java = "oracle-graalvm-25.0.1"
# Native Test uses Surefire, so explicitly select the Failsafe-named test class.
run = '''
cd "$MISE_CONFIG_ROOT/integration-tests/it-spring-boot-smoke-test"
"$MISE_CONFIG_ROOT/mvnw" test -PnativeTest -Dtest=ApplicationIT
'''

[tasks."jmx-exporter:compat-test"]
description = "Run JMX Exporter compatibility tests under a supported JDK"
# The pinned JMX Exporter release does not build on the primary JDK (Java 25):
# its spotless google-java-format predates JDK 25 support. Build it under an LTS
# JDK the release supports instead.
tools.java = "temurin-21.0.11+10.0.LTS"
run = "python3 .mise/tasks/jmx-exporter/test.py"

[tasks."micrometer:compat-test"]
description = "Run Micrometer compatibility tests under a supported JDK"
# The pinned Micrometer release does not build on the primary JDK (Java 25):
# its bundled Kotlin compiler predates JDK 25 support. Build it under an LTS JDK
# the release supports instead.
tools.java = "temurin-21.0.11+10.0.LTS"
run = "python3 .mise/tasks/micrometer/test.py"

[tasks."api-diff"]
description = "Compare published API against the japicmp baseline and refresh docs/apidiffs"
run = """
Expand Down