User Tools

Site Tools


gitlab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gitlab [2025/09/11 09:43] – [Switch to buildx in .gitlab-ci.yml] baumigitlab [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 "<sql>" 
 +</code> 
 + 
 +==== 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); 
 +</code> 
 + 
 +==== 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 ('pending', 'running') 
 +ORDER BY  
 +    p.started_at DESC; 
 +</code> 
 +===== Garbage Collection Container Registry ===== 
 +<code> 
 +gitlab-ctl registry-garbage-collect -m 
 +</code> 
 + 
 + 
 + 
 +===== CI/CD Multiplattform Build =====
 ==== Enable Binary Formats ==== ==== Enable Binary Formats ====
 <code bash> <code bash>
Line 46: Line 88:
  
  
 +{{tag>kb git}}
  
gitlab.1757576580.txt.gz · Last modified: by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki