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

    Yury Bushmelev

    03/18/2023, 7:21 AM
    not sure why it’s not installed as dependency of
    beaker
    gem..
  • y

    Yury Bushmelev

    03/18/2023, 7:23 AM
    Ah.. it’s the dev dependency..
  • y

    Yury Bushmelev

    03/18/2023, 7:24 AM
    well.. gtg now.. let me know what is better way to get out of this.. I’d either drop
    rspec/its
    from everywhere or add it back as dev dependency to the
    beaker-docker
  • y

    Yury Bushmelev

    03/18/2023, 2:09 PM
    Easy fix is to add
    s.add_development_dependency 'rspec-its'
    to the gemspec. Just tested it and it works fine.
  • v

    VoxBot

    03/18/2023, 2:19 PM
    I just dropped that, and the tests passed
  • v

    VoxBot

    03/18/2023, 2:19 PM
    I think you maybe missed something in the rebase?
  • y

    Yury Bushmelev

    03/18/2023, 3:31 PM
    Copy code
    An error occurred while loading ./spec/beaker/hypervisor/docker_spec.rb.
    Failure/Error: require File.join(beaker_spec_path, 'spec_helper.rb')
    
    LoadError:
      cannot load such file -- rspec/its
  • y

    Yury Bushmelev

    03/18/2023, 3:32 PM
    here I see the
    rspec/its
    is loaded by
    beaker
    itself (I pasted the github link above)
  • y

    Yury Bushmelev

    03/18/2023, 3:32 PM
    not sure what I missed..
  • y

    Yury Bushmelev

    03/18/2023, 3:33 PM
    let me try with master branch though
  • y

    Yury Bushmelev

    03/18/2023, 3:34 PM
    hm.. master is fine 🤔
  • y

    Yury Bushmelev

    03/18/2023, 3:36 PM
    well.. I found the problem I think.. it’s because I dropped the Gemfile.local which includes the
    beaker-rspec
  • y

    Yury Bushmelev

    03/18/2023, 3:39 PM
    so it works with
    rspec-its
    replaced with
    beaker-rspec
    in gemspec
  • y

    Yury Bushmelev

    03/18/2023, 3:50 PM
    well.. I found that
    its
    was removed from RSpec v3.. and
    beaker
    uses it just in
    logger_spec.rb
    .. maybe I can rewrite it to use modern syntax and drop the
    rspec-its
    completely
  • y

    Yury Bushmelev

    03/18/2023, 3:57 PM
    ok, I’ll return the Gemfile.local for the moment then.. easiest way
  • y

    Yury Bushmelev

    03/18/2023, 4:06 PM
    looks good now
  • v

    VoxBot

    03/18/2023, 4:27 PM
    https://github.com/voxpupuli/beaker/pull/1788 should drop rspec-its
  • y

    Yury Bushmelev

    03/18/2023, 5:51 PM
    \o/
  • c

    Craig Gumbley

    03/18/2023, 6:21 PM
    is puppet-blacksmith part of the vox toolchain?
  • s

    Slackbot

    03/18/2023, 6:27 PM
    This message was deleted.
    c
    • 2
    • 2
  • s

    Slackbot

    03/18/2023, 7:10 PM
    This message was deleted.
    c
    b
    • 3
    • 5
  • b

    bastelfreak

    03/18/2023, 7:10 PM
    @Craig Gumbley I digged through https://github.com/puppetlabs/puppetlabs-postgresql/blob/main/.github/workflows/release.yml#L22 and noticed that your action to create github releases isn't maintained anymore: https://github.com/actions/create-release
  • v

    VoxBot

    03/20/2023, 5:58 PM
    ewoud: when time permits, I would like to create a shared workflow for gem testing. the gha-puppet repo name doesn't fit. We could rename that or create a second repo, maybe gha-gems? Do you have opinions? I think I prefer another repo
  • v

    VoxBot

    03/20/2023, 5:59 PM
    and if someone wants to review some PRs, I've https://github.com/orgs/voxpupuli/projects/4 ready
  • v

    VoxBot

    03/20/2023, 6:08 PM
    bastelfreak: +1 for another repo
  • v

    VoxBot

    03/20/2023, 6:08 PM
    nods
  • v

    VoxBot

    03/20/2023, 6:09 PM
    bastelfreak: though I'd also consider a workflow in beaker itself and use that from the various beaker gems
  • v

    VoxBot

    03/20/2023, 6:10 PM
    I haven't fully thought it through, but just a thought
  • v

    VoxBot

    03/20/2023, 6:10 PM
    I had the same thought for beaker and puppet-lint for rubocop and CI workflow
  • m

    Mike Fröhner (crazymind1337)

    03/21/2023, 8:02 AM
    heyho dear humans - I have added a basic module for opensearch at https://github.com/voxpupuli/puppet-opensearch - it is really basic - and there are still some example missing - also the readme is still the one from pdk init.
1...374375376...648Latest