Skip to the content.

Upload/Deploy with FlashPipe on GitHub Actions

The page describes the steps to set up FlashPipe on GitHub Actions.

Note: GitHub repository syncing from tenant can also be used in place of steps 1 and 2.

1. Download and extract content of Integration Flow

Download the content of the Integration Flow from the Cloud Integration tenant. Download

Extract the content of the downloaded ZIP file Content

2. Add content to Git repository

Add the contents to a new or existing Git repository. Git

3. Add GitHub Actions workflow YAML

Add a GitHub Actions workflow YAML file (<workflow-name>.yml) in the .github/workflows directory of the Git repository.

FlashPipe comes with companion GitHub Action engswee/flashpipe-action that simplifies usage in a workflow. The following actions are used in the workflow:

Template YAML with steps to create/update and deploy one integration artifact

Where:

Example (using OAuth authentication for Cloud Foundry)

4. Create secrets in GitHub repository

Sensitive information can be stored securely on GitHub using encrypted secrets. These can then be passed to the pipeline steps as environment variables. For FlashPipe, we will use these to securely store the details to access the Cloud Integration tenant.

In the GitHub repository, go to Settings > Secrets to create new repository secrets as shown below. Secrets Setting

Basic Authentication

Create the following repository secrets.

  1. DEV_USER_ID - user ID for Cloud Integration
  2. DEV_PASSWORD - password for above user ID Basic Secrets

OAuth Authentication

Create the following repository secrets. Refer to OAuth client setup page for details on setting up the OAuth client for usage with FlashPipe.

  1. DEV_CLIENT_ID - OAuth client ID
  2. DEV_CLIENT_SECRET - OAuth client secret OAuth Secrets

Note: GitHub does not provide functionality to store unencrypted plain text variables, which would be useful for values like the base URLs. Optionally, these can be stored as encrypted secrets instead of being hardcoded in the YAML configuration file.

5. Commit/push the workflow YAML, and check pipeline run

Once all is in place, commit/push the workflow YAML. This will automatically trigger the workflow to be executed, you can monitor its execution and job logs. Go to Actions to view the workflows. Monitor

Upon completion of the run, you can review the logs, and also check the artifact (designtime and runtime) in the Cloud Integration tenant. Monitor