From 26375ed4e8bb2d6c8cbe47fc359f17bcac0b02a5 Mon Sep 17 00:00:00 2001 From: Yossi Itigin Date: Tue, 7 Jul 2020 14:52:33 +0300 Subject: [PATCH 1/3] CI: Check for warnings from rpmbuild --- buildlib/azure-pipelines-pr.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/buildlib/azure-pipelines-pr.yml b/buildlib/azure-pipelines-pr.yml index e27d2ad1698..b261931c5e9 100644 --- a/buildlib/azure-pipelines-pr.yml +++ b/buildlib/azure-pipelines-pr.yml @@ -131,7 +131,7 @@ stages: # Test RPM build - job: build_rpm - displayName: build tarball and source rpm + displayName: Build tarball and source rpm container: fedora steps: - checkout: self @@ -144,8 +144,15 @@ stages: set -eE gcc --version ./contrib/configure-release - ./contrib/buildrpm.sh -s -t -b - displayName: Build tarball + stdbuf -e0 -o0 ./contrib/buildrpm.sh -s -t -b |& tee rpmbuild.log + pattern='^warning: ' + if grep -q "$pattern" rpmbuild.log; then + echo "rpm build generated warnings:" + grep "$pattern" rpmbuild.log + echo "##vso[task.logissue type=error]rpm build generated warnings" + echo "##vso[task.complete result=Failed;]" + fi + displayName: Configure source and build RPM - stage: Tests dependsOn: [Codestyle] From b1abf9eb073d1648e5e129d8f56471a9d931ab9f Mon Sep 17 00:00:00 2001 From: Yossi Itigin Date: Tue, 7 Jul 2020 15:49:38 +0300 Subject: [PATCH 2/3] SPEC: Fix changelog day-of-week --- ucx.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ucx.spec.in b/ucx.spec.in index 8ce6ac9a607..4edc1b20abc 100644 --- a/ucx.spec.in +++ b/ucx.spec.in @@ -300,7 +300,7 @@ process to map the memory of another process into its virtual address space. %changelog -* Thu Jul 1 2020 Yossi Itigin 1.8.1-1 +* Wed Jul 1 2020 Yossi Itigin 1.8.1-1 - Bump version to 1.8.1 * Sun Sep 22 2019 Yossi Itigin 1.8.0-1 - Bump version to 1.8.0 From 9f0765575f6e25ef9bd8c83d2702e0eff2b45f58 Mon Sep 17 00:00:00 2001 From: Yossi Itigin Date: Tue, 7 Jul 2020 17:23:57 +0300 Subject: [PATCH 3/3] NEWS: Update release version to v1.8.1-rc4 --- NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 660bdb778ba..12bd66c515e 100644 --- a/NEWS +++ b/NEWS @@ -7,7 +7,7 @@ ## # -## 1.8.1-RC2 (July 2, 2020) +## 1.8.1-rc4 (July 7, 2020) ### Features: - Added binary release pipeline in Azure CI