kou commented on a change in pull request #9767:
URL: https://github.com/apache/arrow/pull/9767#discussion_r600063752
##########
File path: dev/tasks/crossbow.py
##########
@@ -322,7 +322,11 @@ def create_tree(self, files):
def create_commit(self, files, parents=None, message='',
reference_name=None):
- parents = parents or []
+ if parents is None:
+ # by default use the main branch as the base of the new branch
+ # required to reuse github actions cache across crossbow tasks
Review comment:
> We need to have workflows on the main branch like
https://github.com/ursacomputing/crossbow/blob/master/.github/workflows/cache_vcpkg.yml
Ah, I understand.
> why did you need GHA cache for ARM64 linux packages? Can we use docker
images for caching?
I want to move off from Travis CI. I think that Buildkite based CI is the
best candidate but we don't have enough setup for it yet. So I tried to use
GitHub Actions as the second candidate. If we use GitHub Actions for arm64
packages, we need to use QEMU. It's too slow but we'll be able to reduce build
time by using ccache. I tried to use ccache but I realized that we can't use
cache with Crossbow and GitHub Actions.
Anyway, I want to use cache with Crossbow and GitHub Actions. It can also
reduce build time for amd64 packages.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]