Skip to content

Commit

Permalink
Merge pull request #5370 from yosefe/topic/ci-check-for-warnings-from…
Browse files Browse the repository at this point in the history
…-rpmbuild

Fix SPEC changelog, and check for warnings from rpmbuild - v1.8.x
  • Loading branch information
yosefe authored Jul 7, 2020
2 parents 6e56c21 + 9f07655 commit 7a25cf2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
13 changes: 10 additions & 3 deletions buildlib/azure-pipelines-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion ucx.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ process to map the memory of another process into its virtual address space.


%changelog
* Thu Jul 1 2020 Yossi Itigin <yosefe@mellanox.com> 1.8.1-1
* Wed Jul 1 2020 Yossi Itigin <yosefe@mellanox.com> 1.8.1-1
- Bump version to 1.8.1
* Sun Sep 22 2019 Yossi Itigin <yosefe@mellanox.com> 1.8.0-1
- Bump version to 1.8.0
Expand Down

0 comments on commit 7a25cf2

Please sign in to comment.