1717 - epel-8-x86_64
1818 - epel-9-x86_64
1919 actions :
20+ # Bump spec so we get release incremented by 3, getting ahead of potential release difference
21+ # between released RHEL7, RHEL8 and RHEL9 packages.
22+ post-upstream-clone :
23+ - sed -i -E 's/(Release:\s*)([0-9]+)/echo "\1$((\2+3))"/e' ./packaging/convert2rhel.spec
2024 # do not get the version from a tag (git describe) but from the spec file
2125 get-current-version :
2226 - grep -oP '^Version:\s+\K\S+' packaging/convert2rhel.spec
@@ -33,10 +37,11 @@ jobs:
3337 - epel-9-x86_64
3438
3539 actions :
36- # bump spec so we get release starting with 2 and hence all the default branch builds will
37- # have higher NVR than all the PR builds
40+ # Bump spec so we get release incremented by 4, getting ahead of potential release difference
41+ # between released RHEL7, RHEL8 and RHEL9 packages.
42+ # This will make builds from main branch always the latest upstream release.
3843 post-upstream-clone :
39- - rpmdev-bumpspec --comment='latest upstream build ' ./packaging/convert2rhel.spec
44+ - sed -i -E 's/(Release:\s*)([0-9]+)/echo "\1$((\2+4))"/e ' ./packaging/convert2rhel.spec
4045 # do not get the version from a tag (git describe) but from the spec file
4146 get-current-version :
4247 - grep -oP '^Version:\s+\K\S+' packaging/convert2rhel.spec
@@ -391,61 +396,61 @@ jobs:
391396 - sanity-el7
392397 - sanity-centos
393398
394- - &tests-tier0-oraclelinux-7
395- job : tests
396- # Run tests on-demand
397- manual_trigger : true
398- # Do not merge the PR into the target branch, in case the merge is broken
399- # Given we are rebasing the source branches regularly, we do not need this feature enabled
400- merge_pr_in_ci : false
401- trigger : pull_request
402- identifier : " tier0-ol7"
403- tmt_plan : " tier0/core"
404- # Run on Red Testing Farm Hat Ranch, tag resources to sst_conversions
405- use_internal_tf : True
406- # For some targets we use official AWS marketplace images, those do not support root ssh login as default,
407- # therefore we need to pass post-install-script to enable root login on the host
408- tf_post_install_script : ' #!/bin/bash\nsudo sed -i "s/^.*ssh-rsa/ssh-rsa/" /root/.ssh/authorized_keys'
409- targets :
410- epel-7-x86_64 :
411- distros : ["OL7.9-x86_64-HVM-2023-01-05"]
412- tf_extra_params :
413- environments :
414- - tmt :
415- context :
416- distro : " oracle-7"
417- settings :
418- provisioning :
419- tags :
420- BusinessUnit : sst_conversions
421- settings :
422- pipeline :
423- parallel-limit : 20
424- labels :
425- - el7
426- - oracle7
427- - oracle
428- - tier0
429- - tier0-oracle7
430- - tier0-el7
431- - tier0-oracle
432-
433- - &tests-sanity-oraclelinux-7
434- << : *tests-tier0-oraclelinux-7
435- identifier : " sanity-ol7"
436- tmt_plan : " tier0/sanity"
437- labels :
438- - el7
439- - oracle7
440- - oracle
441- - tier0
442- - tier0-oracle7
443- - tier0-el7
444- - tier0-oracle
445- - sanity
446- - sanity-oracle7
447- - sanity-el7
448- - sanity-oracle
399+ # - &tests-tier0-oraclelinux-7
400+ # job: tests
401+ # # Run tests on-demand
402+ # manual_trigger: true
403+ # # Do not merge the PR into the target branch, in case the merge is broken
404+ # # Given we are rebasing the source branches regularly, we do not need this feature enabled
405+ # merge_pr_in_ci: false
406+ # trigger: pull_request
407+ # identifier: "tier0-ol7"
408+ # tmt_plan: "tier0/core"
409+ # # Run on Red Testing Farm Hat Ranch, tag resources to sst_conversions
410+ # use_internal_tf: True
411+ # # For some targets we use official AWS marketplace images, those do not support root ssh login as default,
412+ # # therefore we need to pass post-install-script to enable root login on the host
413+ # tf_post_install_script: '#!/bin/bash\nsudo sed -i "s/^.*ssh-rsa/ssh-rsa/" /root/.ssh/authorized_keys'
414+ # targets:
415+ # epel-7-x86_64:
416+ # distros: ["OL7.9-x86_64-HVM-2023-01-05"]
417+ # tf_extra_params:
418+ # environments:
419+ # - tmt:
420+ # context:
421+ # distro: "oracle-7"
422+ # settings:
423+ # provisioning:
424+ # tags:
425+ # BusinessUnit: sst_conversions
426+ # settings:
427+ # pipeline:
428+ # parallel-limit: 20
429+ # labels:
430+ # - el7
431+ # - oracle7
432+ # - oracle
433+ # - tier0
434+ # - tier0-oracle7
435+ # - tier0-el7
436+ # - tier0-oracle
437+ #
438+ # - &tests-sanity-oraclelinux-7
439+ # <<: *tests-tier0-oraclelinux-7
440+ # identifier: "sanity-ol7"
441+ # tmt_plan: "tier0/sanity"
442+ # labels:
443+ # - el7
444+ # - oracle7
445+ # - oracle
446+ # - tier0
447+ # - tier0-oracle7
448+ # - tier0-el7
449+ # - tier0-oracle
450+ # - sanity
451+ # - sanity-oracle7
452+ # - sanity-el7
453+ # - sanity-oracle
449454
450455 - &tests-tier0-oraclelinux-8
451456 job : tests
@@ -749,18 +754,18 @@ jobs:
749754 - tier1-el7
750755 - tier1-centos
751756
752- - &tests-tier1-manual-oraclelinux-7
753- << : *tests-tier0-oraclelinux-7
754- identifier : " tier1-ol7"
755- tmt_plan : " tier1"
756- labels :
757- - el7
758- - oracle7
759- - oracle
760- - tier1
761- - tier1-oracle7
762- - tier1-el7
763- - tier1-oracle
757+ # - &tests-tier1-manual-oraclelinux-7
758+ # <<: *tests-tier0-oraclelinux-7
759+ # identifier: "tier1-ol7"
760+ # tmt_plan: "tier1"
761+ # labels:
762+ # - el7
763+ # - oracle7
764+ # - oracle
765+ # - tier1
766+ # - tier1-oracle7
767+ # - tier1-el7
768+ # - tier1-oracle
764769
765770 - &tests-tier1-manual-centos8
766771 << : *tests-tier0-centos8
@@ -891,14 +896,14 @@ jobs:
891896 trigger : commit
892897 branch : main
893898
894- - &tests-main-tier1-oraclelinux-7
895- << : *tests-tier0-oraclelinux-7
896- # Run test automatically with merge commit to main branch
897- manual_trigger : false
898- identifier : " tier1-ol7"
899- tmt_plan : " tier1"
900- trigger : commit
901- branch : main
899+ # - &tests-main-tier1-oraclelinux-7
900+ # <<: *tests-tier0-oraclelinux-7
901+ # # Run test automatically with merge commit to main branch
902+ # manual_trigger: false
903+ # identifier: "tier1-ol7"
904+ # tmt_plan: "tier1"
905+ # trigger: commit
906+ # branch: main
902907
903908 - &tests-main-tier1-centos8
904909 << : *tests-tier0-centos8
0 commit comments