-
Notifications
You must be signed in to change notification settings - Fork 671
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hotfix docker image cache key in end2end test (#53)
* Added hotfix for end2end test Signed-off-by: Yuvraj <[email protected]>
- Loading branch information
Showing
3 changed files
with
31 additions
and
7 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,11 @@ name: Integration tests | |
|
||
on: | ||
workflow_call: | ||
inputs: | ||
cache_key: | ||
description: "Cache key for docker image" | ||
required: true | ||
type: string | ||
jobs: | ||
integration: | ||
name: Integration tests | ||
|
@@ -14,7 +19,7 @@ jobs: | |
uses: actions/cache@v1 | ||
with: | ||
path: /tmp/tmp/docker-images | ||
key: /tmp/docker-images-${{ github.event.after }} | ||
key: ${{ inputs.cache_key }} | ||
- name: Prime docker cache | ||
run: docker load -i /tmp/tmp/docker-images/snapshot-builder.tar || true | ||
- uses: engineerd/[email protected] | ||
|