Skip to content

GitLab

The company GitLab instance for code management, CI/CD, and DevOps.

Access

URL: https://gitlab.etnetera.cz Sign-in: company Google account SSO (or SSH key)

Group Structure

etnetera/
├── backend/       # Backend projects
├── frontend/      # Frontend projects
├── infrastructure/# Terraform, Ansible, Helm
├── it/            # IT tools and documentation
└── shared/        # Shared libraries and utilities

CI/CD

All projects have a .gitlab-ci.yml with automatic:

  • Linting — code style checks
  • Build — application build
  • Test — test suite execution
  • Deploy — deployment (only main and develop)

Environment Variables

Store sensitive values (API keys, passwords) in Settings → CI/CD → Variables, not in code.

ScopeDescription
ProtectedProtected branches only
MaskedHidden in job logs

Container Registry

The company Docker registry is part of GitLab:

bash
docker login registry.etnetera.cz
docker build -t registry.etnetera.cz/backend/my-app:latest .
docker push registry.etnetera.cz/backend/my-app:latest

Merge Requests

See Git Workflow for full rules.

Quick summary:

  • At least 1 approver from the team
  • CI must be green
  • All conversations must be resolved
  • Squash merge is recommended for feature branches

Package Registry

Shared npm packages, Maven artifacts, and more are available via the GitLab Package Registry of each project.

bash
# npm
npm install --registry https://gitlab.etnetera.cz/api/v4/projects/123/packages/npm/

INFO

To be added to a new group or project, contact IT via #it-help.

Etnetera a.s. — IT Team