internal/weldr: specify architecture of compose

This is useful in environments with multi-arch remote workers.
Defaults to the host architecture.
This commit is contained in:
Sanne Raymaekers 2023-10-10 12:53:18 +02:00
parent e24772dc57
commit c6aa7d88d2
10 changed files with 188 additions and 73 deletions

View file

@ -71,6 +71,10 @@ func executeTests(m *testing.M) int {
panic(err)
}
distro2 := test_distro.NewTestDistro("test-distro-2", "platform:test-2", "2")
_, err = fixture.Workers.RegisterWorker(arch.Name())
if err != nil {
panic(err)
}
rr := reporegistry.NewFromDistrosRepoConfigs(rpmmd.DistrosRepoConfigs{
test_distro.TestDistroName: {