Updated on 2025-02-08 GMT+08:00

Deploying to FunctionGraph

In this step, you can deploy software packages in the Artifact, Repo, and OBS to FunctionGraph to release a new version.

Prerequisites

You have FunctionGraph operation permissions.

Procedure

Table 1 Parameters

Parameter

Description

Action Name

Name of an added deployment action. Enter 1 to 128 characters. Do not start or end with a space. Use letters, digits, spaces, and these special characters: -_,;:./().

Tenant

  • Current: The software package is deployed in the FunctionGraph extension of the Current for release.

    Select Current. The FunctionGraph operation permission is needed in the Current. If not, select IAM authorization for deployment.

  • Other: The software package is deployed and published in the FunctionGraph of the Other in IAM authorization mode.

    You must select an authorized tenant for FunctionGraph deployment.

NOTE:

You are advised to configure the AK/SK of a member account with FunctionGraph operation permissions and not advised to configure the AK/SK of a tenant account.

IAM authorization

If the current user does not have the FunctionGraph operation permissions, you can use IAM to authorize the user.

Function

Functions created in FunctionGraph. For details, see FunctionGraph Usage Process.

Deployment source

The deployment source can be Artifact, Repo, or OBS.
  • Artifact: You can select a software package from Artifact. The software package can be in ZIP or JAR format and must meet FunctionGraph requirements. For details, see how to develop a function.
  • Repo: You can manage code repos after choosing Code > Repo.
  • OBS: You can directly enter the address of the software package uploaded to OBS.

Release New Version

New versions of FunctionGraph can be released. A function can have a maximum of 20 version numbers and each version number must be unique.

Action Control

You can configure whether to enable this setting.

  • Keep running on failure: whether to continue the task even if this action fails.

If Deployment source is set to Artifact or Repo, the maximum size of a code package is 50 MB. If the size of a code package exceeds 50 MB, you are advised to deploy the code package using OBS.