https://www.puppet.com/community logo
Join Slack
Powered by
# voxpupuli
  • y

    Yury Bushmelev

    12/17/2022, 1:00 PM
    ok, found it..
  • y

    Yury Bushmelev

    12/17/2022, 1:03 PM
    I had the
    require 'voxpupuli/acceptance/rake'
    in my Rakefile (which is expected when following the https://github.com/voxpupuli/voxpupuli-acceptance#running-tests).. Then I had
    require 'puppetlabs_spec_helper/rake_tasks'
    which is added by default in PDK-managed Rakefile. What is surprising
    puppetlabs_spec_helper-3.0.0
    (from PDK) has
    beaker
    task too: https://github.com/puppetlabs/puppetlabs_spec_helper/blob/v3.0.0/lib/puppetlabs_spec_helper/tasks/beaker.rb
  • y

    Yury Bushmelev

    12/17/2022, 1:05 PM
    and this answers both my questions above.. 1.
    beaker
    and
    beaker:sets
    tasks are defined in
    puppetlabs_spec_helper-3.0.0
    2.
    rake beaker
    runs a suite twice because it’s defined twice (with different patterns though)
  • y

    Yury Bushmelev

    12/17/2022, 1:07 PM
    But to make it even more confusing (again)..
    puppetlabs_spec_helper-4.0.0
    and higher has no
    beaker
    Rake task defined 😕
  • y

    Yury Bushmelev

    12/17/2022, 1:07 PM
    sorry for spamming here.. I hope it might be helpful to update docs and write a guide
  • y

    Yury Bushmelev

    12/17/2022, 2:30 PM
    resolved with
    Copy code
    require 'voxpupuli/acceptance/rake' if not Rake::Task.task_defined?(:beaker)
  • y

    Yury Bushmelev

    12/17/2022, 2:30 PM
    resolved with
    Copy code
    require 'voxpupuli/acceptance/rake' if not Rake::Task.task_defined?(:beaker)
  • v

    VoxBot

    12/17/2022, 2:39 PM
    I think we should update voxpupuli-acceptance to require a newer version of puppetlabs_spec_helper
  • y

    Yury Bushmelev

    12/17/2022, 2:53 PM
    yep, v4.0.0 and higher do not have the
    :beaker
    Rake task
  • y

    Yury Bushmelev

    12/17/2022, 2:53 PM
    yep, v4.0.0 and higher do not have the
    :beaker
    Rake task
  • y

    Yury Bushmelev

    12/18/2022, 6:17 AM
    According to the following there is no way to disable beaker debug logging.. 1. https://github.com/voxpupuli/voxpupuli-acceptance/blob/master/lib/voxpupuli/acceptance/spec_helper_acceptance.rb#L6 2. https://github.com/voxpupuli/beaker-rspec/blob/master/lib/beaker-rspec/spec_helper.rb#L32 3. https://github.com/voxpupuli/beaker-rspec/blob/master/lib/beaker-rspec/spec_helper.rb#L44
  • y

    Yury Bushmelev

    12/18/2022, 6:18 AM
    I’ll raise an PR to beaker-rspec repo to allow
    BEAKER_debug=no
    to skip
    --log-level debug
    setting
  • s

    Slackbot

    12/18/2022, 6:26 AM
    This message was deleted.
    y
    • 2
    • 2
  • y

    Yury Bushmelev

    12/18/2022, 6:26 AM
    https://github.com/voxpupuli/beaker-rspec/pull/116 pls
  • y

    Yury Bushmelev

    12/18/2022, 6:27 AM
    Though.. the change is not really backward compatible.. 🤔
  • y

    Yury Bushmelev

    12/18/2022, 7:12 AM
    And there is another PR for beaker-docker: https://github.com/voxpupuli/beaker-docker/pull/68 🙇🏻
  • y

    Yury Bushmelev

    12/18/2022, 7:12 AM
    And there is another PR for beaker-docker: https://github.com/voxpupuli/beaker-docker/pull/68 🙇🏻
  • v

    VoxBot

    12/18/2022, 1:40 PM
    ewoud: o/
  • v

    VoxBot

    12/18/2022, 1:56 PM
    ewoud: can you also take a look at https://github.com/voxpupuli/puppet_metadata/pull/59 maybe?
  • v

    VoxBot

    12/18/2022, 8:50 PM
    can I get a review for https://github.com/voxpupuli/beaker-docker/pull/69
  • v

    VoxBot

    12/18/2022, 8:52 PM
    yas
  • v

    VoxBot

    12/18/2022, 8:54 PM
    thanks!
  • v

    VoxBot

    12/18/2022, 9:07 PM
    https://github.com/voxpupuli/voxpupuli-acceptance/pull/41 and another one
  • v

    VoxBot

    12/18/2022, 10:07 PM
    Dec 18 230628 voxpupu systemd[1]: Started puppetmodule.info.
  • v

    VoxBot

    12/18/2022, 10:07 PM
    is hacking around
  • y

    Yury Bushmelev

    12/19/2022, 2:40 AM
    Shall we have new “beaker-rspec” release maybe?
  • d

    dhollinger

    12/19/2022, 8:39 PM
    Heads up - I will be working on this auto-generated security issue in
    webhook-go
    . It will likely result in a semi-breaking change as auth options for bolt will be read in from the
    bolt-defaults.yaml
    , inventory, or project files. https://github.com/voxpupuli/webhook-go/security/code-scanning/11
  • v

    VoxBot

    12/19/2022, 8:41 PM
    ah nice
  • b

    bastelfreak

    12/19/2022, 9:37 PM
    can I get a review for https://github.com/voxpupuli/puppet-allknowingdns/pull/49 ?
    ✅ 1
  • b

    bastelfreak

    12/19/2022, 9:37 PM
    can I get a review for https://github.com/voxpupuli/puppet-allknowingdns/pull/49 ?
1...220221222...648Latest