Skip to content

Commit

Permalink
Enforce Ubuntu 22.04 images for 3.8
Browse files Browse the repository at this point in the history
It is not possible to backport some of the changes needed to have things working on Ubuntu 24.
  • Loading branch information
gsmet committed Jan 8, 2025
1 parent aff4fc0 commit 4220038
Show file tree
Hide file tree
Showing 24 changed files with 65 additions and 65 deletions.
4 changes: 2 additions & 2 deletions .github/matrix-jvm-tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"java-version": 17,
"maven_args": "$JVM_TEST_MAVEN_ARGS",
"maven_opts": "-Xmx2g -XX:MaxMetaspaceSize=1g",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
}
, {
"name": "21",
"java-version": 21,
"java-version-gradle": 20,
"maven_args": "$JVM_TEST_MAVEN_ARGS",
"maven_opts": "-Xmx3g -XX:MaxMetaspaceSize=1g",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
}
, {
"name": "17 Windows",
Expand Down
48 changes: 24 additions & 24 deletions .github/native-tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,133 +4,133 @@
"category": "Main",
"timeout": 45,
"test-modules": "main",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Data1",
"timeout": 95,
"test-modules": "jpa-h2, jpa-h2-embedded, jpa-mariadb, jpa-mssql, jpa-derby, jpa-without-entity, hibernate-orm-tenancy/datasource, hibernate-orm-tenancy/connection-resolver, hibernate-orm-tenancy/connection-resolver-legacy-qualifiers",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Data2",
"timeout": 70,
"test-modules": "jpa, jpa-mapping-xml/legacy-app, jpa-mapping-xml/modern-app, jpa-mysql, jpa-db2, jpa-oracle",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Data3",
"timeout": 75,
"test-modules": "flyway, hibernate-orm-panache, hibernate-orm-panache-kotlin, hibernate-orm-envers, liquibase, liquibase-mongodb",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Data4",
"timeout": 60,
"test-modules": "mongodb-client, mongodb-devservices, mongodb-panache, mongodb-rest-data-panache, mongodb-panache-kotlin, redis-client, hibernate-orm-rest-data-panache",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Data5",
"timeout": 70,
"test-modules": "jpa-postgresql, jpa-postgresql-withxml, narayana-stm, narayana-jta, reactive-pg-client, hibernate-reactive-postgresql, hibernate-orm-tenancy/schema",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Data6",
"timeout": 95,
"test-modules": "elasticsearch-rest-client, elasticsearch-java-client, hibernate-search-orm-elasticsearch, hibernate-search-orm-elasticsearch-tenancy, hibernate-search-orm-opensearch, hibernate-search-orm-elasticsearch-outbox-polling",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Data7",
"timeout": 85,
"test-modules": "reactive-oracle-client, reactive-mysql-client, reactive-db2-client, hibernate-reactive-db2, hibernate-reactive-mariadb, hibernate-reactive-mysql, hibernate-reactive-mysql-agroal-flyway, hibernate-reactive-panache, hibernate-reactive-panache-kotlin",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Amazon",
"timeout": 80,
"test-modules": "amazon-lambda, amazon-lambda-http, amazon-lambda-rest-funqy, amazon-lambda-rest-servlet, amazon-lambda-rest-reactive-routes, amazon-lambda-rest-resteasy-reactive",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Messaging1",
"timeout": 115,
"test-modules": "kafka, kafka-ssl, kafka-sasl, kafka-avro-apicurio2, kafka-json-schema-apicurio2, kafka-snappy, kafka-streams, reactive-messaging-kafka, kafka-oauth-keycloak",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Messaging2",
"timeout": 80,
"test-modules": "reactive-messaging-amqp, reactive-messaging-rabbitmq, reactive-messaging-rabbitmq-dyn, reactive-messaging-pulsar",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Security1",
"timeout": 65,
"test-modules": "elytron-security-oauth2, elytron-security, elytron-security-jdbc, elytron-undertow, elytron-security-ldap, bouncycastle, bouncycastle-jsse, bouncycastle-fips",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Security2",
"timeout": 75,
"test-modules": "oidc, oidc-code-flow, oidc-tenancy, oidc-client, oidc-client-reactive, oidc-token-propagation, oidc-wiremock, oidc-client-wiremock",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Security3",
"timeout": 55,
"test-modules": "keycloak-authorization, smallrye-jwt-token-propagation, security-webauthn",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Cache",
"timeout": 65,
"test-modules": "infinispan-cache-jpa, infinispan-client, cache, redis-cache",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "HTTP",
"timeout": 110,
"test-modules": "elytron-resteasy, resteasy-jackson, elytron-resteasy-reactive, resteasy-mutiny, resteasy-reactive-kotlin/standard, vertx, vertx-http, vertx-web, vertx-web-jackson, vertx-graphql, virtual-http, rest-client, rest-client-reactive, rest-client-reactive-stork, rest-client-reactive-multipart, websockets, management-interface, management-interface-auth",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Misc1",
"timeout": 70,
"test-modules": "maven, jackson, jsonb, kotlin-serialization, rest-client-reactive-kotlin-serialization, quartz, qute, logging-min-level-unset, logging-min-level-set, simple with space",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Misc2",
"timeout": 70,
"test-modules": "hibernate-validator, test-extension/tests, logging-gelf, mailer, native-config-profile, locales",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Misc3",
"timeout": 80,
"test-modules": "kubernetes-client, openshift-client, kubernetes-service-binding-jdbc, smallrye-config, smallrye-graphql, smallrye-graphql-client, smallrye-graphql-client-keycloak, smallrye-metrics",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Misc4",
"timeout": 125,
"test-modules": "picocli-native, gradle, micrometer-mp-metrics, micrometer-prometheus, logging-json, jaxp, jaxb, opentelemetry, opentelemetry-jdbc-instrumentation, webjars-locator",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Spring",
"timeout": 60,
"test-modules": "spring-di, spring-web, spring-data-jpa, spring-boot-properties, spring-cloud-config-client, spring-data-rest",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "gRPC",
"timeout": 70,
"test-modules": "grpc-health, grpc-interceptors, grpc-mutual-auth, grpc-plain-text-gzip, grpc-plain-text-mutiny, grpc-proto-v2, grpc-streaming, grpc-tls",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Windows support",
Expand All @@ -142,13 +142,13 @@
"category": "DevTools Integration Tests",
"timeout": 75,
"test-modules": "devtools-registry-client",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "AWT, ImageIO and Java2D",
"timeout": 30,
"test-modules": "awt, no-awt",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
}
]
}
4 changes: 2 additions & 2 deletions .github/virtual-threads-tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"category": "Main",
"timeout": 50,
"test-modules": "virtual-threads-disabled, grpc-virtual-threads, mailer-virtual-threads, redis-virtual-threads, rest-client-reactive-virtual-threads, resteasy-reactive-virtual-threads, vertx-event-bus-virtual-threads, scheduler-virtual-threads, quartz-virtual-threads",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
},
{
"category": "Messaging",
"timeout": 45,
"test-modules": "amqp-virtual-threads, jms-virtual-threads, kafka-virtual-threads",
"os-name": "ubuntu-latest"
"os-name": "ubuntu-22.04"
}
]
}
26 changes: 13 additions & 13 deletions .github/workflows/ci-actions-incremental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
# For more details, see
# https://github.community/t/pull-request-attribute-empty-in-workflow-run-event-object-for-pr-from-forked-repo/154682
attach-pr-number:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Attach pull request number
if: github.event_name == 'pull_request'
steps:
Expand All @@ -77,15 +77,15 @@ jobs:
retention-days: 1
ci-sanity-check:
name: "CI Sanity Check"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
# Skip main in forks
if: "github.repository == 'quarkusio/quarkus' || !endsWith(github.ref, '/main')"
steps:
- name: Build
run: sleep 30
build-jdk17:
name: "Initial JDK 17 Build"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
# Skip main in forks
# Skip draft PRs and those with WIP in the subject, rerun as soon as its removed
if: "(github.repository == 'quarkusio/quarkus' || !endsWith(github.ref, '/main')) && ( \
Expand Down Expand Up @@ -214,7 +214,7 @@ jobs:

calculate-test-jobs:
name: Calculate Test Jobs
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
# Skip main in forks
if: "github.repository == 'quarkusio/quarkus' || !endsWith(github.ref, '/main')"
needs: build-jdk17
Expand Down Expand Up @@ -420,7 +420,7 @@ jobs:
- {
name: "17",
java-version: 17,
os-name: "ubuntu-latest"
os-name: "ubuntu-22.04"
}
- {
name: "17 Windows",
Expand Down Expand Up @@ -517,7 +517,7 @@ jobs:
- {
name: "17",
java-version: 17,
os-name: "ubuntu-latest"
os-name: "ubuntu-22.04"
}
- {
name: "17 Windows",
Expand Down Expand Up @@ -594,12 +594,12 @@ jobs:
- {
name: "17",
java-version: 17,
os-name: "ubuntu-latest"
os-name: "ubuntu-22.04"
}
- {
name: "21",
java-version: 21,
os-name: "ubuntu-latest"
os-name: "ubuntu-22.04"
}
- {
name: "17 Windows",
Expand Down Expand Up @@ -680,12 +680,12 @@ jobs:
- {
name: "17",
java-version: 17,
os-name: "ubuntu-latest"
os-name: "ubuntu-22.04"
}
- {
name: "21",
java-version: 21,
os-name: "ubuntu-latest"
os-name: "ubuntu-22.04"
}
- {
name: "17 Windows",
Expand Down Expand Up @@ -766,7 +766,7 @@ jobs:
- {
name: "17",
java-version: 17,
os-name: "ubuntu-latest"
os-name: "ubuntu-22.04"
}
steps:
- name: Gradle Enterprise environment
Expand Down Expand Up @@ -886,7 +886,7 @@ jobs:
needs: [build-jdk17, calculate-test-jobs]
# Skip main in forks
if: "needs.calculate-test-jobs.outputs.run_tcks == 'true' && (github.repository == 'quarkusio/quarkus' || !endsWith(github.ref, '/main'))"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 150
steps:
- name: Gradle Enterprise environment
Expand Down Expand Up @@ -1058,7 +1058,7 @@ jobs:
retention-days: 7

build-report:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Build report
needs: [build-jdk17,jvm-tests,maven-tests,gradle-tests,devtools-tests,kubernetes-tests,quickstarts-tests,tcks-test,native-tests,virtual-thread-native-tests]
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-fork-mvn-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ env:
jobs:
build-jdk17:
name: "Quick JDK 17 Build"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
# Skip in main repo
if: github.repository != 'quarkusio/quarkus'
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-istio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
cache:
name: Build and save artifacts
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "github.repository == 'quarkusio/quarkus' || github.event_name == 'workflow_dispatch'"
steps:
- uses: actions/checkout@v4
Expand All @@ -35,7 +35,7 @@ jobs:
kubernetes:
name: Istio + Kubernetes Integration Tests
needs: cache
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "github.repository == 'quarkusio/quarkus' || github.event_name == 'workflow_dispatch'"
strategy:
fail-fast: false
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
cache:
name: Build and save artifacts
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "github.repository == 'quarkusio/quarkus' || github.event_name == 'workflow_dispatch'"
steps:
- uses: actions/checkout@v4
Expand All @@ -35,7 +35,7 @@ jobs:
kubernetes:
name: Kubernetes Integration Tests
needs: cache
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "github.repository == 'quarkusio/quarkus' || github.event_name == 'workflow_dispatch'"
strategy:
fail-fast: false
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
knative:
name: Knative Integration Tests
needs: cache
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "github.repository == 'quarkusio/quarkus' || github.event_name == 'workflow_dispatch'"
strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-sanity-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ on:
jobs:
ci-sanity-check:
name: "CI Sanity Check"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.repository == 'quarkusio/quarkus'
steps:
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.repository == 'quarkusio/quarkus'

strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
jobs:
build-and-deploy:
name: "Build and deploy"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.repository == 'quarkusio/quarkus'
env:
MAVEN_OPTS: -Xmx2048m -XX:MaxMetaspaceSize=1000m
Expand Down
Loading

0 comments on commit 4220038

Please sign in to comment.