gitlab
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| gitlab [2025/09/11 09:43] – [Switch to buildx in .gitlab-ci.yml] baumi | gitlab [2026/10/03 11:33] (current) – [Check Pipelines] baumi | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Gitlab ====== | ====== Gitlab ====== | ||
| - | ===== Multiplattform Build ===== | + | ===== Query Gitlab Database ===== |
| + | <code bash> | ||
| + | # Interactivly | ||
| + | gitlab-sql | ||
| + | # Query on Command line | ||
| + | gitlab-sql -c "< | ||
| + | </ | ||
| + | |||
| + | ==== Check Background Migrations from CLI ==== | ||
| + | <code sql> | ||
| + | SELECT job_class_name | ||
| + | , table_name | ||
| + | , column_name | ||
| + | , job_arguments | ||
| + | FROM batched_background_migrations | ||
| + | WHERE status NOT IN(3, 6); | ||
| + | </ | ||
| + | |||
| + | ==== Check Pipelines ==== | ||
| + | <code sql> | ||
| + | SELECT | ||
| + | p.id as pipeline_id, | ||
| + | pr.name as project_name, | ||
| + | pr.path as project_path, | ||
| + | p.ref, | ||
| + | p.status, | ||
| + | p.started_at | ||
| + | FROM | ||
| + | p_ci_pipelines p | ||
| + | JOIN | ||
| + | projects pr ON p.project_id = pr.id | ||
| + | -- WHERE p.status IN (' | ||
| + | ORDER BY | ||
| + | p.started_at DESC; | ||
| + | </ | ||
| + | ===== Garbage Collection Container Registry ===== | ||
| + | < | ||
| + | gitlab-ctl registry-garbage-collect -m | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ===== CI/CD Multiplattform Build ===== | ||
| ==== Enable Binary Formats ==== | ==== Enable Binary Formats ==== | ||
| <code bash> | <code bash> | ||
gitlab.1757576603.txt.gz · Last modified: by baumi
