Commit Graph

33 Commits

Author SHA1 Message Date
Gleb Chesnokov
9082b4e82a nightly build: Update kernel versions
Another kernel versions update
2024-12-28 14:59:04 +03:00
Gleb Chesnokov
cc713322e7 nightly build: Update kernel versions
Another kernel versions update.
2024-11-18 17:13:45 +03:00
Gleb Chesnokov
31eca7eced .github/workflows: Use checkpatch scripts
Inroduce several checkpatch scripts to use in workflows.
2024-11-07 13:21:25 +03:00
Gleb Chesnokov
fca4d58822 .github/workflows: Run regression tests upon a pull request
Also allow regression tests to run upon a pull request.
2024-11-07 13:21:25 +03:00
Gleb Chesnokov
1925094cb0 .github/workflows, scripts: Improve checkpatch compliance
Use checkpatch --strict to detect more style issues.
2024-10-01 16:17:11 +03:00
Gleb Chesnokov
878bbad8ce nightly build: Update kernel versions
Another kernel versions update
2024-09-16 13:44:01 +03:00
Gleb Chesnokov
376838e898 scripts/run-regression-tests: Improve support for RHEL kernels
Additionally, update kernel versions.
2024-09-04 20:12:26 +03:00
Gleb Chesnokov
7117490910 nightly build: Update kernel versions
Another kernel versions update.
2024-07-15 15:18:16 +03:00
Gleb Chesnokov
aa2c925429 nightly build: Update kernel versions
Another kernel versions update.
2024-05-17 12:36:01 +03:00
Gleb Chesnokov
7c4e07414a .github/workflows: Add a GitHub action to run regression tests upon push
Introduce a new GitHub action that automatically runs the
scripts/run_regression_tests script upon each push to the master branch.
2024-05-03 17:45:14 +03:00
Bart Van Assche
38b9e895bd .github/workflows: Restrict some workflows to the official repository
Prevent that the Coverity and send-email workflows fail for submitters
of pull requests.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
2024-02-16 12:07:21 +03:00
Bart Van Assche
b1ec10623b .github/workflows: Use the latest checkout action
Fix the following warning:

Node.js 16 actions are deprecated. Please update the following actions to
use Node.js 20: actions/checkout@v3.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
2024-02-16 12:07:21 +03:00
Gleb Chesnokov
2f9a82bb87 github: Update stable branch version for the Mailing list action 2024-01-15 15:33:45 +03:00
Gleb Chesnokov
76750f3352 scst: Port to Linux kernel v6.5
Support for the following block layer changes in the Linux kernel v6.5:

- 05bdb9965305 ("block: replace fmode_t with a block-specific type for
  block open flags")
- 0718afd47f70 ("block: introduce holder ops")
- 2736e8eeb0cc ("block: use the holder as indication for exclusive opens")
2023-07-10 10:34:57 +03:00
Gleb Chesnokov
6a925490fd scst: Confirm percpu refs has scheduled and switched to atomic
This patch replaces percpu_ref_kill() with percpu_ref_kill_and_confirm()
to guarantee safe usage of references in atomic mode immediately
afterwards.

This change ensures accurate checking of active commands following the
initial reference killing.

Reported-by: Lev Vainblat <lev@zadarastorage.com>
2023-06-28 19:31:45 +03:00
Gleb Chesnokov
15229d00cc github: Enhance checkpatch_pull error handling
Add an error variable to track errors during the loop in
checkpatch_pull.yml, allowing the workflow to run checkpatch for all
commits before exiting with the appropriate status.

Additionally, add COMMIT_LOG_USE_LINK to the ignore list for both
pull and push workflows
2023-04-28 16:05:09 +03:00
Gleb Chesnokov
1376ad014d github: Add a GitHub action to run checkpatch upon pull request
Add a new GitHub Actions workflow, checkpatch_pull.yml, which runs
checkpatch.pl for each commit in a pull request targeting the master
branch.

This change ensures proper checkpatch validation for both push
and pull request events.
2023-04-11 11:52:35 +03:00
Gleb Chesnokov
4fdb5273b6 github/checkpatch.yml: Simplify script
Simplify the script by removing an unnecessary call to `echo`.
2023-04-06 13:02:25 +03:00
Gleb Chesnokov
0717a72052 github: Add a GitHub action to run checkpatch upon push
Introduce a new GitHub action that automatically runs the
checkpatch.pl script upon each push to the repository.
2023-04-05 14:54:49 +03:00
Gleb Chesnokov
e5b936f10b github: Add a job name for the mail notification action
Enhance the mail notification GitHub action by including the commit
message in the job name.
2023-04-05 14:54:49 +03:00
Gleb Chesnokov
634bd00cc0 github: Fix deprecated set-output commands
set-output is being deprecated:

"Starting 1st June 2023 workflows using save-state or set-output
commands via stdout will fail with an error."

So fix this by using the GITHUB_OUTPUT environment files instead.
2023-04-05 12:09:53 +03:00
Gleb Chesnokov
3ba2549ac4 github: Update actions/checkout to v3
This patch should fix the following github warning:

    Node.js 12 actions are deprecated. Please update the following
    actions to use Node.js 16: actions/checkout@v2
2023-01-13 16:52:07 +03:00
Gleb Chesnokov
01c489c05f github: Update the version of SCST for the Coverity action 2022-12-28 17:08:44 +03:00
Gleb Chesnokov
e48a3003f9 github: Update stable branch version for the Mailing list action 2022-12-28 17:08:44 +03:00
Gleb Chesnokov
fabd3dadc9 github: Ignore errors when building SCST for Coverity
The GitHub virtual environment provides Ubuntu with a kernel that doesn't
support FCoE, causing the build to fail:

ERROR: modpost: "fc_seq_release" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "fc_fc4_register_provider" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "fc_lport_iterate" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "fc_seq_els_rsp_send" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "fc_seq_assign" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "_fc_frame_alloc" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "fc_fill_reply_hdr" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "fc_exch_done" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "fc_fc4_deregister_provider" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "fc_frame_alloc_fill" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
WARNING: modpost: suppressed 4 unresolved symbol warnings because there were too many)

Ignore these errors and continue building SCST to get all the information
for analysis.
2022-07-26 16:11:11 +03:00
Gleb Chesnokov
4418538578 github: Add a GitHub action to run a Coverity scan upon push
Submit a build to the Coverity analyzer for every change in the
master branch.

You can find the results of Coverity's analysis here:
https://scan.coverity.com/projects/scst-project
2022-07-25 14:41:32 +03:00
Gleb Chesnokov
e4ab384f48 github: Change mail server for mail notification action
Google no longer support the use of third-party apps or devices which
ask you to sign in to your Google Account using only your username and
password. This causes problems when using github mail notification action
to send SCST patches. Hence, change the Google mail server to an another one.
2022-05-15 15:27:53 +03:00
Chesnokov Gleb
60338c1d15 github: Improve the listing of modified files for the Mailing list action
Use --stat option instead of --name-only for the 'Get list of files' step,
as it also provides stats on modified files.
2022-01-17 04:51:53 +03:00
Chesnokov Gleb
85846aa2e1 Update stable branch version for github Mailing list action 2022-01-12 14:06:54 +03:00
Chesnokov Gleb
afb52bc788 Add a list of files per commit for github Mailing list action 2022-01-11 14:19:57 +03:00
Chesnokov Gleb
37de84607c Fix sender name for github Mailing list action 2021-12-15 16:43:44 +03:00
Chesnokov Gleb
43aa0de32a Add a github action to send mail to the SCST mailing list upon push 2021-12-03 15:33:05 +03:00
Bart Van Assche
7381de4fb9 Add a github action for building SCST upon push and upon a pull request
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9431 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-05-29 01:17:50 +00:00