Commit graph

240 commits

Author SHA1 Message Date
Gianluca Zuccarelli
744eb9d337 spec: depend on osbuild v85
osbuild v85 added the ability to save the `sslverify` field, this
commit sets the dependency to v85.

Added in https://github.com/osbuild/osbuild/pull/1298
2023-05-31 16:24:36 +02:00
schutzbot
173de3eba4 Post release version bump
[skip ci]
2023-05-31 08:22:34 +00:00
schutzbot
ab09feee59 Post release version bump
[skip ci]
2023-05-17 08:20:38 +00:00
schutzbot
19bfd7c9b2 Post release version bump
[skip ci]
2023-05-03 08:20:58 +00:00
schutzbot
3d0254b436 Post release version bump
[skip ci]
2023-04-19 08:22:07 +00:00
Achilleas Koutsou
a56c70d505 spec: depend on osbuild v83
Set the dependency to osbuild v83 which contains the new features for
preserving manifest lists for containers.

Added in https://github.com/osbuild/osbuild/pull/1252
2023-04-17 18:30:41 +02:00
schutzbot
f5948ad5fd Post release version bump
[skip ci]
2023-04-05 08:24:00 +00:00
schutzbot
2040e93e56 Post release version bump
[skip ci]
2023-03-22 08:21:56 +00:00
schutzbot
365e8242f9 Post release version bump
[skip ci]
2023-03-08 08:23:28 +00:00
yih
266cfdcc44 fix ansible error on centos9 2023-03-02 16:03:11 +01:00
schutzbot
12e5dbd531 Post release version bump
[skip ci]
2023-03-01 12:06:53 +00:00
Antonio Murdaca
ed4d12fe33 ignition: enable systemd firstboot condition through kargs
This is a workaround to make the systemd believe it's firstboot
when ignition runs on real firstboot.
Right now, since we ship /etc/machine-id, systemd thinks it's not firstboot
and ignition depends on it to run on the real firstboot to enable services from presets.
Since this only applies to artifacts with ignition and changing machineid-compat at
commit creation time may have undesiderable effect, we're doing it here as a stopgap.
We may revisit this in the future.
This patch also pins the version of osbuild because it depends on a fix
for the ignition stage.

Signed-off-by: Antonio Murdaca <antoniomurdaca@gmail.com>
2023-02-28 18:35:45 +01:00
schutzbot
cd8898842c Post release version bump
[skip ci]
2023-02-22 14:01:35 +00:00
Tomáš Hozza
145e89211d SPEC: depend on osbuild v80
Set the dependency to osbuild version 80, which contains the
`remove_destination` option in the copy stage.

https://github.com/osbuild/osbuild/releases/tag/v80

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-02-22 12:17:36 +01:00
Tomáš Hozza
4e2b369acf SPEC: depend on osbuid v78
The version 78 is needed in order to use the `chown` stage.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-02-22 12:17:36 +01:00
schutzbot
4e574b6e99 Post release version bump
[skip ci]
2023-02-08 08:25:30 +00:00
schutzbot
77bd1cba08 Post release version bump
[skip ci]
2023-01-25 08:26:45 +00:00
schutzbot
382db4245a Post release version bump
[skip ci]
2023-01-11 08:23:59 +00:00
Ondřej Budai
4bafe1ead9 remove Fedora 35 support
Fedora 35 is going EOL on Tue 2022-12-13. At the time of writing this commit
message, that's the next day. As we do releases on Wednesdays, the next
release will never find its way to F35 and thus, there's no point in keeping
support for it.

Let's delete everything that relates to Fedora 35. If there's something that
cannot be deleted (e.g. CI containers based on F35), let's upgrade it to F37.

TestCrossArchDepsolve now uses CentOS Stream 8 because RHEL 8.4 cannot read
F37 repository metadata. This is a similar issue to
https://bugzilla.redhat.com/show_bug.cgi?id=2004853 . Basically, newer
repositories can be only read by libmodulemd >= 2.11.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2023-01-06 11:34:50 +01:00
Miroslav Suchý
1dd513c44a Migrate to SPDX license
See https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1
2023-01-05 11:34:47 +01:00
schutzbot
20143b66c7 Post release version bump
[skip ci]
2022-12-28 08:21:37 +00:00
schutzbot
99a202fa99 Post release version bump
[skip ci]
2022-12-14 08:26:06 +00:00
schutzbot
f7334287af Post release version bump
[skip ci]
2022-11-30 08:28:40 +00:00
Tomáš Hozza
f24c6ad952 SPEC: run the %preun commands in worker package only on removal
PR#553 [1] introduced a change to the worker subpackage and replaced
the systemd %preun RPM macro with a literal calls to `systemctl` due
to missing functionality in systemd. However, the change omitted the
fact, that the RPM macro executes commands only on package removal,
not upgrade.

As a result a local or remote worker which is running on the system
while the osbuild-composer-worker package is updated, gets stopped.

Fix the scriptlet and run the commands only on package removal.

[1] https://github.com/osbuild/osbuild-composer/pull/553

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2022-11-23 10:42:01 +01:00
schutzbot
5669e05264 Post release version bump
[skip ci]
2022-11-16 08:29:16 +00:00
schutzbot
d02f666a4b Post release version bump
[skip ci]
2022-11-02 08:29:15 +00:00
Sanne Raymaekers
500341a25f internal/osbuild: contenturl and rhsm secrets for ostree sources 2022-10-28 16:14:30 +02:00
Brian C. Lane
d1e69fe528 spec: Fix ownership of the dnf-json rpmmd files
dnf-json previously ran as a service, and the
/var/cache/osbuild-composer/rpmmd directory and files were owned by
root. As a script called from osbuild-composer those directories and
files need to be owned by _osbuild-composer:_osbuild-composer, otherwise
it will not be able to depsolve after an upgrade from the previous
implementation.

This can be worked around by removing the
/var/cache/osbuild-composer/rpmmd directory and restarting the service
or rebooting.

Fixes #3079
2022-10-21 08:59:48 +02:00
schutzbot
923361aa5f Post release version bump
[skip ci]
2022-10-19 08:41:10 +00:00
Achilleas Koutsou
a6d3ad3959 spec: bump osbuild dep to >= 69
osbuild 69 fixed a bug in the ostree.config stage that we now require
for setting the ior-raw-image [1].

The version hasn't been released yet, so pin osbuild version that
provides the fix for all distros.

[1] 8a7b6d382d
2022-10-11 10:00:22 +02:00
schutzbot
9a7027ef77 Post release version bump
[skip ci]
2022-10-05 08:32:10 +00:00
Ondřej Budai
83cb17b4ba spec: bump osbuild dep to >= 65
osbuild 65 got support for gpgkeypaths in the ostree.remotes stage that we
need for iot-raw-image implemented recently.

See
2bff83364b

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2022-09-21 18:03:13 +02:00
schutzbot
629c31d92f Post release version bump
[skip ci]
2022-09-21 08:37:47 +00:00
Xiaofeng Wang
05503c58c2 test: Remove OCP4 test
Since api.ocp.ci.centos.org is going away:
https://lists.centos.org/pipermail/ci-users/2022-June/004547.html.

After discussion, OCP4 test will be removed here, but RHEL for Edge
downstream test will keep OCP4 case
2022-09-12 19:14:13 +02:00
schutzbot
a8d3e07577 Post release version bump
[skip ci]
2022-09-07 08:30:20 +00:00
fkolwa
98a7457e08 osbuild-composer.spec: osbuild version bump 64
Schutzfile: Bump osbuild commit hash to include new GCP guest-agent stage
2022-08-30 22:21:29 +02:00
schutzbot
17300c8931 Post release version bump
[skip ci]
2022-08-29 09:44:19 +00:00
schutzbot
1f9ea7714d Post release version bump
[skip ci]
2022-08-26 17:12:29 +00:00
Simon de Vlieger
c5f335bceb Add the rhsm.facts stage.
We initially provide a Facts file that stores the `ApiType`. This is the
API that was used to request the compose.
2022-08-25 18:56:35 +02:00
schutzbot
8982ab2018 Post release version bump
[skip ci]
2022-08-24 08:26:57 +00:00
schutzbot
df22e8b686 Post release version bump
[skip ci]
2022-08-10 08:26:51 +00:00
Tomas Hozza
765d218b6f test: extract common JTW code from the multi-tenancy.sh test
Move some code related to using JWT tokens from the `multi-tenancy.sh`
test case to `test/cases/api/common/common.sh`, `tools/provision.sh`
and `tools/run-mock-auth-servers.sh`. Move the composer and worker
configuration from the test to new testing configuration files.

The `tools/provision.sh` now accepts an optional argument specifying the
authentication method to use with the provisioned composer and workers.
Valid values are `tls` and `jwt`. If no argument is specified, the `tls`
option is used and the script defaults to its previous behavior.
2022-08-04 11:55:43 +02:00
schutzbot
ac522a58ee Post release version bump
[skip ci]
2022-07-27 08:31:06 +00:00
Christian Kellner
89c2bb0d3e spec: require osbuild 62
We need the `org.osbuild.containers.storage.conf` stage and its
fixes that only landed in osbuild 62.
2022-07-26 17:07:31 +02:00
Ondřej Budai
0adbce3606 test/koji: remove the old code for testing koji API
Koji API is no more, let's drop the test and rename koji-compose-v2.py to
koji-compose.py.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2022-07-19 16:00:52 +02:00
Ondřej Budai
3e25f5ef76 remove all traces of fedora 34
Fedora 34 is EOL, let's remove all traces of it, including:

- distro definition
- repositories (and test one)
- test manifests
- special package set rules
- hacks from the spec file

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2022-07-18 20:38:33 +02:00
schutzbot
37fc807bfa Post release version bump
[skip ci]
2022-07-13 08:30:26 +00:00
Sanne Raymaekers
339d69d2da test/api: Add gcloud and generic s3 changes to split api tests
- Fixed shellcheck errors
- Moved checkEnv from common to individual tests
- Fixed package install section in spec file:
Globs which include a directory fail on el-like distros.
- Use gcloud cli to ssh
- (re)Introduce generic s3 tests
2022-07-05 12:15:31 +02:00
Ondřej Budai
cb7c0283a5 test/api: split into smaller files
Each cloud now has its own file that's sourced on-demand by the main api.sh
script. The main goal of this commit is to reduce the amount of clutter in
api.sh. I, personally, find 1300 lines of bash overwhelming and I think that
this is a reasonable beginning to start cleaning things up.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2022-07-05 12:15:31 +02:00
Sanne Raymaekers
03b57f002c jobqueue: Move jobqueue out of internal 2022-07-04 15:37:28 +02:00