#7906 Enable production for Flatpak bodhi updates
Closed: Fixed 5 years ago Opened 6 years ago by otaylor.

Please set up a release in Bodhi and adjust tags in Koji so we can do Flatpak updates via Bodhi. This is exactly like the F29 portion of #7899 (F28 is not needed) with 'flatpak' instead of 'container', and F29F instead of F29C.


$ koji add-tag --parent f29-flatpak f29-flatpak-updates
$ koji add-tag --parent f29-flatpak-updates f29-flatpak-updates-candidate
$ koji add-tag --parent f29-flatpak-updates f29-flatpak-updates-testing
$ koji add-tag --parent f29-flatpak-updates-testing f29-flatpak-updates-testing-pending
$ koji add-tag --parent f29-flatpak-updates f29-flatpak-updates-pending
$ koji add-tag --parent f29-flatpak-updates f29-flatpak-override
$ koji edit-target f29-flatpak-candidate --dest-tag=f29-flatpak-updates-candidate
$ bodhi releases create --name "F29F" --long-name "Fedora 29 Flatpaks" --id-prefix FEDORA-FLATPAK --version 29 --branch f29 --dist-tag f29-flatpak --stable-tag f29-flatpak-updates --testing-tag f29-flatpak-updates-testing --candidate-tag f29-flatpak-updates-candidate --pending-stable-tag f29-flatpak-updates-pending --pending-testing-tag f29-flatpak-updates-testing-pending --state current --override-tag f29-flatpak-override
Saved release:
  Name:                F29F
  Long Name:           Fedora 29 Flatpaks
  Version:             29
  Branch:              f29
  ID Prefix:           FEDORA-FLATPAK
  Dist Tag:            f29-flatpak
  Stable Tag:          f29-flatpak-updates
  Testing Tag:         f29-flatpak-updates-testing
  Candidate Tag:       f29-flatpak-updates-candidate
  Pending Signing Tag: 
  Pending Testing Tag: f29-flatpak-updates-testing-pending
  Pending Stable Tag:  f29-flatpak-updates-pending
  Override Tag:        f29-flatpak-override
  State:               current
  Email Template:      fedora_errata_template

Not changing the buildroot inheritance since flatpaks are built from fxx-build tag unlike containers which are built from fxx-container-build tag.

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

6 years ago

I recommend disabling this release until there is a Bodhi release with this patch - if a Flatpak update gets created right now, it will cause the compose to fail and that will require manual intervention to fix and will block new composes from being created. Essentially, production Bodhi cannot handle flatpaks right now due to that issue.

$ bodhi releases edit --name "F29F" --state disabled
Saved release:
  Name:                F29F
  Long Name:           Fedora 29 Flatpaks
  Version:             29
  Branch:              f29
  ID Prefix:           FEDORA-FLATPAK
  Dist Tag:            f29-flatpak
  Stable Tag:          f29-flatpak-updates
  Testing Tag:         f29-flatpak-updates-testing
  Candidate Tag:       f29-flatpak-updates-candidate
  Pending Signing Tag: 
  Pending Testing Tag: f29-flatpak-updates-testing-pending
  Pending Stable Tag:  f29-flatpak-updates-pending
  Override Tag:        f29-flatpak-override
  State:               disabled
  Email Template:      fedora_errata_template

I disabled the release, please let me know when bodhi is updated with that patch and I will re-enable the release.

Metadata Update from @mohanboddu:
- Issue status updated to: Open (was: Closed)

6 years ago

I also changed the build target dest tag back to f29-flatpak, so that flatpak builds wont be dangling in f29-flatpak-updates-candidate tag.

$koji edit-target f29-flatpak-candidate --dest-tag=f29-flatpak

Done.

$ bodhi releases edit --name "F29F" --state current
Saved release:
  Name:                F29F
  Long Name:           Fedora 29 Flatpaks
  Version:             29
  Branch:              f29
  ID Prefix:           FEDORA-FLATPAK
  Dist Tag:            f29-flatpak
  Stable Tag:          f29-flatpak-updates
  Testing Tag:         f29-flatpak-updates-testing
  Candidate Tag:       f29-flatpak-updates-candidate
  Pending Signing Tag: 
  Pending Testing Tag: f29-flatpak-updates-testing-pending
  Pending Stable Tag:  f29-flatpak-updates-pending
  Override Tag:        f29-flatpak-override
  State:               current
  Email Template:      fedora_errata_template

$ koji edit-target f29-flatpak-candidate --dest-tag=f29-flatpak-updates-candidate

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

5 years ago

Log in to comment on this ticket.

Metadata