summaryrefslogtreecommitdiffstats
path: root/.packit.yml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Packit: build SRPMs in CoprLaura Barcziova2022-03-091-0/+1
| | | | | Add srpm_build_deps key to the Packit config to specify needed dependencies for SRPM build and indicate to build SRPM in Copr.
* packit: drop unnumbered patches as wellFrantisek Sumsal2022-02-171-2/+2
|
* ci: re-enable s390x Packit buildsFrantisek Sumsal2022-02-131-0/+1
| | | | | | | The s390x Copr builders are finally[0] 'native' instead of QEMU-emulated, which makes them pretty quick to be used in PRs. [0] https://lists.fedoraproject.org/archives/list/copr-devel@lists.fedorahosted.org/message/AR3ZDKET3EXZHV3MSU3UHMO7EIKBGAN2/
* Revert "ci: switch to fedora-35 on i386 on Packit"Yu Watanabe2022-02-081-1/+1
| | | | This reverts commit 478c632e00ffbf50012b1946a8a025494c012353.
* Revert "packit: switch the remaining jobs to F35"Yu Watanabe2022-02-081-3/+3
| | | | This reverts commit e7642152ae6e867fc569206e905464321a41e58a.
* packit: switch the remaining jobs to F35Frantisek Sumsal2022-01-221-3/+3
| | | | | | | | | | gcc-12 seems to be very unstable right now, so to keep our CI builds useful let's move them to stable F35 for a while. Follow-up to 478c632e00ffbf50012b1946a8a025494c012353. See: * https://github.com/systemd/systemd/issues/22215 * https://bugzilla.redhat.com/show_bug.cgi?id=2043915
* ci: switch to fedora-35 on i386 on PackitEvgeny Vereshchagin2022-01-201-1/+1
| | | | | | | | systemd seems to be failing to compile there with gcc-12 but considering that gcc-12 hasn't been released yet it doesn't seem to make sense to add workarounds to get it to compile there. Until gcc-12 is stabilized it should be enough to build systemd on fedora-35 to make sure it's buildable on i386.
* Revert "ci: temporarily set -Wno-deprecated-declarations in Packit"Zbigniew Jędrzejewski-Szmek2021-12-091-3/+0
| | | | | | This reverts commit 684e0a560514f9aaf02813f3f6c4a017400c9d51. The warnigs are not suppressed in the C code.
* ci: temporarily set -Wno-deprecated-declarations in PackitZbigniew Jędrzejewski-Szmek2021-12-011-0/+3
| | | | | | to suppress OpenSSL 3.0 deprecation warnings (until a proper solution is deployed): RSA_free, EC_KEY_free, RSA_set0_key, RSA_size, EVP_PKEY_assign, EC_KEY_set_group, and others are deprecated.
* Revert "ci: temporarily set -Wno-deprecated-declarations in Packit"Lennart Poettering2021-09-291-3/+0
| | | | This reverts commit af861917c5118cb9f1490f407d86f40fd5e01437.
* ci: temporarily set -Wno-deprecated-declarations in PackitFrantisek Sumsal2021-09-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to suppress OpenSSL 3.0 deprecation warnings (until a proper solution is deployed): ``` ../src/shared/creds-util.c: In function ‘sha256_hash_host_and_tpm2_key’: ../src/shared/creds-util.c:412:9: error: ‘SHA256_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 412 | if (SHA256_Init(&sha256_context) != 1) | ^~ In file included from /usr/include/openssl/x509.h:41, from ../src/shared/openssl-util.h:8, from ../src/shared/creds-util.c:21: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/shared/creds-util.c:415:9: error: ‘SHA256_Update’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 415 | if (host_key && SHA256_Update(&sha256_context, host_key, host_key_size) != 1) | ^~ In file included from /usr/include/openssl/x509.h:41, from ../src/shared/openssl-util.h:8, from ../src/shared/creds-util.c:21: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/shared/creds-util.c:418:9: error: ‘SHA256_Update’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 418 | if (tpm2_key && SHA256_Update(&sha256_context, tpm2_key, tpm2_key_size) != 1) | ^~ In file included from /usr/include/openssl/x509.h:41, from ../src/shared/openssl-util.h:8, from ../src/shared/creds-util.c:21: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/shared/creds-util.c:421:9: error: ‘SHA256_Final’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 421 | if (SHA256_Final(ret, &sha256_context) != 1) | ^~ In file included from /usr/include/openssl/x509.h:41, from ../src/shared/openssl-util.h:8, from ../src/shared/creds-util.c:21: /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ cc1: all warnings being treated as errors ```
* ci: add ppc64le Rawhide chroot to the Packit chroot setFrantisek Sumsal2021-07-191-0/+1
|
* packit: drop the 'sources' file after cloning the Fedora repoFrantisek Sumsal2021-04-121-0/+2
| | | | | | Otherwise rebase-helper thinks we're are a dist-git repository, replacing the generated git archive with PR changes with the tarball found in the 'sources' file.
* ci: revert back to --werror instead of -Dc_args=-WerrorFrantisek Sumsal2021-03-071-10/+5
| | | | | -Dc_args=/-Dcpp_args= don't play well with the RPM hardening macros using $CFLAGS/$CPPFLAGS, since they're mutually exclusive.
* ci: correctly drop patches with non four digit indexesFrantisek Sumsal2021-03-061-1/+1
|
* Revert "ci: build on Fedora ELN as well"Frantisek Sumsal2021-02-151-2/+0
| | | | | | | | This reverts commit 58bc1735fed62bc7426187a80d166369569e799a. The ELN composes are quite unstable and take a while to refresh. Let's drop them again and revisit this once they get more mature to reduce the CI noise.
* ci: build on Fedora ELN as wellFrantisek Sumsal2021-02-101-0/+2
| | | | | ELN builds with a slightly different content set and RHEL-like options, which should, theoretically, help a bit with RHEL stuff.
* ci: build with -Werror on FedoraFrantisek Sumsal2021-02-031-2/+12
| | | | Prompted by: https://github.com/systemd/systemd/pull/18400#issuecomment-771602705
* ci: build the Fedora RPMs with -WerrorFrantisek Sumsal2021-01-291-1/+3
|
* ci: enable Packit integrationFrantisek Sumsal2021-01-281-0/+33
Let's enable the Packit integration and see if it's a viable option for us. This configuration builds systemd on Fedora (on x86_64, i386, and aarch64) and runs the unit test suite. To do that, it uses the specfile from Fedora Rawhide[0] with some minor modifications, thus dropping the need to have a specfile in the upstream repository. So far the builds took around 25 minutes each, so speed-wise it's pretty good. The two remaining supported architectures (s390x and armhfp) are excluded, for now, since they're emulated and build there takes a really long time (~4 hours). [0] https://src.fedoraproject.org/rpms/systemd/