• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • RDO Dalmatian
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      The creation of the new DLRN Trunk builder is done in two steps:

      1. in rdo-infra/ansible-role-dlrn and inside the rdo-toolbox:
        cp files/centos9-master-dlrn-deps.repo files/centos9-$RDO_MASTER_RELEASE-dlrn-deps.repo
        sed -i "s/master/$RDO_MASTER_RELEASE/g" files/centos9-$RDO_MASTER_RELEASE-dlrn-deps.repo 
        echo "" >> files/centos9-$RDO_MASTER_RELEASE-dlrn-deps.repo
        curl -s -L https://trunk.rdoproject.org/centos9-master/current/delorean.repo | sed '/^baseurl/ s/\(.*component\/\)\([a-zA-Z]*\/\)\(.*\)/\1\2current/' >> files/centos9-$RDO_MASTER_RELEASE-dlrn-deps.repo
        cp files/centos9-master-rdo-trunk-runtime-deps.repo files/centos9-$RDO_MASTER_RELEASE-rdo-trunk-runtime-deps.repo
        sed -i "s/master/$RDO_MASTER_RELEASE/g" files/centos9-$RDO_MASTER_RELEASE-rdo-trunk-runtime-deps.repo
        grep -e "when" tasks/worker.yml  | grep -q -e $RDO_MASTER_RELEASE || sed -i "/Create directory under \/var\/www\/html for stable release version/,/when/ s/)\.\*/|${RDO_MASTER_RELEASE})\.\*/" tasks/worker.yml
        

        e.g: https://review.rdoproject.org/r/c/rdo-infra/ansible-role-dlrn/+/47053
        Note: the addition of the new release in index.html should be done after bootstrap process finished. Otherwise, users may assume it's stable whereas it's WIP.
        Note that, in order to bootstrap the bobcat dlrn builder we will include centos9-master delorean current repos in the delorean-deps.repo untill the initial bootstrap is done

                 Example of including centos9-master delorean current repos: https://review.rdoproject.org/r/c/rdo-infra/ansible-role-dlrn/+/52090

      1. in softwarefactory-project/sf-infra project
        e.g: https://softwarefactory-project.io/r/c/software-factory/sf-infra/+/27459
        and needs to be pushed with a Depends-On first patch

       

              kkula@redhat.com Karolina Kula
              jcapitao1@redhat.com Joel Capitao
              rhos-dfg-reldel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: