#18 Update to 7.20.0
Merged 2 years ago by ekohl. Opened 2 years ago by ekohl.
rpms/ ekohl/puppet epel9  into  epel9

Add gating on tests
Ewoud Kohl van Wijngaarden • 2 years ago  
Update to 7.20.0
Ewoud Kohl van Wijngaarden • 2 years ago  
Update to 7.19.0
Ewoud Kohl van Wijngaarden • 2 years ago  
Update to 7.18.0
Ewoud Kohl van Wijngaarden • 2 years ago  
Add tests using tmt
Ewoud Kohl van Wijngaarden • 2 years ago  
file added
+1
@@ -0,0 +1,1 @@ 

+ 1

file modified
+1
@@ -5,3 +5,4 @@ 

  /puppet-*/

  /.build*.log

  results_puppet/

+ /tests/*/log.txt

file added
+14
@@ -0,0 +1,14 @@ 

+ --- !Policy

+ product_versions:

+   - fedora-*

+ decision_contexts: [bodhi_update_push_testing]

+ subject_type: koji_build

+ rules:

+   - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

+ --- !Policy

+ product_versions:

+   - fedora-*

+ decision_contexts: [bodhi_update_push_stable]

+ subject_type: koji_build

+ rules:

+   - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

file added
+7
@@ -0,0 +1,7 @@ 

+ summary: Run puppet lookup

+ prepare:

+     how: install

+     package: puppet

+ execute:

+     how: tmt

+     script: puppet lookup --explain foo

file added
+5
@@ -0,0 +1,5 @@ 

+ summary: Basic smoke test

+ discover:

+     how: fmf

+ execute:

+     how: tmt

file modified
+14 -2
@@ -3,8 +3,8 @@ 

  %global puppet_vendor_mod_dir %{_datadir}/%{name}/vendor_modules

  

  Name:           puppet

- Version:        7.17.0

- Release:        2%{?dist}

+ Version:        7.20.0

+ Release:        1%{?dist}

  Summary:        Network tool for managing many disparate systems

  License:        ASL 2.0

  URL:            https://puppet.com
@@ -208,6 +208,18 @@ 

  %systemd_postun_with_restart %{name}.service

  

  %changelog

+ * Thu Oct 20 2022 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 7.20.0-1

+ - Update to 7.20.0 (fixes rhbz#2126546)

+ 

+ * Sat Sep 17 2022 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 7.19.0-1

+ - Update to 7.19.0 (fixes rhbz#2126546)

+ 

+ * Tue Aug 30 2022 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 7.18.0-1

+ - Update to 7.18.0

+ 

+ * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.17.0-3

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

+ 

  * Wed Jun 15 2022 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 7.17.0-2

  - Require at least concurrent-ruby 1.1.9 (fixes rhbz#2077122)

  

file modified
+2 -2
@@ -1,5 +1,5 @@ 

- SHA512 (puppet-7.17.0.tar.gz) = f691b6d3e931c5cc879c8e5129af2a935bedc891964ba5cbb873d6d69e0ec61bd82ca7d413a94389cda13cb6c8c536aae6f11dade4c6e2597abc7756a74f4df0

- SHA512 (puppet-7.17.0.tar.gz.asc) = b8170200b596531e7f117f3fe699955254a26483e0374fdb190b8a68cff007b35c2845d38185dc22eabac254f5305802fd67c3bf264d6112a42ad9ce4901d6c3

+ SHA512 (puppet-7.20.0.tar.gz) = 6774bf03ad0ee80c0fd2cd8ebad60da56df7ed9818a526084fc2cf1ba2fecc81555fff200f5feef2b5d7a2275d90f44b24160de7221d682de470b511a7051f7f

+ SHA512 (puppet-7.20.0.tar.gz.asc) = d68e6f5f081dea4fcec13b57afc675f14e40eac94efb4ea72cbaaea07e3ef9762507a1eb23806e975500c766619060930b5f06230768a0150309c3b268d7f4d8

  SHA512 (puppetlabs-augeas_core-1.1.2.tar.gz) = 0e2a1f136685b54636cf1741d34bb2385a0bb22d6ea78b6fe495ced3273920d266258143333a4185f901c0c1a6ee562107224b5093668f0c370723c9b3125308

  SHA512 (puppetlabs-cron_core-1.0.5.tar.gz) = a31d3170b0457985fc067b73902a82a92ee0e537020056ffef825ff8b295d581808e729ff0481479086ab6c21a2ecf111df9e16b87c0c14e26ef318e7fbfcd19

  SHA512 (puppetlabs-host_core-1.0.3.tar.gz) = 09b4084663f4f6886380a473d26d1b759026f345bd3850084ac4f3ef59ed8ab2396fecdb3c836591d9097b9c5252ba794c4b7d3296b8321ff401f8a956ad093c

@@ -0,0 +1,4 @@ 

+ summary: Basic smoke testing

+ require: puppet

+ test: ./test.sh

+ framework: beakerlib

file added
+25
@@ -0,0 +1,25 @@ 

+ #!/bin/bash

+ # vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k

+ . /usr/share/beakerlib/beakerlib.sh || exit 1

+ 

+ rlJournalStart

+     rlPhaseStartSetup

+         rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"

+         rlRun "pushd $tmp"

+         rlRun "set -o pipefail"

+         rlAssertRpm puppet

+     rlPhaseEnd

+ 

+     rlPhaseStartTest

+         rlRun -s "puppet --help" 0 "Check help message"

+         rlAssertNotGrep "warning" $rlRun_LOG -i

+ 

+         rlRun "echo \"file { '${tmp}/applied-file': ensure  => file, content => 'Hello World' }\" | puppet apply" 0 "Apply manifest"

+         rlAssertGrep "Hello World" "applied-file"

+     rlPhaseEnd

+ 

+     rlPhaseStartCleanup

+         rlRun "popd"

+         rlRun "rm -r $tmp" 0 "Remove tmp directory"

+     rlPhaseEnd

+ rlJournalEnd

This is just pulling the same commit that's in Rawhide. It'll give me some additional confidence about https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-65e3b5a9b2. Now also updates to 7.20.0.

Looks like the failed dist-git test that's related is from the Rawhide build, not EPEL 9. Also note that it's older. It's probably because it's relating git commits and epel9 is the exact same commit as in Rawhide.

I don't see it running tests on epel9. Perhaps this is something I need to take to fedora-devel@

5 new commits added

  • Add gating on tests
  • Update to 7.20.0
  • Update to 7.19.0
  • Update to 7.18.0
  • Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2 years ago

Pull-Request has been merged by ekohl

2 years ago