From 0e7394c0d9ddbc337bb36fc108c8d626764be956 Mon Sep 17 00:00:00 2001
From: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
Date: Thu, 24 Apr 2025 21:52:30 +0200
Subject: [PATCH] .gitlab-ci.yml: reprepro job must extend .setup to populate
 ./repo directory

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 098ff8b..2e2a942 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -353,6 +353,7 @@ build_qcacld:
 
 reprepro:
   stage: reprepro
+  extends: .setup
   tags:
     - arm64
   dependencies:
@@ -375,7 +376,6 @@ reprepro:
     set -x
     apt-get update -o Acquire::AllowReleaseInfoChange=true -o quiet::ReleaseInfoChange=true
     apt-get --no-install-recommends -y install reprepro python3 devscripts
-    adduser --comment build --disabled-password build
     runuser -u build -- sh -x ./reprepro.sh
     {
       echo "CI_PROJECT_NAMESPACE=\"$CI_PROJECT_NAMESPACE\"";
-- 
GitLab