#2230 releng / bodhi: switch epel10 compose to nightly cron job
Merged 9 days ago by kevin. Opened 19 days ago by carlwgeorge.
fedora-infra/ carlwgeorge/ansible epel10_no_bodhi_compose_yet  into  main

@@ -152,20 +152,6 @@ 

                                  'dest': os.path.join(FEDORAALTDEST, 'testing', '39', 'Everything')}

                                ]}}

                     },

-             'epel10.0': {'topic': 'epel',

-                          'version': '10.0',

-                          'modules': ['epel'],

-                          'repos': {'epel': {

-                              'from': 'epel10.0',

-                              'to': [{'arches': ['x86_64', 'aarch64', 'ppc64le', 's390x', 'source'],

-                                      'dest': os.path.join(EPELDEST, '10', 'Everything')}

-                                    ]},

-                                    'epel-testing': {

-                              'from': 'epel10.0-testing',

-                              'to': [{'arches': ['x86_64', 'aarch64', 'ppc64le', 's390x', 'source'],

-                                      'dest': os.path.join(EPELDEST, 'testing', '10', 'Everything')}

-                                    ]}}

-                         },

              'epel9': {'topic': 'epel',

                        'version': '9',

                        'modules': ['epel'],

@@ -249,9 +249,6 @@ 

  fedora_testing_master_repomd = https://kojipkgs.stg.fedoraproject.org/compose/updates/f%%s-updates-testing/compose/Everything/%%s/os/repodata/repomd.xml

  fedora_epel_stable_master_repomd = http://dl-iad05.fedoraproject.org/pub/epel/%%s/%%s/repodata/repomd.xml

  fedora_epel_testing_master_repomd = http://dl-iad05.fedoraproject.org/pub/epel/testing/%%s/%%s/repodata/repomd.xml

- # the latest EPEL 10 minor version needs an override to use 10 in the path instead of 10.x

- fedora_epel_10.0_stable_master_repomd = http://dl-iad05.fedoraproject.org/pub/epel/10/Everything/%%s/repodata/repomd.xml

- fedora_epel_10.0_testing_master_repomd = http://dl-iad05.fedoraproject.org/pub/epel/testing/10/Everything/%%s/repodata/repomd.xml

  fedora_modular_stable_master_repomd = https://kojipkgs.stg.fedoraproject.org/compose/updates/f%%s-modular-updates/compose/Everything/%%s/os/repodata/repomd.xml

  fedora_modular_testing_master_repomd = https://kojipkgs.stg.fedoraproject.org/compose/updates/f%%s-modular-updates-testing/compose/Everything/%%s/os/repodata/repomd.xml

  {% endif %}

@@ -0,0 +1,3 @@ 

+ # epel10 compose

+ MAILTO=releng-cron@lists.fedoraproject.org

+ 15 3 * * * root touch /tmp/fedora-compose-epel10 && TMPDIR=`mktemp -d /tmp/epel10.XXXXXX` && chmod 755 $TMPDIR && cd $TMPDIR && git clone --depth 1 --branch epel10 https://pagure.io/pungi-fedora.git && cd pungi-fedora && /usr/local/bin/lock-wrapper epel10-compose "LANG=en_US.UTF-8 ./nightly.sh" && sudo -u ftpsync /usr/local/bin/update-fullfiletimelist -l /pub/fedora-secondary/update-fullfiletimelist.lock -t /pub epel && rm /tmp/fedora-compose-epel10

@@ -218,6 +218,11 @@ 

    copy: src="rawhide-iot" dest=/etc/cron.d/rawhide-iot

    when: inventory_hostname.startswith('compose-iot-01.iad2')

  

+ # put cron job in for epel10 compose

+ - name: epel10 compose cron

+   copy: src="epel10" dest=/etc/cron.d/epel10

+   when: inventory_hostname.startswith('compose-rawhide01.iad2')

+ 

  # put cron job in for enforcing FESCo SIG Policy

  # https://docs.fedoraproject.org/en-US/fesco/SIG_policy/

  - name: sig_policy cron

This looks good to me, but lets perhaps merge the other bits and manually run a compose first? If thats all good, then merge this and start doing them automatically.

rebased onto 01aa61f

10 days ago

The pungi bits have been tested and are ready to merge, then this one can be merged. Once merged and applied in production, we can turn off composed-by-bodhi on the EPEL-10.0 bodhi release.

rebased onto 01aa61f

10 days ago

So, if we want to remove that stuff from bodhi this would need a freeze break.

Perhaps we just drop that for now and clean it up/adjust it after freeze?

I think we need to keep the bodhi adjustments to ensure that the existing compose stuff doesn't try to overwrite the new compose stuff, so I've submitted a freeze break request.

https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org/thread/5XGFEZ5BCZOCG44J363YXNEP6BMZPKCX/

Yeah, you're right. ;)

Pull-Request has been merged by kevin

9 days ago