pr-smoke-test-play-images.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. name: PR build Play images for smoke tests
  2. on:
  3. pull_request:
  4. paths:
  5. - 'smoke-tests/images/play/**'
  6. - '.github/workflows/pr-smoke-test-play-images.yml'
  7. jobs:
  8. build:
  9. uses: ./.github/workflows/reusable-smoke-test-images.yml
  10. with:
  11. project: ":smoke-tests:images:play"
  12. cache-read-only: true
  13. # Play doesn't support Java 16+ yet
  14. # https://github.com/playframework/playframework/pull/10819
  15. skip-java-17: true
  16. skip-java-18: true
  17. skip-java-19: true
  18. build-java-15:
  19. runs-on: ubuntu-latest
  20. steps:
  21. - uses: actions/checkout@v3
  22. - name: Set up JDK for running Gradle
  23. uses: actions/setup-java@v3
  24. with:
  25. distribution: temurin
  26. java-version: 17
  27. - name: Set up Gradle cache
  28. uses: gradle/gradle-build-action@v2
  29. with:
  30. cache-read-only: true
  31. # Play doesn't support Java 16 (or 17) yet
  32. # https://github.com/playframework/playframework/pull/10819
  33. - name: Build Java 15 Docker image
  34. run: ./gradlew :smoke-tests:images:play:jibDockerBuild -PtargetJDK=15 -Djib.httpTimeout=120000 -Djib.console=plain