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 commands 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

Command list

Build and deploymentObservabilityInvocation and debuggingPublishing and configurationOthers
Run the s build command to build a function or install dependenciesRun the s metrics command to query metricsRun the s local command to debug a function in an on-premises environmentRun the s version command to manage service versionsMigrate resources from Funcraft to Serverless Devs
Run the s deploy command to deploy resourcesRun the s logs command to query logsRun the s invoke command to debug or invoke a function onlineRun the s alias command to manage service aliasesRun the s nas command to mount an Apsara File Storage NAS file system
Run the s remove command to delete resourcesNoneRun the s proxied command to perform device-cloud joint debuggingRun the s provision command to manage provisioned instancesRun the s info command to query the details of a resource
Run the s plan command to query the change information about a resourceNoneRun the s instance command to log on to an instanceRun the s onDemand command to manage on-demand instancesRun the s sync command to synchronize online resources to an on-premises environment
NoneNoneNoneRun the s layer command to manage layersRun the s stress command to perform stress testing

Additional information

Integration with CI/CD platforms or tools

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