* Bump bazeldnf for caret sanitizing in URL
Trying to bump deps results in
```
Error in repository_rule: invalid repository name 'passt-0__0^20250320.g32f6212-1.el9.x86_64': workspace names may contain only A-Z, a-z, 0-9, '-', '_' and '.'
```
This is fixed in https://github.com/rmohr/bazeldnf/pull/25.
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
* clean up dead repos
nsoffer isn't needed since everything exists in proper ovirt
arm64 no longer exists on the regular ovirt repo, adjusting
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
* run make rpm-deps
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
---------
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
* Bump tar rpm to fix concurrent host-assisted clone failure
The source pvc of clone source-pod `cdi-data-vol` volume is not mounted
as `ReadOnly`, and when several host-assisted clones from the same PVC
are done concurrently, the `disk.img` ctime may change during the
operation, so `tar` fails and the pod is restarted:
clone-source.go:41] Subprocess did not execute successfully, result is: '\x01'
/usr/bin/tar: disk.img: file changed as we read it
The issue happens with the current tar version 1.34, but seems to be
solved in 1.35 (https://www.gnu.org/software/tar):
* Warn file changed as we read it less often. Formerly, tar warned if
the file's size or ctime changed. However, this generated a false
positive if tar read a file while another process hard-linked to it,
changing its ctime. Now, tar warns if the file's size, mtime, user
ID, group ID, or mode changes. Although neither heuristic is
perfect, the new one should work better in practice.
Signed-off-by: Arnon Gilboa <agilboa@redhat.com>
* Run make rpm-deps
Signed-off-by: Arnon Gilboa <agilboa@redhat.com>
---------
Signed-off-by: Arnon Gilboa <agilboa@redhat.com>
* Rollback nginx from 1.24.0->1.22.1 to avoid segfaults when pulling https
Possibly a bug with nginx, there were some segfault fixes in 1.25.4 release:
https://nginx.org/en/CHANGEShttps://github.com/openresty/lua-nginx-module/issues/2218
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
* Run make rpm-deps to udpate dependencies for all arches
Ensure the dependencies are up to date so we can
easily merge with s390x PRs in the future.
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
---------
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
Co-authored-by: Alex Kalenyuk <akalenyu@redhat.com>
* Use new builder with 1.22.3
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
* Update rules_go to v0.46.0
More info at https://github.com/bazelbuild/rules_go/pull/3756
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
* Bump go to version 1.22 in go.mod & make deps-update
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
* make generate
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
* Run prom metric linter entirely in builder
We we're executing the go build command directly on the host instead
of in the container
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
* Bump golangci version due to panic
Bumping to avoid a panic with 1.22.3
```
ERRO [runner] Panic: SA1027: package "main" (isInitialPkg: true, needAnalyzeSource: true): runtime error: invalid memory address or nil pointer dereference: goroutine 20883 [running]:
runtime/debug.Stack()
/gimme/.gimme/versions/go1.22.3.linux.amd64/src/runtime/debug/stack.go:24 +0x5e
```
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
---------
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
* forklift: add forklift populators to cdi-importer
Add forklift populators, ovirt-populator and openstack-populator to the
cdi-importer image, this includes:
- Add RPM dependencies to cdi-importer for ovirt-populator
(ovirt-imageio-client, ovirt-engine-sdk)
- Executables for the populators under cmd/openstack-populator and
cmd/ovirt-populator, and use them in cdi-importer-image
- OpenStack go SDK library - gophercloud - added for the OpenStack
populator
Signed-off-by: Benny Zlotnik <bzlotnik@redhat.com>
* Add exceptions to language.sh
oVirt still uses master for branch name so artifacts URLs will include
this term. This patch adds exceptions for files referencing these
artifacts.
Signed-off-by: Benny Zlotnik <bzlotnik@redhat.com>
* forklift: add aarch64 dependencies
Signed-off-by: Benny Zlotnik <bzlotnik@redhat.com>
---------
Signed-off-by: Benny Zlotnik <bzlotnik@redhat.com>
* Remove older nbdkit
Signed-off-by: Alexander Wels <awels@redhat.com>
* When converting always use scratch space importing instead
of ndbkit. Once we are able to get nbdkit 1.35.8 or newer
we can revert this change since that will include improvements
to the downloading speed.
Signed-off-by: Alexander Wels <awels@redhat.com>
* Disable metrics test for import because straight import doesn't
return total, and this means the metrics are disabled.
Signed-off-by: Alexander Wels <awels@redhat.com>
* Fix broken functional tests
Signed-off-by: Alexander Wels <awels@redhat.com>
* Address review comments
Signed-off-by: Alexander Wels <awels@redhat.com>
* Additional review comments.
Fixed functional test that was not doing the right
thing while running the test.
Signed-off-by: Alexander Wels <awels@redhat.com>
* Always set preallocation on block devices when directly
writing to the device
Signed-off-by: Alexander Wels <awels@redhat.com>
---------
Signed-off-by: Alexander Wels <awels@redhat.com>
* Make deps update
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
* go 1.19 & use new builder
rules_go bump needed because of https://github.com/bazelbuild/bazel-gazelle/issues/1332#issuecomment-1279860889
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
* Run linter following go bump
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
* make generate following builder bump
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
---------
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>