#12261 Remove modular tags from the make-koji-release script
Merged 2 months ago by kevin. Opened 2 months ago by jnsamyak.
jnsamyak/releng remove_modular_tag  into  main

@@ -41,7 +41,6 @@ 

  "${KOJICLI}" add-tag --parent "f${release}-infra" --arches="${PRIMARY_ARCHES}" "f${release}-infra-stg"

  "${KOJICLI}" add-tag --parent "f${release}-infra-stg" "f${release}-infra-candidate"

  "${KOJICLI}" add-tag --parent "f${release}-infra-stg" --arches="${PRIMARY_ARCHES}" "f${release}-infra-build"

- "${KOJICLI}" add-tag --parent "f${release}" "f${release}-modularity"

  "${KOJICLI}" add-tag --parent "f${release}" "f${release}-openh264"

  "${KOJICLI}" add-tag --parent "f${release}" "f${release}-atomic"

  "${KOJICLI}" add-tag --parent "f${release}" "f${release}-atomic-host-installer"
@@ -72,31 +71,6 @@ 

  # FCOS signing tags that feed the coreos-pool tag: https://pagure.io/releng/issue/8294

  "${KOJICLI}" add-tag "f${release}-coreos-signing-pending" --parent coreos-pool

  

- # Set up a corresponding set of tags for modules.

- modular_release=${release}-modular

- old_modular_release=${old_release}-modular

- "${KOJICLI}" add-tag "f${modular_release}"

- "${KOJICLI}" edit-tag -x mock.package_manager=dnf5 "f${modular_release}"

- "${KOJICLI}" add-tag --parent "f${modular_release}" "f${modular_release}-updates"

- "${KOJICLI}" add-tag --parent "f${modular_release}-updates" "f${modular_release}-updates-candidate"

- "${KOJICLI}" add-tag --parent "f${modular_release}-updates" "f${modular_release}-updates-testing"

- "${KOJICLI}" add-tag --parent "f${modular_release}-updates-testing" "f${modular_release}-updates-testing-pending"

- "${KOJICLI}" add-tag --parent "f${modular_release}-updates" "f${modular_release}-updates-pending"

- "${KOJICLI}" add-tag --parent "f${modular_release}-updates" "f${modular_release}-override"

- "${KOJICLI}" add-tag --parent "f${modular_release}-updates-testing-pending" "f${modular_release}-signing-pending"

- "${KOJICLI}" add-tag --parent "f${modular_release}-updates"  "f${modular_release}-pending"

- "${KOJICLI}" edit-tag --perm=fedora-override "f${modular_release}-override"

- "${KOJICLI}" edit-tag --perm=admin "f${modular_release}-updates"

- "${KOJICLI}" edit-tag --perm=admin "f${modular_release}-updates-testing"

- "${KOJICLI}" edit-tag --perm=autosign "f${modular_release}-updates-testing-pending"

- "${KOJICLI}" edit-tag --perm=admin "f${modular_release}-updates-pending"

- "${KOJICLI}" edit-tag --perm=autosign "f${modular_release}-signing-pending"

- "${KOJICLI}" edit-tag --perm=autosign "f${modular_release}"

- 

- #To add pkgs from old_modular_release tag to modular_release tag

- pkgs=$(koji list-pkgs --quiet --tag="f${old_modular_release}" | awk '{ print $1}')

- koji add-pkg --owner=releng "f${modular_release}" $pkgs

- 

  "${KOJICLI}" add-tag --parent module-package-list "module-f${release}-build"

  "${KOJICLI}" add-external-repo -t "module-f${release}-build" "f${release}-build" "https://kojipkgs.fedoraproject.org/repos/f${release}-build/latest/\$arch/"

  

Pull-Request has been merged by kevin

2 months ago
Metadata