Skip to content

Quick start a new Ibexa project

Enter the console of your frontend pod.

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"
git init --initial-branch=main
git remote add origin git@gitlab.com:myproject/myproject.git https://gituser:gitpassword@domain.xxx

git add .
git commit -m "Initial commit"
git push -u origin main

Create a deploy token gitlab+deploy-token for your registry and give it read_registry permissions for GitLab or GitHub .

Create the file deploy/test.yaml with the contents of your values.yaml.

global:
  routes:
    frontend:
    - www.ibexa.dev.xrow.net

image:
  registry: registry.gitlab.com
  repository: xrow-shared/helm-ezplatform
  tag: 3.8.3

imageCredentials:
  registry: registry.gitlab.com
  username: gitlab-ci-token
  password: glcbt-66_6cz-QE3x5_xFPhxm8FHB

Create the file .gitlab-ci.yml to configure your pipeline.

include:
  - remote: "https://gitlab.com/xrow-public/ci-tools/raw/3.0/.gitlab-s2i-php.yml"

variables:
  CI_PROJECT_NAME_OVERRIDE: "ibexa"
  CODE_QUALITY_DISABLED: "0"
  CHART: "registry.gitlab.com/xrow-public/repository/charts/ibexa:3.8.3"

test:deploy:
  extends: .template:deploy
  variables:
    KUBERNETES_CONTEXT_OVERWRITE: 06.xrow.net
    KUBERNETES_NAMESPACE_OVERWRITE: ibexa-test
    DEPLOY_ACTION: always
  environment:
    name: test
    url: https://www.ibexa.dev.xrow.net