Updated on 2024-09-04 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. Max 128 characters. Do not start or end with a space. Use letters, digits, spaces, and these special characters: -_,;:./().

Deployment Tenant

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

    Select Current tenant. The current tenant must have the FunctionGraph operation permission. If the current tenant does not have the FunctionGraph operation permission, select IAM authorization for deployment.

  • Other tenant: The software package is deployed and published in the FunctionGraph of another tenant 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.

Control Options

  • Enable this action.
  • 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.