A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.oracle.com/en-us/iaas/Content/devops/using/invoke_function.htm below:

Invoke Function

  1. Open the navigation menu and click Developer Services. Under DevOps, click Projects.
  2. Select a project and a pipeline associated with that project.
  3. To add the Integrations stage sequentially or in parallel, click the + icon and select Add stage.
  4. Select Integrations - Invoke Function, and then click Next.
  5. Enter a name and description for the stage. Adding a description is optional.
  6. For Environment, select an existing function to invoke.

    The read-only Function name field displays the function that is called in the pipeline.

  7. (Optional) To select and add artifacts to the stage, click Select Artifact.

    Select an existing artifact resource from your DevOps project. The artifact must be generic (universal) file type. Parameters in the artifact must be in JSON format and can have placeholders. You must select the Allow parameterization check box when configuring the DevOps artifact resource to substitute the placeholders with the argument value during deployment. For more information, see Configuring Parameters.

    Here's an example of the generic artifact content to pass two user-defined parameters and their values:

  8. For Stage run mode, select to run asynchronously or synchronously.

    If you select Run asynchronously, the service invokes the function but does not wait for the function to complete. On selecting Run synchronously, the service invokes the function and waits for the function to complete.

  9. Select to disable or enable validation.

    If the validation is enabled, then the service verifies the return value of the function. The return value is a UTF-8 string literal, true or false. If the return value is true, then the stage is marked as Succeeded, otherwise the stage is marked as Failed.

    If the validation is disabled, then the service does not verify the return value.

    Validation occurs only if you have selected the option "Run synchronously" for stage run mode.

  10. (Optional) To add tags to the pipeline, click Show tagging options. Tagging is a metadata system that lets you organize and track the resources in your tenancy.

    If you have permissions to create a resource, you also have permissions to add free-form tags to that resource.

    To add a defined tag, you must have permissions to use the tag namespace.

    For more information, see Resource Tags.

  11. To add the Integrations stage to the pipeline, click Add.
To deploy the build output to the target environment, run the deployment pipeline.

To automatically trigger a deployment from the build pipeline, you can add a Trigger Deployment stage to the build pipeline.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4