Skip to content

Latest commit

 

History

History

process

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Process service

Process service is responsible for starting, stopping and checking the status of a custom application. It uses SSH service.

Usage

  1. Starting process endly app.yaml app.yaml
init:
  appPath: $Pwd()/my-app
pipeline:
  setSdk:
    action: sdk:set
    sdk: node:12
  build:
    action: exec:run
    checkError: true
    commands:
      - cd $appPath
      - npm install
      - npm test
  stop:
    action: process:stop
    input: react-scripts/scripts/start.js

  start:
    action: process:start
    directory: $appPath/
    watch: true
    immuneToHangups: true
    command: npm start
  1. Stopping process

Service Id Action Description Request Response
process status check status of an application StatusRequest StatusResponse
process start start provided application StartRequest StartResponse
process stop kill requested application StopRequest RunResponse