]> git.ipfire.org Git - pakfire.git/commitdiff
jenkins: Try to master the Debian repository without a Docker container
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 4 Dec 2024 17:34:50 +0000 (17:34 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 5 Dec 2024 17:03:49 +0000 (17:03 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jenkinsfile

index e90fa61c21d1f03d83e37c51f59d93cadb31033a..6b4eb714fbf3d5e92cc704a3ee79f8f257e9ab76 100644 (file)
@@ -411,22 +411,9 @@ pipeline {
                                }
 
                                stage("Master Debian Repository") {
-                                       agent {
-                                               docker {
-                                                       image "debian:trixie"
-
-                                                       // Run as root inside the containers to install dependencies
-                                                       args "--privileged -u root"
-
-                                                       customWorkspace "${JOB_NAME}/${BUILD_ID}/update-debian-repo"
-                                               }
-                                       }
+                                       agent any
 
                                        steps {
-                                               // Install dependencies
-                                               sh "apt-get update"
-                                               sh "apt-get install -y apt-utils"
-
                                                // Unstash all stashed packages from the matrix build
                                                script {
                                                        for (distro in ["trixie", "bookworm"]) {
@@ -458,13 +445,6 @@ pipeline {
 
                                                // XXX This needs to be published on a mirror server somewhere
                                        }
-
-                                       // Cleanup the workspace afterwards
-                                       post {
-                                               always {
-                                                       cleanWs()
-                                               }
-                                       }
                                }
                        }
                }