jbonofre commented on code in PR #1430:
URL: https://github.com/apache/arrow-java/pull/1430#discussion_r4725567426


##########
.github/workflows/rc.yml:
##########
@@ -178,7 +179,12 @@ jobs:
       - name: Extract source archive
         run: |
           tar -xf apache-arrow-java-*.tar.gz --strip-components=1
+      - name: Download the latest Apache Arrow C++
+        if: github.event_name != 'schedule'
+        run: |
+          ci/scripts/download_cpp.sh latest-rc

Review Comment:
   Same here:
   
   
   ```suggestion
             ci/scripts/download_cpp.sh
   ```



##########
.github/workflows/rc.yml:
##########
@@ -114,12 +114,13 @@ jobs:
       - name: Download the latest Apache Arrow C++
         if: github.event_name != 'schedule'
         run: |
-          ci/scripts/download_cpp.sh
+          ci/scripts/download_cpp.sh latest-rc

Review Comment:
   My earlier suggestion to pass `latest-rc` was wrong, sorry about that.
   
   `download_cpp.sh latest-rc` only works while an Arrow C++ RC is staged in 
https://dist.apache.org/repos/dist/dev/arrow/, which only happens during a 
vote. Right now that directory only has `KEYS` and `java/`. The `grep` matches 
nothing, `pipefail` makes the script exit 1, and the Linux and macOS JNI jobs 
fail after a few seconds. `rc.yml` runs on every push, PR and tag, so after 
merge this would break CI on `main` too. It also moves this Linux job off 
`latest-release`, which is what `main` uses today.
   
   Could we go back to the default (`latest-release`) for both jobs? That's 
what you did initially, and you were right:
   
   
   ```suggestion
             ci/scripts/download_cpp.sh
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to