-
Notifications
You must be signed in to change notification settings - Fork 38
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
CI: output fixes #102
CI: output fixes #102
Conversation
fredericlepied
commented
Dec 19, 2023
•
edited
Loading
edited
- sanity: capture the output for all the versions of Python for the summary
- ansible-lint: display the output of ansible-lint on the PR in the job detail view
- ansible-lint: use colors like in Sanity Check
- check-all-dependencies-are-merged: do not checkout the code
432b038
to
0969bdd
Compare
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 3m 29s |
ce4cf41
to
d0df895
Compare
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 3m 23s |
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 3m 28s |
Starting dci-check-change job. |
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 3m 26s |
|
I can answer about this one 😸
The output is different as it includes coloring in the step when ansible-lint is running, here: https://github.com/redhatci/ansible-collection-redhatci-ocp/actions/runs/7268748379/job/19805160605?pr=102#step:6:162 vs https://github.com/redhatci/ansible-collection-redhatci-ocp/actions/runs/7267875512/job/19802603666#step:6:44 The end result is, 1. Visually better output in the detailed step run and 2. Keep the markdown results clear (striping of ansi codes) hth |
I see, you want the colors to be displayed since it's changing a |
4ff6b29
to
3cdec7e
Compare
I'm removing the test commit added, since it was just for demo/test purpose 😺 here the link to the summary: https://github.com/redhatci/ansible-collection-redhatci-ocp/actions/runs/7268748379#summary-19805160605 |
I'm assuming the same 😄 I'm reviewing the change and providing a fix to make sure the ansi code does not get into the markdown for the summary.
I think the main difference is that the coloring in the step details helps for reading, the summary is well, a summary only :) |
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 3m 39s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, although I'd like someone else to review due to the changes I've introduced 😅
|
Agreed. Fixing the commit the message. It was too late yesterday ;-)
It is not the same as we do see the actual reports in the detail view if someone wants to fix them else we don't see anything. I did it like this to be consistent the Sanity test job. |
3cdec7e
to
90f0d63
Compare
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 3m 22s |
90f0d63
to
b237a66
Compare
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 3m 54s |
b237a66
to
9badcbc
Compare
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 3m 44s |
9badcbc
to
45c5e69
Compare
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 3m 26s |
45c5e69
to
6281407
Compare
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 3m 31s |
6281407
to
947fd30
Compare
Build failed. ❌ dci-rpm-build-el8 FAILURE in 1m 47s |
@fredericlepied can you rebase? that will trigger a rebuild anyway, seems like it was a temporary error |
947fd30
to
5b6454a
Compare
Build failed. ❌ dci-rpm-build-el8 MERGE_CONFLICT in 0s |
5b6454a
to
c736632
Compare
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 3m 36s |
c736632
to
537c722
Compare
Build failed. ✔️ dci-rpm-build-el8 SUCCESS in 3m 36s |
- sanity: capture the output for all the versions of Python for the summary - ansible-lint: display the output of ansible-lint on the PR in the job detail view - ansible-lint: use colors like in Sanity Check - check-all-dependencies-are-merged: do not checkout the code
Removes the ansi code before adding it to the GH step summary for a propoer reading
537c722
to
646540a
Compare
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 3m 40s |