From cf7f5cd0273faa3f98b5d48e272e5fee227edd5a Mon Sep 17 00:00:00 2001 From: 12ww1160 Date: Fri, 12 Dec 2025 23:48:02 +0100 Subject: [PATCH] OP#253 add step to delete rpms from remote mirror --- Jenkinsfile | 1 + README.md | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index fd17c69..c564dba 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -178,6 +178,7 @@ pipeline { git branch -D development git branch -D jenkins-build-$BUILD_NUMBER git rm -f Jenkinsfile + git rm -f rpms/x86_64/*.rpm git commit --amend --no-edit --allow-empty git remote add master https://gitea.confdroid.com/confdroid/confdroid-prometheus-rpms.git git -c credential.helper="!f() { echo username=${GITEA_USER}; echo password=${GITEA_TOKEN}; }; f" \ diff --git a/README.md b/README.md index 17231e9..746b598 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,14 @@ This repository aims to provide prometheus RPMs based on the officially released tarballs for easier installations. Any credit for creating the source code etc. goes fully to the Prometheus Team, he we created only the rpms. ## Configuring the repo file + +The following repo config is required: +```bash +[gitea-confdroid-pm] +name=confdroid-prometheus +baseurl=https://gitea.confdroid.com/api/packages/confdroid/rpm +enabled=1 +gpgcheck=1 +gpgkey=https://gitea.confdroid.com/confdroid/confdroid-package-management/raw/branch/master/keys/RPM-GPG-KEY-public.asc +``` +