Configure a serverless runtime environment on Azure Native ISV Services

Configure a serverless runtime environment on Azure Native ISV Services

Running command tasks

Running command tasks

To run command tasks in an Azure serverless runtime environment, you must place the shell scripts in a specific folder.
Ensure that there is a folder named
/command_scripts
within the "Supplementary file location" property of the Azure serverless runtime environment.
  1. Place the script files that you want to run in the command task in the
    /command_scripts
    folder. The
    /command_scripts
    folder can have its own subfolders.
    The files placed in the
    /command_scripts
    folder are synchronized to the Secure Agent machine, to following folder in the Secure Agent installation directory:
    apps/Common_Integration_Components/data/command/serverless/command_scripts
  2. Add a command task step to your taskflow. The script specified in the command task is executed in the Secure Agent Docker container.
    The files under
    apps/Common_Integration_Components/data/command/serverless/command_scripts
    are mounted under the
    /command_scripts
    folder inside docker container. You can reference any other files by using the relative path. The script working directory is set to
    /command_scripts
    .
    For more information about command tasks, see "Command task step" in
    Taskflows
    .

0 COMMENTS

We’d like to hear from you!