LogoLogo
PipekitPricingBlogPipekit StatusRelease Notes
  • Introduction
  • Getting Started
  • CLI
    • Cron Workflows
  • Pipekit Agent
    • Helm Install
  • Pipekit
    • Authentication
      • Okta
    • Runs
    • Pipes
      • Managing Pipes
        • Run Conditions
        • Secrets
        • Alerting
      • Pipe Runs
        • Run Graph (DAG)
        • Pod Logs
        • Workflow Logs
        • Workflow YAML
      • Cron Workflows
      • Externally Triggered Workflows
    • Metrics
    • Templates
    • Clusters
    • Organization
      • Creating an Organization
      • Managing Users
      • Managing Alert Providers
      • Settings
      • Permissions
  • Python SDK
    • Jupyter Notebooks
    • Python Scripts
  • Self-Hosting Pipekit
    • Dependencies and Pre-requisites
    • Container Images
    • Kubernetes Permissions
    • Self-Hosted Pipekit Helm Chart
    • License Key
    • Initial Login and Break Glass Account
    • Integrating with your Git Provider
    • Configuring SSO
  • Additional Information
    • Free Trial Cluster
  • REST API
Powered by GitBook
On this page
  • GitHub
  • GitLab
  • BitBucket Data Center
  • Next Steps
  • Populating the repository cache in Pipekit
  1. Self-Hosting Pipekit

Integrating with your Git Provider

Integrating with a Git provider such as GitHub, or GitLab

Last updated 2 months ago

Pipekit integrates with Git providers such as GitHub and GitLab to provide a seamless GitOps experience for your users. This guide will walk you through the steps to integrate them with Pipekit.

These examples assume you are self-hosting Pipekit on the subdomain pipekit.example.com. Replace this with your actual domain.

GitHub

  1. Go to replacing example with your github organization.

  2. Click on "New GitHub App"

  3. Fill in the details:

    • GitHub App name: [Choose a unique App name]

    • Homepage URL:

    • Callback URL:

    • Add a second Callback URL:

      • Tick "Request user authorization (OAuth) during installation"

    • Webhook URL:

    • Repository permissions:

      • Administration: Read & Write

      • Checks: Read & Write

      • Contents: Read & Write

      • Deployments: Read & Write

      • Pull requests: Read & Write

      • Webhooks: Read & Write

    • Subscribe to events:

      • Create

      • Pull request

      • Push

      • Repository

  4. Click "Create GitHub App"

  5. Generate a private key and download it as prompted.

  6. Note down the App name, App ID, Client ID and generate a new Client Secret.

  7. Populate the with the collected information and install Pipekit.

  8. Install Pipekit and log in with .

  9. Create an organization and cluster. Go back to the organization and click settings and then press the GitHub button to authenticate the Org with GitHub.

  10. Install the Github App into the repo(s) you wish Pipekit to interact with.

GitLab

  1. Go to your Organization settings in Pipekit and click on "GitLab" to authenticate your Organization with GitLab.

  2. Enter a PAT that has the following scopes:

  • api

  • read_user

  • read_repository

  1. Choose a random string for the gitProviders.gitlab.webhookSecret and apply it to the Helm chart values. This will be used to automatically create a webhook in GitLab to post events to Pipekit.

BitBucket Data Center

  1. Ensure a secure gitProviders.bitbucket.webhookSecret is set. This is used to automatically create webhooks in BitBucket to notify Pipekit.

  2. Go to your Organization settings in Pipekit and click on "BitBucket Data Center" to authenticate your Organization with GitLab.

  3. Enter your HTTP access token that has the following rights:

  • PROJECT_READ

  • REPO_ADMIN

Next Steps

You have now successfully integrated your git provider with your Organization. This will allow you to use a number of Pipekit's features:

Populating the repository cache in Pipekit

If you enable a Git Provider, a Kubernetes cron job will be installed into the cluster that will run every night to query your git provider for an updated list of Pipekit-accessible repositories and store them in the Pipekit database. This is done to ensure that Pipekit has the most up-to-date list of repositories to work with and prevents excessive API calls to your git provider.

Enable gitProviders.gitlab.enabled in the to configure Pipekit to use GitLab.

Enable gitProviders.bitbucket.enabled in the to configure Pipekit to use BitBucket.

If you haven't done so, continue to and then to start using Pipekit.

that run Workflows stored in your Git repositories.

Create and manage Pipes that use to trigger Workflows on GitHub events.

The features of Pipekit.

Manage

Manage through GitOps.

https://github.com/organizations/example/settings/apps
https://pipekit.example.com
https://pipekit.example.com/accounts/github
https://pipekit.example.com/api/id/v1/sso/github/callback
https://pipekit.example.com/api/events-handler/v1/events/github
Helm Chart Values
the Break Glass User account
Helm Chart Values
Helm Chart Values
create a cluster
create a pipe
Create Pipes
Run Conditions
WorkflowTemplates
Namespace Permissions
Workflow Priorities