schutzbot
75d23d7c98
Post release version bump
...
[skip ci]
2024-03-06 08:14:12 +00:00
Alexander Todorov
4db594dac7
Skip image_installer tests b/c already tested in installers.sh
2024-03-06 09:09:39 +01:00
Alexander Todorov
d0237daf75
Create a custom group via blueprint in installers.sh test script
2024-03-06 09:09:39 +01:00
Alexander Todorov
d7388fdc66
Remove already tested manifests from test-case-generators
...
and remove redundant skips from image_tests.sh
2024-03-06 09:09:39 +01:00
Alexander Todorov
eb5db0bd2c
Skip all edge image types, already covered in Edge CI
2024-03-06 09:09:39 +01:00
Alexander Todorov
a74756e4fb
Skip gce image type, already covered in gcp.sh
2024-03-06 09:09:39 +01:00
Alexander Todorov
c25db57d7d
Skip image types covered in azure.sh
...
namely vhd-boot
2024-03-06 09:09:39 +01:00
Alexander Todorov
c67add4a6e
Skip image types already covered in vmware.sh
...
namely ova-boot|vmdk-boot
2024-03-06 09:09:39 +01:00
Alexander Todorov
20a36964a9
Skip Image Tests for image types already covered in osbuild/images
...
namely ami-boot|edge_ami|ec2-boot|ec2_ha|ec2_sap
Related: COMPOSER-2127
2024-03-06 09:09:39 +01:00
Simon Steinbeiss
362caacd1f
tests: Drop bigiso test (HMS-3710)
...
This test is being migrated to osbuild/images.
2024-03-06 01:14:57 +01:00
Jakub Rusz
eec2cf62e1
CI: Drop SonarQube in favor of Snyk
2024-03-06 00:11:46 +01:00
Sanne Raymaekers
9004ca6310
Revert "packer: pin the vector version"
...
This reverts commit 5315264f2e .
This got fixed in 0.22.1.
2024-03-05 19:10:28 +01:00
Sanne Raymaekers
cad29f93a7
templates/packer: migrate vector to new repos
...
See https://vector.dev/highlights/2023-11-07-new-linux-repos/ for more
information.
2024-03-05 19:10:28 +01:00
Simon de Vlieger
073e304978
images: update dependency
...
Update the images dependency to get the new version gates for Fedora.
2024-03-04 16:20:26 +01:00
Tom Koscielniak
b4dcfc4480
Remove libvirt workaround
2024-03-04 15:39:08 +01:00
dependabot[bot]
ef07f2b81f
build(deps): bump golangci/golangci-lint-action from 3 to 4
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 15:01:41 +01:00
dependabot[bot]
1bd19ab75b
build(deps): bump stackrox/kube-linter-action from 1.0.4 to 1.0.5
...
Bumps [stackrox/kube-linter-action](https://github.com/stackrox/kube-linter-action ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/stackrox/kube-linter-action/releases )
- [Commits](https://github.com/stackrox/kube-linter-action/compare/v1.0.4...v1.0.5 )
---
updated-dependencies:
- dependency-name: stackrox/kube-linter-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 15:00:30 +01:00
Alexander Todorov
8f28da5214
Check for unbound variables in cleanup()
2024-03-04 12:49:56 +01:00
Alexander Todorov
e4b514ca3a
Don't trap the EXIT signal twice
...
killing the worker journal via EXIT signal prevents the cleanup()
function from executing!
NOTE: this is a problem in other scripts as well and needs to be
refactored there too!
2024-03-04 12:49:56 +01:00
Alexander Todorov
97c0c21513
Test images in OpenShift Virtualization
2024-03-04 12:49:56 +01:00
Sanne Raymaekers
09350d0c59
.gitlab-ci.yml: add executor test
2024-03-01 19:20:51 +01:00
Sanne Raymaekers
6602acda6b
test/cases/worker-executor: test the aws.ec2 osbuild-executor
...
Sets up the executor over ssh and waits until completed.
2024-03-01 19:20:51 +01:00
Sanne Raymaekers
55c737e4f9
schutzbot/terraform: support instance profiles on aws runners
2024-03-01 19:20:51 +01:00
Sanne Raymaekers
040eec4089
osbuild-worker: allow adding key to aws.ec2 executor
...
This is useful during testing to set up the executor machine.
2024-03-01 19:20:51 +01:00
Gianluca Zuccarelli
c480d79e95
cloudapi: enable masked services
...
Extend the cloudapi to accept masked systemd services as a
customization.
2024-02-29 20:57:39 +01:00
Gianluca Zuccarelli
f6b76cce31
Update osbuild/images to v0.41.0
...
Multiple blueprint fixes:
- Extend the blueprint service customizations to accept services to be
masked.
- The `storage-path` and `container-transport` fields were removed in
imagees 41.0 in order to simplify the way local storage containers are
handled.
2024-02-29 20:57:39 +01:00
Brian C. Lane
4e504f7905
README: Fix reference to developer guide
2024-02-29 10:56:03 +01:00
Mario Cattamo
e6a7cb2544
ci: skip ostree-remount check in CS9 due to bug RHEL-25249
2024-02-27 17:11:03 +01:00
schutzbot
51a6b08591
Post release version bump
...
[skip ci]
2024-02-26 08:15:12 +00:00
Tomáš Hozza
2f087f1a6c
Update osbuild/images to v0.40.0
...
In addition, simplify the SPEC file to not have to update the minimum
required osbuild version gazillion times, but just once.
Update the minimum required osbuild version to v109, due to changes in
grub2 stages required by the new osbuild/images version.
Update osbild SHA in Schutzfile to v109.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-02-26 09:08:50 +01:00
Sanne Raymaekers
c138ea6939
tools/appsre-build-fedora: wait until rpms are built upstream
...
The fedora build script should wait until the rpms are released upstream
before starting the build, otherwise the rpms will come from the fedora
repos.
2024-02-22 16:05:46 +01:00
Amelia Crate
b3bb851863
Tag rhel 9.2+ with SEV_LIVE_MIGRATABLE_V2
...
SEV-SNP capable kernels containing commit ac3f9c9f are compatible.
SEV_LIVE_MIGRATABLE indicated compatibility with an older version of SEV live migration, without ac3f9c9f.
See: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=ac3f9c9f1b37edaa7d1a9b908bc79d843955a1a2
2024-02-22 15:45:39 +01:00
Florian Schüller
bb4ee36cdc
Makefile: remove dnfjson tests COMPOSER-2068
2024-02-22 15:22:52 +01:00
Florian Schüller
d900a5315e
blueprints_test: Simplify check of the error message RHEL-16006
2024-02-22 15:22:52 +01:00
Florian Schüller
fe338cc475
blueprints_test: change to exact error message validation RHEL-16006
2024-02-22 15:22:52 +01:00
Florian Schüller
7bfd3ea464
blueprints_test: change to more readable table driven tests
2024-02-22 15:22:52 +01:00
Florian Schüller
42da3cb143
blueprint: rename package variable for readability
2024-02-22 15:22:52 +01:00
Florian Schüller
fb8634a991
blueprint: improve error message on missing name
...
the error should not infer that a version is mandatory.
Also the error message is now explicitly checked
2024-02-22 15:22:52 +01:00
Florian Schüller
e31ec13c87
Makefile: implement push-check
...
Tries to replicate github actions as close as possible
2024-02-22 15:22:52 +01:00
Florian Schüller
8e98884bff
Makefile: implement support for BUILDDIR in "build"
...
also document "build" and implement the corresponding "clean"
2024-02-22 15:22:52 +01:00
Florian Schüller
cd9367f964
README: improve dependency documentation
2024-02-22 15:22:52 +01:00
Florian Schüller
99e84abc66
api: add error message for package without name RHEL-16006
2024-02-22 15:22:52 +01:00
Florian Schüller
80f49a526c
README: add a hint how to run the unit-tests locally RHEL-16006
2024-02-22 15:22:52 +01:00
Ondřej Budai
242df9ab75
cloudapi: Add a smoke test for GetImageRequests
...
The focus of this test is to ensure that the image type enumeration in the
public Cloud API is correctly translated to the image type names as defined
in the images library.
Additionally, it covers that the default target is correctly set.
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2024-02-21 12:09:01 +01:00
Ondřej Budai
9b965b0912
cloudapi: Add forgotten iot-simplified-installer to getDefaultTarget
...
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2024-02-21 12:09:01 +01:00
Ondřej Budai
504a51089c
cloudapi: split GetImageRequests off PostCompose
...
This allows us to do some testing of the ComposeRequest => []imageRequest
conversion without actually enqueueing any jobs (which requires us to
do quite a lot of setup in the testsuite).
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2024-02-21 12:09:01 +01:00
Ondřej Budai
28ef0bc855
cloudapi: move manifest seed into an image request
...
The goal of this commit is primarily to simplify the API of the enqueue
methods. This way, basically everything needed to generate manifests
is in the imageRequest structure, which simplifies the amount of structures
that we need to think about.
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2024-02-21 12:09:01 +01:00
Ondřej Budai
7385cab165
cloudapi: move blueprint into an image request
...
The goal of this commit is primarily to simplify the API of the enqueue
methods. This way, basically everything needed to generate manifests
is in the imageRequest structure, which simplifies the amount of structures
that we need to think about.
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2024-02-21 12:09:01 +01:00
Ondřej Budai
ab8c1ae4f7
clouadpi: remove distribution from enqueue methods
...
They can just find it from the image type.
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2024-02-21 12:09:01 +01:00
Ondřej Budai
c48bf0a143
cloudapi: remove arch from imageRequest
...
You can absolutely just get it from imageType, let's not duplicate
information, that's error-prone.
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2024-02-21 12:09:01 +01:00