Skip to content

Commit

Permalink
Merge pull request #11435 from gsmet/jdk14
Browse files Browse the repository at this point in the history
Various CI adjustments
  • Loading branch information
gsmet authored Aug 19, 2020
2 parents c0d5f00 + df38112 commit 7233f45
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 37 deletions.
67 changes: 31 additions & 36 deletions .github/workflows/ci-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,39 +5,27 @@ on:
branches-ignore:
- 'dependabot/**'
paths-ignore:
- '.gitignore'
- '.dockerignore'
- '*.md'
- '*.adoc'
- '*.txt'
- 'docs/src/main/asciidoc/**'
- 'README.md'
- 'CONTRIBUTING.md'
- 'ADOPTERS.md'
- 'TROUBLESHOOTING.md'
- 'SECURITY.md'
- 'MAINTAINERS.adoc'
- 'DECISIONS.adoc'
- 'LICENSE.txt'
- 'dco.txt'
- '.github/ISSUE_TEMPLATE/**'
- '.github/autoissuelabeler.yml'
- '.github/boring-cyborg.yml'
- '.github/NativeBuildReport.java'
- '.github/dependabot.yml'
- '.github/*.yml'
- '.github/*.java'
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '.gitignore'
- '.dockerignore'
- '*.md'
- '*.adoc'
- '*.txt'
- 'docs/src/main/asciidoc/**'
- 'README.md'
- 'CONTRIBUTING.md'
- 'ADOPTERS.md'
- 'TROUBLESHOOTING.md'
- 'SECURITY.md'
- 'DECISIONS.adoc'
- 'MAINTAINERS.adoc'
- 'LICENSE.txt'
- 'dco.txt'
- '.github/ISSUE_TEMPLATE/**'
- '.github/autoissuelabeler.yml'
- '.github/boring-cyborg.yml'
- '.github/NativeBuildReport.java'
- '.github/dependabot.yml'
- '.github/*.yml'
- '.github/*.java'

env:
# Workaround testsuite locale issue
Expand All @@ -48,6 +36,12 @@ env:
DB_PASSWORD: hibernate_orm_test
DB_NAME: hibernate_orm_test
jobs:
ci-sanity-check:
name: "CI Sanity Check"
runs-on: ubuntu-latest
steps:
- name: Build
run: sleep 30
build-jdk11:
name: "JDK 11 Build"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -107,7 +101,7 @@ jobs:
name: JDK ${{matrix.java.name}} JVM Tests
runs-on: ubuntu-latest
needs: build-jdk11
timeout-minutes: 180
timeout-minutes: 240
env:
MAVEN_OPTS: -Xmx2048m
strategy:
Expand All @@ -129,11 +123,12 @@ jobs:
java-version: 11,
maven_args: "-pl !integration-tests/gradle"
}
- {
name: Java 14,
java-version: 14,
maven_args: "-pl !integration-tests/gradle"
}
# Disabled for now as totally unstable
#- {
# name: Java 14,
# java-version: 14,
# maven_args: "-pl !integration-tests/gradle"
#}

services:
keycloak:
Expand Down Expand Up @@ -219,7 +214,7 @@ jobs:

- name: Set up JDK ${{ matrix.java.name }}
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@b9cc6eabf7e7e3889766b5cee486f874c9e1bd2d
uses: joschi/setup-jdk@68381f2c0646f942f70b69f8e81fe10e1ed5d293
with:
java-version: ${{ matrix.java.java-version }}
release: ${{ matrix.java.release }}
Expand All @@ -246,7 +241,7 @@ jobs:
path: 'test-reports.tgz'

linux-jvm-gradle-tests:
name: JDK ${{matrix.java.name}} JVM Gradle Tests
name: Gradle Tests JDK ${{matrix.java.name}}
runs-on: ubuntu-latest
needs: build-jdk11
timeout-minutes: 60
Expand Down Expand Up @@ -330,7 +325,7 @@ jobs:
path: 'test-reports.tgz'

windows-jdk11-jvm-gradle-tests:
name: Windows JDK 11 JVM Gradle Tests
name: Gradle Tests Windows JDK 11
needs: build-jdk11
runs-on: windows-latest
timeout-minutes: 80
Expand Down Expand Up @@ -361,7 +356,7 @@ jobs:
arguments: clean test -i -S --stacktrace --no-daemon

tcks-test:
name: TCKS Test
name: MicroProfile TCKs Tests
needs: build-jdk11
runs-on: ubuntu-latest
timeout-minutes: 120
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/ci-sanity-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Create the CI Sanity Check entry even when we only have ignored files
name: Quarkus CI Sanity Check

on:
push:
paths:
- '.gitignore'
- '.dockerignore'
- '*.md'
- '*.adoc'
- '*.txt'
- '.github/ISSUE_TEMPLATE/**'
- '.github/*.yml'
- '.github/*.java'
pull_request:
paths:
- '.gitignore'
- '.dockerignore'
- '*.md'
- '*.adoc'
- '*.txt'
- '.github/ISSUE_TEMPLATE/**'
- '.github/*.yml'
- '.github/*.java'

jobs:
ci-sanity-check:
name: "CI Sanity Check"
runs-on: ubuntu-latest
steps:
- name: Build
run: sleep 30
8 changes: 7 additions & 1 deletion .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ on:


jobs:
ci-sanity-check:
name: "CI Sanity Check"
runs-on: ubuntu-latest
steps:
- name: Build
run: sleep 30
build-doc:
name: "Documentation Build"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -41,4 +47,4 @@ jobs:
mvn -Dquickly
- name: Build Docs
run: |
mvn -e -B clean org.asciidoctor:asciidoctor-maven-plugin:process-asciidoc -pl docs -Ddocumentation-pdf
mvn -e -B clean org.asciidoctor:asciidoctor-maven-plugin:process-asciidoc -pl docs -Ddocumentation-pdf

0 comments on commit 7233f45

Please sign in to comment.