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

api v2 initial support #27

Merged
merged 6 commits into from
Feb 11, 2025
Merged

api v2 initial support #27

merged 6 commits into from
Feb 11, 2025

Conversation

tonistiigi
Copy link
Owner

No description provided.

Signed-off-by: Tonis Tiigi <[email protected]>
@@ -3,6 +3,7 @@ module github.com/tonistiigi/go-actions-cache
go 1.22

require (
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.5.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

We use the same dep for azblob cache on BuildKit: https://github.com/moby/buildkit/blob/81d49f78197cd471bb92ed800a4873384389bfd4/go.mod#L7

Using this version would require some changes on BuildKit: moby/buildkit#4715 (comment)

cacheURL, _ = os.LookupEnv("ACTIONS_RESULTS_URL")
} else {
// ACTIONS_CACHE_URL=https://artifactcache.actions.githubusercontent.com/xxx/
cacheURL, _ = os.LookupEnv("ACTIONS_CACHE_URL")
Copy link
Collaborator

Choose a reason for hiding this comment

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

tonistiigi and others added 4 commits January 31, 2025 15:35
Supposedly these are fixed now but looks very
flaky in practice.

Signed-off-by: Tonis Tiigi <[email protected]>
REST API can only work in one version.

Signed-off-by: Tonis Tiigi <[email protected]>
Testing commit having issue with returning ok before
replication has completed.

Signed-off-by: Tonis Tiigi <[email protected]>
@tonistiigi tonistiigi marked this pull request as ready for review February 11, 2025 17:50
@tonistiigi tonistiigi merged commit 9484cfc into master Feb 11, 2025
10 checks passed
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.

2 participants