Skip to content

Conversation

@thomas-tacquet
Copy link
Contributor

@thomas-tacquet thomas-tacquet commented Aug 19, 2022

Added some details to warn about EOL and EOS

Result in shell :

Using credentials from system environment
Runtime undefined is in End Of Support. It is no longer possible to create a new function with this runtime; however, functions that already use it can still be updated.
Note : Node 17 reached end of security support 1st June 2022, please upgrade to Node 16 or Node 18

Runtime lifecycle doc : https://www.scaleway.com/en/docs/compute/functions/reference-content/functions-lifecycle/#available-runtimes

           
Creating function first...
Environment: darwin, node 16.14.0, framework 3.19.0, plugin 6.2.2, SDK 4.3.2
Docs:        docs.serverless.com
Support:     forum.serverless.com
Bugs:        github.com/serverless/serverless/issues

Error:
Error: message : Node 17 reached end of security support 1st June 2022, please upgrade to Node 16 or Node 18, error : rpc error: code = InvalidArgument desc = runtime reached end of support, could not create new functions

Copy link
Contributor

@Shillaker Shillaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to add an integration test to create a function with an EoS runtime and check it returns the right message?

We'll have to periodically update it to match our current list of EoS runtimes. This might get annoying but it's probably worth the effort.

@thomas-tacquet thomas-tacquet dismissed Shillaker’s stale review September 6, 2022 06:39

I can't implement e2e tests for EOL/EOS before the release of updated runtimes status.

@thomas-tacquet thomas-tacquet merged commit 2c95f78 into master Sep 6, 2022
@thomas-tacquet thomas-tacquet deleted the add-more-details-for-eol-eos-runtimes branch October 4, 2022 09:27
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.

4 participants