Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub: use maintained version of docker layer cache action #471

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

guggero
Copy link
Member

@guggero guggero commented Aug 28, 2023

Looks like the old satackey/action-docker-layer-caching action has finally stopped working: https://github.com/lightninglabs/taproot-assets/actions/runs/5999726192/job/16270427354

We update to a forked version that is maintained and also allow the test to continue if the caching fails.

@guggero guggero marked this pull request as ready for review August 28, 2023 12:29
Copy link
Collaborator

@dstadulis dstadulis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -42,7 +42,8 @@ jobs:
uses: actions/checkout@v3

- name: docker image cache
uses: satackey/action-docker-layer-caching@v0.0.11
uses: jpribyl/action-docker-layer-caching@v0.1.1
continue-on-error: true
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After some reading about this workflow, I saw this comment. Adding a link in case it's relevant for reviewer to assess soundness

https://stackoverflow.com/questions/62045967/is-there-a-way-to-continue-on-error-while-still-getting-correct-feedback#:~:text=If%20a%20job,in%20the%20other_workflow.

@guggero
Copy link
Member Author

guggero commented Aug 28, 2023

We just use this caching step to make sure we don't hit the Docker Hub pull limit. We don't actually care that much if it fails from time to time, as long as it does its job most of the time.

@guggero guggero removed the request for review from ffranr August 28, 2023 15:37
Copy link
Collaborator

@jharveyb jharveyb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏽

@guggero guggero added this pull request to the merge queue Aug 28, 2023
Merged via the queue into main with commit 7e7c7c9 Aug 28, 2023
13 checks passed
@guggero guggero deleted the fix-sqlc-check branch August 28, 2023 15:58
@guggero guggero restored the fix-sqlc-check branch August 28, 2023 16:32
@guggero guggero deleted the fix-sqlc-check branch August 28, 2023 16:32
@guggero guggero restored the fix-sqlc-check branch August 28, 2023 16:32
@guggero guggero deleted the fix-sqlc-check branch August 28, 2023 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants