Compare commits

...

5 commits

Author SHA1 Message Date
John Wadleigh
397049cd26
Merge 3abd029b9f into 719f7dfebf 2023-11-24 11:32:51 -07:00
softwarefactory-project-zuul[bot]
719f7dfebf
Merge pull request #510 from saito-hideki/issue/509
[CI] Replace Fedora 38 with 39 for devel branch container test

SUMMARY
Replace Fedora 38 container test with 39 for devel branch.

Fixed /#509

ISSUE TYPE

CI test Pull Request

COMPONENT NAME

ansible.posix

ADDITIONAL INFORMATION
None
2023-11-23 15:56:55 +00:00
Hideki Saito
5cae7aa946 Replace Fedora 38 with 39 for devel branch container test 2023-11-22 17:09:41 +09:00
John
3abd029b9f Fix missing-final-newline error 2022-09-21 08:38:09 -07:00
John
3d2681aea6 Improve callback output to align header with roles, tasks and play RECAP 2022-09-20 14:38:08 -07:00
5 changed files with 14 additions and 7 deletions

View file

@ -51,8 +51,8 @@ stages:
parameters:
testFormat: devel/linux/{0}/1
targets:
- name: Fedora 38
test: fedora38
- name: Fedora 39
test: fedora39
- name: Ubuntu 20.04
test: ubuntu2004
- name: Ubuntu 22.04

View file

@ -0,0 +1,3 @@
---
trivial:
- "Replace Fedora 38 with 39 for container test(https://github.com/ansible-collections/ansible.posix/issues/509)."

View file

@ -102,8 +102,8 @@ class CallbackModule(CallbackBase):
self._display.display(tasktime())
def playbook_on_stats(self, stats):
self._display.display(tasktime())
self._display.display(filled("", fchar="="))
# Align summary report header with other callback plugin summary
self._display.banner("ROLE RECAP")
timestamp(self)
total_time = sum(self.totals.values())
@ -116,3 +116,4 @@ class CallbackModule(CallbackBase):
msg_total = u"{0:-<70}{1:->9}".format(u'total ', u' {0:.02f}s'.format(total_time))
self._display.display(filled("", fchar="~"))
self._display.display(msg_total)

View file

@ -174,8 +174,8 @@ class CallbackModule(CallbackBase):
self._display.display(tasktime())
def playbook_on_stats(self, stats):
self._display.display(tasktime())
self._display.display(filled("", fchar="="))
# Align summary report header with other callback plugin summary
self._display.banner("TASKS RECAP")
timestamp(self)
self.current = None
@ -199,3 +199,4 @@ class CallbackModule(CallbackBase):
if 'path' in result:
msg += u"\n{0:-<{1}}".format(result['path'] + u' ', self._display.columns)
self._display.display(msg)

View file

@ -46,4 +46,6 @@ class CallbackModule(CallbackBase):
def v2_playbook_on_stats(self, stats):
end_time = datetime.utcnow()
runtime = end_time - self.start_time
self._display.display("Playbook run took %s days, %s hours, %s minutes, %s seconds" % (self.days_hours_minutes_seconds(runtime)))
# Align summary report header with other callback plugin summary
self._display.banner("PLAYBOOK RECAP")
self._display.display("Playbook run took %s days, %s hours, %s minutes, %s seconds\n\r" % (self.days_hours_minutes_seconds(runtime)))