maven/plans/smoke.fmf
Mikolaj Izdebski bd3b71db2e Adopt Sanity/openjdk-packages to work with java-latest-openjdk
For now OpenJDK 21 RPM packages are still called "java-latest-openjdk"
and "java-21-openjdk" is merely a virtual package (aka provide).

This commit will need to be reverted once java-21-openjdk package is
introduced.
2023-09-20 19:34:40 +02:00

100 lines
1.9 KiB
Plaintext

discover:
how: fmf
url: https://src.fedoraproject.org/tests/maven
execute:
how: tmt
/jdk8:
environment:
OPENJDK_VERSION: 1.8.0
prepare:
- how: install
exclude:
- maven-openjdk11
- maven-openjdk17
- maven-openjdk21
/full:
summary: Basic smoke tests (OpenJDK 8 full)
/headless:
summary: Basic smoke tests (OpenJDK 8 headless)
discover+:
filter: tag:-java-compiler
environment+:
OPENJDK_HEADLESS: true
prepare+:
- how: shell
script: |
dnf -y erase java-*-openjdk
/jdk11:
environment:
OPENJDK_VERSION: 11
prepare:
- how: install
exclude:
- maven-openjdk8
- maven-openjdk17
- maven-openjdk21
/full:
summary: Basic smoke tests (OpenJDK 11 full)
/headless:
summary: Basic smoke tests (OpenJDK 11 headless)
environment+:
OPENJDK_HEADLESS: true
prepare+:
- how: shell
script: |
dnf -y erase java-*-openjdk
/jdk17:
environment:
OPENJDK_VERSION: 17
prepare:
- how: install
exclude:
- maven-openjdk8
- maven-openjdk11
- maven-openjdk21
/full:
summary: Basic smoke tests (OpenJDK 17 full)
/headless:
summary: Basic smoke tests (OpenJDK 17 headless)
environment+:
OPENJDK_HEADLESS: true
prepare+:
- how: shell
script: |
dnf -y erase java-*-openjdk
/jdk21:
environment:
# For now OpenJDK 21 RPM packages are still called "java-latest-openjdk"
OPENJDK_VERSION: latest
#OPENJDK_VERSION: 21
prepare:
- how: install
exclude:
- maven-openjdk8
- maven-openjdk11
- maven-openjdk17
/full:
summary: Basic smoke tests (OpenJDK 21 full)
/headless:
summary: Basic smoke tests (OpenJDK 21 headless)
environment+:
OPENJDK_HEADLESS: true
prepare+:
- how: shell
script: |
dnf -y erase java-*-openjdk