Commit fb8c7f2
committed
kdevops_archive: read commit message from file
Fix error below by creating a temporary file with commit message and use
that as input:
1. Create temporary file
2. Create temporary var with commit message
3. Write commit message to file
4. git-commit using temporary file content
5. Delete temporary file
Also, update tasks to include FQCN.
Error:
TASK [kdevops_archive : Commit the archive]
************************************
fatal: [localhost]: FAILED! => {
"changed": true,
"cmd": "git commit -m \"kdevops: Revert \"bringup: Use full path
when creating custom_source file\"\n\nThis adds test results for:\n
workflow: fstests\n tree: linux\n ref: linux\n test number: 0001\n
test result: ok\n\nDetailed test report:\n\nKERNEL: 6.14.0-rc2\nCPUS:
8\n\nxfs_reflink_4k: 1 tests, 16 seconds\n generic/003 Pass
13s\nTotals: 1 tests, 0 skipped, 0 failures, 0 errors, 13s\n\"\n",
"delta": "0:00:00.006967",
"end": "2025-02-10 02:34:48.789646",
"rc": 1,
"start": "2025-02-10 02:34:48.782679"
}
STDERR:
error: pathspec 'Use' did not match any file(s) known to git
error: pathspec 'full' did not match any file(s) known to git
error: pathspec 'path' did not match any file(s) known to git
error: pathspec 'when' did not match any file(s) known to git
error: pathspec 'creating' did not match any file(s) known to git
error: pathspec 'custom_source' did not match any file(s) known to git
error: pathspec 'file
This adds test results for:
workflow: fstests
tree: linux
ref: linux
test number: 0001
test result: ok
Detailed test report:
KERNEL: 6.14.0-rc2
CPUS: 8
xfs_reflink_4k: 1 tests, 16 seconds
generic/003 Pass 13s
Totals: 1 tests, 0 skipped, 0 failures, 0 errors, 13s
' did not match any file(s) known to git
MSG:
non-zero return code
PLAY RECAP
*********************************************************************
localhost : ok=53 changed=15 unreachable=0
failed=1 skipped=12 rescued=0 ignored=0
Signed-off-by: Daniel Gomez <[email protected]>1 parent 6594682 commit fb8c7f2
1 file changed
+21
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
411 | 418 | | |
412 | | - | |
| 419 | + | |
413 | 420 | | |
414 | 421 | | |
415 | 422 | | |
| |||
424 | 431 | | |
425 | 432 | | |
426 | 433 | | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
427 | 440 | | |
428 | | - | |
429 | | - | |
| 441 | + | |
| 442 | + | |
430 | 443 | | |
431 | 444 | | |
432 | 445 | | |
433 | 446 | | |
434 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
435 | 453 | | |
436 | 454 | | |
437 | 455 | | |
| |||
0 commit comments