#7384 Implement custom dist tags for infra builds
Closed: Fixed 5 months ago by mizdebsk. Opened 7 months ago by mizdebsk.

I propose to implement custom dist tags for infra-specific builds as detailed below. See mailing list thread for more context.

Proof of concept is implemented in staging Koji. All builds in infra tags have dist tags like ".el7.infra", ".fc28.infra" and so on. Example scratch-builds:

Implementation details:

  • create fedora-infra-srpm-macros package that installs a single macro: %dist .%{?fedora:fc%{fedora}}%{?rhel:el%{rhel}}.infra
  • add fedora-infra-srpm-macros package to all relevant infra tags
  • add package fedora-infra-srpm-macros to build and srpm-build groups for all relevant infra build tags
  • build fedora-infra-srpm-macros and tag it to all relevant tags (a single build tagged into multiple infra tags)

CC @ngompa


Relevant Koji history:

Tue Nov  6 18:50:07 2018 package list entry created: fedora-infra-srpm-macros in epel6-infra by mizdebsk [still active]
Tue Nov  6 18:50:11 2018 package list entry created: fedora-infra-srpm-macros in epel7-infra by mizdebsk [still active]
Tue Nov  6 18:50:18 2018 package list entry created: fedora-infra-srpm-macros in f27-infra by mizdebsk [still active]
Tue Nov  6 18:50:21 2018 package list entry created: fedora-infra-srpm-macros in f28-infra by mizdebsk [still active]
Tue Nov  6 18:50:25 2018 package list entry created: fedora-infra-srpm-macros in f29-infra by mizdebsk [still active]
Tue Nov  6 18:50:28 2018 package list entry created: fedora-infra-srpm-macros in f30-infra by mizdebsk [still active]

Tue Nov  6 20:30:26 2018 package fedora-infra-srpm-macros added to group build in tag epel6-infra by mizdebsk [still active]
Tue Nov  6 20:30:29 2018 package fedora-infra-srpm-macros added to group srpm-build in tag epel6-infra by mizdebsk [still active]
Tue Nov  6 20:30:31 2018 package fedora-infra-srpm-macros added to group build in tag epel7-infra-build by mizdebsk [still active]
Tue Nov  6 20:30:34 2018 package fedora-infra-srpm-macros added to group srpm-build in tag epel7-infra-build by mizdebsk [still active]
Tue Nov  6 20:30:41 2018 package fedora-infra-srpm-macros added to group build in tag f27-infra-build by mizdebsk [still active]
Tue Nov  6 20:30:44 2018 package fedora-infra-srpm-macros added to group srpm-build in tag f27-infra-build by mizdebsk [still active]
Tue Nov  6 20:30:47 2018 package fedora-infra-srpm-macros added to group build in tag f28-infra-build by mizdebsk [still active]
Tue Nov  6 20:30:50 2018 package fedora-infra-srpm-macros added to group srpm-build in tag f28-infra-build by mizdebsk [still active]
Tue Nov  6 20:30:53 2018 package fedora-infra-srpm-macros added to group build in tag f29-infra-build by mizdebsk [still active]
Tue Nov  6 20:30:55 2018 package fedora-infra-srpm-macros added to group srpm-build in tag f29-infra-build by mizdebsk [still active]
Tue Nov  6 20:30:57 2018 package fedora-infra-srpm-macros added to group build in tag f30-infra-build by mizdebsk [still active]
Tue Nov  6 20:31:00 2018 package fedora-infra-srpm-macros added to group srpm-build in tag f30-infra-build by mizdebsk [still active]

Wed Nov 21 08:42:25 2018 fedora-infra-srpm-macros-2018.01-2 tagged into epel7-infra by mizdebsk [still active]
Wed Nov 21 08:42:35 2018 fedora-infra-srpm-macros-2018.01-2 tagged into f27-infra by mizdebsk [still active]
Wed Nov 21 08:42:36 2018 fedora-infra-srpm-macros-2018.01-2 tagged into f28-infra by mizdebsk [still active]
Wed Nov 21 08:42:38 2018 fedora-infra-srpm-macros-2018.01-2 tagged into f30-infra by mizdebsk [still active]
Wed Nov 21 08:42:43 2018 fedora-infra-srpm-macros-2018.01-2 tagged into f29-infra by mizdebsk [still active]
Wed Nov 21 08:43:24 2018 fedora-infra-srpm-macros-2018.01-2 tagged into epel6-infra by mizdebsk [still active]

I ran into a problem this week that would have been helped by this. The f29-infra repo has a build of Bodhi that uses Python 3, but I can't switch the Bodhi in Fedora 29 to Python 3 because of backwards incompatibility, so I have to play games with release values to make sure the infra repo always has a higher release than Fedora 29.

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

7 months ago

Metadata Update from @mizdebsk:
- Issue assigned to mizdebsk

7 months ago

Metadata Update from @mizdebsk:
- Issue priority set to: Waiting on External (was: Waiting on Assignee)

7 months ago

This proposal looks good to me. Looking forward to it being implemented!

releng ticket has been resolved.

Metadata Update from @mizdebsk:
- Issue priority set to: Waiting on Assignee (was: Waiting on External)

6 months ago

Infra tags have been implemented for epel7, f28, f29 and f30.
epel6 is blocked on releng ticket #8041.

Remaining work:

  • koji move epel6-infra-stg epel6-infra fedora-infra-srpm-macros-2018.01-2
    (once tag permissions are fixed)
  • send announcement

Metadata Update from @mizdebsk:
- Issue priority set to: Waiting on External (was: Waiting on Assignee)

5 months ago

Metadata Update from @mizdebsk:
- Issue close_status updated to: Fixed
- Issue priority set to: None (was: Waiting on External)
- Issue status updated to: Closed (was: Open)

5 months ago

Login to comment on this ticket.

Metadata