Serverless Devs is an open source platform for serverless application developers. You can use Serverless Devs to manage the full lifecycle of an application. This topic describes the YAML syntax, permission management, and features of Serverless Devs that can be used for the full lifecycle management.

YAML syntax and permission management

YAML syntax

You can set fields in the s.yaml file to configure function resources by following the YAML syntax.

You can visit the following pages to view the details and permission policies for the fields in the YAML syntax.

service

function

triggers

customDomains

Features

Build and deployment Observability Invocation and debugging Publishing and configuration Others
Run the s build command to build a function or install dependencies Run the s metrics command to query metrics Run the s local command to debug a function in an on-premises environment Run the s version command to manage service versions Migrate resources from Funcraft to Serverless Devs
Run the s deploy command to deploy resources Run the s logs command to query logs Run the s invoke command to debug or invoke a function Run the s alias command to manage service aliases Run the s nas command to mount an Apsara File Storage NAS file system
Run the s remove command to delete resources N/A Run the s proxied command to perform device-cloud joint debugging Run the s provision command to manage provisioned instances Run the s info command to query the details of a resource
Run the s plan command to query the change information about a resource N/A Run the s instance command to log on to an instance Run the s ondemand command to manage on-demand instances Run the s sync command to synchronize online resources to an on-premises environment
N/A N/A Run the s eval command to perform memory and concurrency detection Run the s layer command to manage layers Run the s stress command to perform stress testing

References

Integration with CI/CD platforms or tools

Serverless Devs can integrate with platforms or tools such as GitHub Actions, GiteeGo, Jenkins, or Apsara Devops to implement continuous integration and continuous delivery (CI/CD).