Setup the Git Integration

Follow this guide to setup, install, and begin using the Git Integration in On Prem environments.

circle-info

For steps to deploy the Qodo app, see our Git documentation.

Prerequisites

Before deploying, ensure the following are in place:

  • Access to a Kubernetes cluster that can reach artif-reg-self-hosted.codium.ai

  • A node with at least 1 CPU and 10Gi memory

  • Helm v3 installed

  • kubectl CLI installed

Each provider (GitHub, Bitbucket, GitLab) requires:

  1. A tailored values.yaml

  2. Proper secrets configuration (.secrets.toml)

  3. External or locally created Kubernetes secrets


Github

  1. Create a values.yaml file: This example is using GKE(GCP k8s), ALB as ingress and GCP managed certificate.

2. Configure Qodo secrets: You can define either an external or local secret.

To define a local secret, run:

To define a .secret.toml file, check out the example below.

  • There's a section in the file for each LLM engine.

  • The Github section sets the app installment.

  • Config section: this config depends on what LLMs are available. You can reach Qodo Support to ensure you're configuring this section correctly.

  1. Deploy: Once the values.yaml file and the secrets are in place, you need to:

  • Pull the latest helm chart:

  • Deploy Qodo:


Bitbucket

  1. Create a values.yaml file: This example is using GKE(GCP k8s), ALB as ingress and GCP managed certificate.

    • The Ingress section must be updated with proper domain and certificate.

    • When using other cloud providers or native K8s, make sure to update Ingress values and External secrets or mount volumes.

2. Configure Qodo secrets: You can define either an external or local secret.

To define a local secret, run:

To define a .secret.toml file, check out the example below.

  • There's a section in the file for each LLM engine.

  • The Bitbucket section sets webhook secret, bearer token and Bitbucket URL.

  • Config section: this config depends on what LLMs are available. You can reach Qodo Support to ensure you're configuring this section correctly.

  1. Deploy: Once the values.yaml file and the secrets are in place, you need to:

  • Pull the latest helm chart:

  • Deploy Qodo:

Gitlab

  1. Create a values.yaml file: This example is using GKE(GCP k8s), ALB as ingress and GCP managed certificate.

    • The Ingress section must be updated with proper domain and certificate.

    • When using other cloud providers or native K8s, make sure to update Ingress values and External secrets or mount volumes.

  1. Configure Qodo secrets: You can define either an external or local secret.

To define a local secret, run:

To define a .secret.toml file, check out the example below.

  • There's a section in the file for each LLM engine.

  • The GitLab section sets the GitLab secret.

  • Config section: this config depends on what LLMs are available. You can reach Qodo Support to ensure you're configuring this section correctly.

  1. Deploy: Once the values.yaml file and the secrets are in place, you need to:

  • Pull the latest helm chart:

  • Deploy Qodo:

Last updated