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

    Lumiere

    07/21/2022, 10:10 PM
    no luck, it just errors on ini_settings then
  • p

    Pat Riehecky

    07/22/2022, 1:49 AM
    Alas, I don't seem able to get https://github.com/voxpupuli/puppet-logrotate to release...
    Copy code
    bundle exec rake release
    Drops various errors even when run on Ruby 3.0. My build VM may be messed up.... can someone release the newly merged in thingy?
  • p

    Pat Riehecky

    07/22/2022, 1:49 AM
    Alas, I don't seem able to get https://github.com/voxpupuli/puppet-logrotate to release...
    Copy code
    bundle exec rake release
    Drops various errors even when run on Ruby 3.0. My build VM may be messed up.... can someone release the newly merged in thingy?
  • s

    smortex

    07/22/2022, 1:51 AM
    @Pat Riehecky can you copy/paste error ?
  • p

    Pat Riehecky

    07/22/2022, 1:52 AM
    I think my gpg stuff is messed up....
  • p

    Pat Riehecky

    07/22/2022, 1:52 AM
    Copy code
    Blacksmith::Error: Command ["git", "--git-dir", "/tmp/foo/puppet-logrotate/.git", "--work-tree", "/tmp/foo/puppet-logrotate", "tag", "v6.1.0", "-m", "Version 6.1.0", "-s"] failed with exit status pid 132787 exit 128
    error: gpg failed to sign the data
    error: unable to sign the tag
  • p

    Pat Riehecky

    07/22/2022, 1:52 AM
    I can sign things locally, but somehow ruby+git is not working
  • s

    smortex

    07/22/2022, 1:53 AM
    Reminds me something, not sure what
  • s

    smortex

    07/22/2022, 1:53 AM
    echo $GPG_TTY
  • s

    smortex

    07/22/2022, 1:53 AM
    Is it returning the output of
    tty
    ?
  • p

    Pat Riehecky

    07/22/2022, 1:53 AM
    Copy code
    $ echo $GPG_TTY
  • p

    Pat Riehecky

    07/22/2022, 1:54 AM
    it is empty
  • s

    smortex

    07/22/2022, 1:54 AM
    let's try this then:
    export GPG_TTY=$(tty)
  • p

    Pat Riehecky

    07/22/2022, 1:55 AM
    Alas, same result....
  • p

    Pat Riehecky

    07/22/2022, 1:55 AM
    Copy code
    $ echo $GPG_TTY
    /dev/pts/0
  • p

    Pat Riehecky

    07/22/2022, 1:55 AM
    that is atleast set now
  • s

    smortex

    07/22/2022, 1:56 AM
    OK ( gpg-agent(1) has more detail regarding this)
  • s

    smortex

    07/22/2022, 1:56 AM
    OK ( gpg-agent(1) has more detail regarding this)
  • s

    smortex

    07/22/2022, 1:57 AM
    I'll try to rake release…
  • p

    Pat Riehecky

    07/22/2022, 1:58 AM
    Thanks!
  • s

    smortex

    07/22/2022, 1:58 AM
    Hum validation of REFERENCE.md fails
  • s

    smortex

    07/22/2022, 1:59 AM
    Copy code
    romain@desktop-fln40kq ~/Projects/voxpupuli/modulesync_config/modules/voxpupuli/puppet-logrotate % bundle exec rake release
    To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
    [warn]: Missing @param tag for parameter 'path' near manifests/conf.pp:10.
    [warn]: Missing @param tag for parameter 'ensure' near manifests/conf.pp:10.
    [warn]: Missing @param tag for parameter 'compress' near manifests/conf.pp:10.
    [warn]: Missing @param tag for parameter 'compresscmd' near manifests/conf.pp:10.
    [...]
    [warn]: Missing documentation for Puppet type alias 'Logrotate::Size' at types/size.pp:1.
    [warn]: Missing documentation for Puppet type alias 'Logrotate::Every' at types/every.pp:1.
    [warn]: Missing documentation for Puppet type alias 'Logrotate::Commands' at types/commands.pp:1.
    Files:                   14
    Modules:                  0 (    0 undocumented)
    Classes:                  0 (    0 undocumented)
    Constants:                0 (    0 undocumented)
    Attributes:               0 (    0 undocumented)
    Methods:                  0 (    0 undocumented)
    Puppet Types:             0 (    0 undocumented)
    Puppet Providers:         0 (    0 undocumented)
    Puppet Functions:         0 (    0 undocumented)
    Puppet Tasks:             0 (    0 undocumented)
    Puppet Plans:             0 (    0 undocumented)
    Puppet Classes:           7 (    1 undocumented)
    Puppet Data Types:        0 (    0 undocumented)
    Puppet Data Type Aliases:     4 (    4 undocumented)
    Puppet Defined Types:     3 (    1 undocumented)
     57.14% documented
  • s

    smortex

    07/22/2022, 2:00 AM
    I think we can tweak some setting to opt-out from insisting on a complete and up-to-date REFERENCE.md
  • s

    smortex

    07/22/2022, 2:06 AM
    https://github.com/voxpupuli/voxpupuli-release/blob/master/lib/voxpupuli/release/rake_tasks.rb#L18
  • s

    smortex

    07/22/2022, 2:06 AM
    https://github.com/voxpupuli/voxpupuli-release/blob/master/lib/voxpupuli/release/rake_tasks.rb#L18
  • s

    smortex

    07/22/2022, 2:06 AM
    If the
    REFERENCE.md
    exist, we ensure it is up-to-date
  • s

    smortex

    07/22/2022, 2:07 AM
    rm REFERENCE.md && bundle exec rake release
    ?
  • s

    smortex

    07/22/2022, 2:07 AM
    LGTM
  • s

    smortex

    07/22/2022, 2:08 AM
    https://github.com/voxpupuli/puppet-logrotate/actions/runs/2715861621
  • s

    smortex

    07/22/2022, 2:09 AM
    I would suggest updating the magic comments to generate
    REFERENCE.md
    file if you can @Pat Riehecky
1...109110111...648Latest