summaryrefslogtreecommitdiff
path: root/.github
Commit message (Collapse)AuthorAgeFilesLines
* ci: use LGPLv2+ for all our ci configurationZbigniew Jędrzejewski-Szmek2021-10-0110-0/+11
|
* github: use the same headers on yaml filesZbigniew Jędrzejewski-Szmek2021-10-013-4/+9
| | | | | Also adjust the mention of location of mkosi files, follow-up for d55ad7fe96eb1edf438a7a41a465723bd29d4b10.
* licensing: say that our github docs are LGPLv2.1+Zbigniew Jędrzejewski-Szmek2021-10-012-2/+2
| | | | This mirros what 0aff7b7584 did for docs/.
* ci: introduce Super-Linter for shell scriptsFrantisek Sumsal2021-09-301-0/+38
| | | | See: https://github.com/marketplace/actions/super-linter
* ci: shellcheck-ify CI scriptsFrantisek Sumsal2021-09-292-2/+4
|
* Revert "CI: run unit tests in a network namespace"Yu Watanabe2021-09-291-5/+2
| | | | This reverts commit 8b036b223a40fac9e53189db05d3798ec11eb475.
* CI: run GCC unit test job on push to mainLuca Boccassi2021-09-291-0/+7
| | | | Allows to get coverage data on coveralls.io
* CI: do manpages build only on the clang unit test runLuca Boccassi2021-09-271-1/+3
| | | | It's slow and unaffected by compiler/flags, so no point in repeating it
* CI: add code coverage reports via lcov and coveralls.ioLuca Boccassi2021-09-272-2/+17
|
* CI: run unit tests in a network namespaceLuca Boccassi2021-09-271-2/+5
| | | | | | It seems some of the tests break network connectivity on the host, as the code coverage upload fails to establish a connection. Run them in a network namespace with 'unshare -n'.
* mkosi: Fix CIDaan De Meyer2021-09-211-6/+6
| | | | | | | | | | \#20629 moved the mkosi configs to mkosi.default.d/ so we were building for the host distro (Ubuntu) in each CI configuration. To fix it, we write the distro we want to test to a mkosi.default file and mkosi will apply the other necessary configs automatically from mkosi.default.d/<distro> This commit also removes unnecessary CLI options that are already handled by the config files.
* ci: build with clang-13Frantisek Sumsal2021-09-141-1/+1
| | | | Also, drop clang-10 builds to conserve resources.
* ci: Add openSUSE Tumbleweed among tested distrosMichal Koutný2021-08-041-0/+1
|
* ci: Detect shell prompt with higher specificityMichal Koutný2021-08-041-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | The current pattern '#' triggers on the openSUSE kernel version that is printed early during boot when no actual prompt is ready > [ 0.000000] Linux version 5.12.10-1-default (geeko@buildhost) (gcc (SUSE Linux) 11.1.1 20210510 [revision 23855a176609fe8dda6abaf2b21846b4517966eb], GNU ld (GNU Binutils; openSUSE Tumbleweed) 2.36.1.20210326-4) #1 SMP Fri Jun 11 05:05:06 UTC 2021 (b92eaf7) Instead wait for pattern that: a) should have fewer false positives, b) still be with working on distro shells: openSUSE (red color) ^[[1m^[[31mimage:~ #^[[m^O arch [root@image ~]# debian root@image:~# ubuntu root@image:~# fedora [root@image ~]#
* ci: Do not require network in test imagesMichal Koutný2021-08-041-3/+3
| | | | | | The current boot test relies on terminal login, therefore network setup inside image is unnecessary. This opens up possibility to test images that don't support the network setup via veth devices.
* ci: Bump mkosi version to v10Michal Koutný2021-08-041-1/+1
| | | | | Use mkosi GH action that includes fixes for openSUSE builds. This enables testing openSUSE builds in CI.
* Revert "ci: work around #19442 to make CI happy again"Frantisek Sumsal2021-06-181-7/+1
| | | | | | The fix/workaround from #18851 should, hopefully, make this redundant. This reverts commit 48a3cf58d5ad9cf2a4a4e6167171070b88c25369.
* Merge pull request #19669 from mrc0mmand/ci-mkosi-archLuca Boccassi2021-05-202-4/+10
|\ | | | | ci: work around #19442 to make CI happy again
| * ci: skip root tty loginFrantisek Sumsal2021-05-191-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use the `autologin` mkosi option (see mkosi.default.d/10-systemd.conf), so the pexpect root login throws a (harmless) error: ``` Arch Linux (built from systemd tree) Kernel 5.4.0-1047-azure on an x86_64 (console) image login: root (automatic login) root root [root@image ~]# systemctl poweroff root -bash: root: command not found [root@image ~]# systemctl poweroff ```
| * ci: show image summaryFrantisek Sumsal2021-05-191-0/+3
| |
| * ci: work around #19442 to make CI happy againFrantisek Sumsal2021-05-191-1/+7
| | | | | | | | | | | | | | Let's introduce a somewhat ugly workaround for #19442 and retry the systemd-nspawn image boot test up to three times in case it dies with the dissect timeout. Since this issue occurs only in the Arch job, limit the workaround to this job only.
* | build tests: check that Github pages can be built successfullyLuca Boccassi2021-05-191-0/+1
|/
* ci: drop py2 lxml, pull in jinja2Zbigniew Jędrzejewski-Szmek2021-05-192-2/+2
|
* ci: build with gcc-11 as wellFrantisek Sumsal2021-05-161-0/+1
| | | | | Focal builds for gcc-11 are finally available, so let's put them into some use.
* ci: cover standalone/static binaries in build testFrantisek Sumsal2021-05-061-0/+1
|
* docs: link to stable releases in the bug templateZbigniew Jędrzejewski-Szmek2021-03-251-2/+4
| | | | | Also, ask people to use a recent stable release and provide useful version information. Inspired by #19118.
* ci: build an upstream version of systemd-nspawnFrantisek Sumsal2021-02-261-0/+13
| | | | | | Ubuntu's systemd-nspawn doesn't support faccessat2() syscall, which is required, since current Arch's glibc implements faccessat() via faccessat2().
* Revert "ci: temporarily pin Arch repositories to glibc 2.32-5"Frantisek Sumsal2021-02-261-9/+0
| | | | This reverts commit 67c972c610de61789d1b6560d28340f70d4b1196.
* Revert "ci: switch back to meson-0.56.2"Evgeny Vereshchagin2021-02-201-1/+1
| | | | | | | This reverts commit c39e36203ff79a831c93dfb9380c967cd7fdbb99. Now that meson-0.57.1 (where https://github.com/mesonbuild/meson/issues/8347 is fixed) is out it should be safe to keep rolling forward.
* GH Actions: Fix labeler botJameer Pathan2021-02-191-0/+1
|
* ci: enable DNS over TLS using OpenSSL in the build testFrantisek Sumsal2021-02-171-0/+1
| | | | | | Prompted by: * https://github.com/systemd/systemd/pull/18641#issuecomment-780371055 * https://github.com/systemd/systemd/issues/18639
* ci: switch back to meson-0.56.2Evgeny Vereshchagin2021-02-151-1/+1
| | | | | | | | It seems there is another meson (0.57.0) regression preventing clang from building systemd with --optimization=3 -Db_lto=true By analogy with https://github.com/google/oss-fuzz/pull/5199 let's just switch to 0.56.2 for the time being
* github: expressly ask for logs in github issue templateLennart Poettering2021-02-101-0/+12
| | | | | Apparently it's not obvious that logs are a good thing to provide, hence let's explicitly ask for them.
* Merge pull request #18470 from mrc0mmand/ci-clang-12Luca Boccassi2021-02-091-0/+1
|\ | | | | ci: run build test with clang-12 as well
| * ci: run build test with clang-12 as wellFrantisek Sumsal2021-02-041-0/+1
| | | | | | | | | | Ubuntu repositories for clang 12 are finally up, so let's use it in our CI.
* | ci: temporarily pin Arch repositories to glibc 2.32-5Frantisek Sumsal2021-02-091-0/+9
| | | | | | | | | | | | | | | | | | glibc 2.33-3 shipped on 2021-02-06 breaks running Arch containers on systems with older kernels (like Ubuntu Focal). Until the issue is resolved, let's pin the Arch repositories to glibc 2.32-5 to mitigate the annoying CI fails. See: https://bugs.archlinux.org/task/69563
* | github: ask for systemd version in RFE formLennart Poettering2021-02-051-0/+3
|/ | | | | | It happens too often that what people ask for already is implemented. Let's help cut the noise a bit, and make people check things first hopefully, and at least make it either for us to detect such cases.
* ci: use the recommended meson syntaxFrantisek Sumsal2021-01-251-3/+4
| | | | See: docs/HACKING.md
* ci: drop an unnecessary sudoFrantisek Sumsal2021-01-251-1/+1
|
* ci: make the script names a bit more consistentFrantisek Sumsal2021-01-255-4/+4
|
* GH Actions: switch to mainEvgeny Vereshchagin2021-01-213-4/+4
| | | | It's just a follow-up to https://github.com/systemd/systemd/issues/16834
* markdown: fix commentLennart Poettering2021-01-191-1/+1
| | | | Follow-up for 2d816c9804c1d565797faff85c0fdbfb15f1e9d5
* markdown: suggest backticks around uname -a outputLennart Poettering2021-01-191-1/+4
| | | | Fixes: #18238
* time-wait-sync: move time-wait-sync.c -> src/timesync/wait-sync.cYu Watanabe2021-01-191-1/+0
| | | | As wait-online is located under src/network.
* ci: introduce a watchdog for the sanitized unit test runFrantisek Sumsal2021-01-131-0/+10
|
* ci: optimize the sanitized build under gcc as wellFrantisek Sumsal2021-01-131-1/+3
|
* ci: drop the `unbuffer` workaroundFrantisek Sumsal2021-01-121-6/+1
| | | | It actually didn't do anything, the issue was somewhere else.
* ci: move the Coverity job to GitHub ActionsFrantisek Sumsal2021-01-111-0/+39
|
* ci: drop a forgotten empty lineFrantisek Sumsal2021-01-111-1/+0
|
* ci: do not build with --optimization=1 with ClangLuca Boccassi2021-01-101-2/+1
|