Re: [Freeipa-devel] [PATCH 0003] freeipa-ci: Remove freeipa packages before distro-sync in build

2014-05-13 Thread Petr Viktorin

On 05/07/2014 03:05 PM, Tomas Babej wrote:

Hi,

this fixes the problem on builders, which do distro-sync while having
freeipa packages present from previous build run.

This causes unnecessary downgrades., which may result into failures (as
now with the smartproxy pushed).


I've put the 'freeipa-*' in quotes to prevent nasty surprises if there's 
a freeipa-* file around, and pushed.



Commit e04ddf40c1b3e95c4601393bcca40ed55c1cf27b
Pull from https://github.com/encukou/freeipa-ci

--
PetrĀ³

From e04ddf40c1b3e95c4601393bcca40ed55c1cf27b Mon Sep 17 00:00:00 2001
From: Tomas Babej 
Date: Wed, 7 May 2014 15:00:55 +0200
Subject: [PATCH] Remove freeipa packages before distro-sync in build

---
 jenkins-job-builder/freeipa-jobs.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/jenkins-job-builder/freeipa-jobs.yaml b/jenkins-job-builder/freeipa-jobs.yaml
index 7fbdf12..7d6302d 100644
--- a/jenkins-job-builder/freeipa-jobs.yaml
+++ b/jenkins-job-builder/freeipa-jobs.yaml
@@ -56,6 +56,7 @@
 DEPS="$DEPS redhat-rpm-config rpm-build sed shadow-utils tar unzip"
 DEPS="$DEPS util-linux which xz"
 # install all the RPMs
+sudo yum erase -y 'freeipa-*'
 sudo yum distro-sync -y --enablerepo updates-testing
 sudo yum install -y rpm-build $DEPS --enablerepo updates-testing
 - shell: "rpm -qa | sort"
-- 
1.9.0

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

[Freeipa-devel] [PATCH 0003] freeipa-ci: Remove freeipa packages before distro-sync in build

2014-05-07 Thread Tomas Babej
Hi,

this fixes the problem on builders, which do distro-sync while having
freeipa packages present from previous build run.

This causes unnecessary downgrades., which may result into failures (as
now with the smartproxy pushed).

-- 
Tomas Babej
Associate Software Engineer | Red Hat | Identity Management
RHCE | Brno Site | IRC: tbabej | freeipa.org 

>From 04e8a3d05bb3afe2c0ddd909af12383e40fb1f2e Mon Sep 17 00:00:00 2001
From: Tomas Babej 
Date: Wed, 7 May 2014 15:00:55 +0200
Subject: [PATCH] Remove freeipa packages before distro-sync in build

---
 jenkins-job-builder/freeipa-jobs.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/jenkins-job-builder/freeipa-jobs.yaml b/jenkins-job-builder/freeipa-jobs.yaml
index 69bb7913d9c1f668d2e699e4cc38dd8ca9de1d0e..6208a9faff13a557364ba08d1df32d26edc9 100644
--- a/jenkins-job-builder/freeipa-jobs.yaml
+++ b/jenkins-job-builder/freeipa-jobs.yaml
@@ -56,6 +56,7 @@
 DEPS="$DEPS redhat-rpm-config rpm-build sed shadow-utils tar unzip"
 DEPS="$DEPS util-linux which xz"
 # install all the RPMs
+sudo yum erase -y freeipa-*
 sudo yum distro-sync -y --enablerepo updates-testing
 sudo yum install -y rpm-build $DEPS --enablerepo updates-testing
 - shell: "rpm -qa | sort"
-- 
1.8.5.3

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel