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

Krisztian Szucs commented on ARROW-13051:
-----------------------------------------

The workflow looks like this:
1. execute the crossbow build which uploads the artifacts under a github 
release of the crossbow repository
2. the release manager downloads those artifacts to his/her local machine using 
a script
3. the release manager signs the artifacts then uploads them to apache 
artifactory
4. the java post release task downloads the artifacts from artifactory once the 
vote has passed
5. the java post release task uploads the artifacts to the apache maven

TODOs:

1: Right now the crossbow script only uploads the jar files. I tried to locate 
the pom and source files as well but the [2 
patterns|https://github.com/apache/arrow/blob/master/dev/tasks/java-jars/github.yml#L102]
 doesn't seem to match those files (or we don't generate them at the first 
place). All the newly generated files should be added to the [expected 
artifacts of the java-jar 
task|https://github.com/apache/arrow/blob/master/dev/tasks/tasks.yml#L638].

3: In order to download from artifactory, we need to upload them first :)
The upload is triggered by the [05-binary-upload.sh 
script|https://github.com/apache/arrow/blob/master/dev/release/05-binary-upload.sh]
 which will eventually require some ruby. I should be straightforward by 
duplicating the python related methods, see 
[binary-task.rb|https://github.com/apache/arrow/blob/master/dev/release/binary-task.rb#L1662-L1668]
 (cc [~kou]). 

4: We'll need to download the artifacts from artifactory, see the rest of the 
post release tasks. For example see the python one: 
https://github.com/apache/arrow/blob/master/dev/release/post-10-python.sh#L35-L41



> [Release][Packaging] Update the java post release task to use the crossbow 
> artifacts
> ------------------------------------------------------------------------------------
>
>                 Key: ARROW-13051
>                 URL: https://issues.apache.org/jira/browse/ARROW-13051
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Developer Tools, Packaging
>            Reporter: Krisztian Szucs
>            Assignee: Anthony Louis Gotlib Ferreira
>            Priority: Major
>
> We produce java jars using a crossbow tasks. Ideally we should download and 
> deploy these packages instead of compiling them locally during the java post 
> release task.
> See the produced jars at: 
> https://github.com/ursacomputing/crossbow/releases/tag/actions-496-github-java-jars
> See more context at: https://github.com/apache/arrow/pull/10411



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to