Skip to content

build: Cache aws serverless package #11112

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

Closed
wants to merge 1 commit into from

Conversation

AbhiPrasad
Copy link
Member

@AbhiPrasad AbhiPrasad commented Mar 14, 2024

Publish failed in https://github.com/getsentry/publish/actions/runs/8288609418/job/22683485973 for getsentry/publish#3567

 [info] ==============================================
[info] === Publishing to target: aws-lambda-layer ===
[info] ==============================================
[debug] [[target/aws-lambda-layer]] Fetching artifact list...
[debug] [[target/aws-lambda-layer]] Getting artifact list for revision "b91e35220b7ad3d84fd3c9fdba32cac98bfdd42a", filtering options: ***includeNames: /^sentry-node-serverless-\d+.\d+.\d+(-(beta|alpha)\.\d+)?\.zip$/, excludeNames:undefined***
[debug] [[artifact-provider/github]] Fetching artifact list for revision `b91e35220b7ad3d84fd3c9fdba32cac98bfdd42a`.
[debug] [[artifact-provider/github]] Found list in cache.
[debug] [[artifact-provider/github]] Found 134 artifacts.
Error:  Cannot publish AWS Lambda Layer: no packages found
  at ct (/usr/local/bin/craft:552:13801)
  at SB.publish (/usr/local/bin/craft:617:768)
  at async wCt (/usr/local/bin/craft:634:1990)
  at async /usr/local/bin/craft:637:89
  at async Fr (/usr/local/bin/craft:559:659)
  at async pxe (/usr/local/bin/craft:637:29)
  at async Object.qB [as handler] (/usr/local/bin/craft:639:73)

I never touched any of this code with the changes in #11052, so I suspect it's some artifact caching issue. Trying this to see if that works, but not sure :/

Merging straight to master!

@AbhiPrasad AbhiPrasad requested review from mydea and Lms24 March 14, 2024 23:10
Copy link
Contributor

⚠️ This PR is opened against master. You probably want to open it against develop.

@AbhiPrasad AbhiPrasad closed this Mar 15, 2024
@AbhiPrasad AbhiPrasad deleted the abhi-cache-aws-serverless branch March 15, 2024 13:37
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