Add Java Distribution IT for Windows (#21675)
Co-authored-by: Miquel Simon <msimonma@redhat.com>
This commit is contained in:
parent
064520a506
commit
d2cdd78655
3 changed files with 19 additions and 5 deletions
|
@ -38,4 +38,8 @@ runs:
|
||||||
- id: extract-maven-artifacts
|
- id: extract-maven-artifacts
|
||||||
name: Extract Keycloak Maven artifacts
|
name: Extract Keycloak Maven artifacts
|
||||||
shell: bash
|
shell: bash
|
||||||
run: tar -C ~/ --use-compress-program unzstd -xf m2-keycloak.tzts
|
run: |
|
||||||
|
if [ "$RUNNER_OS" == "Windows" ]; then
|
||||||
|
choco install zstandard
|
||||||
|
fi
|
||||||
|
tar -C ~/ --use-compress-program="zstd -d" -xf m2-keycloak.tzts
|
||||||
|
|
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
|
@ -113,12 +113,20 @@ jobs:
|
||||||
quarkus-integration-tests:
|
quarkus-integration-tests:
|
||||||
name: Quarkus IT
|
name: Quarkus IT
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 115
|
timeout-minutes: 115
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
server: [zip, container, storage]
|
os: [ubuntu-latest, windows-latest]
|
||||||
|
server: [sanity-check-zip, zip, container, storage]
|
||||||
|
exclude:
|
||||||
|
- os: windows-latest
|
||||||
|
server: zip
|
||||||
|
- os: windows-latest
|
||||||
|
server: container
|
||||||
|
- os: windows-latest
|
||||||
|
server: storage
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
env:
|
env:
|
||||||
MAVEN_OPTS: -Xmx1024m
|
MAVEN_OPTS: -Xmx1024m
|
||||||
steps:
|
steps:
|
||||||
|
@ -132,6 +140,7 @@ jobs:
|
||||||
- name: Run Quarkus integration Tests
|
- name: Run Quarkus integration Tests
|
||||||
run: |
|
run: |
|
||||||
declare -A PARAMS
|
declare -A PARAMS
|
||||||
|
PARAMS["sanity-check-zip"]="-Dtest=StartCommandDistTest,StartDevCommandDistTest,BuildAndStartDistTest,ImportAtStartupDistTest"
|
||||||
PARAMS["zip"]=""
|
PARAMS["zip"]=""
|
||||||
PARAMS["container"]="-Dkc.quarkus.tests.dist=docker"
|
PARAMS["container"]="-Dkc.quarkus.tests.dist=docker"
|
||||||
PARAMS["storage"]="-Ptest-database -Dtest=PostgreSQLDistTest,MariaDBDistTest#testSuccessful,MySQLDistTest#testSuccessful,DatabaseOptionsDistTest,JPAStoreDistTest,HotRodStoreDistTest,MixedStoreDistTest,TransactionConfigurationDistTest"
|
PARAMS["storage"]="-Ptest-database -Dtest=PostgreSQLDistTest,MariaDBDistTest#testSuccessful,MySQLDistTest#testSuccessful,DatabaseOptionsDistTest,JPAStoreDistTest,HotRodStoreDistTest,MixedStoreDistTest,TransactionConfigurationDistTest"
|
||||||
|
@ -146,13 +155,14 @@ jobs:
|
||||||
jdk-integration-tests:
|
jdk-integration-tests:
|
||||||
name: Java Distribution IT
|
name: Java Distribution IT
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 100
|
timeout-minutes: 100
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
os: [ubuntu-latest, windows-latest]
|
||||||
dist: [temurin]
|
dist: [temurin]
|
||||||
version: [19]
|
version: [19]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
<files>
|
<files>
|
||||||
<file>
|
<file>
|
||||||
<source>src/main/content/conf/cluster-ha.xml</source>
|
<source>src/main/content/conf/cluster-ha.xml</source>
|
||||||
<outputDirectory>/auth-server-quarkus/conf</outputDirectory>
|
<outputDirectory>auth-server-quarkus/conf</outputDirectory>
|
||||||
<destName>cluster-ha.xml</destName>
|
<destName>cluster-ha.xml</destName>
|
||||||
<filtered>true</filtered>
|
<filtered>true</filtered>
|
||||||
</file>
|
</file>
|
||||||
|
|
Loading…
Reference in a new issue