[OS-BUILD PATCHv3 7/7] redhat/self-tests: Ignore RHGITURL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Prarit Bhargava <prarit@xxxxxxxxxx>

redhat/self-tests: Ignore RHGITURL

While testing, dzickus noticed that his RHGITURL was different from the
RHGITURL in the default data.  This is because RHGITURL is dependent on
the user's local git configuration and therefore cannot be guaranteed to
be unique across all users.

Ignore RHGITURL from the data set.

Reported-by: Don Zickus <dzickus@xxxxxxxxxx>
Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>

diff --git a/redhat/self-test/data/centos-2585cf9dfaad.el7 b/redhat/self-test/data/centos-2585cf9dfaad.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/centos-2585cf9dfaad.el7
+++ b/redhat/self-test/data/centos-2585cf9dfaad.el7
@@ -95,7 +95,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/centos-2585cf9dfaad.fc25 b/redhat/self-test/data/centos-2585cf9dfaad.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/centos-2585cf9dfaad.fc25
+++ b/redhat/self-test/data/centos-2585cf9dfaad.fc25
@@ -95,7 +95,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/centos-78e36f3b0dae.el7 b/redhat/self-test/data/centos-78e36f3b0dae.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/centos-78e36f3b0dae.el7
+++ b/redhat/self-test/data/centos-78e36f3b0dae.el7
@@ -95,7 +95,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/centos-78e36f3b0dae.fc25 b/redhat/self-test/data/centos-78e36f3b0dae.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/centos-78e36f3b0dae.fc25
+++ b/redhat/self-test/data/centos-78e36f3b0dae.fc25
@@ -95,7 +95,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/centos-df0cc57e057f.el7 b/redhat/self-test/data/centos-df0cc57e057f.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/centos-df0cc57e057f.el7
+++ b/redhat/self-test/data/centos-df0cc57e057f.el7
@@ -95,7 +95,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/centos-df0cc57e057f.fc25 b/redhat/self-test/data/centos-df0cc57e057f.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/centos-df0cc57e057f.fc25
+++ b/redhat/self-test/data/centos-df0cc57e057f.fc25
@@ -95,7 +95,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/centos-fce15c45d3fb.el7 b/redhat/self-test/data/centos-fce15c45d3fb.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/centos-fce15c45d3fb.el7
+++ b/redhat/self-test/data/centos-fce15c45d3fb.el7
@@ -95,7 +95,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/centos-fce15c45d3fb.fc25 b/redhat/self-test/data/centos-fce15c45d3fb.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/centos-fce15c45d3fb.fc25
+++ b/redhat/self-test/data/centos-fce15c45d3fb.fc25
@@ -95,7 +95,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/create-data.sh b/redhat/self-test/data/create-data.sh
index blahblah..blahblah 100755
--- a/redhat/self-test/data/create-data.sh
+++ b/redhat/self-test/data/create-data.sh
@@ -37,6 +37,7 @@ do
 			cat Makefile.variables | grep -v "^#" | sed '/^$/d' | tr -d " " | awk -F "?=|:=" '{print $1}' | while read VAR
 			do
 				[ "$VAR" == "RHDISTDATADIR" ] && continue
+				[ "$VAR" == "RHGITURL" ] && continue
 				echo "$VAR=$(echo ${!VAR})"
 			done >> "${varfilename}"
 
diff --git a/redhat/self-test/data/fedora-2585cf9dfaad.el7 b/redhat/self-test/data/fedora-2585cf9dfaad.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/fedora-2585cf9dfaad.el7
+++ b/redhat/self-test/data/fedora-2585cf9dfaad.el7
@@ -93,7 +93,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/fedora-2585cf9dfaad.fc25 b/redhat/self-test/data/fedora-2585cf9dfaad.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/fedora-2585cf9dfaad.fc25
+++ b/redhat/self-test/data/fedora-2585cf9dfaad.fc25
@@ -93,7 +93,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/fedora-78e36f3b0dae.el7 b/redhat/self-test/data/fedora-78e36f3b0dae.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/fedora-78e36f3b0dae.el7
+++ b/redhat/self-test/data/fedora-78e36f3b0dae.el7
@@ -93,7 +93,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/fedora-78e36f3b0dae.fc25 b/redhat/self-test/data/fedora-78e36f3b0dae.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/fedora-78e36f3b0dae.fc25
+++ b/redhat/self-test/data/fedora-78e36f3b0dae.fc25
@@ -93,7 +93,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/fedora-df0cc57e057f.el7 b/redhat/self-test/data/fedora-df0cc57e057f.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/fedora-df0cc57e057f.el7
+++ b/redhat/self-test/data/fedora-df0cc57e057f.el7
@@ -93,7 +93,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/fedora-df0cc57e057f.fc25 b/redhat/self-test/data/fedora-df0cc57e057f.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/fedora-df0cc57e057f.fc25
+++ b/redhat/self-test/data/fedora-df0cc57e057f.fc25
@@ -93,7 +93,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/fedora-fce15c45d3fb.el7 b/redhat/self-test/data/fedora-fce15c45d3fb.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/fedora-fce15c45d3fb.el7
+++ b/redhat/self-test/data/fedora-fce15c45d3fb.el7
@@ -93,7 +93,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/fedora-fce15c45d3fb.fc25 b/redhat/self-test/data/fedora-fce15c45d3fb.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/fedora-fce15c45d3fb.fc25
+++ b/redhat/self-test/data/fedora-fce15c45d3fb.fc25
@@ -93,7 +93,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/rhel-2585cf9dfaad.el7 b/redhat/self-test/data/rhel-2585cf9dfaad.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/rhel-2585cf9dfaad.el7
+++ b/redhat/self-test/data/rhel-2585cf9dfaad.el7
@@ -93,7 +93,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/rhel-2585cf9dfaad.fc25 b/redhat/self-test/data/rhel-2585cf9dfaad.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/rhel-2585cf9dfaad.fc25
+++ b/redhat/self-test/data/rhel-2585cf9dfaad.fc25
@@ -93,7 +93,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=
diff --git a/redhat/self-test/data/rhel-78e36f3b0dae.el7 b/redhat/self-test/data/rhel-78e36f3b0dae.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/rhel-78e36f3b0dae.el7
+++ b/redhat/self-test/data/rhel-78e36f3b0dae.el7
@@ -93,7 +93,6 @@ BUILD_PROFILE=
 BUILD_FLAGS=
 BUILD=6
 PREBUILD_GIT_ONLY=1
-RHGITURL=git@xxxxxxxxxx:cki-project/kernel-ark.git
 RHGITCOMMIT=HEAD
 RHJOBS=1
 NO_CONFIGCHECKS=

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1706
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux