#208 setup build tags for Hyperscale SIG
Closed: Fixed 3 years ago by arrfab. Opened 3 years ago by dcavalca.

Please setup build tags for the Hyperscale SIG with:

$sig = hyperscale
$version = 8s
$project = packages
$version = main, experimental

leading to:
hyperscale8s-packages-{main,experimental}-{candidate,testing,release}

which would then publish to:
/centos/8-stream/hyperscale/$arch/packages/main
/centos/8-stream/hyperscale/$arch/packages/experimental

For $arch let's go with just x86_64 for now, though we might expand this down the road.

Thanks!


@arrfab, can I go ahead, or do we need to merge staging first ?

@alphacc if you mean for kojihub role, it was already done : https://github.com/CentOS/ansible-role-kojihub/commits/master ;-)

@dcavalca : we can create the tags for x86_64 only but worth knowing that adding afterwards other arches is more work, as koji will refuse to let build easily pkgs with same NVR, so I still recommend to enable all at tag creation time. That's though not mandatory, but the "scratch + merge" operation needs some orchestration with koji admins, that's the only constraint.

So if that works for you we can create the tags as the ones you described

Metadata Update from @arrfab:
- Issue tagged with: cbs, low-gain, low-trouble

3 years ago

Can we enable all tags, but still just do builds for x86_64 for now? Or alternatively, do builds for all arches, but ignore failures for non-x86_64?

@dcavalca no, it would fail the whole build if it fails just one for one enabled arches for the tags, so once you have multiple architectures it's "it builds of fails" for all

So do you prefer then only supporting x86_64 for now ?

Metadata Update from @arrfab:
- Issue assigned to arrfab

3 years ago

Yeah, let's just do x86_64 for now. If we expand this later I'm ok with bumping the packages rev and rebuilding them.

You should be able to build :

* Checking distribution el8s configuration...
 -> Checking hyperscale config...
Using default options for hyperscale/packages
Creating tag  : hyperscale8s-packages-main-candidate
Creating tag  : hyperscale8s-packages-main-testing
Creating tag  : hyperscale8s-packages-main-release
 -> creating hyperscale8s-packages-main-el8
Added external repo centos8s-cr to tag hyperscale8s-packages-main-el8-build (priority 5)
Added external repo centos8s-extras to tag hyperscale8s-packages-main-el8-build (priority 10)
Added external repo centos8s-powertools to tag hyperscale8s-packages-main-el8-build (priority 15)
Added external repo centos8s-appstream to tag hyperscale8s-packages-main-el8-build (priority 20)
Added external repo centos8s-baseos to tag hyperscale8s-packages-main-el8-build (priority 25)

* Checking distribution el8s configuration...
 -> Checking hyperscale config...
Creating user : hyperscale
Using default options for hyperscale/packages
Creating tag  : hyperscale8s-packages-experimental-candidate
Creating tag  : hyperscale8s-packages-experimental-testing
Creating tag  : hyperscale8s-packages-experimental-release
 -> creating hyperscale8s-packages-experimental-el8
Added external repo centos8s-cr to tag hyperscale8s-packages-experimental-el8-build (priority 5)
Added external repo centos8s-extras to tag hyperscale8s-packages-experimental-el8-build (priority 10)
Added external repo centos8s-powertools to tag hyperscale8s-packages-experimental-el8-build (priority 15)
Added external repo centos8s-appstream to tag hyperscale8s-packages-experimental-el8-build (priority 20)
Added external repo centos8s-baseos to tag hyperscale8s-packages-experimental-el8-build (priority 25)

Metadata Update from @arrfab:
- Issue priority set to: Waiting on Reporter (was: Needs Review)

3 years ago

Just waiting for feedback and I'll close request when it's confirmed to work as expected

Metadata Update from @alphacc:
- Issue untagged with: cbs, low-gain, low-trouble
- Issue priority set to: Needs Review (was: Waiting on Reporter)

3 years ago

Metadata Update from @arrfab:
- Issue tagged with: Business-As-Usual, cbs, low-gain, low-trouble

3 years ago

Started a scratch build from a local src.rpm (as I don't know how to do builds from dist-git yet) at https://cbs.centos.org/koji/taskinfo?taskID=1919143

Note: I used hyperscale8s-packages-main-el8 as the build target as that's what I saw in cbs list-targets

Ok that was clearly too ambitious for a first try :) Let's see what happens with something simpler: https://cbs.centos.org/koji/taskinfo?taskID=1919146

Cool, so that works fine , let me close this ticket.
FWIW, the SIG Guide has explanations about how to push to git and then build from it :

https://wiki.centos.org/SIGGuide#Managing_Content

Metadata Update from @arrfab:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata
Boards 1
CBS Status: Backlog