[ 
https://issues.apache.org/jira/browse/HDDS-15042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai resolved HDDS-15042.
-------------------------------------
    Fix Version/s: 2.2.0
       Resolution: Implemented

> Run basic checks with Java 21
> -----------------------------
>
>                 Key: HDDS-15042
>                 URL: https://issues.apache.org/jira/browse/HDDS-15042
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: CI
>            Reporter: Attila Doroszlai
>            Assignee: Sreeja
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.2.0
>
>
> Basic checks are run with Java 8 currently.  Only findbugs needs Java 8, 
> others can use Java 21.
> {code:title=https://github.com/apache/ozone/blob/1bde5bea1d4a886c5c6722f8007ea0e366b99f82/.github/workflows/ci.yml#L185}
>       java-version: 8 # HDDS-10150
> {code}
> This can be changed to conditional, depending on the specific check, like:
> {code:title=https://github.com/apache/ozone/blob/1bde5bea1d4a886c5c6722f8007ea0e366b99f82/.github/workflows/ci.yml#L184}
>       checkout-fetch-depth: ${{ matrix.check != 'bats' && 1 || 0 }}
> {code}
> or using {{case}} like:
> {code:title=https://github.com/apache/ozone/blob/1bde5bea1d4a886c5c6722f8007ea0e366b99f82/.github/workflows/post-commit.yml#L21}
>   group: ci-${{ github.event.pull_request.number || case(github.repository == 
> 'apache/ozone', github.sha, github.ref_name) }}
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to