Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(maint) Flip version detection #51

Merged
merged 1 commit into from
Feb 28, 2023
Merged

(maint) Flip version detection #51

merged 1 commit into from
Feb 28, 2023

Conversation

joshcooper
Copy link
Contributor

The test incorrectly expected md5 checksums with puppet 8. Now we default to sha256, unless testing with 6. Puppet 5 is EOL.

@joshcooper joshcooper requested a review from a team as a code owner February 28, 2023 16:26
The test incorrectly expected md5 checksums with puppet 8. Now we
default to sha256, unless testing with 6. Puppet 5 is EOL.
@joshcooper
Copy link
Contributor Author

❯ export PUPPET_AGENT_BRANCH=main
❯ export BEAKER_setfile=hosts.yaml
❯ export PUPPET_INSTALL_TYPE=agent
❯ export BEAKER_TESTMODE=apply
❯ export BEAKER_PUPPET_COLLECTION=puppet-nightly
❯ export BEAKER_PUPPET_AGENT_SHA=0ca106596dfb1bb1509e0a7b1c09e6e6907bd6fe
❯ export TEST_FRAMEWORK=beaker-rspec
❯ bx rake beaker
...
Manages yumrepo
localhost $ scp /tmp/beaker20230228-806894-1504mds rocky8-64-1:/tmp/apply_manifest_084005403.pp.UnaYrj {:ignore => }
  creates multiple yum repo files
localhost $ scp /tmp/beaker20230228-806894-sapzzz rocky8-64-1:/tmp/apply_manifest_084011279.pp.35Fjog {:ignore => }
  removes a yumrepo entry
localhost $ scp /tmp/beaker20230228-806894-jqa60 rocky8-64-1:/tmp/apply_manifest_084016731.pp.TDzaeQ {:ignore => }
localhost $ scp /tmp/beaker20230228-806894-u903bw rocky8-64-1:/tmp/apply_manifest_084019498.pp.nbAz0F {:ignore => }
  updates a yumrepo entry
  discovers yumrepos
  `proxy` property
    when set to a URL
localhost $ scp /tmp/beaker20230228-806894-wiqnob rocky8-64-1:/tmp/apply_manifest_084024605.pp.nEpY4h {:ignore => }
localhost $ scp /tmp/beaker20230228-806894-az7dmv rocky8-64-1:/tmp/apply_manifest_084027280.pp.9quWb2 {:ignore => }
      applies idempotently
      File "/etc/yum.repos.d/proxied-repo.repo"
        content
          is expected to contain "proxy=http://proxy.example.com:3128"
    when set to `absent`
localhost $ scp /tmp/beaker20230228-806894-rrz7a rocky8-64-1:/tmp/apply_manifest_084033015.pp.BKZI7U {:ignore => }
localhost $ scp /tmp/beaker20230228-806894-10b0w08 rocky8-64-1:/tmp/apply_manifest_084035861.pp.njm0oZ {:ignore => }
      applies idempotently
      File "/etc/yum.repos.d/proxied-repo.repo"
        content
          is expected not to contain "proxy"
    when set to `_none_`
localhost $ scp /tmp/beaker20230228-806894-zi2cg7 rocky8-64-1:/tmp/apply_manifest_084038809.pp.yzpR4L {:ignore => }
localhost $ scp /tmp/beaker20230228-806894-1xa6f3a rocky8-64-1:/tmp/apply_manifest_084041568.pp.SC4rLB {:ignore => }
      applies idempotently
      File "/etc/yum.repos.d/proxied-repo.repo"
        content
          is expected to match /^proxy=$/

Finished in 44.26 seconds (files took 11 minutes 16 seconds to load)
10 examples, 0 failures

@mhashizume mhashizume merged commit c9de996 into main Feb 28, 2023
@mhashizume mhashizume deleted the fix_checksum branch February 28, 2023 17:03
@mhashizume mhashizume added the maintenance Maintenance chores are typically excluded from changelogs label May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Maintenance chores are typically excluded from changelogs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants