Harald Hoyer
b2cf61d97f
ci: run the integration tests on more distributions
...
Add OpenSuse and Arch Linux to limited tests.
Only run the full tests against the latest stable Fedora version
to reduce the workload.
Also remove the `hung_task_panic=1` on the kernel command line, as qemu
tends to be really slow in non-kvm mode.
2021-05-14 13:08:07 +02:00
Harald Hoyer
12d0213885
ci: create a fedora rawhide container
...
Remove Fedora 34 for now, as it is fedora:latest
2021-05-14 12:39:40 +02:00
Harald Hoyer
3c67644fe6
ci: build container images and push to ghcr.io
2021-05-12 13:26:06 +02:00
Harald Hoyer
909961d048
fix: shellcheck 0.7.2
...
github action `luizm/action-sh-checker@v0.2.2` uses `shellcheck-0.7.2`,
which detects more non-posix shell code and complains accordingly.
2021-05-05 14:55:30 +02:00
Harald Hoyer
373eadaa9c
style: make indent and let shfmt fail again
...
The bump of removed the `-d` option for `shfmt`. Readd it until upstream
is fixed.
See also:
https://github.com/luizm/action-sh-checker/issues/44
2021-05-04 15:39:55 +02:00
Jóhann B. Guðmundsson
a02d17f7af
chore(tree): move tools into their own directory
...
Moving tools into their own directory
2021-05-04 10:01:14 +02:00
Jóhann B. Guðmundsson
a876c27085
chore(tree): move docs into the docs directory
...
Consolidating all the projects documentation into the docs
directory with the exception of news and readme.
2021-05-04 09:31:11 +02:00
Harald Hoyer
851a801178
ci: switch to action-sh-checker v0.2.0
...
See also:
https://github.com/luizm/action-sh-checker/pull/40#issuecomment-829260125
2021-04-29 16:09:02 +02:00
Harald Hoyer
1ffbcadad4
ci: remove label cron job
...
With the event called pull_request_target added to GitHub Actions, the
cron job can be removed.
See:
https://www.jclem.net/posts/labeling-prs-on-public-github-repositories
2021-04-29 14:57:44 +02:00
Harald Hoyer
ec18a3eb83
ci: reorder the tests
2021-04-26 17:31:54 +02:00
Harald Hoyer
f5721c5921
ci: run all Fedora CI in a matrix
...
Also automatically cancel it, if the PR is updated
2021-04-26 12:48:27 +02:00
Harald Hoyer
09356085b6
ci: enable shellcheck for everything
2021-03-31 11:31:17 +02:00
Harald Hoyer
2b5ddc7722
fix: shellcheck for dracut*.sh
2021-03-29 09:54:52 +02:00
Harald Hoyer
90c679e753
ci: shellcheck all directories with .sh
2021-03-26 09:35:30 +01:00
Harald Hoyer
cc914eaa8b
style: use shfmt 3.2.4
2021-03-19 11:34:05 +01:00
Harald Hoyer
5667978e7b
style: use astyle instead of indent
2021-03-15 15:37:08 +01:00
Harald Hoyer
9e587f0008
ci: splitout indent-c from indent
...
... to be able to call it from CI
2021-03-15 15:37:08 +01:00
Harald Hoyer
d85b7e4edd
ci: add lint for C and shell format
2021-03-13 20:10:43 +01:00
Harald Hoyer
501d82f796
fix: correctly handle kernel parameters
...
The kernel has an odd way to handle `"` surrounded parameters.
To handle the parameters as the kernel would do, no simple shell script
suffices, so a new utility `dracut-util` is introduced. Written in "C"
it handles `dracut-getarg` and `dracut-getargs` as the old shell script
functions `_dogetarg` and `_dogetargs` would.
2021-03-10 19:31:19 +01:00
Jóhann B. Guðmundsson
28545cda45
chore(labeler): remove the needs review label
...
There is no longer need to have pull requests labeled with the needs
review label since reviews are now mandatory on pull request.
2021-03-03 13:23:15 +00:00
Jóhann B. Guðmundsson
2c9debec02
fix(github): exempt issues with the label bug
...
Let's exempt issues with the label bugs being processed by stalebot.
2021-02-16 10:16:10 +01:00
Harald Hoyer
45907c1d4d
ci: disable tests with NFS kernel crashes
...
Tests 50, 51, 60, 61 all suffer from kernel crashes in the kernel nfsd.
Until this is resolved, disable these tests.
2021-02-10 13:56:40 +01:00
Harald Hoyer
35bd0b4ac1
ci: only bind /dev/kvm into the container
...
dracut is only interested to use `/dev/kvm` if available.
2021-02-10 13:56:40 +01:00
Harald Hoyer
a6faf453a8
ci: reduce CI workload
...
Only run `fedora-latest` and `fedora-32` on actual merge.
2021-02-10 13:56:40 +01:00
Harald Hoyer
0ce79d4c72
ci: mount host /dev into container
...
might pickup /dev/kvm if we are lucky?
2021-02-08 16:07:37 +01:00
Harald Hoyer
860b64b92d
ci: remove `--privileged` option from docker containers
...
This option should not be needed anymore with "mount -o loop" removed.
2021-02-08 16:07:37 +01:00
Harald Hoyer
1211d6a3fb
ci: disable TEST 99
...
1. people got annoyed by merge conflicts
2. spec file can be update per release
3. uses "mount" preventing container testing
2021-02-08 16:07:37 +01:00
Harald Hoyer
9553a679f6
ci: remove Travis and include Fedora-latest
...
Also remove Fedora 31.
Github CI should suffice. The only missing piece was Fedora-latest.
Signed-off-by: Harald Hoyer <harald@redhat.com>
2021-01-27 16:58:58 +01:00
Harald Hoyer
be30c816d4
ci: use our own version of commisery
...
This should hopefully fix:
* not checking the PR github title
* not error on the auto merge commit message
2021-01-26 17:57:25 +01:00
Harald Hoyer
c93df5e0ea
chore(github): add CODEOWNERS file
...
All CODEOWNERS are automatically added as reviewers.
2021-01-16 03:14:03 +00:00
Harald Hoyer
28d0fc9347
ci: add testing with Fedora 33
...
To test a more recent version of Fedora, add Fedora 33.
2020-12-16 15:34:29 +01:00
Harald Hoyer
7c50ed83a3
test(conventional): add Conventional Commits PR github action
...
To ease the creation of the release notes, enforce some style on the git
commit message titles with `Commisery`.
https://github.com/marketplace/actions/commisery
Using https://github.com/clog-tool/clog-cli later on these commits will
generate a pretty nice base for the release notes.
2020-12-16 15:10:18 +01:00
Jóhann B. Guðmundsson
5f0d35b665
Adding stalebot file
2020-12-14 11:59:16 +01:00
Jóhann B. Guðmundsson
ff78577d3f
Fix Unicode and dracut install labeler
2020-08-28 17:41:41 +00:00
Jóhann B. Guðmundsson
d2b3289aa5
Fix Unicode
2020-08-28 17:16:53 +00:00
Jóhann B. Guðmundsson
de27127752
Adding security policy
2020-08-28 18:58:52 +02:00
Jóhann B. Guðmundsson
0132527b8f
Adding documentation template
2020-08-28 18:58:52 +02:00
Jóhann B. Guðmundsson
455c5dbd35
Adding a feature request template
2020-08-28 18:58:52 +02:00
Jóhann B. Guðmundsson
cd1a002512
Adding a bug report template
2020-08-28 18:58:52 +02:00
Jóhann B. Guðmundsson
fece5bfcac
Adding a pull request template
2020-08-28 14:03:11 +00:00
Jóhann B. Guðmundsson
d795211778
Adding code of conduct
2020-08-28 13:55:54 +00:00
Jóhann B. Guðmundsson
5da70385bc
Removing dracut entry not compat with new plugin
2020-08-07 21:25:56 +02:00
Jóhann B. Guðmundsson
c4f2b11b89
New label trigger file
2020-08-07 20:47:13 +02:00
Jóhann B. Guðmundsson
0e30f33a32
New labels file
2020-08-07 20:47:13 +02:00
Daniel Molkentin
3f4771ebf4
.github: fix path to label workflow mapping file
2020-08-07 19:05:20 +02:00
Jóhann B. Guðmundsson
fc1d50b270
Update master-labels.yml
...
Removing branches not sure if they work with the cron scheduler in workflow actions
2020-08-07 18:23:43 +02:00
Jóhann B. Guðmundsson
cafd314b70
Update master-labels.yml
...
Fixing bad intentation
2020-08-07 18:03:25 +02:00
Jóhann B. Guðmundsson
ac733934fa
Switching label triggers from pull requests to cron
2020-08-07 18:03:25 +02:00
Jóhann B. Guðmundsson
2be5e3ac4c
Adding the labels trigger file for the RHEL-8 branch
2020-08-07 17:04:02 +02:00
Jóhann B. Guðmundsson
9521b435d0
Adding the labels trigger file for the RHEL-7 branch
2020-08-07 17:04:02 +02:00