Tomáš Hozza
6cb4cd9012
Packit: build c9s in COPR on all arches
...
Build c9s RPMs in COPR for all available architectures.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-06-04 13:03:37 +02:00
Tomáš Hozza
5b95e956a6
Packit: add c10s COPR builds on all arches
...
Build RPMs for c10s using Packit in COPR for all available
architectures.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-06-04 13:03:37 +02:00
Tomáš Hozza
80f9410e7f
Add c10s and el10.0 repo definitions.
...
Add the GA repos (which don't obviously work yet for el10.0) and RPMrepo
snapshots for testing.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-06-04 13:03:37 +02:00
Tomáš Hozza
c8e8bffd99
SPEC: take c10s and el10 into consideration for repo installation
...
Previously, the SPEC file was written in the way that c9s and el9 were
the latest major releases of the respective distributions and as such,
they could build images for all previous major versions of the same
distro. With c10s and el10, this is no longer true. Amend the section
which installs repository definitions.
The idea is that:
- c10s / el10 are the latest major version and can build any previous
major version of the same distro.
- Any cs and el distro version can build images for the same major
version.
- c9s can build also c8s / el9 can build also el8 images.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-06-04 13:03:37 +02:00
Tomáš Hozza
cdf0a5b8cc
SPEC/-tests: don't require podman-plugins on F40+ and c10s
...
The sub-package has been deprecated in podman v5.0.0, which is shipped
in these distributions.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-06-04 13:03:37 +02:00
Mario Cattamo
eb3884f71a
test: skip ostree-remount due to issue RHEL-25249
2024-05-31 21:10:51 +02:00
Sanne Raymaekers
4629a31f22
templates/packer: use python3.10 on fedora
...
Ansible on fedora 40 seems broken, the default python 3.12 interpreter
doesn't work, 3.10 works but then the dnf module breaks.
Use 3.10 and stop using the dnf module.
2024-05-31 13:55:58 +02:00
Sanne Raymaekers
22e15da73c
templates/packer: use import_tasks instead of include_tasks
...
The tags don't get inherited through the dynamic `include_tasks`
command. Use `import_tasks` to preserve the tags.
2024-05-31 13:55:58 +02:00
Tomáš Hozza
8f36b6f26e
Explicitly pass rpmlint config when calling it
...
New version of rpmlint stopped picking the config automatically.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-05-30 19:58:34 +02:00
Tomáš Hozza
71b9c0ad65
Fix pylint issues
...
Add timeout to `requests.post()` and `requests.get()` calls to make
pylint happy.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-05-30 19:58:34 +02:00
Tomáš Hozza
666baff944
Update F37 to F40
...
Fedora 37 has been EOL for some time.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-05-30 19:58:34 +02:00
Sanne Raymaekers
a96f1b6d31
templates/packer: switch to fedora-40
...
Fedora 38 is EOL, and packit no longer builds rpms for it.
The current python3.12 + ansible 2.12 combination which is the default
on fedora 40 doesn't work, so switch to python3.9.
2024-05-29 19:36:31 +02:00
Sanne Raymaekers
5d1094a94e
test/cases/ubi-wsl: test rhel9 ga
2024-05-29 16:05:01 +02:00
schutzbot
0ad74e0f34
Post release version bump
...
[skip ci]
2024-05-29 08:14:09 +00:00
Mario Cattamo
cab72ff914
test: execute dmesg task as privileged user
2024-05-29 09:05:44 +02:00
Achilleas Koutsou
580903fa27
gitlab: run the RHEL 8 alias test on RHEL 8.8 (GA)
2024-05-29 00:27:31 +02:00
Achilleas Koutsou
d6e78fa3b1
test/dot-notation-aliases: typo fixes and cleanups
...
- Change the alias example at the top of the file to use RHEL 9 -> 9.4
instead of 8 -> 8.10 which is no longer true for the test.
- Fix some comment typos.
- Clean trailing whitespaces.
2024-05-29 00:27:31 +02:00
Achilleas Koutsou
a6a5daa209
test/dot-notation-aliases: override rhel-8 alias
...
The test relies on the existence of the /etc/dnf/vars/releasever file
and the value it specifies. In SAP images, this file specifies the
locked release version for the system and it is written by the image
definition itself. This makes it a good candidate for ensuring we are
using the correct distro version when building the image.
However, RHEL 8.10 SAP images don't lock the distro version because 8.10
is the last minor version in the RHEL 8 cycle.
Let's override the alias for RHEL 8 to point to 8.8, which is a version
that should contain a releasever. The exact value we use isn't
important. What we are testing here is the mechanism for resolving
aliases.
2024-05-29 00:27:31 +02:00
Achilleas Koutsou
4241f5bb39
tools/gen-ssh: upgrade openssh before generating key
...
openssl gets installed as a dependency of the osbuild-composer-tests but
it might not update openssh at the same time, which can cause a version
mismatch when running ssh-keygen:
OpenSSL version mismatch. Built against 30000000, you have 30200010
This is currently happening in CentOS Stream 9 so let's make sure
openssh is up to date before running ssh-keygen.
2024-05-29 00:27:31 +02:00
Achilleas Koutsou
f09aab365a
Schutzfile: bump pinned osbuild version to v119
2024-05-29 00:27:31 +02:00
Achilleas Koutsou
f5c6cdd9cf
blueprint: add new kickstart.contents option
2024-05-29 00:27:31 +02:00
Achilleas Koutsou
a3a539abd1
Update osbuild/images v0.63.0
...
Pulling in (among others):
- https://github.com/osbuild/images/pull/700
- Blueprint User customization change required.
- https://github.com/osbuild/images/pull/705
2024-05-29 00:27:31 +02:00
dependabot[bot]
c1d56a50c2
build(deps): bump the go-deps group across 1 directory with 11 updates
...
---
updated-dependencies:
- dependency-name: cloud.google.com/go/compute
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: cloud.google.com/go/storage
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: github.com/aws/aws-sdk-go
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: github.com/hashicorp/go-retryablehttp
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-deps
- dependency-name: github.com/openshift-online/ocm-sdk-go
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-deps
- dependency-name: github.com/osbuild/images
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-deps
- dependency-name: github.com/vmware/govmomi
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-deps
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-29 00:27:31 +02:00
schutzbot
295dddca37
schutzfile: Update snapshots to 20240514
2024-05-29 00:27:31 +02:00
Andre Marianiello
0ef11c1f07
internal/blueprint: Go fmt customizations test
2024-05-27 13:06:48 +02:00
Andre Marianiello
0ece609c8b
Add ExpireDate to user customizations test
2024-05-27 13:06:48 +02:00
Tomáš Hozza
d8a0cfe0ac
Add RHEL-9.5 repo definitions
...
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-05-23 12:21:09 +02:00
Sanne Raymaekers
13aae7d532
templates/packer: invert tag logic
...
With the rpmcopy or rpmrepo_osbuild tags, the `Install worker rpm` stage
got skipped on RHEL and CI. Invert the tag logic and use `--tags`
instead of `--skip-tags`.
2024-05-21 09:40:11 +02:00
schutzbot
773bfe6c49
Post release version bump
...
[skip ci]
2024-05-15 08:13:55 +00:00
Mario Cattamo
9164c9a8dd
test: update osname for edge deployments
2024-05-14 21:12:36 +02:00
Brian C. Lane
66c5c5ecf9
cloudapi: Add UploadTypesLocal for local_save status reports
...
This allows the compose status to reflect that it was saved locally, not
uploaded to a remote service. Without this it returns an error of
'Compose has unknown upload target'
2024-05-13 13:27:12 -07:00
Alexander Todorov
8dece19342
Submit data to CodeCov only if actor has access to token secrets
2024-05-10 22:08:27 +03:00
Alexander Todorov
75a80c9625
Tell CodeCov to add comments to PRs
2024-05-10 22:08:27 +03:00
Alexander Todorov
966685607b
Re-enable codecov but use a GHA to submit the results
...
because the bash upload has been deprecated
2024-05-10 22:08:27 +03:00
Sanne Raymaekers
c886d6c1f5
templates/dashboards: fix community-stage tenant variable
...
A space is necessary before and after the colon separating the key and
the value.
[skip ci]
2024-05-08 12:59:34 +02:00
Sanne Raymaekers
9c047cd8e0
tools/fedora-worker-packer: don't trace statements
...
It makes the logs extremely verbose, and requests/responses are already
printed when relevant.
2024-05-07 18:38:13 +02:00
Sanne Raymaekers
aadf5dfc9a
tools/fedora-worker-packer: increase timeouts further
...
The first timeout increase didn't take effect. And once the suite is
present the rpm builds can stay pending for a very long time.
2024-05-07 18:38:13 +02:00
Sanne Raymaekers
c9ce5af655
tools/fedora-worker-packer: set the commit sha
...
Currently the COMMIT_SHA variable is empty.
2024-05-07 14:47:59 +02:00
Sanne Raymaekers
28e4b0aa07
tools/fedora-worker-packer: increase timeout waiting for packit
2024-05-07 14:47:59 +02:00
Sanne Raymaekers
a1476bdfb1
tools/appsre-build-worker-packer: stop writing bogus files
2024-05-07 13:57:48 +02:00
Sanne Raymaekers
61848cb88d
tools/appsre-build-fedora-worker-packer: wait for packit
...
Wait for packit to complete it's runs, after which the rpms should be
available from the @osbuild/osbuild-composer copr repo.
2024-05-07 13:57:48 +02:00
Sanne Raymaekers
616db61105
tools/build-worker-packer: skip rpmcopr for RHEL and on CI
...
Also skip both rpmrepo tasks on RHEL.
2024-05-07 13:57:48 +02:00
Sanne Raymaekers
592308f7af
templates/packer/ansible: add task to install rpms from copr
...
Split the rpmrepo tasks in osbuild and composer. With copr we'll use
osbuild from rpmrepo, because the osbuild copr rpms disappear too
quickly.
2024-05-07 13:57:48 +02:00
Achilleas Koutsou
cf75093163
Update osbuild/images v0.59.0
...
Pulling in:
- https://github.com/osbuild/images/pull/650
- https://github.com/osbuild/images/pull/651
2024-05-03 20:32:45 +02:00
dependabot[bot]
57f701587d
build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3
...
Bumps [github.com/go-jose/go-jose/v3](https://github.com/go-jose/go-jose ) from 3.0.1 to 3.0.3.
- [Release notes](https://github.com/go-jose/go-jose/releases )
- [Changelog](https://github.com/go-jose/go-jose/blob/v3.0.3/CHANGELOG.md )
- [Commits](https://github.com/go-jose/go-jose/compare/v3.0.1...v3.0.3 )
---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 15:59:30 +02:00
dependabot[bot]
88cbad85f2
build(deps): bump gopkg.in/go-jose/go-jose.v2 from 2.6.1 to 2.6.3
...
Bumps gopkg.in/go-jose/go-jose.v2 from 2.6.1 to 2.6.3.
---
updated-dependencies:
- dependency-name: gopkg.in/go-jose/go-jose.v2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 10:34:32 +02:00
dependabot[bot]
9f26ef71b7
build(deps): bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 25.0.3+incompatible to 25.0.5+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v25.0.3...v25.0.5 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-02 16:32:35 +02:00
Tomáš Hozza
37995a7c65
Schutzfile: bump pinned osbuild version to v117
...
This is needed to get the support for "After" key in the
`org.osbuild.systemd.unit.create` stage, which is used by the new
version of `osbuild/images`.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-05-02 13:48:55 +02:00
dependabot[bot]
9193f3eebc
build(deps): bump the go-deps group across 1 directory with 14 updates
...
Bumps the go-deps group with 11 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [cloud.google.com/go/compute](https://github.com/googleapis/google-cloud-go ) | `1.25.1` | `1.26.0` |
| [github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://github.com/Azure/azure-sdk-for-go ) | `1.5.1` | `1.5.2` |
| [github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5](https://github.com/Azure/azure-sdk-for-go ) | `5.5.0` | `5.7.0` |
| [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) | `1.51.25` | `1.52.0` |
| [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go ) | `0.26.0` | `0.27.0` |
| [github.com/gophercloud/gophercloud](https://github.com/gophercloud/gophercloud ) | `1.10.0` | `1.11.0` |
| [github.com/jackc/pgtype](https://github.com/jackc/pgtype ) | `1.14.1` | `1.14.3` |
| [github.com/labstack/echo/v4](https://github.com/labstack/echo ) | `4.11.4` | `4.12.0` |
| [github.com/openshift-online/ocm-sdk-go](https://github.com/openshift-online/ocm-sdk-go ) | `0.1.398` | `0.1.418` |
| [github.com/osbuild/images](https://github.com/osbuild/images ) | `0.56.0` | `0.58.0` |
| [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) | `1.18.0` | `1.19.0` |
Updates `cloud.google.com/go/compute` from 1.25.1 to 1.26.0
- [Release notes](https://github.com/googleapis/google-cloud-go/releases )
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/documentai/CHANGES.md )
- [Commits](https://github.com/googleapis/google-cloud-go/compare/pubsub/v1.25.1...pubsub/v1.26.0 )
Updates `github.com/Azure/azure-sdk-for-go/sdk/azidentity` from 1.5.1 to 1.5.2
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/internal/v1.5.1...sdk/internal/v1.5.2 )
Updates `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5` from 5.5.0 to 5.7.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/resourcemanager/compute/armcompute/v5.5.0...sdk/resourcemanager/compute/armcompute/v5.7.0 )
Updates `github.com/aws/aws-sdk-go` from 1.51.25 to 1.52.0
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.51.25...v1.52.0 )
Updates `github.com/getsentry/sentry-go` from 0.26.0 to 0.27.0
- [Release notes](https://github.com/getsentry/sentry-go/releases )
- [Changelog](https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-go/compare/v0.26.0...v0.27.0 )
Updates `github.com/gophercloud/gophercloud` from 1.10.0 to 1.11.0
- [Release notes](https://github.com/gophercloud/gophercloud/releases )
- [Changelog](https://github.com/gophercloud/gophercloud/blob/v1.11.0/CHANGELOG.md )
- [Commits](https://github.com/gophercloud/gophercloud/compare/v1.10.0...v1.11.0 )
Updates `github.com/jackc/pgtype` from 1.14.1 to 1.14.3
- [Changelog](https://github.com/jackc/pgtype/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jackc/pgtype/compare/v1.14.1...v1.14.3 )
Updates `github.com/jackc/pgx/v4` from 4.18.1 to 4.18.2
- [Changelog](https://github.com/jackc/pgx/blob/v4.18.2/CHANGELOG.md )
- [Commits](https://github.com/jackc/pgx/compare/v4.18.1...v4.18.2 )
Updates `github.com/labstack/echo/v4` from 4.11.4 to 4.12.0
- [Release notes](https://github.com/labstack/echo/releases )
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/labstack/echo/compare/v4.11.4...v4.12.0 )
Updates `github.com/openshift-online/ocm-sdk-go` from 0.1.398 to 0.1.418
- [Release notes](https://github.com/openshift-online/ocm-sdk-go/releases )
- [Changelog](https://github.com/openshift-online/ocm-sdk-go/blob/main/CHANGES.md )
- [Commits](https://github.com/openshift-online/ocm-sdk-go/compare/v0.1.398...v0.1.418 )
Updates `github.com/osbuild/images` from 0.56.0 to 0.58.0
- [Release notes](https://github.com/osbuild/images/releases )
- [Commits](https://github.com/osbuild/images/compare/v0.56.0...v0.58.0 )
Updates `github.com/prometheus/client_golang` from 1.18.0 to 1.19.0
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.18.0...v1.19.0 )
Updates `golang.org/x/sync` from 0.6.0 to 0.7.0
- [Commits](https://github.com/golang/sync/compare/v0.6.0...v0.7.0 )
Updates `google.golang.org/api` from 0.175.0 to 0.177.0
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.175.0...v0.177.0 )
---
updated-dependencies:
- dependency-name: cloud.google.com/go/compute
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-deps
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: github.com/aws/aws-sdk-go
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: github.com/getsentry/sentry-go
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: github.com/gophercloud/gophercloud
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: github.com/jackc/pgtype
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-deps
- dependency-name: github.com/jackc/pgx/v4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-deps
- dependency-name: github.com/labstack/echo/v4
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: github.com/openshift-online/ocm-sdk-go
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-deps
- dependency-name: github.com/osbuild/images
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: golang.org/x/sync
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-02 13:48:55 +02:00
Sanne Raymaekers
49566b7ce4
templates/packer: add failure script
...
In case the service failed, set the instance to unhealthy.
2024-05-02 13:34:47 +02:00