autowarefoundation / autoware

Autoware - the world's leading open-source software project for autonomous driving
https://www.autoware.org/
Apache License 2.0
9k stars 3.01k forks source link

feat(ci): add CPU architecture suffixes to the Docker build cache #4826

Closed youtalk closed 3 months ago

youtalk commented 3 months ago

Description

This PR adds CPU architecture suffixes to the tag name of the Docker build cache which introduced by https://github.com/autowarefoundation/autoware/pull/4730. Currently, the CI of the build-main for the x86_64 architecture and the build-main-self-hosted for the aarch64 architecture are running daily. Since the build cache itself is not platform-compatible, it seems that the effect of the build cache is lost each time.

The Docker build cache has been enabled, resulting in a speedup of about 10 minutes. However, since colcon build, which takes up 2 hours of build time, is not being cached and is being re-executed, significant acceleration has not been achieved. This is currently being investigated in a separate PR.

Tests performed

Effects on system behavior

Not applicable.

Interface changes

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

After all checkboxes are checked, anyone who has write access can merge the PR.