Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SPEC changelog, and check for warnings from rpmbuild - v1.8.x #5370

Merged

Conversation

yosefe
Copy link
Contributor

@yosefe yosefe commented Jul 7, 2020

No description provided.

container: fedora
steps:
- checkout: self
clean: true

- bash: ./autogen.sh
- bash: ./autogen.shq
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shq?

@yosefe yosefe force-pushed the topic/ci-check-for-warnings-from-rpmbuild branch from 226b6f8 to 26375ed Compare July 7, 2020 12:33
@yosefe yosefe changed the title CI: Check for warnings from rpmbuild CI: Check for warnings from rpmbuild - v1.8.x Jul 7, 2020
@yosefe yosefe changed the title CI: Check for warnings from rpmbuild - v1.8.x Fix SPEC changelog, and check for warnings from rpmbuild - v1.8.x Jul 7, 2020
./contrib/buildrpm.sh -s -t -b
displayName: Build tarball
stdbuf -e0 -o0 ./contrib/buildrpm.sh -s -t -b |& tee rpmbuild.log
pattern='^warning: '
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i dont think pattern ^warning: is correct, it searches from col #1 of str, while warning: in log file prefixed with file:line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the log file does not have timestamp prefix (only AZP adds it later)
i any case, i've tested that when SPEC is wrong, it finds it: https://github.com/openucx/ucx/runs/845557002

@shamisp
Copy link
Contributor

shamisp commented Jul 7, 2020

👍

@yosefe yosefe merged commit 7a25cf2 into openucx:v1.8.x Jul 7, 2020
@yosefe yosefe deleted the topic/ci-check-for-warnings-from-rpmbuild branch July 7, 2020 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants