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

Fix Lambda common build caching #10510

Merged
merged 1 commit into from Mar 21, 2024
Merged

Conversation

joe4dev
Copy link
Member

@joe4dev joe4dev commented Mar 21, 2024

Motivation

The adjustments for the Lambda common ARM build introduced a path error here:
https://github.com/localstack/localstack/pull/10441/files#diff-2c0422c107fb6b5e37ccf7ed62bba7d66f32a1c7f49f627f9e444f064db255a5L251
This resulted in cache keys like community-it-Linux-X64-lambda-common- because not matching any files results in an empty string, according to the GH Actions Docs https://docs.github.com/en/actions/learn-github-actions/expressions#hashfiles.

It originated from copy/pasting the hash key from localstack-ext appearing in multiple places.

Testing

The cache key should contain a hash suffix: https://github.com/localstack/localstack/actions/caches

Changes

  • Fix path issue of missing localstack directory

@joe4dev joe4dev added the semver: patch Non-breaking changes which can be included in patch releases label Mar 21, 2024
@joe4dev joe4dev self-assigned this Mar 21, 2024
@joe4dev joe4dev marked this pull request as ready for review March 21, 2024 14:40
@joe4dev joe4dev merged commit 5a0c9b3 into master Mar 21, 2024
22 of 24 checks passed
@joe4dev joe4dev deleted the fix-lambda-common-build-caching branch March 21, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: patch Non-breaking changes which can be included in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants