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

Add baseurl parameter to repo class #249

Merged
merged 2 commits into from
Jan 15, 2024
Merged

Conversation

ehelms
Copy link
Member

@ehelms ehelms commented Nov 17, 2023

This is to support setting this value to our staging repositories for testing of new builds of Candlepin.

manifests/repo.pp Outdated Show resolved Hide resolved
manifests/repo.pp Show resolved Hide resolved
spec/classes/repo_spec.rb Outdated Show resolved Hide resolved
spec/classes/repo_spec.rb Outdated Show resolved Hide resolved
@ehelms
Copy link
Member Author

ehelms commented Dec 14, 2023

@ekohl Could you re-review?

spec/classes/repo_spec.rb Outdated Show resolved Hide resolved
manifests/repo.pp Outdated Show resolved Hide resolved
@ehelms ehelms force-pushed the add-baseurl branch 3 times, most recently from 39e861b to e5ccc6e Compare December 21, 2023 22:19
@ehelms
Copy link
Member Author

ehelms commented Jan 9, 2024

I added a new commit that does the URL change.

@@ -5,7 +5,7 @@
}

class { 'candlepin::repo':
version => pick(fact('candlepin_version'), 'nightly'),
version => pick(fact('candlepin_version'), '4.3'),
Copy link
Member

Choose a reason for hiding this comment

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

Why 4.3 instead of nightly?

Copy link
Member

Choose a reason for hiding this comment

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

The nightly one is empty right now, as we have no dedicated candlepin test and publish pipeline yet

Copy link
Member Author

Choose a reason for hiding this comment

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

Basically yes, I wanted to test and for this to work from a known working point in time. Then to use this new feature to enable the testing pipelines.

Copy link
Member Author

Choose a reason for hiding this comment

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

I have a working nightly repository for EL8 now, so I reverted this change back.

Copy link
Member

@evgeni evgeni left a comment

Choose a reason for hiding this comment

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

ACK
(leaving the merge to Ewoud who did review too)

@ehelms ehelms mentioned this pull request Jan 13, 2024
@ehelms ehelms merged commit 3daf2cd into theforeman:master Jan 15, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants