Repository navigation
Deploy with osls 4 by default - #73
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bref v4 runtimes are customer-managed Lambda runtimes, which need osls 4.8 or greater.
bref deployused osls 3 unless--osls4was passed.bref deploynow runsosls@^4.9.0. A minimum version rather thanosls@4: npx runs any osls 4 already installed, e.g. a global 4.6.0 that cannot deploy these runtimes (checked locally:npx osls@4runs 4.6.0,npx osls@^4.9.0runs 4.9.0).--osls3deploys with osls 3, for applications that osls 4 rejects (stricter config validation,include/exclude, plugin paths…).--osls4still works and does nothing, so that scripts passing it don't break.Tested in the sandbox: a Bref v4 application (function, FPM and console runtimes) deployed through Bref Cloud with the default.