Skip to content

Commit 12243f1

Browse files
committed
fstests.yml: leverage new CI optional files
This let's us provide more elaborate commit messages to the kdevops-results-archive. Signed-off-by: Luis Chamberlain <[email protected]>
1 parent f1749de commit 12243f1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/fstests.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ jobs:
1717
- name: Checkout repository
1818
uses: actions/checkout@v4
1919

20+
- name: Set CI metadata for kdevops-results-archive
21+
run: |
22+
echo "$(basename ${{ github.repository }}" > ci.trigger
23+
git log -1 --pretty=format:"%s" > ci.subject
24+
# Start out pessimistic
25+
echo "not ok" > ci.result
26+
echo "Nothing to write home about." > ci.commit_extra
27+
2028
- name: Set kdevops path
2129
run: echo "KDEVOPS_PATH=$GITHUB_WORKSPACE" >> $GITHUB_ENV
2230

@@ -49,6 +57,7 @@ jobs:
4957
- name: Run just one fstest to verify we tests and test collection works
5058
run: |
5159
make fstests-baseline TESTS=generic/003
60+
echo "ok" > ci.result
5261
5362
- name: Get systemd journal files
5463
if: always() # This ensures the step runs even if previous steps failed

0 commit comments

Comments
 (0)