Skip to content

Laravel Bref - Scheduler Lambda not using Environment Variables #1818

Answered by emaadali
CloudMarshall asked this question in Support
Discussion options

You must be logged in to vote

Yes, it is possible for your pipeline to deploy locally generated cache files, as Matthieu suggested.

If your pipeline pulls your code from git, you should ensure the bootstrap/cache directory doesn't have any generated cache files in your repo. That directory should be empty or contain a .gitignore or .gitkeep file. If the directory isn't empty, delete the cache files and add bootstrap/cache to your .gitignore.

If your pipeline pulls your code from a source other than git, you should download the packaged .zip that Serverless Framework uploads to your deployment bucket to ensure the bootstrap/cache directory is empty. If the directory isn't empty, add !bootstrap/cache/** to package.patterns

Replies: 4 comments 11 replies

Comment options

You must be logged in to vote
1 reply
@CloudMarshall
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@CloudMarshall
Comment options

@emaadali
Comment options

@CloudMarshall
Comment options

@emaadali
Comment options

@CloudMarshall
Comment options

Comment options

You must be logged in to vote
3 replies
@CloudMarshall
Comment options

@emaadali
Comment options

Answer selected by CloudMarshall
@CloudMarshall
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants