Skip to content

Commit

Permalink
Temporary change - force ubuntu 22
Browse files Browse the repository at this point in the history
  • Loading branch information
holly-cummins committed Dec 17, 2024
1 parent b053a2e commit f0a0805
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/ci-actions-incremental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
- '.github/workflows/preview.yml'
- '.sdkmanrc'
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
types: [ opened, synchronize, reopened, ready_for_review ]
paths-ignore:
- '.gitignore'
- '.dockerignore'
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
# For more details, see
# https://gh.neting.ccmunity/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 @@ -84,15 +84,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, rerun as soon as its removed
if: "(github.repository == 'quarkusio/quarkus' || !endsWith(github.ref, '/main')) && ( \
Expand Down Expand Up @@ -266,7 +266,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 @@ -335,7 +335,7 @@ jobs:
jvm-tests:
name: JVM Tests - JDK ${{matrix.java.name}}
runs-on: ${{ matrix.java.os-name }}
needs: [build-jdk17, calculate-test-jobs]
needs: [ build-jdk17, calculate-test-jobs ]
# Skip main in forks
if: "needs.calculate-test-jobs.outputs.run_jvm == 'true' && (github.repository == 'quarkusio/quarkus' || !endsWith(github.ref, '/main'))"
timeout-minutes: 400
Expand Down Expand Up @@ -487,7 +487,7 @@ jobs:
maven-tests:
name: Maven Tests - JDK ${{matrix.java.name}}
runs-on: ${{ matrix.java.os-name }}
needs: [build-jdk17, calculate-test-jobs]
needs: [ build-jdk17, calculate-test-jobs ]
env:
MAVEN_OPTS: -Xmx2g -XX:MaxMetaspaceSize=1g
# Skip main in forks
Expand All @@ -500,7 +500,7 @@ jobs:
- {
name: "17",
java-version: 17,
os-name: "ubuntu-latest"
os-name: "ubuntu-22.04"
}
- {
name: "17 Windows",
Expand Down Expand Up @@ -593,7 +593,7 @@ jobs:
gradle-tests:
name: Gradle Tests - JDK ${{matrix.java.name}}
runs-on: ${{matrix.java.os-name}}
needs: [build-jdk17, calculate-test-jobs]
needs: [ build-jdk17, calculate-test-jobs ]
env:
# leave more space for the actual gradle execution (which is just wrapped by maven)
MAVEN_OPTS: -Xmx1g
Expand All @@ -607,7 +607,7 @@ jobs:
- {
name: "17",
java-version: 17,
os-name: "ubuntu-latest"
os-name: "ubuntu-22.04"
}
- {
name: "17 Windows",
Expand Down Expand Up @@ -683,7 +683,7 @@ jobs:
devtools-tests:
name: Devtools Tests - JDK ${{matrix.java.name}}
runs-on: ${{matrix.java.os-name}}
needs: [build-jdk17, calculate-test-jobs]
needs: [ build-jdk17, calculate-test-jobs ]
# Skip main in forks
if: "needs.calculate-test-jobs.outputs.run_devtools == 'true' && (github.repository == 'quarkusio/quarkus' || !endsWith(github.ref, '/main'))"
timeout-minutes: 60
Expand All @@ -694,12 +694,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 @@ -779,7 +779,7 @@ jobs:
kubernetes-tests:
name: Kubernetes Tests - JDK ${{matrix.java.name}}
runs-on: ${{matrix.java.os-name}}
needs: [build-jdk17, calculate-test-jobs]
needs: [ build-jdk17, calculate-test-jobs ]
# Skip main in forks
if: "needs.calculate-test-jobs.outputs.run_kubernetes == 'true' && (github.repository == 'quarkusio/quarkus' || !endsWith(github.ref, '/main'))"
timeout-minutes: 40
Expand All @@ -790,12 +790,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 @@ -875,7 +875,7 @@ jobs:
quickstarts-tests:
name: Quickstarts Compilation - JDK ${{matrix.java.name}}
runs-on: ${{matrix.java.os-name}}
needs: [build-jdk17, calculate-test-jobs]
needs: [ build-jdk17, calculate-test-jobs ]
# Skip main in forks
if: "needs.calculate-test-jobs.outputs.run_quickstarts == 'true' && (github.repository == 'quarkusio/quarkus' || !endsWith(github.ref, '/main'))"
timeout-minutes: 90
Expand All @@ -886,7 +886,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 @@ -968,7 +968,7 @@ jobs:
virtual-thread-native-tests:
name: Native Tests - Virtual Thread - ${{matrix.category}}
runs-on: ${{matrix.os-name}}
needs: [build-jdk17, calculate-test-jobs]
needs: [ build-jdk17, calculate-test-jobs ]
# Skip main in forks
if: "needs.calculate-test-jobs.outputs.virtual_threads_matrix != '{}' && (github.repository == 'quarkusio/quarkus' || !endsWith(github.ref, '/main'))"
timeout-minutes: ${{matrix.timeout}}
Expand Down Expand Up @@ -1044,10 +1044,10 @@ jobs:

tcks-test:
name: MicroProfile TCKs Tests
needs: [build-jdk17, calculate-test-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 @@ -1129,7 +1129,7 @@ jobs:

native-tests:
name: Native Tests - ${{matrix.category}}
needs: [build-jdk17, calculate-test-jobs]
needs: [ build-jdk17, calculate-test-jobs ]
runs-on: ${{matrix.os-name}}
env:
# leave more space for the actual native compilation and execution
Expand Down Expand Up @@ -1259,7 +1259,7 @@ jobs:
if: ${{ always() && github.repository == 'quarkusio/quarkus' && endsWith(github.ref, '/main') && github.event_name != 'pull_request' && needs.native-tests.result != 'skipped' && needs.native-tests.result != 'cancelled' }}
needs:
- native-tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -1314,9 +1314,9 @@ jobs:
done
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]
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()
steps:
- uses: actions/download-artifact@v4
Expand Down

0 comments on commit f0a0805

Please sign in to comment.