ci: Make nightly repo/source files multi-arch
the prepare-rhel-internal.sh script should be executed on a single runner and it will loop through all architectures to prepare the necessary definitions inside .json and .repo files. The resulting osbuild-composer-tests repository is not multi-arch, containing all versions of osbuild-composer-tests.rpm downloaded from Brew. This is needed because jobs from subsequent stages will download artifacts (.json & .repo files) from the prepare job but there's no mechanism to control this easily. As a result artifacts are downloaded from all of the prepare jobs and they overwrite themselves resulting in test systems being configured with repo files for different CPU architecture which leads to dnf errors.
This commit is contained in:
parent
1532b27c2b
commit
44c25b7a87
3 changed files with 51 additions and 15 deletions
|
|
@ -93,8 +93,9 @@ Prepare-rhel-internal:
|
|||
parallel:
|
||||
matrix:
|
||||
- RUNNER:
|
||||
# NOTE: 1 runner prepares for all arches b/c subsequent jobs download
|
||||
# artifacts from all previous jobs and the last one wins
|
||||
- aws/rhel-8.5-x86_64
|
||||
- aws/rhel-8.5-aarch64
|
||||
INTERNAL_NETWORK: ["true"]
|
||||
|
||||
Base:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue