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

Fixes #35943 - Switch to puppetlabs vcsrepo for gitrepo tracking #860

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

jcpunk
Copy link
Contributor

@jcpunk jcpunk commented Jan 13, 2023

This PR switches to using the puppetlabs/vcsrepo module. In theory this should reduce the maintenance overhead of this module for git related issues.

manifests/server.pp Outdated Show resolved Hide resolved
Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll also want to update our installer to pull in puppetlabs/vcsrepo instead of theforeman/git. Today we have this line:

https://github.com/theforeman/foreman-installer/blob/e3212a7fbe79619a80b05ad3e8106539f5b5dbbe/Puppetfile#L15

Since it's an external module there is no need to pull it from git. I'd prefer to use a forge release instead.

You can use Refs #35943 in that PR to relate the two.

@jcpunk
Copy link
Contributor Author

jcpunk commented Jan 13, 2023

I do not understand those test failures...

@ekohl
Copy link
Member

ekohl commented Jan 13, 2023

You forgot some expectations. The stackstrace is hard to read but # ./spec/classes/puppet_server_spec.rb:686:inblock (5 levels) in <top (required)>'is there and should be updated fromcontain_git__repotocontain_vcsrepo` like you did elsewhere.

@jcpunk
Copy link
Contributor Author

jcpunk commented Jan 13, 2023

Ok I think it is sorted again... that ubuntu failure looks like a docker issue...

@jcpunk jcpunk requested a review from ekohl January 13, 2023 17:02
Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! It may still be good to do a follow up to utilize vcsrepo::manage::git but for now I'm merging this.

@ekohl ekohl merged commit 70a6639 into theforeman:master Aug 8, 2023
@jcpunk jcpunk deleted the vcsrepo branch August 8, 2023 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants