Skip to content

Gitpod integration

This guide helps you to setup gitpod. To get started coding with gitpod include the following file gitpod configuration in your repository and finally configure the required gitpod variables in your preferences.


  - name: Setup env
    before: |    
      source <(curl -s && gitpod_set_env
      gp sync-done env
  - name: Install
    before: |
      gp sync-await env
    init: |
      composer install
      gp sync-done install
  - name: Connect kubernetes
    command: |
      source <(curl -s && gitpod_connect_kubernetes
  - name: Encore
    before: |
      gp sync-await install
    command: |
      $(yarn bin)/encore dev-server --host --port 9000 --config-name ibexa --allowed-hosts --public https://9000-$GITPOD_WORKSPACE_ID.$GITPOD_WORKSPACE_CLUSTER_HOST
  - name: Start server
    before: |
      gp sync-await install
    command: |
      source <(curl -s && gitpod_s2i_run
    openMode: tab-after

  - port: 1-65535
    onOpen: ignore
  - port: 8080
    onOpen: open-browser

    - ms-azuretools.vscode-docker
    - ms-kubernetes-tools
    - bmewburn.vscode-intelephense-client
    - TheNouillet.symfony-vscode
    - mblode.twig-language-2
    - felixfbecker.php-debug

Gitpod variables

Name Required Encoding Description
HELM_RELEASE yes string Name of your HELM release
GITHUB_KEY yes string Auth for GitHub
KUBECONFIG_CONTENT yes string + base64 Your Kubernetes configuration file with access to your cluster
KUBERNETES_CONTEXT_OVERWRITE yes string Context to use from your Kubernetes configuration file
KUBERNETES_NAMESPACE_OVERWRITE yes string Namespace to use from your Kubernetes configuration file
INSTALLATION_ID yes string Your ibexa licence id
LICENCE_KEY yes string Your ibexa licence key
APP_ENV yes string You Symfony app environment
XDEBUG_MODE no string XDebug mode for debugging

Last update: February 13, 2023