Jóhann B. Guðmundsson
5b18b06c7d
ci: remove Fedora 33 container
...
Fedora 33 is scheduled to reach end-of-life (EOL) on 2021-11-30.
No new dracut releases should be ending up in that Fedora release at this point.
3 years ago
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.
3 years ago
Harald Hoyer
12d0213885
ci: create a fedora rawhide container
...
Remove Fedora 34 for now, as it is fedora:latest
3 years ago
Harald Hoyer
3c67644fe6
ci: build container images and push to ghcr.io
3 years ago
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.
3 years ago
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
3 years ago
Jóhann B. Guðmundsson
a02d17f7af
chore(tree): move tools into their own directory
...
Moving tools into their own directory
3 years ago
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.
3 years ago
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
3 years ago
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
3 years ago
Harald Hoyer
ec18a3eb83
ci: reorder the tests
3 years ago
Harald Hoyer
f5721c5921
ci: run all Fedora CI in a matrix
...
Also automatically cancel it, if the PR is updated
3 years ago
Harald Hoyer
09356085b6
ci: enable shellcheck for everything
3 years ago
Harald Hoyer
2b5ddc7722
fix: shellcheck for dracut*.sh
3 years ago
Harald Hoyer
90c679e753
ci: shellcheck all directories with .sh
3 years ago
Harald Hoyer
cc914eaa8b
style: use shfmt 3.2.4
3 years ago
Harald Hoyer
5667978e7b
style: use astyle instead of indent
3 years ago
Harald Hoyer
9e587f0008
ci: splitout indent-c from indent
...
... to be able to call it from CI
3 years ago
Harald Hoyer
d85b7e4edd
ci: add lint for C and shell format
3 years ago
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.
3 years ago
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.
3 years ago
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.
3 years ago
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.
3 years ago
Harald Hoyer
35bd0b4ac1
ci: only bind /dev/kvm into the container
...
dracut is only interested to use `/dev/kvm` if available.
3 years ago
Harald Hoyer
a6faf453a8
ci: reduce CI workload
...
Only run `fedora-latest` and `fedora-32` on actual merge.
3 years ago
Harald Hoyer
0ce79d4c72
ci: mount host /dev into container
...
might pickup /dev/kvm if we are lucky?
3 years ago
Harald Hoyer
860b64b92d
ci: remove `--privileged` option from docker containers
...
This option should not be needed anymore with "mount -o loop" removed.
3 years ago
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
3 years ago
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>
3 years ago
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
3 years ago
Harald Hoyer
c93df5e0ea
chore(github): add CODEOWNERS file
...
All CODEOWNERS are automatically added as reviewers.
3 years ago
Harald Hoyer
28d0fc9347
ci: add testing with Fedora 33
...
To test a more recent version of Fedora, add Fedora 33.
3 years ago
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.
3 years ago
Jóhann B. Guðmundsson
5f0d35b665
Adding stalebot file
3 years ago
Jóhann B. Guðmundsson
ff78577d3f
Fix Unicode and dracut install labeler
4 years ago
Jóhann B. Guðmundsson
d2b3289aa5
Fix Unicode
4 years ago
Jóhann B. Guðmundsson
de27127752
Adding security policy
4 years ago
Jóhann B. Guðmundsson
0132527b8f
Adding documentation template
4 years ago
Jóhann B. Guðmundsson
455c5dbd35
Adding a feature request template
4 years ago
Jóhann B. Guðmundsson
cd1a002512
Adding a bug report template
4 years ago
Jóhann B. Guðmundsson
fece5bfcac
Adding a pull request template
4 years ago
Jóhann B. Guðmundsson
d795211778
Adding code of conduct
4 years ago
Jóhann B. Guðmundsson
5da70385bc
Removing dracut entry not compat with new plugin
4 years ago
Jóhann B. Guðmundsson
c4f2b11b89
New label trigger file
4 years ago
Jóhann B. Guðmundsson
0e30f33a32
New labels file
4 years ago
Daniel Molkentin
3f4771ebf4
.github: fix path to label workflow mapping file
4 years ago
Jóhann B. Guðmundsson
fc1d50b270
Update master-labels.yml
...
Removing branches not sure if they work with the cron scheduler in workflow actions
4 years ago
Jóhann B. Guðmundsson
cafd314b70
Update master-labels.yml
...
Fixing bad intentation
4 years ago
Jóhann B. Guðmundsson
ac733934fa
Switching label triggers from pull requests to cron
4 years ago
Jóhann B. Guðmundsson
2be5e3ac4c
Adding the labels trigger file for the RHEL-8 branch
4 years ago