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: $CI_REGISTRY
repository: $CI_PROJECT_PATH
tag: $CI_COMMIT_SHA
imageCredentials:
registry: $CI_REGISTRY
username: $CI_REGISTRY_USER
password: $CI_REGISTRY_PASSWORD
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-shared/helm-ezplatform/charts/ibexa:v1.0.0"
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
Last update:
February 13, 2023