[ 
https://issues.apache.org/jira/browse/RANGER-5066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17904244#comment-17904244
 ] 

Abhishek Kumar commented on RANGER-5066:
----------------------------------------

Thank you [~adoroszlai] for your suggestions, this will be helpful. 

I think we can start docker-build as soon as build-8 completes, since it relies 
on jdk 8 compiled bits.

Also, for the docker build, we support building on ubi-9 as well 
(docker-compose.ranger-base-ubi.yml) but we haven't enabled it yet.

> Improve CI workflow
> -------------------
>
>                 Key: RANGER-5066
>                 URL: https://issues.apache.org/jira/browse/RANGER-5066
>             Project: Ranger
>          Issue Type: Improvement
>          Components: build-infra
>            Reporter: Attila Doroszlai
>            Priority: Major
>
> I would like to propose some improvements for the CI workflow:
> - Use {{actions/cache}} instead of {{setup-java}}'s simple cache option.  
> This allows restoring "similar" caches, not just exact cache hits.
> - Run {{build-11}} only after {{build-8}}.  If Java 8 build fails, no need to 
> spend time trying with Java 11.  Run {{build-11}} and {{docker-build}} (test) 
> concurrently.
> - Run the workflow on {{push}} for any branch.  This allows contributors to 
> run the workflow in their fork, to get CI feedback before opening PR.  
> (Without pushing to {{master}} in their fork.)
> Will post a PR.



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

Reply via email to