Skip to main content

Source Configuration

This guide provides clear instructions on configuring the source stage of your build pipeline. It includes setting up your Git repository, defining branch preferences, and scheduling automated builds.

Description of the image

Step 1: Navigate to Workflow Configuration

  • Go to the Workflow Details page.
  • Click on Source (Dev) in the pipeline diagram to start configuring the source settings.

Step 2: Configure the Source Details

  • The Configure Source panel will open on the right side of your screen.
  • Select the application source type based on your setup:

Git Repo: Choose this option if your source code is stored in a Git repository.
Container Registry: Select this if you already have a Docker image for your application service

Step 3: Git Source Setup

  • Under Git Source, select your Git hosting service from the available options.
  • If you are editing an existing workflow associated with a deployed environment, these details may already be pre-filled.

Step 4: Repository Selection

  • Repo: Under Repo, select the specific repository containing your application code.
    • Example: Select your repository such as your-repo.

Step 5: Branch Configuration

  • Branch Configure: Under Branch Configure, choose the specific branch or tag that the pipeline will use for building:
    • Branch: Select a specific branch directly (e.g., main).
    • Tag: Specify a particular tag to use for builds.
    • Pull Request: Set the pipeline to trigger automatically upon pull requests.
    • Wildcard branch: Define patterns using wildcards.
    • Example: main, release/*
    • Schedule: Configure builds to trigger at specific times or intervals.

Step 6: Build Type Selection

Choose your preferred Build Type:

  • Automatic: Builds are triggered automatically based on events like commits or pull requests.
  • Manual: Builds must be initiated manually by a user.

Step 7: Save the Configuration

  • Click the Save button at the bottom of the panel to apply and finalize your source configuration.

This structured approach ensures that your pipeline configuration is accurate and tailored to your project's specific needs.