-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable hybrid planning test, don't cache ci docker at all and don't …
…cache upstream_ws if repos file is changed (#1051) * Don't cache docker builds Signed-off-by: Tyler Weaver <[email protected]> * Don't cache upstream ws * Use new action for getting the latest timestamp .repos file has been edited * Debug * Fix repos path * Disable hybrid planning test * Use more verbose name Co-authored-by: Tyler Weaver <[email protected]>
- Loading branch information
Showing
3 changed files
with
16 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,14 +79,19 @@ jobs: | |
uses: JafarAbdi/latest-rosdistro-release-date-action@main | ||
with: | ||
rosdistro: ${{ matrix.env.ROS_DISTRO }} | ||
- name: Get latest timestamp repos file has been edited | ||
id: repos_edit_timestamp | ||
uses: vatanaksoytezer/latest-file-edit-timestamp-action@main | ||
with: | ||
file: moveit2.repos | ||
- name: Cache upstream workspace | ||
uses: pat-s/[email protected] | ||
with: | ||
path: ${{ env.BASEDIR }}/upstream_ws | ||
key: ${{ env.CACHE_PREFIX }}-${{ github.run_id }} | ||
restore-keys: ${{ env.CACHE_PREFIX }} | ||
env: | ||
CACHE_PREFIX: ${{ steps.rosdistro_release_date.outputs.date }}-upstream_ws-${{ matrix.env.IMAGE }}-${{ hashFiles('moveit2*.repos', '.github/workflows/ci.yaml') }} | ||
CACHE_PREFIX: ${{ steps.rosdistro_release_date.outputs.date }}-upstream_ws-${{ steps.repos_edit_timestamp.outputs.timestamp }}-${{ matrix.env.IMAGE }}-${{ hashFiles('moveit2*.repos', '.github/workflows/ci.yaml') }} | ||
# The target directory cache doesn't include the source directory because | ||
# that comes from the checkout. See "prepare target_ws for cache" task below | ||
- name: Cache target workspace | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters