Skip to content

initial modulesync #174

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

Merged
merged 10 commits into from
Jan 15, 2018
Merged

initial modulesync #174

merged 10 commits into from
Jan 15, 2018

Conversation

tobru
Copy link
Contributor

@tobru tobru commented Dec 15, 2017

This is the first modulesync run:

msync update -m "initial modulesync" -b "modulesync" -f "puppet-gitlab"

@tobru
Copy link
Contributor Author

tobru commented Dec 20, 2017

@bastelfreak @rnelson0 I need some help here to get tests pass:

  • The complaints of RuboCop are not clear to me and are a whole lot (325 offenses). Maybe we can skip them for now? Or someone knows how to fix them?
  • The failed rspec test rspec ./spec/classes/cirunner_spec.rb:95 # gitlab::cirunner supported operating systems gitlab::cirunner class OS-independent behavior with default parameters should contain Gitlab::Runner[test_runner] that requires Exec[gitlab-runner-restart] also is not something I'm able to fix right now

Would be great to get this PR merged soon so we can cut a first official Forge release under the Vox Pupuli umbrella.

Thanks for any help

@kallies kallies mentioned this pull request Dec 21, 2017
@walterheck
Copy link

metadata.json also needs to be adjusted to point to voxpupuli I think?

@tobru
Copy link
Contributor Author

tobru commented Jan 3, 2018

@walterheck Yes, this will happen in #173

@rnelson0 @bastelfreak Would be very great if we could proceed here. Any ideas how to get the failing tests fixed?

@rnelson0
Copy link
Member

rnelson0 commented Jan 3, 2018

The puppet error is pretty simple, use a let (:pre_condition) like here to include the external resource.

The rubocop ones are more tedious. You can probably run bundle exec rubocop -a to autocorrect most of the errors. It's not perfect, so there might be bad fixes, or things it cannot fix, and you will need to fix those yourself. The errors are generally descriptive but let us know if you need assistance with anything in particular.

@bastelfreak
Copy link
Member

We should get this merged and don't spend too much time on rubocop warnings in spec files. IMO it's okay to disable the specific cops in the spec files that can't be autofixed - at least for now.

@tobru
Copy link
Contributor Author

tobru commented Jan 15, 2018

Now the only failing check:

Failures:
  1) gitlab::cirunner supported operating systems gitlab::cirunner class OS-independent behavior with default parameters should contain Gitlab::Runner[test_runner] that requires Exec[gitlab-runner-restart]
     Failure/Error: it { is_expected.to contain_gitlab__runner('test_runner').that_requires('Exec[gitlab-runner-restart]') }
       expected that the catalogue would contain Gitlab::Runner[test_runner]
     # ./spec/classes/cirunner_spec.rb:95:in `block (5 levels) in <top (required)>'
Finished in 8.33 seconds (files took 3.18 seconds to load)
22 examples, 1 failure
Failed examples:
rspec ./spec/classes/cirunner_spec.rb:95 # gitlab::cirunner supported operating systems gitlab::cirunner class OS-independent behavior with default parameters should contain Gitlab::Runner[test_runner] that requires Exec[gitlab-runner-restart]

Does anyone have the possibility to fix this?

@tobru tobru merged commit 75f015b into master Jan 15, 2018
@juniorsysadmin juniorsysadmin deleted the modulesync branch January 29, 2018 10:48
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

Successfully merging this pull request may close these issues.

7 participants