Updated on 2024-04-29 GMT+08:00

Releasing a Script Task

In enterprise mode, when a developer submits a script version, the system generates a script release task. After the developer confirms releasing a package and the admin, deployer, a user with the DAYU Administrator or Tenant Administrator permission approves the package release request, the modified script is synchronized to the production environment.

  • If the admin imported a submitted script, a release task will be generated.
  • If the admin imported a released script, no release task will be generated.

Prerequisites

You have submitted a version. For details, see Submitting a Version.

Procedure

  1. On the DataArts Studio console, locate a workspace and click DataArts Factory.
  2. In the left navigation pane, choose Data Development > Task Release.
  3. On the Tasks page, the tasks generated for version submission are displayed. You can click View in the Operation column to view the modifications of a script compared with its previous version. After confirming that the modifications are correct, click Release to release the task.

    You can filter tasks by name or submitter, and perform fuzzy search using a task name.
    • If you have only the developer permission, the script will be synchronized to the production environment only when the task is approved by the admin or deployer.
    • After clicking Release, set the reviewer. The reviewer must be a workspace admin, deployer, or a user with the DAYU Administrator or Tenant Administrator permission. Set at least one reviewer and do not set yourself as the reviewer. Click Reviewer Information to go to the Workspaces page. Click Edit to configure reviewers.
    • You can release a maximum of 100 tasks at a time. The tasks are released asynchronously. You can view the task release process.
    • You can revoke tasks not to be released as a developer, deployer, or admin.
    Figure 1 Clicking Release

  4. After the task is released, you can view the release status of the task on the Packages tab page. After approved, the task is released successfully.

    You can filter packages by Applicant, Application Time, Release At, or Released By, and perform fuzzy search using a package name.
    Figure 2 Viewing the task status

    You can revoke tasks not to be released as a developer, deployer, or admin.

    After the task is released, you can click View Details in the Operation column to view the release status and startup status of the task. You can also click Compare Version in the Operation column to view the differences between different versions of release packages.

    Figure 3 Viewing release package details