Skip to content
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

Feature: Acceptance convert to Litmus #311

Open
cdenneen opened this issue Apr 1, 2021 · 3 comments
Open

Feature: Acceptance convert to Litmus #311

cdenneen opened this issue Apr 1, 2021 · 3 comments

Comments

@cdenneen
Copy link

cdenneen commented Apr 1, 2021

With the deprecation of beaker the onceover run acceptance should be converted over to using litmus.

@cdenneen
Copy link
Author

cdenneen commented Apr 1, 2021

Similar to module testing after you run litmus:provision_list and litmus:install_agent rather than litmus:install_module is where you'd basically run the Onceover::Deploy.new.deploy_local(repo) and then use LitmusHelper.instance.bolt_upload_file to copy the files over.

It might be better to create new function for deploy_remote(repo) that copies the Puppetfile to the target host and then runs the r10k puppetfile install (LitmusHelper.instance.run_shell) (remember have to account for site,site-modules,dist, whatever you use to be copied over as well.

desc 'Onceover Deploy'
task :onceover_deploy do
  require 'onceover/controlrepo'
  require 'onceover/deploy'
  repo = Onceover::Controlrepo.new
  Onceover::Deploy.new.deploy_local(repo)
end

@dylanratcliffe
Copy link
Collaborator

Yeah so a lot of work went into the acceptance branch that did use Litmus but the work stalled after I hit some issues with Bolt (they have since been resolved) and I got moved to a management position and had less time hands-on-keyboard. It was pretty close and I would love to get it finished at some point: https://github.com/dylanratcliffe/onceover/tree/acceptance

@cdenneen
Copy link
Author

@dylanratcliffe anyway you can rebase that brand so it's not so far behind main? I'd like to give it a test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants