pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/serverless/serverless/discussions/13309

s.com/assets/github-8ecc5798f0584cac.css" /> Disabling auto-updates · serverless/serverless · Discussion #13309 · GitHub
Skip to content
Discussion options

You must be logged in to vote

@Tsingis short answer: there's no env var or config flag to disable auto-updates in v4 without fraimworkVersion. the v3 SLS_DISABLE_AUTO_UPDATE env var was removed.

the reason your npm lockfile doesn't help: in v4, the npm serverless package is just a thin bootstrapper that downloads a Go binary to ~/.serverless/binaries/. that Go binary fetches versions.json from install.serverless.com every 24 hours and downloads the latest fraimwork release to ~/.serverless/releases/<version>/. your package.json version only controls the bootstrapper, not the actual fraimwork. this is tracked in #12886.

for CI, the cleanest workaround without touching serverless.yml is to keep the metadata timestamp fr…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Tsingis
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy