Class: PuppetMetadata::GithubActions

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet_metadata/github_actions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(metadata) ⇒ GithubActions

Returns a new instance of GithubActions.

Parameters:



6
7
8
# File 'lib/puppet_metadata/github_actions.rb', line 6

def initialize()
  @metadata = 
end

Instance Attribute Details

#metadataObject (readonly)

Returns the value of attribute metadata.



3
4
5
# File 'lib/puppet_metadata/github_actions.rb', line 3

def 
  @metadata
end

Instance Method Details

#outputs(beaker_use_fqdn: false, beaker_pidfile_workaround: false) ⇒ Hash[Symbol, Any]

Returns The outputs for Github Actions.

Returns:

  • (Hash[Symbol, Any])

    The outputs for Github Actions



11
12
13
14
15
16
17
# File 'lib/puppet_metadata/github_actions.rb', line 11

def outputs(beaker_use_fqdn: false, beaker_pidfile_workaround: false)
  {
    beaker_setfiles: beaker_setfiles(beaker_use_fqdn, beaker_pidfile_workaround),
    puppet_major_versions: puppet_major_versions,
    puppet_unit_test_matrix: puppet_unit_test_matrix,
  }
end