Repository navigation
Use openvox and add macos up to date platforms in acceptance #247
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
Open
nmburgan
wants to merge
9
commits into
main
Choose a base branch
from
openvox_agent_acceptance
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
6a48c5c
Install openvox-agent in the acceptance job
nmburgan a0a1fe2
Describe the acceptance host from the runner
nmburgan 0e93600
Run the acceptance tests on windows-2025 and ubuntu-26.04
nmburgan d89d4ac
Run the acceptance tests on macOS
nmburgan 2a6049e
Expect the Ruby that OpenVox 9 ships in the acceptance tests
nmburgan f0e3f15
Take the Windows Server version from the platform name
nmburgan 7400b4b
Add the ifconfig interface fields to the fact schema
nmburgan 83a491a
Stop running dhclient in the acceptance job
nmburgan 5ddf5c3
Match CPU model names in any case on Ubuntu and Windows
nmburgan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # frozen_string_literal: true | ||
|
|
||
| # beaker-puppet only installs Perforce's puppet-agent, so openvox-agent comes | ||
| # from voxpupuli's beaker_puppet_helpers. Only its install code is loaded, | ||
| # because its DSL would replace the beaker-puppet helpers of the same names. | ||
| require 'beaker_puppet_helpers/install_utils' | ||
| require 'beaker_puppet_helpers/windows_utils' | ||
|
|
||
| test_name('install openvox-agent') do | ||
| extend BeakerPuppetHelpers::WindowsUtils | ||
|
|
||
| collection = ENV.fetch('RELEASE_STREAM') | ||
|
|
||
| agents.each do |agent| | ||
| # beaker_puppet_helpers can't install on macOS, so the workflow does | ||
| next if agent['platform'].start_with?('osx') | ||
|
|
||
| if agent['platform'].include?('windows') | ||
| install_msi_on(agent, collection) | ||
| else | ||
| BeakerPuppetHelpers::InstallUtils.install_puppet_release_repo_on(agent, collection) | ||
| agent.install_package(BeakerPuppetHelpers::InstallUtils.collection2packagename(agent, collection)) | ||
| end | ||
| end | ||
|
|
||
| # Puts the agent's bin directories on the PATH that Beaker gives to the | ||
| # commands of the tests. | ||
| configure_type_defaults_on(agents) | ||
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.