Launch workflow templates

Use the Orchestrator software templates to generate a project that includes workflow definitions, Kustomize configurations, and CI/CD pipelines.

Before you begin

  • You have installed orchestrator-software-templates-infra and orchestrator-software-templates Helm charts to enable templates.
  • You have installed RHDH and the Orchestrator plugin by using the Helm chart.
  • You have a Quay.io organization and repository for storing the workflow images.
  • You have a GitHub or Gitlab personal access token with repository creation permissions.
  • You have configured a GitOps secret for the target cluster.
  • You have set the target namespace for both the pipeline and the workflow to the rhdh namespace.

Procedure

  1. Prepare the image registry. Before creating the template, configure the target repository in Quay.io.
    1. Log in to your Quay.io organization (for example, orchestrator-testing).
    2. Create a new repository (for example, serverless-workflow-demo).
    3. Add robot account permissions to the repository settings.
  2. Open the Red Hat Developer Hub Catalog.

    Product catalog

  3. Select the Basic workflow bootstrap project template and click Launch Template.
  4. Follow the template form to enter required details, including the GitHub organization, source code repository name, and a unique Workflow ID.
  5. For the CI/CD method, select Tekton with Argo CD to generate GitOps resources.
  6. Set the Workflow Namespace to rhdh and the GitOps Namespace to orchestrator-gitops.
  7. Enter your Quay.io registry details.
  8. Click Review, then click Create.

    Basic workflow bootstrap template form

  9. Optional: Enable persistence and provide database connection details if the workflow requires a database schema.

Results

  • The system creates the following repositories:
    • Source code repository: Contains the serverless workflow project.
    • GitOps repository: Contains GitOps configurations, Tekton pipeline templates, and bootstrap instructions.